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_wxButton swig_types[79]
1421 #define SWIGTYPE_p_wxGBSpan swig_types[80]
1422 #define SWIGTYPE_p_wxPropagateOnce swig_types[81]
1423 #define SWIGTYPE_p_wxAcceleratorTable swig_types[82]
1424 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[83]
1425 #define SWIGTYPE_p_char swig_types[84]
1426 #define SWIGTYPE_p_wxGBPosition swig_types[85]
1427 #define SWIGTYPE_p_wxImage swig_types[86]
1428 #define SWIGTYPE_p_wxFrame swig_types[87]
1429 #define SWIGTYPE_p_wxScrollWinEvent swig_types[88]
1430 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1431 #define SWIGTYPE_p_wxImageHistogram swig_types[90]
1432 #define SWIGTYPE_p_wxPoint swig_types[91]
1433 #define SWIGTYPE_p_wxCursor swig_types[92]
1434 #define SWIGTYPE_p_wxObject swig_types[93]
1435 #define SWIGTYPE_p_wxInputStream swig_types[94]
1436 #define SWIGTYPE_p_wxOutputStream swig_types[95]
1437 #define SWIGTYPE_p_wxPyInputStream swig_types[96]
1438 #define SWIGTYPE_p_wxDateTime swig_types[97]
1439 #define SWIGTYPE_p_wxKeyEvent swig_types[98]
1440 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[100]
1442 #define SWIGTYPE_p_unsigned_long swig_types[101]
1443 #define SWIGTYPE_p_wxWindow swig_types[102]
1444 #define SWIGTYPE_p_wxMenuBar swig_types[103]
1445 #define SWIGTYPE_p_wxFileSystem swig_types[104]
1446 #define SWIGTYPE_p_wxBitmap swig_types[105]
1447 #define SWIGTYPE_unsigned_int swig_types[106]
1448 #define SWIGTYPE_p_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_wxMenuEvent swig_types[108]
1450 #define SWIGTYPE_p_wxContextMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_unsigned_char swig_types[110]
1452 #define SWIGTYPE_p_wxEraseEvent swig_types[111]
1453 #define SWIGTYPE_p_wxMouseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxCloseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxPyApp swig_types[114]
1456 #define SWIGTYPE_p_wxCommandEvent swig_types[115]
1457 #define SWIGTYPE_p_wxPyCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyDropTarget swig_types[117]
1459 #define SWIGTYPE_p_wxQuantize swig_types[118]
1460 #define SWIGTYPE_p_wxChildFocusEvent swig_types[119]
1461 #define SWIGTYPE_p_wxFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxDropFilesEvent swig_types[121]
1463 #define SWIGTYPE_p_wxControlWithItems swig_types[122]
1464 #define SWIGTYPE_p_wxColour swig_types[123]
1465 #define SWIGTYPE_p_wxValidator swig_types[124]
1466 #define SWIGTYPE_p_wxPyValidator swig_types[125]
1467 static swig_type_info
*swig_types
[127];
1469 /* -------- TYPES TABLE (END) -------- */
1472 /*-----------------------------------------------
1473 @(target):= _core_.so
1474 ------------------------------------------------*/
1475 #define SWIG_init init_core_
1477 #define SWIG_name "_core_"
1479 #include "wx/wxPython/wxPython_int.h"
1480 #include "wx/wxPython/pyclasses.h"
1483 #ifndef wxPyUSE_EXPORT
1484 // Helper functions for dealing with SWIG objects and such. These are
1485 // located here so they know about the SWIG types and functions declared
1486 // in the wrapper code.
1488 #include <wx/hashmap.h>
1489 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1492 // Maintains a hashmap of className to swig_type_info pointers. Given the
1493 // name of a class either looks up the type info in the cache, or scans the
1494 // SWIG tables for it.
1495 extern PyObject
* wxPyPtrTypeMap
;
1497 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1499 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1501 if (typeInfoCache
== NULL
)
1502 typeInfoCache
= new wxPyTypeInfoHashMap
;
1504 wxString
name(className
);
1505 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1508 // it wasn't in the cache, so look it up from SWIG
1509 name
.Append(wxT(" *"));
1510 swigType
= SWIG_TypeQuery(name
.mb_str());
1512 // if it still wasn't found, try looking for a mapped name
1517 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1518 (char*)(const char*)name
.mbc_str())) != NULL
) {
1519 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1520 name
.Append(wxT(" *"));
1521 swigType
= SWIG_TypeQuery(name
.mb_str());
1525 // and add it to the map if found
1526 (*typeInfoCache
)[className
] = swigType
;
1533 // Check if a class name is a type known to SWIG
1534 bool wxPyCheckSwigType(const wxChar
* className
) {
1536 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1537 return swigType
!= NULL
;
1541 // Given a pointer to a C++ object and a class name, construct a Python proxy
1543 PyObject
* wxPyConstructObject(void* ptr
,
1544 const wxChar
* className
,
1547 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1548 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1550 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1554 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1555 // Ensures that the proxy object is of the specified (or derived) type. If
1556 // not able to perform the conversion then a Python exception is set and the
1557 // error should be handled properly in the caller. Returns True on success.
1558 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1559 const wxChar
* className
) {
1561 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1562 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1564 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1568 // Make a SWIGified pointer object suitable for a .this attribute
1569 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1571 PyObject
* robj
= NULL
;
1573 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1574 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1576 #ifdef SWIG_COBJECT_TYPES
1577 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1581 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1582 PyString_FromString(result
) : 0;
1592 // Export a C API in a struct. Other modules will be able to load this from
1593 // the wx._core_ module and will then have safe access to these functions,
1594 // even if they are located in another shared library.
1595 static wxPyCoreAPI API
= {
1598 wxPyConstructObject
,
1602 wxPyBeginAllowThreads
,
1603 wxPyEndAllowThreads
,
1604 wxPyBeginBlockThreads
,
1605 wxPyEndBlockThreads
,
1617 wxPoint_LIST_helper
,
1618 wxBitmap_LIST_helper
,
1619 wxString_LIST_helper
,
1620 wxAcceleratorEntry_LIST_helper
,
1629 wxPySimple_typecheck
,
1632 wxPyCBH_setCallbackInfo
,
1633 wxPyCBH_findCallback
,
1634 wxPyCBH_callCallback
,
1635 wxPyCBH_callCallbackObj
,
1641 wxPy2int_seq_helper
,
1642 wxPy4int_seq_helper
,
1643 wxArrayString2PyList_helper
,
1644 wxArrayInt2PyList_helper
,
1646 wxPyClientData_dtor
,
1648 wxPyOORClientData_dtor
,
1650 wxPyCBInputStream_create
,
1653 wxPySwigInstance_Check
,
1662 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1663 #define SWIG_From_int PyInt_FromLong
1668 enum wxHotkeyModifier
1676 #define wxEVT_HOTKEY 9999
1679 static const wxString
wxPyEmptyString(wxEmptyString
);
1680 static wxString
wxObject_GetClassName(wxObject
*self
){
1681 return self
->GetClassInfo()->GetClassName();
1683 static void wxObject_Destroy(wxObject
*self
){
1688 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1696 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1699 if (value
< min_value
) {
1701 PyErr_Format(PyExc_OverflowError
,
1702 "value %ld is less than '%s' minimum %ld",
1703 value
, errmsg
, min_value
);
1706 } else if (value
> max_value
) {
1708 PyErr_Format(PyExc_OverflowError
,
1709 "value %ld is greater than '%s' maximum %ld",
1710 value
, errmsg
, max_value
);
1719 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1721 if (PyNumber_Check(obj
)) {
1722 if (val
) *val
= PyInt_AsLong(obj
);
1726 SWIG_type_error("number", obj
);
1732 #if INT_MAX != LONG_MAX
1734 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1736 const char* errmsg
= val
? "int" : (char*)0;
1738 if (SWIG_AsVal_long(obj
, &v
)) {
1739 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1740 if (val
) *val
= (int)(v
);
1749 SWIG_type_error(errmsg
, obj
);
1755 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1757 return SWIG_AsVal_long(obj
,(long*)val
);
1763 SWIG_As_int(PyObject
* obj
)
1766 if (!SWIG_AsVal_int(obj
, &v
)) {
1768 this is needed to make valgrind/purify happier.
1770 memset((void*)&v
, 0, sizeof(int));
1777 SWIG_Check_int(PyObject
* obj
)
1779 return SWIG_AsVal_int(obj
, (int*)0);
1782 static PyObject
*wxSize_Get(wxSize
*self
){
1783 bool blocked
= wxPyBeginBlockThreads();
1784 PyObject
* tup
= PyTuple_New(2);
1785 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1786 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1787 wxPyEndBlockThreads(blocked
);
1792 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1794 if (PyNumber_Check(obj
)) {
1795 if (val
) *val
= PyFloat_AsDouble(obj
);
1799 SWIG_type_error("number", obj
);
1805 SWIGINTERNSHORT
double
1806 SWIG_As_double(PyObject
* obj
)
1809 if (!SWIG_AsVal_double(obj
, &v
)) {
1811 this is needed to make valgrind/purify happier.
1813 memset((void*)&v
, 0, sizeof(double));
1820 SWIG_Check_double(PyObject
* obj
)
1822 return SWIG_AsVal_double(obj
, (double*)0);
1826 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1827 #define SWIG_From_double PyFloat_FromDouble
1830 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1834 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1835 bool blocked
= wxPyBeginBlockThreads();
1836 PyObject
* tup
= PyTuple_New(2);
1837 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1838 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1839 wxPyEndBlockThreads(blocked
);
1843 SWIGINTERNSHORT
long
1844 SWIG_As_long(PyObject
* obj
)
1847 if (!SWIG_AsVal_long(obj
, &v
)) {
1849 this is needed to make valgrind/purify happier.
1851 memset((void*)&v
, 0, sizeof(long));
1858 SWIG_Check_long(PyObject
* obj
)
1860 return SWIG_AsVal_long(obj
, (long*)0);
1863 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1867 static PyObject
*wxPoint_Get(wxPoint
*self
){
1868 bool blocked
= wxPyBeginBlockThreads();
1869 PyObject
* tup
= PyTuple_New(2);
1870 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1871 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1872 wxPyEndBlockThreads(blocked
);
1875 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1878 self
->width
= width
;
1879 self
->height
= height
;
1881 static PyObject
*wxRect_Get(wxRect
*self
){
1882 bool blocked
= wxPyBeginBlockThreads();
1883 PyObject
* tup
= PyTuple_New(4);
1884 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1885 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1886 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1887 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1888 wxPyEndBlockThreads(blocked
);
1892 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1895 wxRect
dest(0,0,0,0);
1898 reg1
.Intersect(reg2
);
1899 dest
= reg1
.GetBox();
1901 if (dest
!= wxRect(0,0,0,0)) {
1902 bool blocked
= wxPyBeginBlockThreads();
1903 wxRect
* newRect
= new wxRect(dest
);
1904 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1905 wxPyEndBlockThreads(blocked
);
1913 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1919 } else if (target
== Py_None
) {
1923 if (!PyTuple_Check(target
)) {
1925 target
= PyTuple_New(1);
1926 PyTuple_SetItem(target
, 0, o2
);
1928 o3
= PyTuple_New(1);
1929 PyTuple_SetItem(o3
, 0, o
);
1932 target
= PySequence_Concat(o2
, o3
);
1940 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1944 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1945 bool blocked
= wxPyBeginBlockThreads();
1946 PyObject
* tup
= PyTuple_New(2);
1947 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1948 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1949 wxPyEndBlockThreads(blocked
);
1953 #include "wx/wxPython/pyistream.h"
1955 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1956 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1958 return new wxPyInputStream(wxis
);
1963 SWIGINTERNSHORT PyObject
*
1964 SWIG_From_char(char c
)
1966 return PyString_FromStringAndSize(&c
,1);
1970 SWIGINTERNSHORT PyObject
*
1971 SWIG_From_unsigned_SS_long(unsigned long value
)
1973 return (value
> LONG_MAX
) ?
1974 PyLong_FromUnsignedLong(value
)
1975 : PyInt_FromLong((long)(value
));
1979 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1981 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1983 static swig_type_info
* pchar_info
= 0;
1985 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1986 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1987 if (cptr
) *cptr
= vptr
;
1988 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1992 if (PyString_Check(obj
)) {
1994 *cptr
= PyString_AS_STRING(obj
);
1996 *psize
= PyString_GET_SIZE(obj
) + 1;
2003 SWIG_type_error("char *", obj
);
2010 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2012 char* cptr
; size_t csize
;
2013 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2016 char x[5] = "hello";
2018 ie, assing the array using an extra '0' char.
2020 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2021 if (csize
<= size
) {
2023 if (csize
) memcpy(val
, cptr
, csize
);
2024 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2030 PyErr_Format(PyExc_TypeError
,
2031 "a char array of maximum size %lu is expected",
2032 (unsigned long) size
);
2039 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2041 const char* errmsg
= val
? "char" : (char*)0;
2043 if (SWIG_AsVal_long(obj
, &v
)) {
2044 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2045 if (val
) *val
= (char)(v
);
2052 return SWIG_AsCharArray(obj
, val
, 1);
2057 SWIGINTERNSHORT
char
2058 SWIG_As_char(PyObject
* obj
)
2061 if (!SWIG_AsVal_char(obj
, &v
)) {
2063 this is needed to make valgrind/purify happier.
2065 memset((void*)&v
, 0, sizeof(char));
2072 SWIG_Check_char(PyObject
* obj
)
2074 return SWIG_AsVal_char(obj
, (char*)0);
2078 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2079 #define SWIG_From_long PyInt_FromLong
2082 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2083 // We use only strings for the streams, not unicode
2084 PyObject
* str
= PyObject_Str(obj
);
2086 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2089 self
->Write(PyString_AS_STRING(str
),
2090 PyString_GET_SIZE(str
));
2094 #include "wx/wxPython/pyistream.h"
2097 class wxPyFileSystemHandler
: public wxFileSystemHandler
2100 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2102 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2103 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2104 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2105 DEC_PYCALLBACK_STRING__pure(FindNext
);
2107 wxString
GetProtocol(const wxString
& location
) {
2108 return wxFileSystemHandler::GetProtocol(location
);
2111 wxString
GetLeftLocation(const wxString
& location
) {
2112 return wxFileSystemHandler::GetLeftLocation(location
);
2115 wxString
GetAnchor(const wxString
& location
) {
2116 return wxFileSystemHandler::GetAnchor(location
);
2119 wxString
GetRightLocation(const wxString
& location
) {
2120 return wxFileSystemHandler::GetRightLocation(location
);
2123 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2124 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2131 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2132 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2133 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2134 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2138 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2140 if (obj
== Py_True
) {
2141 if (val
) *val
= true;
2144 if (obj
== Py_False
) {
2145 if (val
) *val
= false;
2149 if (SWIG_AsVal_int(obj
, &res
)) {
2150 if (val
) *val
= res
? true : false;
2156 SWIG_type_error("bool", obj
);
2162 SWIGINTERNSHORT
bool
2163 SWIG_As_bool(PyObject
* obj
)
2166 if (!SWIG_AsVal_bool(obj
, &v
)) {
2168 this is needed to make valgrind/purify happier.
2170 memset((void*)&v
, 0, sizeof(bool));
2177 SWIG_Check_bool(PyObject
* obj
)
2179 return SWIG_AsVal_bool(obj
, (bool*)0);
2182 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2183 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2184 return fname
.GetFullPath();
2187 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2190 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2193 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2194 const wxBitmap
& bitmap
,
2196 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2199 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2201 if (! PyString_Check(data
)) {
2202 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2203 "Expected string object"));
2207 bool blocked
= wxPyBeginBlockThreads();
2208 void* ptr
= (void*)PyString_AsString(data
);
2209 size_t size
= PyString_Size(data
);
2210 wxPyEndBlockThreads(blocked
);
2212 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2216 #include "wx/wxPython/pyistream.h"
2220 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2223 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2224 SWIG_type_error("unsigned number", obj
);
2227 *val
= (unsigned long)v
;
2233 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2234 unsigned long max_value
,
2237 if (value
> max_value
) {
2239 PyErr_Format(PyExc_OverflowError
,
2240 "value %lu is greater than '%s' minimum %lu",
2241 value
, errmsg
, max_value
);
2250 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2252 const char* errmsg
= val
? "unsigned char" : (char*)0;
2254 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2255 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2256 if (val
) *val
= (unsigned char)(v
);
2265 SWIG_type_error(errmsg
, obj
);
2271 SWIGINTERNSHORT
unsigned char
2272 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2275 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2277 this is needed to make valgrind/purify happier.
2279 memset((void*)&v
, 0, sizeof(unsigned char));
2286 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2288 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2292 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2293 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2297 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2298 if (width
> 0 && height
> 0)
2299 return new wxImage(width
, height
, clear
);
2303 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2304 return new wxImage(bitmap
.ConvertToImage());
2306 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2307 // Copy the source data so the wxImage can clean it up later
2308 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2313 memcpy(copy
, data
, width
*height
*3);
2314 return new wxImage(width
, height
, copy
, false);
2316 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2317 // Copy the source data so the wxImage can clean it up later
2318 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2319 if (dcopy
== NULL
) {
2323 memcpy(dcopy
, data
, width
*height
*3);
2324 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2325 if (acopy
== NULL
) {
2329 memcpy(acopy
, alpha
, width
*height
);
2331 return new wxImage(width
, height
, dcopy
, acopy
, false);
2333 static wxSize
wxImage_GetSize(wxImage
*self
){
2334 wxSize
size(self
->GetWidth(), self
->GetHeight());
2337 static PyObject
*wxImage_GetData(wxImage
*self
){
2338 unsigned char* data
= self
->GetData();
2339 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2341 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2344 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2345 unsigned char* dataPtr
;
2347 if (! PyString_Check(data
)) {
2348 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2349 "Expected string object"));
2353 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2354 dataPtr
= (unsigned char*) malloc(len
);
2355 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2356 self
->SetData(dataPtr
);
2357 // wxImage takes ownership of dataPtr...
2359 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2360 unsigned char* data
= self
->GetData();
2361 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2363 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2366 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2367 unsigned char* buffer
;
2370 bool blocked
= wxPyBeginBlockThreads();
2371 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2374 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2375 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2378 self
->SetData(buffer
);
2380 wxPyEndBlockThreads(blocked
);
2382 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2383 unsigned char* data
= self
->GetAlpha();
2387 int len
= self
->GetWidth() * self
->GetHeight();
2389 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2393 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2394 unsigned char* dataPtr
;
2396 if (! PyString_Check(data
)) {
2397 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2401 size_t len
= self
->GetWidth() * self
->GetHeight();
2402 dataPtr
= (unsigned char*) malloc(len
);
2403 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2404 self
->SetAlpha(dataPtr
);
2405 // wxImage takes ownership of dataPtr...
2407 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2408 unsigned char* data
= self
->GetAlpha();
2409 int len
= self
->GetWidth() * self
->GetHeight();
2411 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2414 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2415 unsigned char* buffer
;
2418 bool blocked
= wxPyBeginBlockThreads();
2419 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2422 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2423 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2426 self
->SetAlpha(buffer
);
2428 wxPyEndBlockThreads(blocked
);
2431 SWIGINTERNSHORT
unsigned long
2432 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2435 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2437 this is needed to make valgrind/purify happier.
2439 memset((void*)&v
, 0, sizeof(unsigned long));
2446 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2448 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2451 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2452 wxBitmap
bitmap(*self
, depth
);
2455 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2456 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2457 wxBitmap
bitmap( mono
, 1 );
2460 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2461 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2462 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2463 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2464 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2466 #include <wx/quantize.h>
2468 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2469 return wxQuantize::Quantize(src
, dest
,
2472 NULL
, // eightBitData
2475 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2476 if (PyCallable_Check(func
)) {
2477 self
->Connect(id
, lastId
, eventType
,
2478 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2479 new wxPyCallback(func
));
2481 else if (func
== Py_None
) {
2482 self
->Disconnect(id
, lastId
, eventType
,
2483 (wxObjectEventFunction
)
2484 &wxPyCallback::EventThunker
);
2488 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2491 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2492 return self
->Disconnect(id
, lastId
, eventType
,
2493 (wxObjectEventFunction
)
2494 &wxPyCallback::EventThunker
);
2496 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2497 if (_self
&& _self
!= Py_None
) {
2498 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2501 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2503 self
->SetClientObject(NULL
); // This will delete it too
2508 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2510 return self
->GetUnicodeKey();
2516 #if UINT_MAX < LONG_MAX
2517 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2518 #define SWIG_From_unsigned_SS_int SWIG_From_long
2521 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2522 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2527 #if UINT_MAX != ULONG_MAX
2529 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2531 const char* errmsg
= val
? "unsigned int" : (char*)0;
2533 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2534 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2535 if (val
) *val
= (unsigned int)(v
);
2542 SWIG_type_error(errmsg
, obj
);
2547 SWIGINTERNSHORT
unsigned int
2548 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2550 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2555 SWIGINTERNSHORT
unsigned int
2556 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2559 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2561 this is needed to make valgrind/purify happier.
2563 memset((void*)&v
, 0, sizeof(unsigned int));
2570 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2572 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2575 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2576 self
->m_size
= size
;
2578 static void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
2581 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2582 int count
= self
->GetNumberOfFiles();
2583 wxString
* files
= self
->GetFiles();
2584 PyObject
* list
= PyList_New(count
);
2587 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2591 for (int i
=0; i
<count
; i
++) {
2592 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2598 static wxPyApp
*new_wxPyApp(){
2599 wxPythonApp
= new wxPyApp();
2603 void wxApp_CleanUp() {
2608 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2612 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2614 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2619 SWIG_type_error("char *", obj
);
2625 SWIGINTERN PyObject
*
2626 SWIG_FromCharPtr(const char* cptr
)
2629 size_t size
= strlen(cptr
);
2630 if (size
> INT_MAX
) {
2631 return SWIG_NewPointerObj((char*)(cptr
),
2632 SWIG_TypeQuery("char *"), 0);
2635 return PyString_FromStringAndSize(cptr
, size
);
2637 return PyString_FromString(cptr
);
2648 // A dummy class that raises an exception if used...
2652 wxEventLoop() { wxPyRaiseNotImplemented(); }
2653 int Run() { return 0; }
2654 void Exit(int rc
= 0) {}
2655 bool Pending() const { return false; }
2656 bool Dispatch() { return false; }
2657 bool IsRunning() const { return false; }
2658 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2659 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2664 #include <wx/evtloop.h>
2670 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2671 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2672 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2673 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2674 wxWindowList
& list
= self
->GetChildren();
2675 return wxPy_ConvertList(&list
);
2677 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2679 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2684 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2691 static long wxWindow_GetHandle(wxWindow
*self
){
2692 return wxPyGetWinHandle(self
);
2694 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2695 self
->AssociateHandle((WXWidget
)handle
);
2698 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2699 return wxWindow::FindWindowById(id
, parent
);
2702 wxWindow
* wxFindWindowByName( const wxString
& name
,
2703 const wxWindow
*parent
= NULL
) {
2704 return wxWindow::FindWindowByName(name
, parent
);
2707 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2708 const wxWindow
*parent
= NULL
) {
2709 return wxWindow::FindWindowByLabel(label
, parent
);
2714 #include <wx/msw/private.h> // to get wxGetWindowId
2718 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2720 WXHWND hWnd
= (WXHWND
)_hWnd
;
2721 long id
= wxGetWindowId(hWnd
);
2722 wxWindow
* win
= new wxWindow
;
2723 parent
->AddChild(win
);
2724 win
->SetEventHandler(win
);
2727 win
->SubclassWin(hWnd
);
2728 win
->AdoptAttributesFromHWND();
2729 win
->SetupColours();
2732 wxPyRaiseNotImplemented();
2738 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2739 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2740 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2742 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2744 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2745 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2746 wxMenuItemList
& list
= self
->GetMenuItems();
2747 return wxPy_ConvertList(&list
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2750 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2752 wxPyClientData
* data
= new wxPyClientData(clientData
);
2753 return self
->Append(item
, data
);
2755 return self
->Append(item
);
2757 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2759 wxPyClientData
* data
= new wxPyClientData(clientData
);
2760 return self
->Insert(item
, pos
, data
);
2762 return self
->Insert(item
, pos
);
2764 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2765 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2767 Py_INCREF(data
->m_obj
);
2774 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2775 wxPyClientData
* data
= new wxPyClientData(clientData
);
2776 self
->SetClientObject(n
, data
);
2780 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2781 wxPyUserData
* data
= NULL
;
2783 bool blocked
= wxPyBeginBlockThreads();
2784 data
= new wxPyUserData(userData
);
2785 wxPyEndBlockThreads(blocked
);
2787 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2789 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2790 wxPyUserData
* data
= NULL
;
2792 bool blocked
= wxPyBeginBlockThreads();
2793 data
= new wxPyUserData(userData
);
2794 wxPyEndBlockThreads(blocked
);
2796 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2798 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2799 wxPyUserData
* data
= NULL
;
2801 bool blocked
= wxPyBeginBlockThreads();
2802 data
= new wxPyUserData(userData
);
2803 wxPyEndBlockThreads(blocked
);
2805 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2810 SWIG_CheckDoubleInRange(double value
, double min_value
,
2811 double max_value
, const char* errmsg
)
2813 if (value
< min_value
) {
2815 PyErr_Format(PyExc_OverflowError
,
2816 "value %g is less than %s minimum %g",
2817 value
, errmsg
, min_value
);
2820 } else if (value
> max_value
) {
2822 PyErr_Format(PyExc_OverflowError
,
2823 "value %g is greater than %s maximum %g",
2824 value
, errmsg
, max_value
);
2833 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2835 const char* errmsg
= val
? "float" : (char*)0;
2837 if (SWIG_AsVal_double(obj
, &v
)) {
2838 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2839 if (val
) *val
= (float)(v
);
2848 SWIG_type_error(errmsg
, obj
);
2854 SWIGINTERNSHORT
float
2855 SWIG_As_float(PyObject
* obj
)
2858 if (!SWIG_AsVal_float(obj
, &v
)) {
2860 this is needed to make valgrind/purify happier.
2862 memset((void*)&v
, 0, sizeof(float));
2869 SWIG_Check_float(PyObject
* obj
)
2871 return SWIG_AsVal_float(obj
, (float*)0);
2875 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
2876 #define SWIG_From_float PyFloat_FromDouble
2879 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2880 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2882 Py_INCREF(data
->m_obj
);
2890 // Figure out the type of the sizer item
2892 struct wxPySizerItemInfo
{
2894 : window(NULL
), sizer(NULL
), gotSize(false),
2895 size(wxDefaultSize
), gotPos(false), pos(-1)
2906 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2908 wxPySizerItemInfo info
;
2910 wxSize
* sizePtr
= &size
;
2912 // Find out what the type of the item is
2914 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2919 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2923 // try wxSize or (w,h)
2924 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2925 info
.size
= *sizePtr
;
2926 info
.gotSize
= true;
2930 if (checkIdx
&& PyInt_Check(item
)) {
2931 info
.pos
= PyInt_AsLong(item
);
2937 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2938 // no expected type, figure out what kind of error message to generate
2939 if ( !checkSize
&& !checkIdx
)
2940 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2941 else if ( checkSize
&& !checkIdx
)
2942 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2943 else if ( !checkSize
&& checkIdx
)
2944 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2946 // can this one happen?
2947 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2953 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2954 if (!self
->GetClientObject())
2955 self
->SetClientObject(new wxPyOORClientData(_self
));
2957 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2959 wxPyUserData
* data
= NULL
;
2960 bool blocked
= wxPyBeginBlockThreads();
2961 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2962 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2963 data
= new wxPyUserData(userData
);
2964 wxPyEndBlockThreads(blocked
);
2966 // Now call the real Add method if a valid item type was found
2968 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2969 else if ( info
.sizer
)
2970 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2971 else if (info
.gotSize
)
2972 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2973 proportion
, flag
, border
, data
);
2977 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2979 wxPyUserData
* data
= NULL
;
2980 bool blocked
= wxPyBeginBlockThreads();
2981 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2982 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2983 data
= new wxPyUserData(userData
);
2984 wxPyEndBlockThreads(blocked
);
2986 // Now call the real Insert method if a valid item type was found
2988 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
2989 else if ( info
.sizer
)
2990 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
2991 else if (info
.gotSize
)
2992 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
2993 proportion
, flag
, border
, data
);
2997 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2999 wxPyUserData
* data
= NULL
;
3000 bool blocked
= wxPyBeginBlockThreads();
3001 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3002 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3003 data
= new wxPyUserData(userData
);
3004 wxPyEndBlockThreads(blocked
);
3006 // Now call the real Prepend method if a valid item type was found
3008 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3009 else if ( info
.sizer
)
3010 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3011 else if (info
.gotSize
)
3012 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3013 proportion
, flag
, border
, data
);
3017 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3018 bool blocked
= wxPyBeginBlockThreads();
3019 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3020 wxPyEndBlockThreads(blocked
);
3022 return self
->Remove(info
.window
);
3023 else if ( info
.sizer
)
3024 return self
->Remove(info
.sizer
);
3025 else if ( info
.gotPos
)
3026 return self
->Remove(info
.pos
);
3030 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3031 bool blocked
= wxPyBeginBlockThreads();
3032 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3033 wxPyEndBlockThreads(blocked
);
3035 return self
->Detach(info
.window
);
3036 else if ( info
.sizer
)
3037 return self
->Detach(info
.sizer
);
3038 else if ( info
.gotPos
)
3039 return self
->Detach(info
.pos
);
3043 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3044 bool blocked
= wxPyBeginBlockThreads();
3045 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3046 wxPyEndBlockThreads(blocked
);
3048 return self
->GetItem(info
.window
);
3049 else if ( info
.sizer
)
3050 return self
->GetItem(info
.sizer
);
3051 else if ( info
.gotPos
)
3052 return self
->GetItem(info
.pos
);
3056 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3057 bool blocked
= wxPyBeginBlockThreads();
3058 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3059 wxPyEndBlockThreads(blocked
);
3061 self
->SetItemMinSize(info
.window
, size
);
3062 else if ( info
.sizer
)
3063 self
->SetItemMinSize(info
.sizer
, size
);
3064 else if ( info
.gotPos
)
3065 self
->SetItemMinSize(info
.pos
, size
);
3067 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3068 wxSizerItemList
& list
= self
->GetChildren();
3069 return wxPy_ConvertList(&list
);
3071 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3072 bool blocked
= wxPyBeginBlockThreads();
3073 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3074 wxPyEndBlockThreads(blocked
);
3076 return self
->Show(info
.window
, show
, recursive
);
3077 else if ( info
.sizer
)
3078 return self
->Show(info
.sizer
, show
, recursive
);
3079 else if ( info
.gotPos
)
3080 return self
->Show(info
.pos
, show
);
3084 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3085 bool blocked
= wxPyBeginBlockThreads();
3086 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3087 wxPyEndBlockThreads(blocked
);
3089 return self
->IsShown(info
.window
);
3090 else if ( info
.sizer
)
3091 return self
->IsShown(info
.sizer
);
3092 else if ( info
.gotPos
)
3093 return self
->IsShown(info
.pos
);
3099 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3100 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3101 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3106 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3108 if (source
== Py_None
) {
3109 **obj
= wxGBPosition(-1,-1);
3112 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3115 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3117 if (source
== Py_None
) {
3118 **obj
= wxGBSpan(-1,-1);
3121 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3125 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3129 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3130 bool blocked
= wxPyBeginBlockThreads();
3131 PyObject
* tup
= PyTuple_New(2);
3132 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3133 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3134 wxPyEndBlockThreads(blocked
);
3137 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3138 self
->SetRowspan(rowspan
);
3139 self
->SetColspan(colspan
);
3141 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3142 bool blocked
= wxPyBeginBlockThreads();
3143 PyObject
* tup
= PyTuple_New(2);
3144 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3145 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3146 wxPyEndBlockThreads(blocked
);
3149 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3150 wxPyUserData
* data
= NULL
;
3152 bool blocked
= wxPyBeginBlockThreads();
3153 data
= new wxPyUserData(userData
);
3154 wxPyEndBlockThreads(blocked
);
3156 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3158 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3159 wxPyUserData
* data
= NULL
;
3161 bool blocked
= wxPyBeginBlockThreads();
3162 data
= new wxPyUserData(userData
);
3163 wxPyEndBlockThreads(blocked
);
3165 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3167 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3168 wxPyUserData
* data
= NULL
;
3170 bool blocked
= wxPyBeginBlockThreads();
3171 data
= new wxPyUserData(userData
);
3172 wxPyEndBlockThreads(blocked
);
3174 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3176 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3178 self
->GetEndPos(row
, col
);
3179 return wxGBPosition(row
, col
);
3181 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3183 wxPyUserData
* data
= NULL
;
3184 bool blocked
= wxPyBeginBlockThreads();
3185 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3186 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3187 data
= new wxPyUserData(userData
);
3188 wxPyEndBlockThreads(blocked
);
3190 // Now call the real Add method if a valid item type was found
3192 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3193 else if ( info
.sizer
)
3194 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3195 else if (info
.gotSize
)
3196 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3197 pos
, span
, flag
, border
, data
);
3205 static int _wrap_EmptyString_set(PyObject
*) {
3206 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3211 static PyObject
*_wrap_EmptyString_get(void) {
3216 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3218 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3225 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3226 PyObject
*resultobj
;
3227 wxObject
*arg1
= (wxObject
*) 0 ;
3229 PyObject
* obj0
= 0 ;
3231 (char *) "self", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3236 if (SWIG_arg_fail(1)) SWIG_fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 result
= wxObject_GetClassName(arg1
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3246 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3248 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3257 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxObject
*arg1
= (wxObject
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3262 (char *) "self", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3267 if (SWIG_arg_fail(1)) SWIG_fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 wxObject_Destroy(arg1
);
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3275 Py_INCREF(Py_None
); resultobj
= Py_None
;
3282 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3285 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3287 return Py_BuildValue((char *)"");
3289 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
*resultobj
;
3291 wxSize
*arg1
= (wxSize
*) 0 ;
3293 PyObject
* obj0
= 0 ;
3294 PyObject
* obj1
= 0 ;
3296 (char *) "self",(char *) "x", NULL
3299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3301 if (SWIG_arg_fail(1)) SWIG_fail
;
3303 arg2
= (int)(SWIG_As_int(obj1
));
3304 if (SWIG_arg_fail(2)) SWIG_fail
;
3306 if (arg1
) (arg1
)->x
= arg2
;
3308 Py_INCREF(Py_None
); resultobj
= Py_None
;
3315 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxSize
*arg1
= (wxSize
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3321 (char *) "self", NULL
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3326 if (SWIG_arg_fail(1)) SWIG_fail
;
3327 result
= (int) ((arg1
)->x
);
3330 resultobj
= SWIG_From_int((int)(result
));
3338 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
*resultobj
;
3340 wxSize
*arg1
= (wxSize
*) 0 ;
3342 PyObject
* obj0
= 0 ;
3343 PyObject
* obj1
= 0 ;
3345 (char *) "self",(char *) "y", NULL
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3350 if (SWIG_arg_fail(1)) SWIG_fail
;
3352 arg2
= (int)(SWIG_As_int(obj1
));
3353 if (SWIG_arg_fail(2)) SWIG_fail
;
3355 if (arg1
) (arg1
)->y
= arg2
;
3357 Py_INCREF(Py_None
); resultobj
= Py_None
;
3364 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxSize
*arg1
= (wxSize
*) 0 ;
3368 PyObject
* obj0
= 0 ;
3370 (char *) "self", NULL
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3375 if (SWIG_arg_fail(1)) SWIG_fail
;
3376 result
= (int) ((arg1
)->y
);
3379 resultobj
= SWIG_From_int((int)(result
));
3387 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
*resultobj
;
3389 int arg1
= (int) 0 ;
3390 int arg2
= (int) 0 ;
3392 PyObject
* obj0
= 0 ;
3393 PyObject
* obj1
= 0 ;
3395 (char *) "w",(char *) "h", NULL
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3401 arg1
= (int)(SWIG_As_int(obj0
));
3402 if (SWIG_arg_fail(1)) SWIG_fail
;
3407 arg2
= (int)(SWIG_As_int(obj1
));
3408 if (SWIG_arg_fail(2)) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3425 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3426 PyObject
*resultobj
;
3427 wxSize
*arg1
= (wxSize
*) 0 ;
3428 PyObject
* obj0
= 0 ;
3430 (char *) "self", NULL
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3435 if (SWIG_arg_fail(1)) SWIG_fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 Py_INCREF(Py_None
); resultobj
= Py_None
;
3450 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
;
3452 wxSize
*arg1
= (wxSize
*) 0 ;
3456 PyObject
* obj0
= 0 ;
3457 PyObject
* obj1
= 0 ;
3459 (char *) "self",(char *) "sz", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3464 if (SWIG_arg_fail(1)) SWIG_fail
;
3467 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3485 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxSize
*arg1
= (wxSize
*) 0 ;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3494 (char *) "self",(char *) "sz", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3499 if (SWIG_arg_fail(1)) SWIG_fail
;
3502 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3520 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
;
3522 wxSize
*arg1
= (wxSize
*) 0 ;
3526 PyObject
* obj0
= 0 ;
3527 PyObject
* obj1
= 0 ;
3529 (char *) "self",(char *) "sz", NULL
3532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3534 if (SWIG_arg_fail(1)) SWIG_fail
;
3537 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3548 resultptr
= new wxSize((wxSize
&)(result
));
3549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3557 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3559 wxSize
*arg1
= (wxSize
*) 0 ;
3563 PyObject
* obj0
= 0 ;
3564 PyObject
* obj1
= 0 ;
3566 (char *) "self",(char *) "sz", NULL
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3571 if (SWIG_arg_fail(1)) SWIG_fail
;
3574 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3585 resultptr
= new wxSize((wxSize
&)(result
));
3586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3594 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3596 wxSize
*arg1
= (wxSize
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3602 (char *) "self",(char *) "sz", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3607 if (SWIG_arg_fail(1)) SWIG_fail
;
3610 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 (arg1
)->IncTo((wxSize
const &)*arg2
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3619 Py_INCREF(Py_None
); resultobj
= Py_None
;
3626 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxSize
*arg1
= (wxSize
*) 0 ;
3631 PyObject
* obj0
= 0 ;
3632 PyObject
* obj1
= 0 ;
3634 (char *) "self",(char *) "sz", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3639 if (SWIG_arg_fail(1)) SWIG_fail
;
3642 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 (arg1
)->DecTo((wxSize
const &)*arg2
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3651 Py_INCREF(Py_None
); resultobj
= Py_None
;
3658 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxSize
*arg1
= (wxSize
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3665 PyObject
* obj2
= 0 ;
3667 (char *) "self",(char *) "w",(char *) "h", NULL
3670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3672 if (SWIG_arg_fail(1)) SWIG_fail
;
3674 arg2
= (int)(SWIG_As_int(obj1
));
3675 if (SWIG_arg_fail(2)) SWIG_fail
;
3678 arg3
= (int)(SWIG_As_int(obj2
));
3679 if (SWIG_arg_fail(3)) SWIG_fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 (arg1
)->Set(arg2
,arg3
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 Py_INCREF(Py_None
); resultobj
= Py_None
;
3695 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 wxSize
*arg1
= (wxSize
*) 0 ;
3699 PyObject
* obj0
= 0 ;
3700 PyObject
* obj1
= 0 ;
3702 (char *) "self",(char *) "w", NULL
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3707 if (SWIG_arg_fail(1)) SWIG_fail
;
3709 arg2
= (int)(SWIG_As_int(obj1
));
3710 if (SWIG_arg_fail(2)) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 (arg1
)->SetWidth(arg2
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 Py_INCREF(Py_None
); resultobj
= Py_None
;
3726 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
;
3728 wxSize
*arg1
= (wxSize
*) 0 ;
3730 PyObject
* obj0
= 0 ;
3731 PyObject
* obj1
= 0 ;
3733 (char *) "self",(char *) "h", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3738 if (SWIG_arg_fail(1)) SWIG_fail
;
3740 arg2
= (int)(SWIG_As_int(obj1
));
3741 if (SWIG_arg_fail(2)) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 (arg1
)->SetHeight(arg2
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 Py_INCREF(Py_None
); resultobj
= Py_None
;
3757 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxSize
*arg1
= (wxSize
*) 0 ;
3761 PyObject
* obj0
= 0 ;
3763 (char *) "self", NULL
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3768 if (SWIG_arg_fail(1)) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3777 resultobj
= SWIG_From_int((int)(result
));
3785 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3787 wxSize
*arg1
= (wxSize
*) 0 ;
3789 PyObject
* obj0
= 0 ;
3791 (char *) "self", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3796 if (SWIG_arg_fail(1)) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3805 resultobj
= SWIG_From_int((int)(result
));
3813 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxSize
*arg1
= (wxSize
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3819 (char *) "self", NULL
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3824 if (SWIG_arg_fail(1)) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3841 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
*resultobj
;
3843 wxSize
*arg1
= (wxSize
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "size", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail
;
3857 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 Py_INCREF(Py_None
); resultobj
= Py_None
;
3873 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxSize
*arg1
= (wxSize
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3879 (char *) "self", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3884 if (SWIG_arg_fail(1)) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 result
= (PyObject
*)wxSize_Get(arg1
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3899 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3902 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3904 return Py_BuildValue((char *)"");
3906 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3907 PyObject
*resultobj
;
3908 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3910 PyObject
* obj0
= 0 ;
3911 PyObject
* obj1
= 0 ;
3913 (char *) "self",(char *) "x", NULL
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3918 if (SWIG_arg_fail(1)) SWIG_fail
;
3920 arg2
= (double)(SWIG_As_double(obj1
));
3921 if (SWIG_arg_fail(2)) SWIG_fail
;
3923 if (arg1
) (arg1
)->x
= arg2
;
3925 Py_INCREF(Py_None
); resultobj
= Py_None
;
3932 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3936 PyObject
* obj0
= 0 ;
3938 (char *) "self", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3943 if (SWIG_arg_fail(1)) SWIG_fail
;
3944 result
= (double) ((arg1
)->x
);
3947 resultobj
= SWIG_From_double((double)(result
));
3955 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3959 PyObject
* obj0
= 0 ;
3960 PyObject
* obj1
= 0 ;
3962 (char *) "self",(char *) "y", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3967 if (SWIG_arg_fail(1)) SWIG_fail
;
3969 arg2
= (double)(SWIG_As_double(obj1
));
3970 if (SWIG_arg_fail(2)) SWIG_fail
;
3972 if (arg1
) (arg1
)->y
= arg2
;
3974 Py_INCREF(Py_None
); resultobj
= Py_None
;
3981 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
;
3983 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3985 PyObject
* obj0
= 0 ;
3987 (char *) "self", NULL
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
3991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3992 if (SWIG_arg_fail(1)) SWIG_fail
;
3993 result
= (double) ((arg1
)->y
);
3996 resultobj
= SWIG_From_double((double)(result
));
4004 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4005 PyObject
*resultobj
;
4006 double arg1
= (double) 0.0 ;
4007 double arg2
= (double) 0.0 ;
4008 wxRealPoint
*result
;
4009 PyObject
* obj0
= 0 ;
4010 PyObject
* obj1
= 0 ;
4012 (char *) "x",(char *) "y", NULL
4015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4018 arg1
= (double)(SWIG_As_double(obj0
));
4019 if (SWIG_arg_fail(1)) SWIG_fail
;
4024 arg2
= (double)(SWIG_As_double(obj1
));
4025 if (SWIG_arg_fail(2)) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4042 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
*resultobj
;
4044 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4045 PyObject
* obj0
= 0 ;
4047 (char *) "self", NULL
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4052 if (SWIG_arg_fail(1)) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4067 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4070 wxRealPoint
*arg2
= 0 ;
4073 PyObject
* obj0
= 0 ;
4074 PyObject
* obj1
= 0 ;
4076 (char *) "self",(char *) "pt", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4081 if (SWIG_arg_fail(1)) SWIG_fail
;
4084 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4102 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
*resultobj
;
4104 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4105 wxRealPoint
*arg2
= 0 ;
4108 PyObject
* obj0
= 0 ;
4109 PyObject
* obj1
= 0 ;
4111 (char *) "self",(char *) "pt", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4116 if (SWIG_arg_fail(1)) SWIG_fail
;
4119 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4137 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
*resultobj
;
4139 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4140 wxRealPoint
*arg2
= 0 ;
4143 PyObject
* obj0
= 0 ;
4144 PyObject
* obj1
= 0 ;
4146 (char *) "self",(char *) "pt", NULL
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4151 if (SWIG_arg_fail(1)) SWIG_fail
;
4154 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4164 wxRealPoint
* resultptr
;
4165 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4174 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4177 wxRealPoint
*arg2
= 0 ;
4180 PyObject
* obj0
= 0 ;
4181 PyObject
* obj1
= 0 ;
4183 (char *) "self",(char *) "pt", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4188 if (SWIG_arg_fail(1)) SWIG_fail
;
4191 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4201 wxRealPoint
* resultptr
;
4202 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4211 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4216 PyObject
* obj0
= 0 ;
4217 PyObject
* obj1
= 0 ;
4218 PyObject
* obj2
= 0 ;
4220 (char *) "self",(char *) "x",(char *) "y", NULL
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4225 if (SWIG_arg_fail(1)) SWIG_fail
;
4227 arg2
= (double)(SWIG_As_double(obj1
));
4228 if (SWIG_arg_fail(2)) SWIG_fail
;
4231 arg3
= (double)(SWIG_As_double(obj2
));
4232 if (SWIG_arg_fail(3)) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 wxRealPoint_Set(arg1
,arg2
,arg3
);
4238 wxPyEndAllowThreads(__tstate
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 Py_INCREF(Py_None
); resultobj
= Py_None
;
4248 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4249 PyObject
*resultobj
;
4250 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4252 PyObject
* obj0
= 0 ;
4254 (char *) "self", NULL
4257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4259 if (SWIG_arg_fail(1)) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4274 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4277 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4279 return Py_BuildValue((char *)"");
4281 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4283 wxPoint
*arg1
= (wxPoint
*) 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4288 (char *) "self",(char *) "x", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4293 if (SWIG_arg_fail(1)) SWIG_fail
;
4295 arg2
= (int)(SWIG_As_int(obj1
));
4296 if (SWIG_arg_fail(2)) SWIG_fail
;
4298 if (arg1
) (arg1
)->x
= arg2
;
4300 Py_INCREF(Py_None
); resultobj
= Py_None
;
4307 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4308 PyObject
*resultobj
;
4309 wxPoint
*arg1
= (wxPoint
*) 0 ;
4311 PyObject
* obj0
= 0 ;
4313 (char *) "self", NULL
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4318 if (SWIG_arg_fail(1)) SWIG_fail
;
4319 result
= (int) ((arg1
)->x
);
4322 resultobj
= SWIG_From_int((int)(result
));
4330 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
*resultobj
;
4332 wxPoint
*arg1
= (wxPoint
*) 0 ;
4334 PyObject
* obj0
= 0 ;
4335 PyObject
* obj1
= 0 ;
4337 (char *) "self",(char *) "y", NULL
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4342 if (SWIG_arg_fail(1)) SWIG_fail
;
4344 arg2
= (int)(SWIG_As_int(obj1
));
4345 if (SWIG_arg_fail(2)) SWIG_fail
;
4347 if (arg1
) (arg1
)->y
= arg2
;
4349 Py_INCREF(Py_None
); resultobj
= Py_None
;
4356 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
;
4358 wxPoint
*arg1
= (wxPoint
*) 0 ;
4360 PyObject
* obj0
= 0 ;
4362 (char *) "self", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4367 if (SWIG_arg_fail(1)) SWIG_fail
;
4368 result
= (int) ((arg1
)->y
);
4371 resultobj
= SWIG_From_int((int)(result
));
4379 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
*resultobj
;
4381 int arg1
= (int) 0 ;
4382 int arg2
= (int) 0 ;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4387 (char *) "x",(char *) "y", NULL
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4393 arg1
= (int)(SWIG_As_int(obj0
));
4394 if (SWIG_arg_fail(1)) SWIG_fail
;
4399 arg2
= (int)(SWIG_As_int(obj1
));
4400 if (SWIG_arg_fail(2)) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4417 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxPoint
*arg1
= (wxPoint
*) 0 ;
4420 PyObject
* obj0
= 0 ;
4422 (char *) "self", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4427 if (SWIG_arg_fail(1)) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 Py_INCREF(Py_None
); resultobj
= Py_None
;
4442 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
;
4444 wxPoint
*arg1
= (wxPoint
*) 0 ;
4448 PyObject
* obj0
= 0 ;
4449 PyObject
* obj1
= 0 ;
4451 (char *) "self",(char *) "pt", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4456 if (SWIG_arg_fail(1)) SWIG_fail
;
4459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4477 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxPoint
*arg1
= (wxPoint
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4486 (char *) "self",(char *) "pt", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4491 if (SWIG_arg_fail(1)) SWIG_fail
;
4494 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4512 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxPoint
*arg1
= (wxPoint
*) 0 ;
4518 PyObject
* obj0
= 0 ;
4519 PyObject
* obj1
= 0 ;
4521 (char *) "self",(char *) "pt", NULL
4524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4526 if (SWIG_arg_fail(1)) SWIG_fail
;
4529 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4539 wxPoint
* resultptr
;
4540 resultptr
= new wxPoint((wxPoint
&)(result
));
4541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4549 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
;
4551 wxPoint
*arg1
= (wxPoint
*) 0 ;
4555 PyObject
* obj0
= 0 ;
4556 PyObject
* obj1
= 0 ;
4558 (char *) "self",(char *) "pt", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4563 if (SWIG_arg_fail(1)) SWIG_fail
;
4566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4576 wxPoint
* resultptr
;
4577 resultptr
= new wxPoint((wxPoint
&)(result
));
4578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4586 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
*resultobj
;
4588 wxPoint
*arg1
= (wxPoint
*) 0 ;
4592 PyObject
* obj0
= 0 ;
4593 PyObject
* obj1
= 0 ;
4595 (char *) "self",(char *) "pt", NULL
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4600 if (SWIG_arg_fail(1)) SWIG_fail
;
4603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4609 result
= (wxPoint
*) &_result_ref
;
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4622 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxPoint
*arg1
= (wxPoint
*) 0 ;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4631 (char *) "self",(char *) "pt", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4636 if (SWIG_arg_fail(1)) SWIG_fail
;
4639 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4645 result
= (wxPoint
*) &_result_ref
;
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4658 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxPoint
*arg1
= (wxPoint
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4664 PyObject
* obj1
= 0 ;
4665 PyObject
* obj2
= 0 ;
4667 (char *) "self",(char *) "x",(char *) "y", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4672 if (SWIG_arg_fail(1)) SWIG_fail
;
4674 arg2
= (long)(SWIG_As_long(obj1
));
4675 if (SWIG_arg_fail(2)) SWIG_fail
;
4678 arg3
= (long)(SWIG_As_long(obj2
));
4679 if (SWIG_arg_fail(3)) SWIG_fail
;
4682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 wxPoint_Set(arg1
,arg2
,arg3
);
4685 wxPyEndAllowThreads(__tstate
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4688 Py_INCREF(Py_None
); resultobj
= Py_None
;
4695 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
*resultobj
;
4697 wxPoint
*arg1
= (wxPoint
*) 0 ;
4699 PyObject
* obj0
= 0 ;
4701 (char *) "self", NULL
4704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4706 if (SWIG_arg_fail(1)) SWIG_fail
;
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 result
= (PyObject
*)wxPoint_Get(arg1
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4721 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4724 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4726 return Py_BuildValue((char *)"");
4728 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 int arg1
= (int) 0 ;
4731 int arg2
= (int) 0 ;
4732 int arg3
= (int) 0 ;
4733 int arg4
= (int) 0 ;
4735 PyObject
* obj0
= 0 ;
4736 PyObject
* obj1
= 0 ;
4737 PyObject
* obj2
= 0 ;
4738 PyObject
* obj3
= 0 ;
4740 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4746 arg1
= (int)(SWIG_As_int(obj0
));
4747 if (SWIG_arg_fail(1)) SWIG_fail
;
4752 arg2
= (int)(SWIG_As_int(obj1
));
4753 if (SWIG_arg_fail(2)) SWIG_fail
;
4758 arg3
= (int)(SWIG_As_int(obj2
));
4759 if (SWIG_arg_fail(3)) SWIG_fail
;
4764 arg4
= (int)(SWIG_As_int(obj3
));
4765 if (SWIG_arg_fail(4)) SWIG_fail
;
4769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4770 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4772 wxPyEndAllowThreads(__tstate
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4782 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
;
4789 PyObject
* obj0
= 0 ;
4790 PyObject
* obj1
= 0 ;
4792 (char *) "topLeft",(char *) "bottomRight", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4798 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4802 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4806 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4808 wxPyEndAllowThreads(__tstate
);
4809 if (PyErr_Occurred()) SWIG_fail
;
4811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4818 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4828 (char *) "pos",(char *) "size", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4834 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4838 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4854 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4859 PyObject
* obj0
= 0 ;
4861 (char *) "size", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4867 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4883 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4885 wxRect
*arg1
= (wxRect
*) 0 ;
4886 PyObject
* obj0
= 0 ;
4888 (char *) "self", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4893 if (SWIG_arg_fail(1)) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4901 Py_INCREF(Py_None
); resultobj
= Py_None
;
4908 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4909 PyObject
*resultobj
;
4910 wxRect
*arg1
= (wxRect
*) 0 ;
4912 PyObject
* obj0
= 0 ;
4914 (char *) "self", NULL
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4919 if (SWIG_arg_fail(1)) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (int)((wxRect
const *)arg1
)->GetX();
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= SWIG_From_int((int)(result
));
4936 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
*resultobj
;
4938 wxRect
*arg1
= (wxRect
*) 0 ;
4940 PyObject
* obj0
= 0 ;
4941 PyObject
* obj1
= 0 ;
4943 (char *) "self",(char *) "x", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4948 if (SWIG_arg_fail(1)) SWIG_fail
;
4950 arg2
= (int)(SWIG_As_int(obj1
));
4951 if (SWIG_arg_fail(2)) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 Py_INCREF(Py_None
); resultobj
= Py_None
;
4967 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxRect
*arg1
= (wxRect
*) 0 ;
4971 PyObject
* obj0
= 0 ;
4973 (char *) "self", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4978 if (SWIG_arg_fail(1)) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (int)(arg1
)->GetY();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= SWIG_From_int((int)(result
));
4995 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxRect
*arg1
= (wxRect
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5002 (char *) "self",(char *) "y", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5007 if (SWIG_arg_fail(1)) SWIG_fail
;
5009 arg2
= (int)(SWIG_As_int(obj1
));
5010 if (SWIG_arg_fail(2)) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 Py_INCREF(Py_None
); resultobj
= Py_None
;
5026 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxRect
*arg1
= (wxRect
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "self", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5037 if (SWIG_arg_fail(1)) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= SWIG_From_int((int)(result
));
5054 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5055 PyObject
*resultobj
;
5056 wxRect
*arg1
= (wxRect
*) 0 ;
5058 PyObject
* obj0
= 0 ;
5059 PyObject
* obj1
= 0 ;
5061 (char *) "self",(char *) "w", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5066 if (SWIG_arg_fail(1)) SWIG_fail
;
5068 arg2
= (int)(SWIG_As_int(obj1
));
5069 if (SWIG_arg_fail(2)) SWIG_fail
;
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 (arg1
)->SetWidth(arg2
);
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5078 Py_INCREF(Py_None
); resultobj
= Py_None
;
5085 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
;
5087 wxRect
*arg1
= (wxRect
*) 0 ;
5089 PyObject
* obj0
= 0 ;
5091 (char *) "self", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5105 resultobj
= SWIG_From_int((int)(result
));
5113 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxRect
*arg1
= (wxRect
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "self",(char *) "h", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5125 if (SWIG_arg_fail(1)) SWIG_fail
;
5127 arg2
= (int)(SWIG_As_int(obj1
));
5128 if (SWIG_arg_fail(2)) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 (arg1
)->SetHeight(arg2
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 Py_INCREF(Py_None
); resultobj
= Py_None
;
5144 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxRect
*arg1
= (wxRect
*) 0 ;
5148 PyObject
* obj0
= 0 ;
5150 (char *) "self", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5155 if (SWIG_arg_fail(1)) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= ((wxRect
const *)arg1
)->GetPosition();
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5164 wxPoint
* resultptr
;
5165 resultptr
= new wxPoint((wxPoint
&)(result
));
5166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5174 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxRect
*arg1
= (wxRect
*) 0 ;
5179 PyObject
* obj0
= 0 ;
5180 PyObject
* obj1
= 0 ;
5182 (char *) "self",(char *) "p", NULL
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5187 if (SWIG_arg_fail(1)) SWIG_fail
;
5190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 Py_INCREF(Py_None
); resultobj
= Py_None
;
5206 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxRect
*arg1
= (wxRect
*) 0 ;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "self", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 result
= ((wxRect
const *)arg1
)->GetSize();
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5227 resultptr
= new wxSize((wxSize
&)(result
));
5228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5236 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxRect
*arg1
= (wxRect
*) 0 ;
5241 PyObject
* obj0
= 0 ;
5242 PyObject
* obj1
= 0 ;
5244 (char *) "self",(char *) "s", NULL
5247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5249 if (SWIG_arg_fail(1)) SWIG_fail
;
5252 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 (arg1
)->SetSize((wxSize
const &)*arg2
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 Py_INCREF(Py_None
); resultobj
= Py_None
;
5268 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
*resultobj
;
5270 wxRect
*arg1
= (wxRect
*) 0 ;
5272 PyObject
* obj0
= 0 ;
5274 (char *) "self", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5279 if (SWIG_arg_fail(1)) SWIG_fail
;
5281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5284 wxPyEndAllowThreads(__tstate
);
5285 if (PyErr_Occurred()) SWIG_fail
;
5288 wxPoint
* resultptr
;
5289 resultptr
= new wxPoint((wxPoint
&)(result
));
5290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5298 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxRect
*arg1
= (wxRect
*) 0 ;
5303 PyObject
* obj0
= 0 ;
5304 PyObject
* obj1
= 0 ;
5306 (char *) "self",(char *) "p", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5311 if (SWIG_arg_fail(1)) SWIG_fail
;
5314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 Py_INCREF(Py_None
); resultobj
= Py_None
;
5330 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxRect
*arg1
= (wxRect
*) 0 ;
5334 PyObject
* obj0
= 0 ;
5336 (char *) "self", NULL
5339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5341 if (SWIG_arg_fail(1)) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5350 wxPoint
* resultptr
;
5351 resultptr
= new wxPoint((wxPoint
&)(result
));
5352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5360 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxRect
*arg1
= (wxRect
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "p", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5373 if (SWIG_arg_fail(1)) SWIG_fail
;
5376 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5385 Py_INCREF(Py_None
); resultobj
= Py_None
;
5392 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5394 wxRect
*arg1
= (wxRect
*) 0 ;
5396 PyObject
* obj0
= 0 ;
5398 (char *) "self", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5403 if (SWIG_arg_fail(1)) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5412 resultobj
= SWIG_From_int((int)(result
));
5420 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxRect
*arg1
= (wxRect
*) 0 ;
5424 PyObject
* obj0
= 0 ;
5426 (char *) "self", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5431 if (SWIG_arg_fail(1)) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (int)((wxRect
const *)arg1
)->GetTop();
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_From_int((int)(result
));
5448 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxRect
*arg1
= (wxRect
*) 0 ;
5452 PyObject
* obj0
= 0 ;
5454 (char *) "self", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5459 if (SWIG_arg_fail(1)) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_From_int((int)(result
));
5476 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxRect
*arg1
= (wxRect
*) 0 ;
5480 PyObject
* obj0
= 0 ;
5482 (char *) "self", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5487 if (SWIG_arg_fail(1)) SWIG_fail
;
5489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5490 result
= (int)((wxRect
const *)arg1
)->GetRight();
5492 wxPyEndAllowThreads(__tstate
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_From_int((int)(result
));
5504 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxRect
*arg1
= (wxRect
*) 0 ;
5508 PyObject
* obj0
= 0 ;
5509 PyObject
* obj1
= 0 ;
5511 (char *) "self",(char *) "left", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5516 if (SWIG_arg_fail(1)) SWIG_fail
;
5518 arg2
= (int)(SWIG_As_int(obj1
));
5519 if (SWIG_arg_fail(2)) SWIG_fail
;
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 (arg1
)->SetLeft(arg2
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 Py_INCREF(Py_None
); resultobj
= Py_None
;
5535 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
;
5537 wxRect
*arg1
= (wxRect
*) 0 ;
5539 PyObject
* obj0
= 0 ;
5540 PyObject
* obj1
= 0 ;
5542 (char *) "self",(char *) "right", NULL
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5547 if (SWIG_arg_fail(1)) SWIG_fail
;
5549 arg2
= (int)(SWIG_As_int(obj1
));
5550 if (SWIG_arg_fail(2)) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 (arg1
)->SetRight(arg2
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 Py_INCREF(Py_None
); resultobj
= Py_None
;
5566 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxRect
*arg1
= (wxRect
*) 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5573 (char *) "self",(char *) "top", NULL
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5578 if (SWIG_arg_fail(1)) SWIG_fail
;
5580 arg2
= (int)(SWIG_As_int(obj1
));
5581 if (SWIG_arg_fail(2)) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 (arg1
)->SetTop(arg2
);
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5590 Py_INCREF(Py_None
); resultobj
= Py_None
;
5597 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxRect
*arg1
= (wxRect
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5602 PyObject
* obj1
= 0 ;
5604 (char *) "self",(char *) "bottom", NULL
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5609 if (SWIG_arg_fail(1)) SWIG_fail
;
5611 arg2
= (int)(SWIG_As_int(obj1
));
5612 if (SWIG_arg_fail(2)) SWIG_fail
;
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->SetBottom(arg2
);
5618 wxPyEndAllowThreads(__tstate
);
5619 if (PyErr_Occurred()) SWIG_fail
;
5621 Py_INCREF(Py_None
); resultobj
= Py_None
;
5628 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxRect
*arg1
= (wxRect
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5635 PyObject
* obj1
= 0 ;
5636 PyObject
* obj2
= 0 ;
5638 (char *) "self",(char *) "dx",(char *) "dy", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5643 if (SWIG_arg_fail(1)) SWIG_fail
;
5645 arg2
= (int)(SWIG_As_int(obj1
));
5646 if (SWIG_arg_fail(2)) SWIG_fail
;
5649 arg3
= (int)(SWIG_As_int(obj2
));
5650 if (SWIG_arg_fail(3)) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5656 result
= (wxRect
*) &_result_ref
;
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5669 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 wxRect
*arg1
= (wxRect
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5677 PyObject
* obj2
= 0 ;
5679 (char *) "self",(char *) "dx",(char *) "dy", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5684 if (SWIG_arg_fail(1)) SWIG_fail
;
5686 arg2
= (int)(SWIG_As_int(obj1
));
5687 if (SWIG_arg_fail(2)) SWIG_fail
;
5690 arg3
= (int)(SWIG_As_int(obj2
));
5691 if (SWIG_arg_fail(3)) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5697 result
= (wxRect
*) &_result_ref
;
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5710 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
;
5712 wxRect
*arg1
= (wxRect
*) 0 ;
5715 PyObject
* obj0
= 0 ;
5716 PyObject
* obj1
= 0 ;
5717 PyObject
* obj2
= 0 ;
5719 (char *) "self",(char *) "dx",(char *) "dy", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5724 if (SWIG_arg_fail(1)) SWIG_fail
;
5726 arg2
= (int)(SWIG_As_int(obj1
));
5727 if (SWIG_arg_fail(2)) SWIG_fail
;
5730 arg3
= (int)(SWIG_As_int(obj2
));
5731 if (SWIG_arg_fail(3)) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 (arg1
)->Offset(arg2
,arg3
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 Py_INCREF(Py_None
); resultobj
= Py_None
;
5747 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxRect
*arg1
= (wxRect
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "pt", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5760 if (SWIG_arg_fail(1)) SWIG_fail
;
5763 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 (arg1
)->Offset((wxPoint
const &)*arg2
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5772 Py_INCREF(Py_None
); resultobj
= Py_None
;
5779 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxRect
*arg1
= (wxRect
*) 0 ;
5785 PyObject
* obj0
= 0 ;
5786 PyObject
* obj1
= 0 ;
5788 (char *) "self",(char *) "rect", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5793 if (SWIG_arg_fail(1)) SWIG_fail
;
5796 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5807 resultptr
= new wxRect((wxRect
&)(result
));
5808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5816 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxRect
*arg1
= (wxRect
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5823 PyObject
* obj1
= 0 ;
5825 (char *) "self",(char *) "rect", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5830 if (SWIG_arg_fail(1)) SWIG_fail
;
5833 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5844 resultptr
= new wxRect((wxRect
&)(result
));
5845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5853 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5854 PyObject
*resultobj
;
5855 wxRect
*arg1
= (wxRect
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5860 PyObject
* obj1
= 0 ;
5862 (char *) "self",(char *) "rect", NULL
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5867 if (SWIG_arg_fail(1)) SWIG_fail
;
5870 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5881 resultptr
= new wxRect((wxRect
&)(result
));
5882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5890 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
;
5892 wxRect
*arg1
= (wxRect
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5899 (char *) "self",(char *) "rect", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5904 if (SWIG_arg_fail(1)) SWIG_fail
;
5907 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5913 result
= (wxRect
*) &_result_ref
;
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5926 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxRect
*arg1
= (wxRect
*) 0 ;
5932 PyObject
* obj0
= 0 ;
5933 PyObject
* obj1
= 0 ;
5935 (char *) "self",(char *) "rect", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5940 if (SWIG_arg_fail(1)) SWIG_fail
;
5943 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5961 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxRect
*arg1
= (wxRect
*) 0 ;
5967 PyObject
* obj0
= 0 ;
5968 PyObject
* obj1
= 0 ;
5970 (char *) "self",(char *) "rect", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5975 if (SWIG_arg_fail(1)) SWIG_fail
;
5978 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5996 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxRect
*arg1
= (wxRect
*) 0 ;
6002 PyObject
* obj0
= 0 ;
6003 PyObject
* obj1
= 0 ;
6004 PyObject
* obj2
= 0 ;
6006 (char *) "self",(char *) "x",(char *) "y", NULL
6009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6011 if (SWIG_arg_fail(1)) SWIG_fail
;
6013 arg2
= (int)(SWIG_As_int(obj1
));
6014 if (SWIG_arg_fail(2)) SWIG_fail
;
6017 arg3
= (int)(SWIG_As_int(obj2
));
6018 if (SWIG_arg_fail(3)) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6036 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxRect
*arg1
= (wxRect
*) 0 ;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6045 (char *) "self",(char *) "pt", NULL
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6050 if (SWIG_arg_fail(1)) SWIG_fail
;
6053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6071 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
;
6073 wxRect
*arg1
= (wxRect
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6078 PyObject
* obj1
= 0 ;
6080 (char *) "self",(char *) "rect", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6085 if (SWIG_arg_fail(1)) SWIG_fail
;
6088 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6106 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6108 wxRect
*arg1
= (wxRect
*) 0 ;
6110 PyObject
* obj0
= 0 ;
6111 PyObject
* obj1
= 0 ;
6113 (char *) "self",(char *) "x", NULL
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6118 if (SWIG_arg_fail(1)) SWIG_fail
;
6120 arg2
= (int)(SWIG_As_int(obj1
));
6121 if (SWIG_arg_fail(2)) SWIG_fail
;
6123 if (arg1
) (arg1
)->x
= arg2
;
6125 Py_INCREF(Py_None
); resultobj
= Py_None
;
6132 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxRect
*arg1
= (wxRect
*) 0 ;
6136 PyObject
* obj0
= 0 ;
6138 (char *) "self", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6143 if (SWIG_arg_fail(1)) SWIG_fail
;
6144 result
= (int) ((arg1
)->x
);
6147 resultobj
= SWIG_From_int((int)(result
));
6155 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxRect
*arg1
= (wxRect
*) 0 ;
6159 PyObject
* obj0
= 0 ;
6160 PyObject
* obj1
= 0 ;
6162 (char *) "self",(char *) "y", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6167 if (SWIG_arg_fail(1)) SWIG_fail
;
6169 arg2
= (int)(SWIG_As_int(obj1
));
6170 if (SWIG_arg_fail(2)) SWIG_fail
;
6172 if (arg1
) (arg1
)->y
= arg2
;
6174 Py_INCREF(Py_None
); resultobj
= Py_None
;
6181 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6182 PyObject
*resultobj
;
6183 wxRect
*arg1
= (wxRect
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6187 (char *) "self", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6192 if (SWIG_arg_fail(1)) SWIG_fail
;
6193 result
= (int) ((arg1
)->y
);
6196 resultobj
= SWIG_From_int((int)(result
));
6204 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxRect
*arg1
= (wxRect
*) 0 ;
6208 PyObject
* obj0
= 0 ;
6209 PyObject
* obj1
= 0 ;
6211 (char *) "self",(char *) "width", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6216 if (SWIG_arg_fail(1)) SWIG_fail
;
6218 arg2
= (int)(SWIG_As_int(obj1
));
6219 if (SWIG_arg_fail(2)) SWIG_fail
;
6221 if (arg1
) (arg1
)->width
= arg2
;
6223 Py_INCREF(Py_None
); resultobj
= Py_None
;
6230 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxRect
*arg1
= (wxRect
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6241 if (SWIG_arg_fail(1)) SWIG_fail
;
6242 result
= (int) ((arg1
)->width
);
6245 resultobj
= SWIG_From_int((int)(result
));
6253 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxRect
*arg1
= (wxRect
*) 0 ;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6260 (char *) "self",(char *) "height", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6265 if (SWIG_arg_fail(1)) SWIG_fail
;
6267 arg2
= (int)(SWIG_As_int(obj1
));
6268 if (SWIG_arg_fail(2)) SWIG_fail
;
6270 if (arg1
) (arg1
)->height
= arg2
;
6272 Py_INCREF(Py_None
); resultobj
= Py_None
;
6279 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxRect
*arg1
= (wxRect
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6285 (char *) "self", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6290 if (SWIG_arg_fail(1)) SWIG_fail
;
6291 result
= (int) ((arg1
)->height
);
6294 resultobj
= SWIG_From_int((int)(result
));
6302 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
*resultobj
;
6304 wxRect
*arg1
= (wxRect
*) 0 ;
6305 int arg2
= (int) 0 ;
6306 int arg3
= (int) 0 ;
6307 int arg4
= (int) 0 ;
6308 int arg5
= (int) 0 ;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6311 PyObject
* obj2
= 0 ;
6312 PyObject
* obj3
= 0 ;
6313 PyObject
* obj4
= 0 ;
6315 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6320 if (SWIG_arg_fail(1)) SWIG_fail
;
6323 arg2
= (int)(SWIG_As_int(obj1
));
6324 if (SWIG_arg_fail(2)) SWIG_fail
;
6329 arg3
= (int)(SWIG_As_int(obj2
));
6330 if (SWIG_arg_fail(3)) SWIG_fail
;
6335 arg4
= (int)(SWIG_As_int(obj3
));
6336 if (SWIG_arg_fail(4)) SWIG_fail
;
6341 arg5
= (int)(SWIG_As_int(obj4
));
6342 if (SWIG_arg_fail(5)) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 Py_INCREF(Py_None
); resultobj
= Py_None
;
6359 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxRect
*arg1
= (wxRect
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6365 (char *) "self", NULL
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6370 if (SWIG_arg_fail(1)) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= (PyObject
*)wxRect_Get(arg1
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6385 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6388 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6390 return Py_BuildValue((char *)"");
6392 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxRect
*arg1
= (wxRect
*) 0 ;
6395 wxRect
*arg2
= (wxRect
*) 0 ;
6397 PyObject
* obj0
= 0 ;
6398 PyObject
* obj1
= 0 ;
6400 (char *) "r1",(char *) "r2", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6405 if (SWIG_arg_fail(1)) SWIG_fail
;
6406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6407 if (SWIG_arg_fail(2)) SWIG_fail
;
6409 if (!wxPyCheckForApp()) SWIG_fail
;
6410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6411 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6413 wxPyEndAllowThreads(__tstate
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6423 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6424 PyObject
*resultobj
;
6425 double arg1
= (double) 0.0 ;
6426 double arg2
= (double) 0.0 ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6431 (char *) "x",(char *) "y", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6437 arg1
= (double)(SWIG_As_double(obj0
));
6438 if (SWIG_arg_fail(1)) SWIG_fail
;
6443 arg2
= (double)(SWIG_As_double(obj1
));
6444 if (SWIG_arg_fail(2)) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6461 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxPoint2D
*arg1
= 0 ;
6466 PyObject
* obj0
= 0 ;
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6474 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6490 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6495 PyObject
* obj0
= 0 ;
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6503 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6519 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6522 int *arg2
= (int *) 0 ;
6523 int *arg3
= (int *) 0 ;
6528 PyObject
* obj0
= 0 ;
6530 (char *) "self", NULL
6533 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6534 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6537 if (SWIG_arg_fail(1)) SWIG_fail
;
6539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6540 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6542 wxPyEndAllowThreads(__tstate
);
6543 if (PyErr_Occurred()) SWIG_fail
;
6545 Py_INCREF(Py_None
); resultobj
= Py_None
;
6546 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6547 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6548 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6549 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6556 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6559 int *arg2
= (int *) 0 ;
6560 int *arg3
= (int *) 0 ;
6565 PyObject
* obj0
= 0 ;
6567 (char *) "self", NULL
6570 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6571 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6574 if (SWIG_arg_fail(1)) SWIG_fail
;
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6579 wxPyEndAllowThreads(__tstate
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6582 Py_INCREF(Py_None
); resultobj
= Py_None
;
6583 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6584 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6585 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6586 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6593 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6597 PyObject
* obj0
= 0 ;
6599 (char *) "self", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= SWIG_From_double((double)(result
));
6621 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
;
6623 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6625 PyObject
* obj0
= 0 ;
6627 (char *) "self", NULL
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6632 if (SWIG_arg_fail(1)) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= SWIG_From_double((double)(result
));
6649 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
;
6651 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6653 PyObject
* obj0
= 0 ;
6654 PyObject
* obj1
= 0 ;
6656 (char *) "self",(char *) "length", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6661 if (SWIG_arg_fail(1)) SWIG_fail
;
6663 arg2
= (double)(SWIG_As_double(obj1
));
6664 if (SWIG_arg_fail(2)) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 (arg1
)->SetVectorLength(arg2
);
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6673 Py_INCREF(Py_None
); resultobj
= Py_None
;
6680 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
;
6682 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6684 PyObject
* obj0
= 0 ;
6685 PyObject
* obj1
= 0 ;
6687 (char *) "self",(char *) "degrees", NULL
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6692 if (SWIG_arg_fail(1)) SWIG_fail
;
6694 arg2
= (double)(SWIG_As_double(obj1
));
6695 if (SWIG_arg_fail(2)) SWIG_fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 (arg1
)->SetVectorAngle(arg2
);
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 Py_INCREF(Py_None
); resultobj
= Py_None
;
6711 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6714 wxPoint2D
*arg2
= 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "pt", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6725 if (SWIG_arg_fail(1)) SWIG_fail
;
6728 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6732 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6734 wxPyEndAllowThreads(__tstate
);
6735 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= SWIG_From_double((double)(result
));
6746 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6749 wxPoint2D
*arg2
= 0 ;
6752 PyObject
* obj0
= 0 ;
6753 PyObject
* obj1
= 0 ;
6755 (char *) "self",(char *) "pt", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6760 if (SWIG_arg_fail(1)) SWIG_fail
;
6763 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= SWIG_From_double((double)(result
));
6781 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6783 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6784 wxPoint2D
*arg2
= 0 ;
6787 PyObject
* obj0
= 0 ;
6788 PyObject
* obj1
= 0 ;
6790 (char *) "self",(char *) "vec", NULL
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6795 if (SWIG_arg_fail(1)) SWIG_fail
;
6798 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= SWIG_From_double((double)(result
));
6816 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
;
6818 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6819 wxPoint2D
*arg2
= 0 ;
6822 PyObject
* obj0
= 0 ;
6823 PyObject
* obj1
= 0 ;
6825 (char *) "self",(char *) "vec", NULL
6828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6830 if (SWIG_arg_fail(1)) SWIG_fail
;
6833 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6843 resultobj
= SWIG_From_double((double)(result
));
6851 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
*resultobj
;
6853 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6855 PyObject
* obj0
= 0 ;
6857 (char *) "self", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6862 if (SWIG_arg_fail(1)) SWIG_fail
;
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (arg1
)->operator -();
6867 wxPyEndAllowThreads(__tstate
);
6868 if (PyErr_Occurred()) SWIG_fail
;
6871 wxPoint2D
* resultptr
;
6872 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6881 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6884 wxPoint2D
*arg2
= 0 ;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6890 (char *) "self",(char *) "pt", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6895 if (SWIG_arg_fail(1)) SWIG_fail
;
6898 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6904 result
= (wxPoint2D
*) &_result_ref
;
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6917 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6920 wxPoint2D
*arg2
= 0 ;
6923 PyObject
* obj0
= 0 ;
6924 PyObject
* obj1
= 0 ;
6926 (char *) "self",(char *) "pt", NULL
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6931 if (SWIG_arg_fail(1)) SWIG_fail
;
6934 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6940 result
= (wxPoint2D
*) &_result_ref
;
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6953 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
;
6955 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6956 wxPoint2D
*arg2
= 0 ;
6959 PyObject
* obj0
= 0 ;
6960 PyObject
* obj1
= 0 ;
6962 (char *) "self",(char *) "pt", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6967 if (SWIG_arg_fail(1)) SWIG_fail
;
6970 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6976 result
= (wxPoint2D
*) &_result_ref
;
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6989 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6992 wxPoint2D
*arg2
= 0 ;
6995 PyObject
* obj0
= 0 ;
6996 PyObject
* obj1
= 0 ;
6998 (char *) "self",(char *) "pt", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7003 if (SWIG_arg_fail(1)) SWIG_fail
;
7006 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7011 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7012 result
= (wxPoint2D
*) &_result_ref
;
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7025 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7028 wxPoint2D
*arg2
= 0 ;
7031 PyObject
* obj0
= 0 ;
7032 PyObject
* obj1
= 0 ;
7034 (char *) "self",(char *) "pt", NULL
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7039 if (SWIG_arg_fail(1)) SWIG_fail
;
7042 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7060 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7063 wxPoint2D
*arg2
= 0 ;
7066 PyObject
* obj0
= 0 ;
7067 PyObject
* obj1
= 0 ;
7069 (char *) "self",(char *) "pt", NULL
7072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7074 if (SWIG_arg_fail(1)) SWIG_fail
;
7077 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7095 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
;
7097 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7102 (char *) "self",(char *) "m_x", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7107 if (SWIG_arg_fail(1)) SWIG_fail
;
7109 arg2
= (double)(SWIG_As_double(obj1
));
7110 if (SWIG_arg_fail(2)) SWIG_fail
;
7112 if (arg1
) (arg1
)->m_x
= arg2
;
7114 Py_INCREF(Py_None
); resultobj
= Py_None
;
7121 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "self", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail
;
7133 result
= (double) ((arg1
)->m_x
);
7136 resultobj
= SWIG_From_double((double)(result
));
7144 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7148 PyObject
* obj0
= 0 ;
7149 PyObject
* obj1
= 0 ;
7151 (char *) "self",(char *) "m_y", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7156 if (SWIG_arg_fail(1)) SWIG_fail
;
7158 arg2
= (double)(SWIG_As_double(obj1
));
7159 if (SWIG_arg_fail(2)) SWIG_fail
;
7161 if (arg1
) (arg1
)->m_y
= arg2
;
7163 Py_INCREF(Py_None
); resultobj
= Py_None
;
7170 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7174 PyObject
* obj0
= 0 ;
7176 (char *) "self", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7181 if (SWIG_arg_fail(1)) SWIG_fail
;
7182 result
= (double) ((arg1
)->m_y
);
7185 resultobj
= SWIG_From_double((double)(result
));
7193 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
*resultobj
;
7195 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7196 double arg2
= (double) 0 ;
7197 double arg3
= (double) 0 ;
7198 PyObject
* obj0
= 0 ;
7199 PyObject
* obj1
= 0 ;
7200 PyObject
* obj2
= 0 ;
7202 (char *) "self",(char *) "x",(char *) "y", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7207 if (SWIG_arg_fail(1)) SWIG_fail
;
7210 arg2
= (double)(SWIG_As_double(obj1
));
7211 if (SWIG_arg_fail(2)) SWIG_fail
;
7216 arg3
= (double)(SWIG_As_double(obj2
));
7217 if (SWIG_arg_fail(3)) SWIG_fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 wxPoint2D_Set(arg1
,arg2
,arg3
);
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 Py_INCREF(Py_None
); resultobj
= Py_None
;
7234 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7238 PyObject
* obj0
= 0 ;
7240 (char *) "self", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7245 if (SWIG_arg_fail(1)) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7260 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7263 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7265 return Py_BuildValue((char *)"");
7267 static int _wrap_DefaultPosition_set(PyObject
*) {
7268 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7273 static PyObject
*_wrap_DefaultPosition_get(void) {
7276 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7281 static int _wrap_DefaultSize_set(PyObject
*) {
7282 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7287 static PyObject
*_wrap_DefaultSize_get(void) {
7290 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7295 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 PyObject
*arg1
= (PyObject
*) 0 ;
7298 wxPyInputStream
*result
;
7299 PyObject
* obj0
= 0 ;
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7320 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7323 PyObject
* obj0
= 0 ;
7325 (char *) "self", NULL
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7330 if (SWIG_arg_fail(1)) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 Py_INCREF(Py_None
); resultobj
= Py_None
;
7345 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7348 PyObject
* obj0
= 0 ;
7350 (char *) "self", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7355 if (SWIG_arg_fail(1)) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 Py_INCREF(Py_None
); resultobj
= Py_None
;
7370 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7373 PyObject
* obj0
= 0 ;
7375 (char *) "self", NULL
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7380 if (SWIG_arg_fail(1)) SWIG_fail
;
7382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 wxPyEndAllowThreads(__tstate
);
7386 if (PyErr_Occurred()) SWIG_fail
;
7388 Py_INCREF(Py_None
); resultobj
= Py_None
;
7395 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7397 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7399 PyObject
* obj0
= 0 ;
7401 (char *) "self", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7406 if (SWIG_arg_fail(1)) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (bool)(arg1
)->eof();
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7423 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
;
7425 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7426 int arg2
= (int) -1 ;
7428 PyObject
* obj0
= 0 ;
7429 PyObject
* obj1
= 0 ;
7431 (char *) "self",(char *) "size", NULL
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7436 if (SWIG_arg_fail(1)) SWIG_fail
;
7439 arg2
= (int)(SWIG_As_int(obj1
));
7440 if (SWIG_arg_fail(2)) SWIG_fail
;
7444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7445 result
= (PyObject
*)(arg1
)->read(arg2
);
7447 wxPyEndAllowThreads(__tstate
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7457 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
;
7459 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7460 int arg2
= (int) -1 ;
7462 PyObject
* obj0
= 0 ;
7463 PyObject
* obj1
= 0 ;
7465 (char *) "self",(char *) "size", NULL
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7470 if (SWIG_arg_fail(1)) SWIG_fail
;
7473 arg2
= (int)(SWIG_As_int(obj1
));
7474 if (SWIG_arg_fail(2)) SWIG_fail
;
7478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7479 result
= (PyObject
*)(arg1
)->readline(arg2
);
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7491 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7494 int arg2
= (int) -1 ;
7496 PyObject
* obj0
= 0 ;
7497 PyObject
* obj1
= 0 ;
7499 (char *) "self",(char *) "sizehint", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7504 if (SWIG_arg_fail(1)) SWIG_fail
;
7507 arg2
= (int)(SWIG_As_int(obj1
));
7508 if (SWIG_arg_fail(2)) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7525 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7529 int arg3
= (int) 0 ;
7530 PyObject
* obj0
= 0 ;
7531 PyObject
* obj1
= 0 ;
7532 PyObject
* obj2
= 0 ;
7534 (char *) "self",(char *) "offset",(char *) "whence", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7539 if (SWIG_arg_fail(1)) SWIG_fail
;
7541 arg2
= (int)(SWIG_As_int(obj1
));
7542 if (SWIG_arg_fail(2)) SWIG_fail
;
7546 arg3
= (int)(SWIG_As_int(obj2
));
7547 if (SWIG_arg_fail(3)) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 (arg1
)->seek(arg2
,arg3
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 Py_INCREF(Py_None
); resultobj
= Py_None
;
7564 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7568 PyObject
* obj0
= 0 ;
7570 (char *) "self", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7575 if (SWIG_arg_fail(1)) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 result
= (int)(arg1
)->tell();
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= SWIG_From_int((int)(result
));
7592 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7598 (char *) "self", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7603 if (SWIG_arg_fail(1)) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (char)(arg1
)->Peek();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= SWIG_From_char((char)(result
));
7620 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7624 PyObject
* obj0
= 0 ;
7626 (char *) "self", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7631 if (SWIG_arg_fail(1)) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (char)(arg1
)->GetC();
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= SWIG_From_char((char)(result
));
7648 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7659 if (SWIG_arg_fail(1)) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= (size_t)(arg1
)->LastRead();
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7676 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7682 (char *) "self", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7687 if (SWIG_arg_fail(1)) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (bool)(arg1
)->CanRead();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7704 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7715 if (SWIG_arg_fail(1)) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (bool)(arg1
)->Eof();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7732 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7738 PyObject
* obj1
= 0 ;
7740 (char *) "self",(char *) "c", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail
;
7747 arg2
= (char)(SWIG_As_char(obj1
));
7748 if (SWIG_arg_fail(2)) SWIG_fail
;
7751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7752 result
= (bool)(arg1
)->Ungetch(arg2
);
7754 wxPyEndAllowThreads(__tstate
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7766 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7767 PyObject
*resultobj
;
7768 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7770 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7772 PyObject
* obj0
= 0 ;
7773 PyObject
* obj1
= 0 ;
7774 PyObject
* obj2
= 0 ;
7776 (char *) "self",(char *) "pos",(char *) "mode", NULL
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7781 if (SWIG_arg_fail(1)) SWIG_fail
;
7783 arg2
= (long)(SWIG_As_long(obj1
));
7784 if (SWIG_arg_fail(2)) SWIG_fail
;
7788 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7789 if (SWIG_arg_fail(3)) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= SWIG_From_long((long)(result
));
7808 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7812 PyObject
* obj0
= 0 ;
7814 (char *) "self", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7819 if (SWIG_arg_fail(1)) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 result
= (long)(arg1
)->TellI();
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7828 resultobj
= SWIG_From_long((long)(result
));
7836 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7839 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7841 return Py_BuildValue((char *)"");
7843 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7846 PyObject
*arg2
= (PyObject
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7850 (char *) "self",(char *) "obj", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7855 if (SWIG_arg_fail(1)) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 wxOutputStream_write(arg1
,arg2
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 Py_INCREF(Py_None
); resultobj
= Py_None
;
7871 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7874 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7876 return Py_BuildValue((char *)"");
7878 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7881 wxString
*arg2
= 0 ;
7882 wxString
*arg3
= 0 ;
7883 wxString
*arg4
= 0 ;
7886 wxPyInputStream
*temp1
;
7888 bool temp2
= false ;
7889 bool temp3
= false ;
7890 bool temp4
= false ;
7891 PyObject
* obj0
= 0 ;
7892 PyObject
* obj1
= 0 ;
7893 PyObject
* obj2
= 0 ;
7894 PyObject
* obj3
= 0 ;
7895 PyObject
* obj4
= 0 ;
7897 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7902 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7903 arg1
= temp1
->m_wxis
;
7906 PyErr_Clear(); // clear the failure of the wxPyConvert above
7907 arg1
= wxPyCBInputStream_create(obj0
, false);
7909 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7916 arg2
= wxString_in_helper(obj1
);
7917 if (arg2
== NULL
) SWIG_fail
;
7921 arg3
= wxString_in_helper(obj2
);
7922 if (arg3
== NULL
) SWIG_fail
;
7926 arg4
= wxString_in_helper(obj3
);
7927 if (arg4
== NULL
) SWIG_fail
;
7932 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7933 if (SWIG_arg_fail(5)) SWIG_fail
;
7935 SWIG_null_ref("wxDateTime");
7937 if (SWIG_arg_fail(5)) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= wxPyMake_wxObject(result
, 1);
7988 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
7991 PyObject
* obj0
= 0 ;
7993 (char *) "self", NULL
7996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
7997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
7998 if (SWIG_arg_fail(1)) SWIG_fail
;
8000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 wxPyEndAllowThreads(__tstate
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 Py_INCREF(Py_None
); resultobj
= Py_None
;
8013 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8014 PyObject
*resultobj
;
8015 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8016 wxInputStream
*result
;
8017 PyObject
* obj0
= 0 ;
8019 (char *) "self", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8024 if (SWIG_arg_fail(1)) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 result
= (wxInputStream
*)(arg1
)->GetStream();
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8033 wxPyInputStream
* _ptr
= NULL
;
8036 _ptr
= new wxPyInputStream(result
);
8038 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8046 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8050 PyObject
* obj0
= 0 ;
8052 (char *) "self", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8057 if (SWIG_arg_fail(1)) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8062 result
= (wxString
*) &_result_ref
;
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8070 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8072 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8081 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8085 PyObject
* obj0
= 0 ;
8087 (char *) "self", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8092 if (SWIG_arg_fail(1)) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 wxString
const &_result_ref
= (arg1
)->GetLocation();
8097 result
= (wxString
*) &_result_ref
;
8100 wxPyEndAllowThreads(__tstate
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8105 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8107 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8116 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
;
8118 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8120 PyObject
* obj0
= 0 ;
8122 (char *) "self", NULL
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8127 if (SWIG_arg_fail(1)) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8132 result
= (wxString
*) &_result_ref
;
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8142 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8151 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8162 if (SWIG_arg_fail(1)) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (arg1
)->GetModificationTime();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8171 wxDateTime
* resultptr
;
8172 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8181 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8184 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8186 return Py_BuildValue((char *)"");
8188 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8191 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8193 return Py_BuildValue((char *)"");
8195 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxPyFileSystemHandler
*result
;
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8217 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8220 PyObject
*arg2
= (PyObject
*) 0 ;
8221 PyObject
*arg3
= (PyObject
*) 0 ;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8224 PyObject
* obj2
= 0 ;
8226 (char *) "self",(char *) "self",(char *) "_class", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8231 if (SWIG_arg_fail(1)) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 Py_INCREF(Py_None
); resultobj
= Py_None
;
8248 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8251 wxString
*arg2
= 0 ;
8253 bool temp2
= false ;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8257 (char *) "self",(char *) "location", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8262 if (SWIG_arg_fail(1)) SWIG_fail
;
8264 arg2
= wxString_in_helper(obj1
);
8265 if (arg2
== NULL
) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8292 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8295 wxFileSystem
*arg2
= 0 ;
8296 wxString
*arg3
= 0 ;
8298 bool temp3
= false ;
8299 PyObject
* obj0
= 0 ;
8300 PyObject
* obj1
= 0 ;
8301 PyObject
* obj2
= 0 ;
8303 (char *) "self",(char *) "fs",(char *) "location", NULL
8306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8308 if (SWIG_arg_fail(1)) SWIG_fail
;
8310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8311 if (SWIG_arg_fail(2)) SWIG_fail
;
8313 SWIG_null_ref("wxFileSystem");
8315 if (SWIG_arg_fail(2)) SWIG_fail
;
8318 arg3
= wxString_in_helper(obj2
);
8319 if (arg3
== NULL
) SWIG_fail
;
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= wxPyMake_wxObject(result
, 1);
8346 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8349 wxString
*arg2
= 0 ;
8350 int arg3
= (int) 0 ;
8352 bool temp2
= false ;
8353 PyObject
* obj0
= 0 ;
8354 PyObject
* obj1
= 0 ;
8355 PyObject
* obj2
= 0 ;
8357 (char *) "self",(char *) "spec",(char *) "flags", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8362 if (SWIG_arg_fail(1)) SWIG_fail
;
8364 arg2
= wxString_in_helper(obj1
);
8365 if (arg2
== NULL
) SWIG_fail
;
8370 arg3
= (int)(SWIG_As_int(obj2
));
8371 if (SWIG_arg_fail(3)) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8402 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8406 PyObject
* obj0
= 0 ;
8408 (char *) "self", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8413 if (SWIG_arg_fail(1)) SWIG_fail
;
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= (arg1
)->FindNext();
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8434 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
*resultobj
;
8436 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8437 wxString
*arg2
= 0 ;
8439 bool temp2
= false ;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8443 (char *) "self",(char *) "location", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8448 if (SWIG_arg_fail(1)) SWIG_fail
;
8450 arg2
= wxString_in_helper(obj1
);
8451 if (arg2
== NULL
) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8482 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8485 wxString
*arg2
= 0 ;
8487 bool temp2
= false ;
8488 PyObject
* obj0
= 0 ;
8489 PyObject
* obj1
= 0 ;
8491 (char *) "self",(char *) "location", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8496 if (SWIG_arg_fail(1)) SWIG_fail
;
8498 arg2
= wxString_in_helper(obj1
);
8499 if (arg2
== NULL
) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8511 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8513 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8530 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8533 wxString
*arg2
= 0 ;
8535 bool temp2
= false ;
8536 PyObject
* obj0
= 0 ;
8537 PyObject
* obj1
= 0 ;
8539 (char *) "self",(char *) "location", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8544 if (SWIG_arg_fail(1)) SWIG_fail
;
8546 arg2
= wxString_in_helper(obj1
);
8547 if (arg2
== NULL
) SWIG_fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8578 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8581 wxString
*arg2
= 0 ;
8583 bool temp2
= false ;
8584 PyObject
* obj0
= 0 ;
8585 PyObject
* obj1
= 0 ;
8587 (char *) "self",(char *) "location", NULL
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8592 if (SWIG_arg_fail(1)) SWIG_fail
;
8594 arg2
= wxString_in_helper(obj1
);
8595 if (arg2
== NULL
) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8626 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
*resultobj
;
8628 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8629 wxString
*arg2
= 0 ;
8631 bool temp2
= false ;
8632 PyObject
* obj0
= 0 ;
8633 PyObject
* obj1
= 0 ;
8635 (char *) "self",(char *) "location", NULL
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8640 if (SWIG_arg_fail(1)) SWIG_fail
;
8642 arg2
= wxString_in_helper(obj1
);
8643 if (arg2
== NULL
) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8674 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8677 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8679 return Py_BuildValue((char *)"");
8681 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8682 PyObject
*resultobj
;
8683 wxFileSystem
*result
;
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (wxFileSystem
*)new wxFileSystem();
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= wxPyMake_wxObject(result
, 1);
8705 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
;
8707 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8710 (char *) "self", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 Py_INCREF(Py_None
); resultobj
= Py_None
;
8730 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8733 wxString
*arg2
= 0 ;
8734 bool arg3
= (bool) false ;
8735 bool temp2
= false ;
8736 PyObject
* obj0
= 0 ;
8737 PyObject
* obj1
= 0 ;
8738 PyObject
* obj2
= 0 ;
8740 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8745 if (SWIG_arg_fail(1)) SWIG_fail
;
8747 arg2
= wxString_in_helper(obj1
);
8748 if (arg2
== NULL
) SWIG_fail
;
8753 arg3
= (bool)(SWIG_As_bool(obj2
));
8754 if (SWIG_arg_fail(3)) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 Py_INCREF(Py_None
); resultobj
= Py_None
;
8779 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
;
8781 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8783 PyObject
* obj0
= 0 ;
8785 (char *) "self", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8790 if (SWIG_arg_fail(1)) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 result
= (arg1
)->GetPath();
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8811 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8812 PyObject
*resultobj
;
8813 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8814 wxString
*arg2
= 0 ;
8816 bool temp2
= false ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8820 (char *) "self",(char *) "location", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8825 if (SWIG_arg_fail(1)) SWIG_fail
;
8827 arg2
= wxString_in_helper(obj1
);
8828 if (arg2
== NULL
) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= wxPyMake_wxObject(result
, 1);
8855 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8858 wxString
*arg2
= 0 ;
8859 int arg3
= (int) 0 ;
8861 bool temp2
= false ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8866 (char *) "self",(char *) "spec",(char *) "flags", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8871 if (SWIG_arg_fail(1)) SWIG_fail
;
8873 arg2
= wxString_in_helper(obj1
);
8874 if (arg2
== NULL
) SWIG_fail
;
8879 arg3
= (int)(SWIG_As_int(obj2
));
8880 if (SWIG_arg_fail(3)) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8911 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8915 PyObject
* obj0
= 0 ;
8917 (char *) "self", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8922 if (SWIG_arg_fail(1)) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (arg1
)->FindNext();
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8943 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8946 PyObject
* obj0
= 0 ;
8948 (char *) "handler", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8953 if (SWIG_arg_fail(1)) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 wxFileSystem::AddHandler(arg1
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 Py_INCREF(Py_None
); resultobj
= Py_None
;
8968 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 wxFileSystem::CleanUpHandlers();
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 Py_INCREF(Py_None
); resultobj
= Py_None
;
8989 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxString
*arg1
= 0 ;
8993 bool temp1
= false ;
8994 PyObject
* obj0
= 0 ;
8996 (char *) "filename", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9001 arg1
= wxString_in_helper(obj0
);
9002 if (arg1
== NULL
) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9033 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
;
9035 wxString
*arg1
= 0 ;
9037 bool temp1
= false ;
9038 PyObject
* obj0
= 0 ;
9040 (char *) "url", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9045 arg1
= wxString_in_helper(obj0
);
9046 if (arg1
== NULL
) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9077 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9080 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9082 return Py_BuildValue((char *)"");
9084 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxInternetFSHandler
*result
;
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9106 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9109 wxString
*arg2
= 0 ;
9111 bool temp2
= false ;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9115 (char *) "self",(char *) "location", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9120 if (SWIG_arg_fail(1)) SWIG_fail
;
9122 arg2
= wxString_in_helper(obj1
);
9123 if (arg2
== NULL
) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9150 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9153 wxFileSystem
*arg2
= 0 ;
9154 wxString
*arg3
= 0 ;
9156 bool temp3
= false ;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9159 PyObject
* obj2
= 0 ;
9161 (char *) "self",(char *) "fs",(char *) "location", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9166 if (SWIG_arg_fail(1)) SWIG_fail
;
9168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9169 if (SWIG_arg_fail(2)) SWIG_fail
;
9171 SWIG_null_ref("wxFileSystem");
9173 if (SWIG_arg_fail(2)) SWIG_fail
;
9176 arg3
= wxString_in_helper(obj2
);
9177 if (arg3
== NULL
) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9188 resultobj
= wxPyMake_wxObject(result
, 1);
9204 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9207 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9209 return Py_BuildValue((char *)"");
9211 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxZipFSHandler
*result
;
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9233 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
;
9235 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9236 wxString
*arg2
= 0 ;
9238 bool temp2
= false ;
9239 PyObject
* obj0
= 0 ;
9240 PyObject
* obj1
= 0 ;
9242 (char *) "self",(char *) "location", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9247 if (SWIG_arg_fail(1)) SWIG_fail
;
9249 arg2
= wxString_in_helper(obj1
);
9250 if (arg2
== NULL
) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9277 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
;
9279 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9280 wxFileSystem
*arg2
= 0 ;
9281 wxString
*arg3
= 0 ;
9283 bool temp3
= false ;
9284 PyObject
* obj0
= 0 ;
9285 PyObject
* obj1
= 0 ;
9286 PyObject
* obj2
= 0 ;
9288 (char *) "self",(char *) "fs",(char *) "location", NULL
9291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9293 if (SWIG_arg_fail(1)) SWIG_fail
;
9295 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9296 if (SWIG_arg_fail(2)) SWIG_fail
;
9298 SWIG_null_ref("wxFileSystem");
9300 if (SWIG_arg_fail(2)) SWIG_fail
;
9303 arg3
= wxString_in_helper(obj2
);
9304 if (arg3
== NULL
) SWIG_fail
;
9308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9309 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9311 wxPyEndAllowThreads(__tstate
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= wxPyMake_wxObject(result
, 1);
9331 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9334 wxString
*arg2
= 0 ;
9335 int arg3
= (int) 0 ;
9337 bool temp2
= false ;
9338 PyObject
* obj0
= 0 ;
9339 PyObject
* obj1
= 0 ;
9340 PyObject
* obj2
= 0 ;
9342 (char *) "self",(char *) "spec",(char *) "flags", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9347 if (SWIG_arg_fail(1)) SWIG_fail
;
9349 arg2
= wxString_in_helper(obj1
);
9350 if (arg2
== NULL
) SWIG_fail
;
9355 arg3
= (int)(SWIG_As_int(obj2
));
9356 if (SWIG_arg_fail(3)) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9387 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9393 (char *) "self", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9398 if (SWIG_arg_fail(1)) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 result
= (arg1
)->FindNext();
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9410 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9419 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9422 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9424 return Py_BuildValue((char *)"");
9426 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxString
*arg1
= 0 ;
9431 bool temp1
= false ;
9432 PyObject
* obj0
= 0 ;
9433 PyObject
* obj1
= 0 ;
9434 PyObject
* obj2
= 0 ;
9436 (char *) "filename",(char *) "image",(char *) "type", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9441 arg1
= wxString_in_helper(obj0
);
9442 if (arg1
== NULL
) SWIG_fail
;
9446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9447 if (SWIG_arg_fail(2)) SWIG_fail
;
9449 SWIG_null_ref("wxImage");
9451 if (SWIG_arg_fail(2)) SWIG_fail
;
9454 arg3
= (long)(SWIG_As_long(obj2
));
9455 if (SWIG_arg_fail(3)) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9464 Py_INCREF(Py_None
); resultobj
= Py_None
;
9479 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxString
*arg1
= 0 ;
9482 wxBitmap
*arg2
= 0 ;
9484 bool temp1
= false ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 PyObject
* obj2
= 0 ;
9489 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9494 arg1
= wxString_in_helper(obj0
);
9495 if (arg1
== NULL
) SWIG_fail
;
9499 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9500 if (SWIG_arg_fail(2)) SWIG_fail
;
9502 SWIG_null_ref("wxBitmap");
9504 if (SWIG_arg_fail(2)) SWIG_fail
;
9507 arg3
= (long)(SWIG_As_long(obj2
));
9508 if (SWIG_arg_fail(3)) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 Py_INCREF(Py_None
); resultobj
= Py_None
;
9532 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
;
9534 wxString
*arg1
= 0 ;
9535 PyObject
*arg2
= (PyObject
*) 0 ;
9536 bool temp1
= false ;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9540 (char *) "filename",(char *) "data", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9545 arg1
= wxString_in_helper(obj0
);
9546 if (arg1
== NULL
) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 Py_INCREF(Py_None
); resultobj
= Py_None
;
9572 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxMemoryFSHandler
*result
;
9579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9594 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxString
*arg1
= 0 ;
9597 bool temp1
= false ;
9598 PyObject
* obj0
= 0 ;
9600 (char *) "filename", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9605 arg1
= wxString_in_helper(obj0
);
9606 if (arg1
== NULL
) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 Py_INCREF(Py_None
); resultobj
= Py_None
;
9631 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
;
9633 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9634 wxString
*arg2
= 0 ;
9636 bool temp2
= false ;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9640 (char *) "self",(char *) "location", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9645 if (SWIG_arg_fail(1)) SWIG_fail
;
9647 arg2
= wxString_in_helper(obj1
);
9648 if (arg2
== NULL
) SWIG_fail
;
9652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9653 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9655 wxPyEndAllowThreads(__tstate
);
9656 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9675 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
;
9677 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9678 wxFileSystem
*arg2
= 0 ;
9679 wxString
*arg3
= 0 ;
9681 bool temp3
= false ;
9682 PyObject
* obj0
= 0 ;
9683 PyObject
* obj1
= 0 ;
9684 PyObject
* obj2
= 0 ;
9686 (char *) "self",(char *) "fs",(char *) "location", NULL
9689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9691 if (SWIG_arg_fail(1)) SWIG_fail
;
9693 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9694 if (SWIG_arg_fail(2)) SWIG_fail
;
9696 SWIG_null_ref("wxFileSystem");
9698 if (SWIG_arg_fail(2)) SWIG_fail
;
9701 arg3
= wxString_in_helper(obj2
);
9702 if (arg3
== NULL
) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= wxPyMake_wxObject(result
, 1);
9729 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
*resultobj
;
9731 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9732 wxString
*arg2
= 0 ;
9733 int arg3
= (int) 0 ;
9735 bool temp2
= false ;
9736 PyObject
* obj0
= 0 ;
9737 PyObject
* obj1
= 0 ;
9738 PyObject
* obj2
= 0 ;
9740 (char *) "self",(char *) "spec",(char *) "flags", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9745 if (SWIG_arg_fail(1)) SWIG_fail
;
9747 arg2
= wxString_in_helper(obj1
);
9748 if (arg2
== NULL
) SWIG_fail
;
9753 arg3
= (int)(SWIG_As_int(obj2
));
9754 if (SWIG_arg_fail(3)) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9766 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9768 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9785 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9786 PyObject
*resultobj
;
9787 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9789 PyObject
* obj0
= 0 ;
9791 (char *) "self", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9796 if (SWIG_arg_fail(1)) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (arg1
)->FindNext();
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9817 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9820 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9822 return Py_BuildValue((char *)"");
9824 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9835 if (SWIG_arg_fail(1)) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (arg1
)->GetName();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9856 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9860 PyObject
* obj0
= 0 ;
9862 (char *) "self", NULL
9865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9867 if (SWIG_arg_fail(1)) SWIG_fail
;
9869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9870 result
= (arg1
)->GetExtension();
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9888 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9899 if (SWIG_arg_fail(1)) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (long)(arg1
)->GetType();
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9908 resultobj
= SWIG_From_long((long)(result
));
9916 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9922 (char *) "self", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9927 if (SWIG_arg_fail(1)) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (arg1
)->GetMimeType();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9948 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9951 wxString
*arg2
= 0 ;
9953 bool temp2
= false ;
9954 PyObject
* obj0
= 0 ;
9955 PyObject
* obj1
= 0 ;
9957 (char *) "self",(char *) "name", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9962 if (SWIG_arg_fail(1)) SWIG_fail
;
9964 arg2
= wxString_in_helper(obj1
);
9965 if (arg2
== NULL
) SWIG_fail
;
9969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9970 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9972 wxPyEndAllowThreads(__tstate
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9992 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9995 wxString
*arg2
= 0 ;
9996 bool temp2
= false ;
9997 PyObject
* obj0
= 0 ;
9998 PyObject
* obj1
= 0 ;
10000 (char *) "self",(char *) "name", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10005 if (SWIG_arg_fail(1)) SWIG_fail
;
10007 arg2
= wxString_in_helper(obj1
);
10008 if (arg2
== NULL
) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 (arg1
)->SetName((wxString
const &)*arg2
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 Py_INCREF(Py_None
); resultobj
= Py_None
;
10033 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10036 wxString
*arg2
= 0 ;
10037 bool temp2
= false ;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj1
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "self",(char *) "extension", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10046 if (SWIG_arg_fail(1)) SWIG_fail
;
10048 arg2
= wxString_in_helper(obj1
);
10049 if (arg2
== NULL
) SWIG_fail
;
10053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10054 (arg1
)->SetExtension((wxString
const &)*arg2
);
10056 wxPyEndAllowThreads(__tstate
);
10057 if (PyErr_Occurred()) SWIG_fail
;
10059 Py_INCREF(Py_None
); resultobj
= Py_None
;
10074 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10078 PyObject
* obj0
= 0 ;
10079 PyObject
* obj1
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "self",(char *) "type", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10086 if (SWIG_arg_fail(1)) SWIG_fail
;
10088 arg2
= (long)(SWIG_As_long(obj1
));
10089 if (SWIG_arg_fail(2)) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 (arg1
)->SetType(arg2
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 Py_INCREF(Py_None
); resultobj
= Py_None
;
10105 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10108 wxString
*arg2
= 0 ;
10109 bool temp2
= false ;
10110 PyObject
* obj0
= 0 ;
10111 PyObject
* obj1
= 0 ;
10112 char *kwnames
[] = {
10113 (char *) "self",(char *) "mimetype", NULL
10116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10118 if (SWIG_arg_fail(1)) SWIG_fail
;
10120 arg2
= wxString_in_helper(obj1
);
10121 if (arg2
== NULL
) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 Py_INCREF(Py_None
); resultobj
= Py_None
;
10146 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10149 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10151 return Py_BuildValue((char *)"");
10153 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxImageHistogram
*result
;
10156 char *kwnames
[] = {
10160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10163 result
= (wxImageHistogram
*)new wxImageHistogram();
10165 wxPyEndAllowThreads(__tstate
);
10166 if (PyErr_Occurred()) SWIG_fail
;
10168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10175 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10176 PyObject
*resultobj
;
10177 unsigned char arg1
;
10178 unsigned char arg2
;
10179 unsigned char arg3
;
10180 unsigned long result
;
10181 PyObject
* obj0
= 0 ;
10182 PyObject
* obj1
= 0 ;
10183 PyObject
* obj2
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "r",(char *) "g",(char *) "b", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10190 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10191 if (SWIG_arg_fail(1)) SWIG_fail
;
10194 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10195 if (SWIG_arg_fail(2)) SWIG_fail
;
10198 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10199 if (SWIG_arg_fail(3)) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10217 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10220 unsigned char *arg2
= (unsigned char *) 0 ;
10221 unsigned char *arg3
= (unsigned char *) 0 ;
10222 unsigned char *arg4
= (unsigned char *) 0 ;
10223 unsigned char arg5
= (unsigned char) 1 ;
10224 unsigned char arg6
= (unsigned char) 0 ;
10225 unsigned char arg7
= (unsigned char) 0 ;
10227 unsigned char temp2
;
10229 unsigned char temp3
;
10231 unsigned char temp4
;
10233 PyObject
* obj0
= 0 ;
10234 PyObject
* obj1
= 0 ;
10235 PyObject
* obj2
= 0 ;
10236 PyObject
* obj3
= 0 ;
10237 char *kwnames
[] = {
10238 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10241 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10242 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10243 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10246 if (SWIG_arg_fail(1)) SWIG_fail
;
10249 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10250 if (SWIG_arg_fail(5)) SWIG_fail
;
10255 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10256 if (SWIG_arg_fail(6)) SWIG_fail
;
10261 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10262 if (SWIG_arg_fail(7)) SWIG_fail
;
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10269 wxPyEndAllowThreads(__tstate
);
10270 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10275 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10276 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10277 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10278 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10279 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10280 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10287 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10290 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10292 return Py_BuildValue((char *)"");
10294 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxString
*arg1
= 0 ;
10297 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10298 int arg3
= (int) -1 ;
10300 bool temp1
= false ;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 PyObject
* obj2
= 0 ;
10304 char *kwnames
[] = {
10305 (char *) "name",(char *) "type",(char *) "index", NULL
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10310 arg1
= wxString_in_helper(obj0
);
10311 if (arg1
== NULL
) SWIG_fail
;
10316 arg2
= (long)(SWIG_As_long(obj1
));
10317 if (SWIG_arg_fail(2)) SWIG_fail
;
10322 arg3
= (int)(SWIG_As_int(obj2
));
10323 if (SWIG_arg_fail(3)) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10348 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
;
10350 wxImage
*arg1
= (wxImage
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10358 if (SWIG_arg_fail(1)) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 Py_INCREF(Py_None
); resultobj
= Py_None
;
10373 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxString
*arg1
= 0 ;
10376 wxString
*arg2
= 0 ;
10377 int arg3
= (int) -1 ;
10379 bool temp1
= false ;
10380 bool temp2
= false ;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 char *kwnames
[] = {
10385 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10390 arg1
= wxString_in_helper(obj0
);
10391 if (arg1
== NULL
) SWIG_fail
;
10395 arg2
= wxString_in_helper(obj1
);
10396 if (arg2
== NULL
) SWIG_fail
;
10401 arg3
= (int)(SWIG_As_int(obj2
));
10402 if (SWIG_arg_fail(3)) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10435 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10436 PyObject
*resultobj
;
10437 wxInputStream
*arg1
= 0 ;
10438 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10439 int arg3
= (int) -1 ;
10441 wxPyInputStream
*temp1
;
10443 PyObject
* obj0
= 0 ;
10444 PyObject
* obj1
= 0 ;
10445 PyObject
* obj2
= 0 ;
10446 char *kwnames
[] = {
10447 (char *) "stream",(char *) "type",(char *) "index", NULL
10450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10452 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10453 arg1
= temp1
->m_wxis
;
10456 PyErr_Clear(); // clear the failure of the wxPyConvert above
10457 arg1
= wxPyCBInputStream_create(obj0
, false);
10458 if (arg1
== NULL
) {
10459 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10467 arg2
= (long)(SWIG_As_long(obj1
));
10468 if (SWIG_arg_fail(2)) SWIG_fail
;
10473 arg3
= (int)(SWIG_As_int(obj2
));
10474 if (SWIG_arg_fail(3)) SWIG_fail
;
10478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10479 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10499 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxInputStream
*arg1
= 0 ;
10502 wxString
*arg2
= 0 ;
10503 int arg3
= (int) -1 ;
10505 wxPyInputStream
*temp1
;
10507 bool temp2
= false ;
10508 PyObject
* obj0
= 0 ;
10509 PyObject
* obj1
= 0 ;
10510 PyObject
* obj2
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10517 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10518 arg1
= temp1
->m_wxis
;
10521 PyErr_Clear(); // clear the failure of the wxPyConvert above
10522 arg1
= wxPyCBInputStream_create(obj0
, false);
10523 if (arg1
== NULL
) {
10524 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10531 arg2
= wxString_in_helper(obj1
);
10532 if (arg2
== NULL
) SWIG_fail
;
10537 arg3
= (int)(SWIG_As_int(obj2
));
10538 if (SWIG_arg_fail(3)) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10571 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 int arg1
= (int) 0 ;
10574 int arg2
= (int) 0 ;
10575 bool arg3
= (bool) true ;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 PyObject
* obj2
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "width",(char *) "height",(char *) "clear", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10587 arg1
= (int)(SWIG_As_int(obj0
));
10588 if (SWIG_arg_fail(1)) SWIG_fail
;
10593 arg2
= (int)(SWIG_As_int(obj1
));
10594 if (SWIG_arg_fail(2)) SWIG_fail
;
10599 arg3
= (bool)(SWIG_As_bool(obj2
));
10600 if (SWIG_arg_fail(3)) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10617 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxBitmap
*arg1
= 0 ;
10621 PyObject
* obj0
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "bitmap", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10629 if (SWIG_arg_fail(1)) SWIG_fail
;
10630 if (arg1
== NULL
) {
10631 SWIG_null_ref("wxBitmap");
10633 if (SWIG_arg_fail(1)) SWIG_fail
;
10636 if (!wxPyCheckForApp()) SWIG_fail
;
10637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10638 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10640 wxPyEndAllowThreads(__tstate
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10650 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10651 PyObject
*resultobj
;
10654 unsigned char *arg3
= (unsigned char *) 0 ;
10656 PyObject
* obj0
= 0 ;
10657 PyObject
* obj1
= 0 ;
10658 PyObject
* obj2
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "width",(char *) "height",(char *) "data", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10665 arg1
= (int)(SWIG_As_int(obj0
));
10666 if (SWIG_arg_fail(1)) SWIG_fail
;
10669 arg2
= (int)(SWIG_As_int(obj1
));
10670 if (SWIG_arg_fail(2)) SWIG_fail
;
10672 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10673 if (SWIG_arg_fail(3)) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10688 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10692 unsigned char *arg3
= (unsigned char *) 0 ;
10693 unsigned char *arg4
= (unsigned char *) 0 ;
10695 PyObject
* obj0
= 0 ;
10696 PyObject
* obj1
= 0 ;
10697 PyObject
* obj2
= 0 ;
10698 PyObject
* obj3
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10705 arg1
= (int)(SWIG_As_int(obj0
));
10706 if (SWIG_arg_fail(1)) SWIG_fail
;
10709 arg2
= (int)(SWIG_As_int(obj1
));
10710 if (SWIG_arg_fail(2)) SWIG_fail
;
10712 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10713 if (SWIG_arg_fail(3)) SWIG_fail
;
10714 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10715 if (SWIG_arg_fail(4)) SWIG_fail
;
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10730 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
;
10732 wxImage
*arg1
= (wxImage
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 PyObject
* obj2
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self",(char *) "width",(char *) "height", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10744 if (SWIG_arg_fail(1)) SWIG_fail
;
10746 arg2
= (int)(SWIG_As_int(obj1
));
10747 if (SWIG_arg_fail(2)) SWIG_fail
;
10750 arg3
= (int)(SWIG_As_int(obj2
));
10751 if (SWIG_arg_fail(3)) SWIG_fail
;
10754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10755 (arg1
)->Create(arg2
,arg3
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 Py_INCREF(Py_None
); resultobj
= Py_None
;
10767 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10768 PyObject
*resultobj
;
10769 wxImage
*arg1
= (wxImage
*) 0 ;
10770 PyObject
* obj0
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10777 if (SWIG_arg_fail(1)) SWIG_fail
;
10779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 Py_INCREF(Py_None
); resultobj
= Py_None
;
10792 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10793 PyObject
*resultobj
;
10794 wxImage
*arg1
= (wxImage
*) 0 ;
10797 SwigValueWrapper
<wxImage
> result
;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 PyObject
* obj2
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self",(char *) "width",(char *) "height", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10807 if (SWIG_arg_fail(1)) SWIG_fail
;
10809 arg2
= (int)(SWIG_As_int(obj1
));
10810 if (SWIG_arg_fail(2)) SWIG_fail
;
10813 arg3
= (int)(SWIG_As_int(obj2
));
10814 if (SWIG_arg_fail(3)) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (arg1
)->Scale(arg2
,arg3
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10824 wxImage
* resultptr
;
10825 resultptr
= new wxImage((wxImage
&)(result
));
10826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10834 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10836 wxImage
*arg1
= (wxImage
*) 0 ;
10839 SwigValueWrapper
<wxImage
> result
;
10840 PyObject
* obj0
= 0 ;
10841 PyObject
* obj1
= 0 ;
10842 PyObject
* obj2
= 0 ;
10843 char *kwnames
[] = {
10844 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10849 if (SWIG_arg_fail(1)) SWIG_fail
;
10851 arg2
= (int)(SWIG_As_int(obj1
));
10852 if (SWIG_arg_fail(2)) SWIG_fail
;
10855 arg3
= (int)(SWIG_As_int(obj2
));
10856 if (SWIG_arg_fail(3)) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10866 wxImage
* resultptr
;
10867 resultptr
= new wxImage((wxImage
&)(result
));
10868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10876 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10878 wxImage
*arg1
= (wxImage
*) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 PyObject
* obj2
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self",(char *) "width",(char *) "height", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10891 if (SWIG_arg_fail(1)) SWIG_fail
;
10893 arg2
= (int)(SWIG_As_int(obj1
));
10894 if (SWIG_arg_fail(2)) SWIG_fail
;
10897 arg3
= (int)(SWIG_As_int(obj2
));
10898 if (SWIG_arg_fail(3)) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10904 result
= (wxImage
*) &_result_ref
;
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10917 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxImage
*arg1
= (wxImage
*) 0 ;
10922 unsigned char arg4
;
10923 unsigned char arg5
;
10924 unsigned char arg6
;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 PyObject
* obj2
= 0 ;
10928 PyObject
* obj3
= 0 ;
10929 PyObject
* obj4
= 0 ;
10930 PyObject
* obj5
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10937 if (SWIG_arg_fail(1)) SWIG_fail
;
10939 arg2
= (int)(SWIG_As_int(obj1
));
10940 if (SWIG_arg_fail(2)) SWIG_fail
;
10943 arg3
= (int)(SWIG_As_int(obj2
));
10944 if (SWIG_arg_fail(3)) SWIG_fail
;
10947 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10948 if (SWIG_arg_fail(4)) SWIG_fail
;
10951 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10952 if (SWIG_arg_fail(5)) SWIG_fail
;
10955 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10956 if (SWIG_arg_fail(6)) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 Py_INCREF(Py_None
); resultobj
= Py_None
;
10972 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxImage
*arg1
= (wxImage
*) 0 ;
10977 unsigned char result
;
10978 PyObject
* obj0
= 0 ;
10979 PyObject
* obj1
= 0 ;
10980 PyObject
* obj2
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self",(char *) "x",(char *) "y", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10987 if (SWIG_arg_fail(1)) SWIG_fail
;
10989 arg2
= (int)(SWIG_As_int(obj1
));
10990 if (SWIG_arg_fail(2)) SWIG_fail
;
10993 arg3
= (int)(SWIG_As_int(obj2
));
10994 if (SWIG_arg_fail(3)) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11004 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11012 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxImage
*arg1
= (wxImage
*) 0 ;
11017 unsigned char result
;
11018 PyObject
* obj0
= 0 ;
11019 PyObject
* obj1
= 0 ;
11020 PyObject
* obj2
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self",(char *) "x",(char *) "y", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11027 if (SWIG_arg_fail(1)) SWIG_fail
;
11029 arg2
= (int)(SWIG_As_int(obj1
));
11030 if (SWIG_arg_fail(2)) SWIG_fail
;
11033 arg3
= (int)(SWIG_As_int(obj2
));
11034 if (SWIG_arg_fail(3)) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11052 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
;
11054 wxImage
*arg1
= (wxImage
*) 0 ;
11057 unsigned char result
;
11058 PyObject
* obj0
= 0 ;
11059 PyObject
* obj1
= 0 ;
11060 PyObject
* obj2
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self",(char *) "x",(char *) "y", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11067 if (SWIG_arg_fail(1)) SWIG_fail
;
11069 arg2
= (int)(SWIG_As_int(obj1
));
11070 if (SWIG_arg_fail(2)) SWIG_fail
;
11073 arg3
= (int)(SWIG_As_int(obj2
));
11074 if (SWIG_arg_fail(3)) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11092 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxImage
*arg1
= (wxImage
*) 0 ;
11097 unsigned char arg4
;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 PyObject
* obj2
= 0 ;
11101 PyObject
* obj3
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11108 if (SWIG_arg_fail(1)) SWIG_fail
;
11110 arg2
= (int)(SWIG_As_int(obj1
));
11111 if (SWIG_arg_fail(2)) SWIG_fail
;
11114 arg3
= (int)(SWIG_As_int(obj2
));
11115 if (SWIG_arg_fail(3)) SWIG_fail
;
11118 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11119 if (SWIG_arg_fail(4)) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 Py_INCREF(Py_None
); resultobj
= Py_None
;
11135 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxImage
*arg1
= (wxImage
*) 0 ;
11140 unsigned char result
;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11143 PyObject
* obj2
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self",(char *) "x",(char *) "y", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11150 if (SWIG_arg_fail(1)) SWIG_fail
;
11152 arg2
= (int)(SWIG_As_int(obj1
));
11153 if (SWIG_arg_fail(2)) SWIG_fail
;
11156 arg3
= (int)(SWIG_As_int(obj2
));
11157 if (SWIG_arg_fail(3)) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11175 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxImage
*arg1
= (wxImage
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "self", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11186 if (SWIG_arg_fail(1)) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 result
= (bool)(arg1
)->HasAlpha();
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11203 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxImage
*arg1
= (wxImage
*) 0 ;
11206 byte
*arg2
= (byte
*) 0 ;
11207 byte
*arg3
= (byte
*) 0 ;
11208 byte
*arg4
= (byte
*) 0 ;
11209 byte arg5
= (byte
) 0 ;
11210 byte arg6
= (byte
) 0 ;
11211 byte arg7
= (byte
) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 PyObject
* obj2
= 0 ;
11222 PyObject
* obj3
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11227 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11228 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11229 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11232 if (SWIG_arg_fail(1)) SWIG_fail
;
11235 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11236 if (SWIG_arg_fail(5)) SWIG_fail
;
11241 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11242 if (SWIG_arg_fail(6)) SWIG_fail
;
11247 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11248 if (SWIG_arg_fail(7)) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11261 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11262 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11263 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11264 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11265 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11266 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11273 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxImage
*arg1
= (wxImage
*) 0 ;
11276 byte arg2
= (byte
) 128 ;
11278 PyObject
* obj0
= 0 ;
11279 PyObject
* obj1
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self",(char *) "threshold", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11286 if (SWIG_arg_fail(1)) SWIG_fail
;
11289 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11290 if (SWIG_arg_fail(2)) SWIG_fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11309 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxImage
*arg1
= (wxImage
*) 0 ;
11312 unsigned char arg2
;
11313 unsigned char arg3
;
11314 unsigned char arg4
;
11316 PyObject
* obj0
= 0 ;
11317 PyObject
* obj1
= 0 ;
11318 PyObject
* obj2
= 0 ;
11319 PyObject
* obj3
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11326 if (SWIG_arg_fail(1)) SWIG_fail
;
11328 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11329 if (SWIG_arg_fail(2)) SWIG_fail
;
11332 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11333 if (SWIG_arg_fail(3)) SWIG_fail
;
11336 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11337 if (SWIG_arg_fail(4)) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11355 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
;
11357 wxImage
*arg1
= (wxImage
*) 0 ;
11358 wxImage
*arg2
= 0 ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 PyObject
* obj2
= 0 ;
11366 PyObject
* obj3
= 0 ;
11367 PyObject
* obj4
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11374 if (SWIG_arg_fail(1)) SWIG_fail
;
11376 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11377 if (SWIG_arg_fail(2)) SWIG_fail
;
11378 if (arg2
== NULL
) {
11379 SWIG_null_ref("wxImage");
11381 if (SWIG_arg_fail(2)) SWIG_fail
;
11384 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11385 if (SWIG_arg_fail(3)) SWIG_fail
;
11388 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11389 if (SWIG_arg_fail(4)) SWIG_fail
;
11392 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11393 if (SWIG_arg_fail(5)) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11411 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 wxString
*arg1
= 0 ;
11415 bool temp1
= false ;
11416 PyObject
* obj0
= 0 ;
11417 char *kwnames
[] = {
11418 (char *) "name", NULL
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11423 arg1
= wxString_in_helper(obj0
);
11424 if (arg1
== NULL
) SWIG_fail
;
11428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11431 wxPyEndAllowThreads(__tstate
);
11432 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11451 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxString
*arg1
= 0 ;
11454 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11456 bool temp1
= false ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "name",(char *) "type", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11465 arg1
= wxString_in_helper(obj0
);
11466 if (arg1
== NULL
) SWIG_fail
;
11471 arg2
= (long)(SWIG_As_long(obj1
));
11472 if (SWIG_arg_fail(2)) SWIG_fail
;
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11479 wxPyEndAllowThreads(__tstate
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= SWIG_From_int((int)(result
));
11499 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxImage
*arg1
= (wxImage
*) 0 ;
11502 wxString
*arg2
= 0 ;
11503 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11504 int arg4
= (int) -1 ;
11506 bool temp2
= false ;
11507 PyObject
* obj0
= 0 ;
11508 PyObject
* obj1
= 0 ;
11509 PyObject
* obj2
= 0 ;
11510 PyObject
* obj3
= 0 ;
11511 char *kwnames
[] = {
11512 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11517 if (SWIG_arg_fail(1)) SWIG_fail
;
11519 arg2
= wxString_in_helper(obj1
);
11520 if (arg2
== NULL
) SWIG_fail
;
11525 arg3
= (long)(SWIG_As_long(obj2
));
11526 if (SWIG_arg_fail(3)) SWIG_fail
;
11531 arg4
= (int)(SWIG_As_int(obj3
));
11532 if (SWIG_arg_fail(4)) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11559 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxImage
*arg1
= (wxImage
*) 0 ;
11562 wxString
*arg2
= 0 ;
11563 wxString
*arg3
= 0 ;
11564 int arg4
= (int) -1 ;
11566 bool temp2
= false ;
11567 bool temp3
= false ;
11568 PyObject
* obj0
= 0 ;
11569 PyObject
* obj1
= 0 ;
11570 PyObject
* obj2
= 0 ;
11571 PyObject
* obj3
= 0 ;
11572 char *kwnames
[] = {
11573 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11578 if (SWIG_arg_fail(1)) SWIG_fail
;
11580 arg2
= wxString_in_helper(obj1
);
11581 if (arg2
== NULL
) SWIG_fail
;
11585 arg3
= wxString_in_helper(obj2
);
11586 if (arg3
== NULL
) SWIG_fail
;
11591 arg4
= (int)(SWIG_As_int(obj3
));
11592 if (SWIG_arg_fail(4)) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11627 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxImage
*arg1
= (wxImage
*) 0 ;
11630 wxString
*arg2
= 0 ;
11633 bool temp2
= false ;
11634 PyObject
* obj0
= 0 ;
11635 PyObject
* obj1
= 0 ;
11636 PyObject
* obj2
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "self",(char *) "name",(char *) "type", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11643 if (SWIG_arg_fail(1)) SWIG_fail
;
11645 arg2
= wxString_in_helper(obj1
);
11646 if (arg2
== NULL
) SWIG_fail
;
11650 arg3
= (int)(SWIG_As_int(obj2
));
11651 if (SWIG_arg_fail(3)) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11677 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxImage
*arg1
= (wxImage
*) 0 ;
11680 wxString
*arg2
= 0 ;
11681 wxString
*arg3
= 0 ;
11683 bool temp2
= false ;
11684 bool temp3
= false ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11694 if (SWIG_arg_fail(1)) SWIG_fail
;
11696 arg2
= wxString_in_helper(obj1
);
11697 if (arg2
== NULL
) SWIG_fail
;
11701 arg3
= wxString_in_helper(obj2
);
11702 if (arg3
== NULL
) SWIG_fail
;
11706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11707 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11737 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
;
11739 wxInputStream
*arg1
= 0 ;
11741 wxPyInputStream
*temp1
;
11743 PyObject
* obj0
= 0 ;
11744 char *kwnames
[] = {
11745 (char *) "stream", NULL
11748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11750 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11751 arg1
= temp1
->m_wxis
;
11754 PyErr_Clear(); // clear the failure of the wxPyConvert above
11755 arg1
= wxPyCBInputStream_create(obj0
, false);
11756 if (arg1
== NULL
) {
11757 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 result
= (bool)wxImage::CanRead(*arg1
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11787 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
;
11789 wxImage
*arg1
= (wxImage
*) 0 ;
11790 wxInputStream
*arg2
= 0 ;
11791 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11792 int arg4
= (int) -1 ;
11794 wxPyInputStream
*temp2
;
11796 PyObject
* obj0
= 0 ;
11797 PyObject
* obj1
= 0 ;
11798 PyObject
* obj2
= 0 ;
11799 PyObject
* obj3
= 0 ;
11800 char *kwnames
[] = {
11801 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11806 if (SWIG_arg_fail(1)) SWIG_fail
;
11808 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11809 arg2
= temp2
->m_wxis
;
11812 PyErr_Clear(); // clear the failure of the wxPyConvert above
11813 arg2
= wxPyCBInputStream_create(obj1
, false);
11814 if (arg2
== NULL
) {
11815 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11823 arg3
= (long)(SWIG_As_long(obj2
));
11824 if (SWIG_arg_fail(3)) SWIG_fail
;
11829 arg4
= (int)(SWIG_As_int(obj3
));
11830 if (SWIG_arg_fail(4)) SWIG_fail
;
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11857 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxImage
*arg1
= (wxImage
*) 0 ;
11860 wxInputStream
*arg2
= 0 ;
11861 wxString
*arg3
= 0 ;
11862 int arg4
= (int) -1 ;
11864 wxPyInputStream
*temp2
;
11866 bool temp3
= false ;
11867 PyObject
* obj0
= 0 ;
11868 PyObject
* obj1
= 0 ;
11869 PyObject
* obj2
= 0 ;
11870 PyObject
* obj3
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11877 if (SWIG_arg_fail(1)) SWIG_fail
;
11879 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11880 arg2
= temp2
->m_wxis
;
11883 PyErr_Clear(); // clear the failure of the wxPyConvert above
11884 arg2
= wxPyCBInputStream_create(obj1
, false);
11885 if (arg2
== NULL
) {
11886 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11893 arg3
= wxString_in_helper(obj2
);
11894 if (arg3
== NULL
) SWIG_fail
;
11899 arg4
= (int)(SWIG_As_int(obj3
));
11900 if (SWIG_arg_fail(4)) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11935 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxImage
*arg1
= (wxImage
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 char *kwnames
[] = {
11941 (char *) "self", NULL
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11946 if (SWIG_arg_fail(1)) SWIG_fail
;
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (bool)(arg1
)->Ok();
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11963 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxImage
*arg1
= (wxImage
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
11973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11974 if (SWIG_arg_fail(1)) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (int)(arg1
)->GetWidth();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= SWIG_From_int((int)(result
));
11991 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxImage
*arg1
= (wxImage
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12002 if (SWIG_arg_fail(1)) SWIG_fail
;
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 result
= (int)(arg1
)->GetHeight();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= SWIG_From_int((int)(result
));
12019 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
;
12021 wxImage
*arg1
= (wxImage
*) 0 ;
12023 PyObject
* obj0
= 0 ;
12024 char *kwnames
[] = {
12025 (char *) "self", NULL
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12030 if (SWIG_arg_fail(1)) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= wxImage_GetSize(arg1
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 wxSize
* resultptr
;
12040 resultptr
= new wxSize((wxSize
&)(result
));
12041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12049 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxImage
*arg1
= (wxImage
*) 0 ;
12053 SwigValueWrapper
<wxImage
> result
;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self",(char *) "rect", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12063 if (SWIG_arg_fail(1)) SWIG_fail
;
12066 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 wxImage
* resultptr
;
12077 resultptr
= new wxImage((wxImage
&)(result
));
12078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12086 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxImage
*arg1
= (wxImage
*) 0 ;
12089 SwigValueWrapper
<wxImage
> result
;
12090 PyObject
* obj0
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12097 if (SWIG_arg_fail(1)) SWIG_fail
;
12099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12100 result
= (arg1
)->Copy();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12106 wxImage
* resultptr
;
12107 resultptr
= new wxImage((wxImage
&)(result
));
12108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12116 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
;
12118 wxImage
*arg1
= (wxImage
*) 0 ;
12119 wxImage
*arg2
= 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 PyObject
* obj2
= 0 ;
12125 PyObject
* obj3
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12132 if (SWIG_arg_fail(1)) SWIG_fail
;
12134 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12135 if (SWIG_arg_fail(2)) SWIG_fail
;
12136 if (arg2
== NULL
) {
12137 SWIG_null_ref("wxImage");
12139 if (SWIG_arg_fail(2)) SWIG_fail
;
12142 arg3
= (int)(SWIG_As_int(obj2
));
12143 if (SWIG_arg_fail(3)) SWIG_fail
;
12146 arg4
= (int)(SWIG_As_int(obj3
));
12147 if (SWIG_arg_fail(4)) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 Py_INCREF(Py_None
); resultobj
= Py_None
;
12163 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxImage
*arg1
= (wxImage
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12174 if (SWIG_arg_fail(1)) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (PyObject
*)wxImage_GetData(arg1
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= result
;
12189 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxImage
*arg1
= (wxImage
*) 0 ;
12192 PyObject
*arg2
= (PyObject
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 PyObject
* obj1
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self",(char *) "data", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12201 if (SWIG_arg_fail(1)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 wxImage_SetData(arg1
,arg2
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 Py_INCREF(Py_None
); resultobj
= Py_None
;
12217 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxImage
*arg1
= (wxImage
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12228 if (SWIG_arg_fail(1)) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= result
;
12243 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxImage
*arg1
= (wxImage
*) 0 ;
12246 PyObject
*arg2
= (PyObject
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self",(char *) "data", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12255 if (SWIG_arg_fail(1)) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 wxImage_SetDataBuffer(arg1
,arg2
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 Py_INCREF(Py_None
); resultobj
= Py_None
;
12271 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxImage
*arg1
= (wxImage
*) 0 ;
12275 PyObject
* obj0
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12282 if (SWIG_arg_fail(1)) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= result
;
12297 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxImage
*arg1
= (wxImage
*) 0 ;
12300 PyObject
*arg2
= (PyObject
*) 0 ;
12301 PyObject
* obj0
= 0 ;
12302 PyObject
* obj1
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "data", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12309 if (SWIG_arg_fail(1)) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 wxImage_SetAlphaData(arg1
,arg2
);
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 Py_INCREF(Py_None
); resultobj
= Py_None
;
12325 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxImage
*arg1
= (wxImage
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12336 if (SWIG_arg_fail(1)) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= result
;
12351 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxImage
*arg1
= (wxImage
*) 0 ;
12354 PyObject
*arg2
= (PyObject
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self",(char *) "data", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 wxImage_SetAlphaBuffer(arg1
,arg2
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 Py_INCREF(Py_None
); resultobj
= Py_None
;
12379 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxImage
*arg1
= (wxImage
*) 0 ;
12382 unsigned char arg2
;
12383 unsigned char arg3
;
12384 unsigned char arg4
;
12385 PyObject
* obj0
= 0 ;
12386 PyObject
* obj1
= 0 ;
12387 PyObject
* obj2
= 0 ;
12388 PyObject
* obj3
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12395 if (SWIG_arg_fail(1)) SWIG_fail
;
12397 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12398 if (SWIG_arg_fail(2)) SWIG_fail
;
12401 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12402 if (SWIG_arg_fail(3)) SWIG_fail
;
12405 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12406 if (SWIG_arg_fail(4)) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 Py_INCREF(Py_None
); resultobj
= Py_None
;
12422 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxImage
*arg1
= (wxImage
*) 0 ;
12425 unsigned char result
;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12433 if (SWIG_arg_fail(1)) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (unsigned char)(arg1
)->GetMaskRed();
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12442 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12450 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12451 PyObject
*resultobj
;
12452 wxImage
*arg1
= (wxImage
*) 0 ;
12453 unsigned char result
;
12454 PyObject
* obj0
= 0 ;
12455 char *kwnames
[] = {
12456 (char *) "self", NULL
12459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12461 if (SWIG_arg_fail(1)) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= (unsigned char)(arg1
)->GetMaskGreen();
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12478 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxImage
*arg1
= (wxImage
*) 0 ;
12481 unsigned char result
;
12482 PyObject
* obj0
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12489 if (SWIG_arg_fail(1)) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (unsigned char)(arg1
)->GetMaskBlue();
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12498 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12506 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxImage
*arg1
= (wxImage
*) 0 ;
12509 bool arg2
= (bool) true ;
12510 PyObject
* obj0
= 0 ;
12511 PyObject
* obj1
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self",(char *) "mask", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12518 if (SWIG_arg_fail(1)) SWIG_fail
;
12521 arg2
= (bool)(SWIG_As_bool(obj1
));
12522 if (SWIG_arg_fail(2)) SWIG_fail
;
12526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12527 (arg1
)->SetMask(arg2
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 Py_INCREF(Py_None
); resultobj
= Py_None
;
12539 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
;
12541 wxImage
*arg1
= (wxImage
*) 0 ;
12543 PyObject
* obj0
= 0 ;
12544 char *kwnames
[] = {
12545 (char *) "self", NULL
12548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12550 if (SWIG_arg_fail(1)) SWIG_fail
;
12552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12553 result
= (bool)(arg1
)->HasMask();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12567 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxImage
*arg1
= (wxImage
*) 0 ;
12571 wxPoint
*arg3
= 0 ;
12572 bool arg4
= (bool) true ;
12573 wxPoint
*arg5
= (wxPoint
*) NULL
;
12574 SwigValueWrapper
<wxImage
> result
;
12576 PyObject
* obj0
= 0 ;
12577 PyObject
* obj1
= 0 ;
12578 PyObject
* obj2
= 0 ;
12579 PyObject
* obj3
= 0 ;
12580 PyObject
* obj4
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12587 if (SWIG_arg_fail(1)) SWIG_fail
;
12589 arg2
= (double)(SWIG_As_double(obj1
));
12590 if (SWIG_arg_fail(2)) SWIG_fail
;
12594 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12598 arg4
= (bool)(SWIG_As_bool(obj3
));
12599 if (SWIG_arg_fail(4)) SWIG_fail
;
12603 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12604 if (SWIG_arg_fail(5)) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12614 wxImage
* resultptr
;
12615 resultptr
= new wxImage((wxImage
&)(result
));
12616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12624 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxImage
*arg1
= (wxImage
*) 0 ;
12627 bool arg2
= (bool) true ;
12628 SwigValueWrapper
<wxImage
> result
;
12629 PyObject
* obj0
= 0 ;
12630 PyObject
* obj1
= 0 ;
12631 char *kwnames
[] = {
12632 (char *) "self",(char *) "clockwise", NULL
12635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12637 if (SWIG_arg_fail(1)) SWIG_fail
;
12640 arg2
= (bool)(SWIG_As_bool(obj1
));
12641 if (SWIG_arg_fail(2)) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (arg1
)->Rotate90(arg2
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12652 wxImage
* resultptr
;
12653 resultptr
= new wxImage((wxImage
&)(result
));
12654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12662 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxImage
*arg1
= (wxImage
*) 0 ;
12665 bool arg2
= (bool) true ;
12666 SwigValueWrapper
<wxImage
> result
;
12667 PyObject
* obj0
= 0 ;
12668 PyObject
* obj1
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self",(char *) "horizontally", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12675 if (SWIG_arg_fail(1)) SWIG_fail
;
12678 arg2
= (bool)(SWIG_As_bool(obj1
));
12679 if (SWIG_arg_fail(2)) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (arg1
)->Mirror(arg2
);
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12690 wxImage
* resultptr
;
12691 resultptr
= new wxImage((wxImage
&)(result
));
12692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12700 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxImage
*arg1
= (wxImage
*) 0 ;
12703 unsigned char arg2
;
12704 unsigned char arg3
;
12705 unsigned char arg4
;
12706 unsigned char arg5
;
12707 unsigned char arg6
;
12708 unsigned char arg7
;
12709 PyObject
* obj0
= 0 ;
12710 PyObject
* obj1
= 0 ;
12711 PyObject
* obj2
= 0 ;
12712 PyObject
* obj3
= 0 ;
12713 PyObject
* obj4
= 0 ;
12714 PyObject
* obj5
= 0 ;
12715 PyObject
* obj6
= 0 ;
12716 char *kwnames
[] = {
12717 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12722 if (SWIG_arg_fail(1)) SWIG_fail
;
12724 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12725 if (SWIG_arg_fail(2)) SWIG_fail
;
12728 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12729 if (SWIG_arg_fail(3)) SWIG_fail
;
12732 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12733 if (SWIG_arg_fail(4)) SWIG_fail
;
12736 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12737 if (SWIG_arg_fail(5)) SWIG_fail
;
12740 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12741 if (SWIG_arg_fail(6)) SWIG_fail
;
12744 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12745 if (SWIG_arg_fail(7)) SWIG_fail
;
12748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12749 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12751 wxPyEndAllowThreads(__tstate
);
12752 if (PyErr_Occurred()) SWIG_fail
;
12754 Py_INCREF(Py_None
); resultobj
= Py_None
;
12761 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12762 PyObject
*resultobj
;
12763 wxImage
*arg1
= (wxImage
*) 0 ;
12764 unsigned char arg2
;
12765 unsigned char arg3
;
12766 unsigned char arg4
;
12767 SwigValueWrapper
<wxImage
> result
;
12768 PyObject
* obj0
= 0 ;
12769 PyObject
* obj1
= 0 ;
12770 PyObject
* obj2
= 0 ;
12771 PyObject
* obj3
= 0 ;
12772 char *kwnames
[] = {
12773 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12778 if (SWIG_arg_fail(1)) SWIG_fail
;
12780 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12781 if (SWIG_arg_fail(2)) SWIG_fail
;
12784 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12785 if (SWIG_arg_fail(3)) SWIG_fail
;
12788 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12789 if (SWIG_arg_fail(4)) SWIG_fail
;
12792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12793 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12799 wxImage
* resultptr
;
12800 resultptr
= new wxImage((wxImage
&)(result
));
12801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12809 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12810 PyObject
*resultobj
;
12811 wxImage
*arg1
= (wxImage
*) 0 ;
12812 wxString
*arg2
= 0 ;
12813 wxString
*arg3
= 0 ;
12814 bool temp2
= false ;
12815 bool temp3
= false ;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 PyObject
* obj2
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self",(char *) "name",(char *) "value", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12825 if (SWIG_arg_fail(1)) SWIG_fail
;
12827 arg2
= wxString_in_helper(obj1
);
12828 if (arg2
== NULL
) SWIG_fail
;
12832 arg3
= wxString_in_helper(obj2
);
12833 if (arg3
== NULL
) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 Py_INCREF(Py_None
); resultobj
= Py_None
;
12866 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxImage
*arg1
= (wxImage
*) 0 ;
12869 wxString
*arg2
= 0 ;
12871 bool temp2
= false ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 PyObject
* obj2
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self",(char *) "name",(char *) "value", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12881 if (SWIG_arg_fail(1)) SWIG_fail
;
12883 arg2
= wxString_in_helper(obj1
);
12884 if (arg2
== NULL
) SWIG_fail
;
12888 arg3
= (int)(SWIG_As_int(obj2
));
12889 if (SWIG_arg_fail(3)) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12895 wxPyEndAllowThreads(__tstate
);
12896 if (PyErr_Occurred()) SWIG_fail
;
12898 Py_INCREF(Py_None
); resultobj
= Py_None
;
12913 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
*resultobj
;
12915 wxImage
*arg1
= (wxImage
*) 0 ;
12916 wxString
*arg2
= 0 ;
12918 bool temp2
= false ;
12919 PyObject
* obj0
= 0 ;
12920 PyObject
* obj1
= 0 ;
12921 char *kwnames
[] = {
12922 (char *) "self",(char *) "name", NULL
12925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12927 if (SWIG_arg_fail(1)) SWIG_fail
;
12929 arg2
= wxString_in_helper(obj1
);
12930 if (arg2
== NULL
) SWIG_fail
;
12934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12935 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12937 wxPyEndAllowThreads(__tstate
);
12938 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12961 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxImage
*arg1
= (wxImage
*) 0 ;
12964 wxString
*arg2
= 0 ;
12966 bool temp2
= false ;
12967 PyObject
* obj0
= 0 ;
12968 PyObject
* obj1
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self",(char *) "name", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12975 if (SWIG_arg_fail(1)) SWIG_fail
;
12977 arg2
= wxString_in_helper(obj1
);
12978 if (arg2
== NULL
) SWIG_fail
;
12982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12983 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
12985 wxPyEndAllowThreads(__tstate
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12989 resultobj
= SWIG_From_int((int)(result
));
13005 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13006 PyObject
*resultobj
;
13007 wxImage
*arg1
= (wxImage
*) 0 ;
13008 wxString
*arg2
= 0 ;
13010 bool temp2
= false ;
13011 PyObject
* obj0
= 0 ;
13012 PyObject
* obj1
= 0 ;
13013 char *kwnames
[] = {
13014 (char *) "self",(char *) "name", NULL
13017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13019 if (SWIG_arg_fail(1)) SWIG_fail
;
13021 arg2
= wxString_in_helper(obj1
);
13022 if (arg2
== NULL
) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13049 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxImage
*arg1
= (wxImage
*) 0 ;
13052 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13053 unsigned long result
;
13054 PyObject
* obj0
= 0 ;
13055 PyObject
* obj1
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self",(char *) "stopafter", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13062 if (SWIG_arg_fail(1)) SWIG_fail
;
13065 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13066 if (SWIG_arg_fail(2)) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13085 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxImage
*arg1
= (wxImage
*) 0 ;
13088 wxImageHistogram
*arg2
= 0 ;
13089 unsigned long result
;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self",(char *) "h", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13098 if (SWIG_arg_fail(1)) SWIG_fail
;
13100 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13101 if (SWIG_arg_fail(2)) SWIG_fail
;
13102 if (arg2
== NULL
) {
13103 SWIG_null_ref("wxImageHistogram");
13105 if (SWIG_arg_fail(2)) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13115 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13123 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13126 PyObject
* obj0
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "handler", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13133 if (SWIG_arg_fail(1)) SWIG_fail
;
13135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13136 wxImage::AddHandler(arg1
);
13138 wxPyEndAllowThreads(__tstate
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13141 Py_INCREF(Py_None
); resultobj
= Py_None
;
13148 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "handler", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13158 if (SWIG_arg_fail(1)) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 wxImage::InsertHandler(arg1
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 Py_INCREF(Py_None
); resultobj
= Py_None
;
13173 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxString
*arg1
= 0 ;
13177 bool temp1
= false ;
13178 PyObject
* obj0
= 0 ;
13179 char *kwnames
[] = {
13180 (char *) "name", NULL
13183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13185 arg1
= wxString_in_helper(obj0
);
13186 if (arg1
== NULL
) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13213 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13216 char *kwnames
[] = {
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13223 result
= wxImage::GetImageExtWildcard();
13225 wxPyEndAllowThreads(__tstate
);
13226 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13241 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxImage
*arg1
= (wxImage
*) 0 ;
13244 int arg2
= (int) -1 ;
13246 PyObject
* obj0
= 0 ;
13247 PyObject
* obj1
= 0 ;
13248 char *kwnames
[] = {
13249 (char *) "self",(char *) "depth", NULL
13252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13254 if (SWIG_arg_fail(1)) SWIG_fail
;
13257 arg2
= (int)(SWIG_As_int(obj1
));
13258 if (SWIG_arg_fail(2)) SWIG_fail
;
13262 if (!wxPyCheckForApp()) SWIG_fail
;
13263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13264 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13266 wxPyEndAllowThreads(__tstate
);
13267 if (PyErr_Occurred()) SWIG_fail
;
13270 wxBitmap
* resultptr
;
13271 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13280 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxImage
*arg1
= (wxImage
*) 0 ;
13283 unsigned char arg2
;
13284 unsigned char arg3
;
13285 unsigned char arg4
;
13287 PyObject
* obj0
= 0 ;
13288 PyObject
* obj1
= 0 ;
13289 PyObject
* obj2
= 0 ;
13290 PyObject
* obj3
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13297 if (SWIG_arg_fail(1)) SWIG_fail
;
13299 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13300 if (SWIG_arg_fail(2)) SWIG_fail
;
13303 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13304 if (SWIG_arg_fail(3)) SWIG_fail
;
13307 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13308 if (SWIG_arg_fail(4)) SWIG_fail
;
13311 if (!wxPyCheckForApp()) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13319 wxBitmap
* resultptr
;
13320 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13329 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13332 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13334 return Py_BuildValue((char *)"");
13336 static int _wrap_NullImage_set(PyObject
*) {
13337 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13342 static PyObject
*_wrap_NullImage_get(void) {
13345 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13350 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13351 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13356 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13361 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13363 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13370 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13371 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13376 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13381 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13383 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13390 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13391 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13396 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13401 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13403 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13410 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13411 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13416 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13421 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13423 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13430 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13431 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13436 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13441 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13443 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13450 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxBMPHandler
*result
;
13453 char *kwnames
[] = {
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13460 result
= (wxBMPHandler
*)new wxBMPHandler();
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13472 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13475 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13477 return Py_BuildValue((char *)"");
13479 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13480 PyObject
*resultobj
;
13481 wxICOHandler
*result
;
13482 char *kwnames
[] = {
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (wxICOHandler
*)new wxICOHandler();
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13501 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13504 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13506 return Py_BuildValue((char *)"");
13508 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
;
13510 wxCURHandler
*result
;
13511 char *kwnames
[] = {
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (wxCURHandler
*)new wxCURHandler();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13530 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13533 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13535 return Py_BuildValue((char *)"");
13537 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxANIHandler
*result
;
13540 char *kwnames
[] = {
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (wxANIHandler
*)new wxANIHandler();
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13559 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13562 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13564 return Py_BuildValue((char *)"");
13566 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13567 PyObject
*resultobj
;
13568 wxPNGHandler
*result
;
13569 char *kwnames
[] = {
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (wxPNGHandler
*)new wxPNGHandler();
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13588 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13591 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13593 return Py_BuildValue((char *)"");
13595 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
;
13597 wxGIFHandler
*result
;
13598 char *kwnames
[] = {
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (wxGIFHandler
*)new wxGIFHandler();
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13617 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13620 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13622 return Py_BuildValue((char *)"");
13624 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
;
13626 wxPCXHandler
*result
;
13627 char *kwnames
[] = {
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (wxPCXHandler
*)new wxPCXHandler();
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13646 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13649 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13651 return Py_BuildValue((char *)"");
13653 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxJPEGHandler
*result
;
13656 char *kwnames
[] = {
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13675 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13678 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13680 return Py_BuildValue((char *)"");
13682 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxPNMHandler
*result
;
13685 char *kwnames
[] = {
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 result
= (wxPNMHandler
*)new wxPNMHandler();
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13704 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13707 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13709 return Py_BuildValue((char *)"");
13711 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13712 PyObject
*resultobj
;
13713 wxXPMHandler
*result
;
13714 char *kwnames
[] = {
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (wxXPMHandler
*)new wxXPMHandler();
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13733 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13736 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13738 return Py_BuildValue((char *)"");
13740 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxTIFFHandler
*result
;
13743 char *kwnames
[] = {
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13750 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13752 wxPyEndAllowThreads(__tstate
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13762 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13765 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13767 return Py_BuildValue((char *)"");
13769 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13770 PyObject
*resultobj
;
13771 wxImage
*arg1
= 0 ;
13772 wxImage
*arg2
= 0 ;
13773 int arg3
= (int) 236 ;
13774 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13776 PyObject
* obj0
= 0 ;
13777 PyObject
* obj1
= 0 ;
13778 PyObject
* obj2
= 0 ;
13779 PyObject
* obj3
= 0 ;
13780 char *kwnames
[] = {
13781 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
13784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13787 if (SWIG_arg_fail(1)) SWIG_fail
;
13788 if (arg1
== NULL
) {
13789 SWIG_null_ref("wxImage");
13791 if (SWIG_arg_fail(1)) SWIG_fail
;
13794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13795 if (SWIG_arg_fail(2)) SWIG_fail
;
13796 if (arg2
== NULL
) {
13797 SWIG_null_ref("wxImage");
13799 if (SWIG_arg_fail(2)) SWIG_fail
;
13803 arg3
= (int)(SWIG_As_int(obj2
));
13804 if (SWIG_arg_fail(3)) SWIG_fail
;
13809 arg4
= (int)(SWIG_As_int(obj3
));
13810 if (SWIG_arg_fail(4)) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13829 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
13831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13832 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
13834 return Py_BuildValue((char *)"");
13836 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxEvtHandler
*result
;
13839 char *kwnames
[] = {
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 result
= (wxEvtHandler
*)new wxEvtHandler();
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
13858 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13861 wxEvtHandler
*result
;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
13868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13869 if (SWIG_arg_fail(1)) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= wxPyMake_wxObject(result
, 0);
13886 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13889 wxEvtHandler
*result
;
13890 PyObject
* obj0
= 0 ;
13891 char *kwnames
[] = {
13892 (char *) "self", NULL
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
13896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13897 if (SWIG_arg_fail(1)) SWIG_fail
;
13899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13900 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= wxPyMake_wxObject(result
, 0);
13914 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13917 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 PyObject
* obj1
= 0 ;
13920 char *kwnames
[] = {
13921 (char *) "self",(char *) "handler", NULL
13924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13926 if (SWIG_arg_fail(1)) SWIG_fail
;
13927 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13928 if (SWIG_arg_fail(2)) SWIG_fail
;
13930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13931 (arg1
)->SetNextHandler(arg2
);
13933 wxPyEndAllowThreads(__tstate
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13936 Py_INCREF(Py_None
); resultobj
= Py_None
;
13943 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13946 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13947 PyObject
* obj0
= 0 ;
13948 PyObject
* obj1
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "self",(char *) "handler", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13955 if (SWIG_arg_fail(1)) SWIG_fail
;
13956 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13957 if (SWIG_arg_fail(2)) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 (arg1
)->SetPreviousHandler(arg2
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 Py_INCREF(Py_None
); resultobj
= Py_None
;
13972 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13973 PyObject
*resultobj
;
13974 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13976 PyObject
* obj0
= 0 ;
13977 char *kwnames
[] = {
13978 (char *) "self", NULL
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
13982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13983 if (SWIG_arg_fail(1)) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14000 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14004 PyObject
* obj0
= 0 ;
14005 PyObject
* obj1
= 0 ;
14006 char *kwnames
[] = {
14007 (char *) "self",(char *) "enabled", NULL
14010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14012 if (SWIG_arg_fail(1)) SWIG_fail
;
14014 arg2
= (bool)(SWIG_As_bool(obj1
));
14015 if (SWIG_arg_fail(2)) SWIG_fail
;
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 (arg1
)->SetEvtHandlerEnabled(arg2
);
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14024 Py_INCREF(Py_None
); resultobj
= Py_None
;
14031 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14034 wxEvent
*arg2
= 0 ;
14036 PyObject
* obj0
= 0 ;
14037 PyObject
* obj1
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "self",(char *) "event", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14044 if (SWIG_arg_fail(1)) SWIG_fail
;
14046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14047 if (SWIG_arg_fail(2)) SWIG_fail
;
14048 if (arg2
== NULL
) {
14049 SWIG_null_ref("wxEvent");
14051 if (SWIG_arg_fail(2)) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14069 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14072 wxEvent
*arg2
= 0 ;
14073 PyObject
* obj0
= 0 ;
14074 PyObject
* obj1
= 0 ;
14075 char *kwnames
[] = {
14076 (char *) "self",(char *) "event", NULL
14079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14081 if (SWIG_arg_fail(1)) SWIG_fail
;
14083 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14084 if (SWIG_arg_fail(2)) SWIG_fail
;
14085 if (arg2
== NULL
) {
14086 SWIG_null_ref("wxEvent");
14088 if (SWIG_arg_fail(2)) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 (arg1
)->AddPendingEvent(*arg2
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 Py_INCREF(Py_None
); resultobj
= Py_None
;
14104 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14107 PyObject
* obj0
= 0 ;
14108 char *kwnames
[] = {
14109 (char *) "self", NULL
14112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14114 if (SWIG_arg_fail(1)) SWIG_fail
;
14116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 (arg1
)->ProcessPendingEvents();
14119 wxPyEndAllowThreads(__tstate
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14122 Py_INCREF(Py_None
); resultobj
= Py_None
;
14129 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14135 PyObject
*arg5
= (PyObject
*) 0 ;
14136 PyObject
* obj0
= 0 ;
14137 PyObject
* obj1
= 0 ;
14138 PyObject
* obj2
= 0 ;
14139 PyObject
* obj3
= 0 ;
14140 PyObject
* obj4
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14147 if (SWIG_arg_fail(1)) SWIG_fail
;
14149 arg2
= (int)(SWIG_As_int(obj1
));
14150 if (SWIG_arg_fail(2)) SWIG_fail
;
14153 arg3
= (int)(SWIG_As_int(obj2
));
14154 if (SWIG_arg_fail(3)) SWIG_fail
;
14157 arg4
= (int)(SWIG_As_int(obj3
));
14158 if (SWIG_arg_fail(4)) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 Py_INCREF(Py_None
); resultobj
= Py_None
;
14175 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14179 int arg3
= (int) -1 ;
14180 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14182 PyObject
* obj0
= 0 ;
14183 PyObject
* obj1
= 0 ;
14184 PyObject
* obj2
= 0 ;
14185 PyObject
* obj3
= 0 ;
14186 char *kwnames
[] = {
14187 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14192 if (SWIG_arg_fail(1)) SWIG_fail
;
14194 arg2
= (int)(SWIG_As_int(obj1
));
14195 if (SWIG_arg_fail(2)) SWIG_fail
;
14199 arg3
= (int)(SWIG_As_int(obj2
));
14200 if (SWIG_arg_fail(3)) SWIG_fail
;
14205 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14206 if (SWIG_arg_fail(4)) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14225 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14228 PyObject
*arg2
= (PyObject
*) 0 ;
14229 bool arg3
= (bool) true ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 PyObject
* obj2
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self",(char *) "_self",(char *) "incref", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14239 if (SWIG_arg_fail(1)) SWIG_fail
;
14243 arg3
= (bool)(SWIG_As_bool(obj2
));
14244 if (SWIG_arg_fail(3)) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14254 Py_INCREF(Py_None
); resultobj
= Py_None
;
14261 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14264 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14266 return Py_BuildValue((char *)"");
14268 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxEventType result
;
14271 char *kwnames
[] = {
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (wxEventType
)wxNewEventType();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14284 resultobj
= SWIG_From_int((int)(result
));
14292 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxEvent
*arg1
= (wxEvent
*) 0 ;
14295 PyObject
* obj0
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14302 if (SWIG_arg_fail(1)) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 Py_INCREF(Py_None
); resultobj
= Py_None
;
14317 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
;
14319 wxEvent
*arg1
= (wxEvent
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 PyObject
* obj1
= 0 ;
14323 char *kwnames
[] = {
14324 (char *) "self",(char *) "typ", NULL
14327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14329 if (SWIG_arg_fail(1)) SWIG_fail
;
14331 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14332 if (SWIG_arg_fail(2)) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 (arg1
)->SetEventType(arg2
);
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 Py_INCREF(Py_None
); resultobj
= Py_None
;
14348 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
;
14350 wxEvent
*arg1
= (wxEvent
*) 0 ;
14351 wxEventType result
;
14352 PyObject
* obj0
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_From_int((int)(result
));
14376 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxEvent
*arg1
= (wxEvent
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "self", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14387 if (SWIG_arg_fail(1)) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= wxPyMake_wxObject(result
, 0);
14404 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxEvent
*arg1
= (wxEvent
*) 0 ;
14407 wxObject
*arg2
= (wxObject
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self",(char *) "obj", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail
;
14417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14418 if (SWIG_arg_fail(2)) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 (arg1
)->SetEventObject(arg2
);
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 Py_INCREF(Py_None
); resultobj
= Py_None
;
14433 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxEvent
*arg1
= (wxEvent
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14444 if (SWIG_arg_fail(1)) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= SWIG_From_long((long)(result
));
14461 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxEvent
*arg1
= (wxEvent
*) 0 ;
14464 long arg2
= (long) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 PyObject
* obj1
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self",(char *) "ts", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14473 if (SWIG_arg_fail(1)) SWIG_fail
;
14476 arg2
= (long)(SWIG_As_long(obj1
));
14477 if (SWIG_arg_fail(2)) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14482 (arg1
)->SetTimestamp(arg2
);
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 Py_INCREF(Py_None
); resultobj
= Py_None
;
14494 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxEvent
*arg1
= (wxEvent
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14505 if (SWIG_arg_fail(1)) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 result
= (int)((wxEvent
const *)arg1
)->GetId();
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= SWIG_From_int((int)(result
));
14522 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxEvent
*arg1
= (wxEvent
*) 0 ;
14526 PyObject
* obj0
= 0 ;
14527 PyObject
* obj1
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "self",(char *) "Id", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14534 if (SWIG_arg_fail(1)) SWIG_fail
;
14536 arg2
= (int)(SWIG_As_int(obj1
));
14537 if (SWIG_arg_fail(2)) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 (arg1
)->SetId(arg2
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 Py_INCREF(Py_None
); resultobj
= Py_None
;
14553 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxEvent
*arg1
= (wxEvent
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14564 if (SWIG_arg_fail(1)) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14581 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxEvent
*arg1
= (wxEvent
*) 0 ;
14584 bool arg2
= (bool) true ;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self",(char *) "skip", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14593 if (SWIG_arg_fail(1)) SWIG_fail
;
14596 arg2
= (bool)(SWIG_As_bool(obj1
));
14597 if (SWIG_arg_fail(2)) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 (arg1
)->Skip(arg2
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 Py_INCREF(Py_None
); resultobj
= Py_None
;
14614 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14615 PyObject
*resultobj
;
14616 wxEvent
*arg1
= (wxEvent
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 char *kwnames
[] = {
14620 (char *) "self", NULL
14623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14625 if (SWIG_arg_fail(1)) SWIG_fail
;
14627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14628 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14630 wxPyEndAllowThreads(__tstate
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14642 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14643 PyObject
*resultobj
;
14644 wxEvent
*arg1
= (wxEvent
*) 0 ;
14646 PyObject
* obj0
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14653 if (SWIG_arg_fail(1)) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14670 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxEvent
*arg1
= (wxEvent
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14681 if (SWIG_arg_fail(1)) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= (int)(arg1
)->StopPropagation();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= SWIG_From_int((int)(result
));
14698 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxEvent
*arg1
= (wxEvent
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "propagationLevel", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14710 if (SWIG_arg_fail(1)) SWIG_fail
;
14712 arg2
= (int)(SWIG_As_int(obj1
));
14713 if (SWIG_arg_fail(2)) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->ResumePropagation(arg2
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxEvent
*arg1
= (wxEvent
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14740 if (SWIG_arg_fail(1)) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (wxEvent
*)(arg1
)->Clone();
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14755 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14758 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14760 return Py_BuildValue((char *)"");
14762 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxEvent
*arg1
= 0 ;
14765 wxPropagationDisabler
*result
;
14766 PyObject
* obj0
= 0 ;
14767 char *kwnames
[] = {
14768 (char *) "event", NULL
14771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14774 if (SWIG_arg_fail(1)) SWIG_fail
;
14775 if (arg1
== NULL
) {
14776 SWIG_null_ref("wxEvent");
14778 if (SWIG_arg_fail(1)) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
14794 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
14804 if (SWIG_arg_fail(1)) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14812 Py_INCREF(Py_None
); resultobj
= Py_None
;
14819 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
14821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14822 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
14824 return Py_BuildValue((char *)"");
14826 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxEvent
*arg1
= 0 ;
14829 wxPropagateOnce
*result
;
14830 PyObject
* obj0
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "event", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14838 if (SWIG_arg_fail(1)) SWIG_fail
;
14839 if (arg1
== NULL
) {
14840 SWIG_null_ref("wxEvent");
14842 if (SWIG_arg_fail(1)) SWIG_fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
14858 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
14861 PyObject
* obj0
= 0 ;
14862 char *kwnames
[] = {
14863 (char *) "self", NULL
14866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
14868 if (SWIG_arg_fail(1)) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 Py_INCREF(Py_None
); resultobj
= Py_None
;
14883 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
14885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14886 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
14888 return Py_BuildValue((char *)"");
14890 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14893 int arg2
= (int) 0 ;
14894 wxCommandEvent
*result
;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "commandType",(char *) "winid", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14904 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
14905 if (SWIG_arg_fail(1)) SWIG_fail
;
14910 arg2
= (int)(SWIG_As_int(obj1
));
14911 if (SWIG_arg_fail(2)) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
14928 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 char *kwnames
[] = {
14934 (char *) "self", NULL
14937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14939 if (SWIG_arg_fail(1)) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14948 resultobj
= SWIG_From_int((int)(result
));
14956 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14959 wxString
*arg2
= 0 ;
14960 bool temp2
= false ;
14961 PyObject
* obj0
= 0 ;
14962 PyObject
* obj1
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self",(char *) "s", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14969 if (SWIG_arg_fail(1)) SWIG_fail
;
14971 arg2
= wxString_in_helper(obj1
);
14972 if (arg2
== NULL
) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 (arg1
)->SetString((wxString
const &)*arg2
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 Py_INCREF(Py_None
); resultobj
= Py_None
;
14997 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15001 PyObject
* obj0
= 0 ;
15002 char *kwnames
[] = {
15003 (char *) "self", NULL
15006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15008 if (SWIG_arg_fail(1)) SWIG_fail
;
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15029 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15033 PyObject
* obj0
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "self", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15040 if (SWIG_arg_fail(1)) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15057 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15061 PyObject
* obj0
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15068 if (SWIG_arg_fail(1)) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15085 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self",(char *) "extraLong", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15097 if (SWIG_arg_fail(1)) SWIG_fail
;
15099 arg2
= (long)(SWIG_As_long(obj1
));
15100 if (SWIG_arg_fail(2)) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 (arg1
)->SetExtraLong(arg2
);
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 Py_INCREF(Py_None
); resultobj
= Py_None
;
15116 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15120 PyObject
* obj0
= 0 ;
15121 char *kwnames
[] = {
15122 (char *) "self", NULL
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15127 if (SWIG_arg_fail(1)) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= SWIG_From_long((long)(result
));
15144 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 PyObject
* obj1
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self",(char *) "i", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15156 if (SWIG_arg_fail(1)) SWIG_fail
;
15158 arg2
= (int)(SWIG_As_int(obj1
));
15159 if (SWIG_arg_fail(2)) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 (arg1
)->SetInt(arg2
);
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 Py_INCREF(Py_None
); resultobj
= Py_None
;
15175 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15179 PyObject
* obj0
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15186 if (SWIG_arg_fail(1)) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= SWIG_From_long((long)(result
));
15203 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15214 if (SWIG_arg_fail(1)) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15229 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15232 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15234 return Py_BuildValue((char *)"");
15236 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15239 int arg2
= (int) 0 ;
15240 wxNotifyEvent
*result
;
15241 PyObject
* obj0
= 0 ;
15242 PyObject
* obj1
= 0 ;
15243 char *kwnames
[] = {
15244 (char *) "commandType",(char *) "winid", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15250 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15251 if (SWIG_arg_fail(1)) SWIG_fail
;
15256 arg2
= (int)(SWIG_As_int(obj1
));
15257 if (SWIG_arg_fail(2)) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15274 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15275 PyObject
*resultobj
;
15276 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15284 if (SWIG_arg_fail(1)) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 wxPyEndAllowThreads(__tstate
);
15290 if (PyErr_Occurred()) SWIG_fail
;
15292 Py_INCREF(Py_None
); resultobj
= Py_None
;
15299 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15309 if (SWIG_arg_fail(1)) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 Py_INCREF(Py_None
); resultobj
= Py_None
;
15324 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15328 PyObject
* obj0
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "self", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15335 if (SWIG_arg_fail(1)) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (bool)(arg1
)->IsAllowed();
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15352 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15355 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15357 return Py_BuildValue((char *)"");
15359 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15362 int arg2
= (int) 0 ;
15363 int arg3
= (int) 0 ;
15364 int arg4
= (int) 0 ;
15365 wxScrollEvent
*result
;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 PyObject
* obj2
= 0 ;
15369 PyObject
* obj3
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15377 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15378 if (SWIG_arg_fail(1)) SWIG_fail
;
15383 arg2
= (int)(SWIG_As_int(obj1
));
15384 if (SWIG_arg_fail(2)) SWIG_fail
;
15389 arg3
= (int)(SWIG_As_int(obj2
));
15390 if (SWIG_arg_fail(3)) SWIG_fail
;
15395 arg4
= (int)(SWIG_As_int(obj3
));
15396 if (SWIG_arg_fail(4)) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15413 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15417 PyObject
* obj0
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "self", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15424 if (SWIG_arg_fail(1)) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= SWIG_From_int((int)(result
));
15441 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
;
15443 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15445 PyObject
* obj0
= 0 ;
15446 char *kwnames
[] = {
15447 (char *) "self", NULL
15450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15452 if (SWIG_arg_fail(1)) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_From_int((int)(result
));
15469 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15473 PyObject
* obj0
= 0 ;
15474 PyObject
* obj1
= 0 ;
15475 char *kwnames
[] = {
15476 (char *) "self",(char *) "orient", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15481 if (SWIG_arg_fail(1)) SWIG_fail
;
15483 arg2
= (int)(SWIG_As_int(obj1
));
15484 if (SWIG_arg_fail(2)) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 (arg1
)->SetOrientation(arg2
);
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 Py_INCREF(Py_None
); resultobj
= Py_None
;
15500 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15501 PyObject
*resultobj
;
15502 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self",(char *) "pos", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15512 if (SWIG_arg_fail(1)) SWIG_fail
;
15514 arg2
= (int)(SWIG_As_int(obj1
));
15515 if (SWIG_arg_fail(2)) SWIG_fail
;
15518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15519 (arg1
)->SetPosition(arg2
);
15521 wxPyEndAllowThreads(__tstate
);
15522 if (PyErr_Occurred()) SWIG_fail
;
15524 Py_INCREF(Py_None
); resultobj
= Py_None
;
15531 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15534 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15536 return Py_BuildValue((char *)"");
15538 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15541 int arg2
= (int) 0 ;
15542 int arg3
= (int) 0 ;
15543 wxScrollWinEvent
*result
;
15544 PyObject
* obj0
= 0 ;
15545 PyObject
* obj1
= 0 ;
15546 PyObject
* obj2
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15554 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15555 if (SWIG_arg_fail(1)) SWIG_fail
;
15560 arg2
= (int)(SWIG_As_int(obj1
));
15561 if (SWIG_arg_fail(2)) SWIG_fail
;
15566 arg3
= (int)(SWIG_As_int(obj2
));
15567 if (SWIG_arg_fail(3)) SWIG_fail
;
15571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15574 wxPyEndAllowThreads(__tstate
);
15575 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15584 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15585 PyObject
*resultobj
;
15586 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15588 PyObject
* obj0
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= SWIG_From_int((int)(result
));
15612 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15616 PyObject
* obj0
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "self", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15623 if (SWIG_arg_fail(1)) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_From_int((int)(result
));
15640 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 char *kwnames
[] = {
15647 (char *) "self",(char *) "orient", NULL
15650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15652 if (SWIG_arg_fail(1)) SWIG_fail
;
15654 arg2
= (int)(SWIG_As_int(obj1
));
15655 if (SWIG_arg_fail(2)) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 (arg1
)->SetOrientation(arg2
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 Py_INCREF(Py_None
); resultobj
= Py_None
;
15671 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 char *kwnames
[] = {
15678 (char *) "self",(char *) "pos", NULL
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15683 if (SWIG_arg_fail(1)) SWIG_fail
;
15685 arg2
= (int)(SWIG_As_int(obj1
));
15686 if (SWIG_arg_fail(2)) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 (arg1
)->SetPosition(arg2
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 Py_INCREF(Py_None
); resultobj
= Py_None
;
15702 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15705 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15707 return Py_BuildValue((char *)"");
15709 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
;
15711 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15712 wxMouseEvent
*result
;
15713 PyObject
* obj0
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "mouseType", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15721 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15722 if (SWIG_arg_fail(1)) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= wxPyMake_wxObject(result
, 1);
15741 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15742 PyObject
*resultobj
;
15743 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15745 PyObject
* obj0
= 0 ;
15746 char *kwnames
[] = {
15747 (char *) "self", NULL
15750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15752 if (SWIG_arg_fail(1)) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15769 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15770 PyObject
*resultobj
;
15771 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15772 int arg2
= (int) wxMOUSE_BTN_ANY
;
15774 PyObject
* obj0
= 0 ;
15775 PyObject
* obj1
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self",(char *) "but", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15782 if (SWIG_arg_fail(1)) SWIG_fail
;
15785 arg2
= (int)(SWIG_As_int(obj1
));
15786 if (SWIG_arg_fail(2)) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15805 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15808 int arg2
= (int) wxMOUSE_BTN_ANY
;
15810 PyObject
* obj0
= 0 ;
15811 PyObject
* obj1
= 0 ;
15812 char *kwnames
[] = {
15813 (char *) "self",(char *) "but", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
15817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15818 if (SWIG_arg_fail(1)) SWIG_fail
;
15821 arg2
= (int)(SWIG_As_int(obj1
));
15822 if (SWIG_arg_fail(2)) SWIG_fail
;
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15841 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15844 int arg2
= (int) wxMOUSE_BTN_ANY
;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self",(char *) "but", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
15853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15854 if (SWIG_arg_fail(1)) SWIG_fail
;
15857 arg2
= (int)(SWIG_As_int(obj1
));
15858 if (SWIG_arg_fail(2)) SWIG_fail
;
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15877 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
;
15879 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self",(char *) "but", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
15889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15890 if (SWIG_arg_fail(1)) SWIG_fail
;
15892 arg2
= (int)(SWIG_As_int(obj1
));
15893 if (SWIG_arg_fail(2)) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15911 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15916 PyObject
* obj0
= 0 ;
15917 PyObject
* obj1
= 0 ;
15918 char *kwnames
[] = {
15919 (char *) "self",(char *) "but", NULL
15922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15924 if (SWIG_arg_fail(1)) SWIG_fail
;
15926 arg2
= (int)(SWIG_As_int(obj1
));
15927 if (SWIG_arg_fail(2)) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15945 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "self", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
15955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15956 if (SWIG_arg_fail(1)) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= SWIG_From_int((int)(result
));
15973 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15977 PyObject
* obj0
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15984 if (SWIG_arg_fail(1)) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16001 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16012 if (SWIG_arg_fail(1)) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16029 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16033 PyObject
* obj0
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16040 if (SWIG_arg_fail(1)) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16057 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
;
16059 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16061 PyObject
* obj0
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "self", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16068 if (SWIG_arg_fail(1)) SWIG_fail
;
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16085 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
;
16087 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16089 PyObject
* obj0
= 0 ;
16090 char *kwnames
[] = {
16091 (char *) "self", NULL
16094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16096 if (SWIG_arg_fail(1)) SWIG_fail
;
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16113 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16124 if (SWIG_arg_fail(1)) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16141 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16145 PyObject
* obj0
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16152 if (SWIG_arg_fail(1)) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16169 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16180 if (SWIG_arg_fail(1)) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16197 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16201 PyObject
* obj0
= 0 ;
16202 char *kwnames
[] = {
16203 (char *) "self", NULL
16206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16208 if (SWIG_arg_fail(1)) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16225 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16226 PyObject
*resultobj
;
16227 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16236 if (SWIG_arg_fail(1)) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16241 wxPyEndAllowThreads(__tstate
);
16242 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16253 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16257 PyObject
* obj0
= 0 ;
16258 char *kwnames
[] = {
16259 (char *) "self", NULL
16262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16264 if (SWIG_arg_fail(1)) SWIG_fail
;
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16281 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16292 if (SWIG_arg_fail(1)) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16309 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16320 if (SWIG_arg_fail(1)) SWIG_fail
;
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16323 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16337 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16338 PyObject
*resultobj
;
16339 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16341 PyObject
* obj0
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "self", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16348 if (SWIG_arg_fail(1)) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16365 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16369 PyObject
* obj0
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "self", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16376 if (SWIG_arg_fail(1)) SWIG_fail
;
16378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16379 result
= (bool)(arg1
)->LeftIsDown();
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16393 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16397 PyObject
* obj0
= 0 ;
16398 char *kwnames
[] = {
16399 (char *) "self", NULL
16402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16404 if (SWIG_arg_fail(1)) SWIG_fail
;
16406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16407 result
= (bool)(arg1
)->MiddleIsDown();
16409 wxPyEndAllowThreads(__tstate
);
16410 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16421 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16432 if (SWIG_arg_fail(1)) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (bool)(arg1
)->RightIsDown();
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16449 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16460 if (SWIG_arg_fail(1)) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16477 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16478 PyObject
*resultobj
;
16479 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16481 PyObject
* obj0
= 0 ;
16482 char *kwnames
[] = {
16483 (char *) "self", NULL
16486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16488 if (SWIG_arg_fail(1)) SWIG_fail
;
16490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16505 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16507 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16509 PyObject
* obj0
= 0 ;
16510 char *kwnames
[] = {
16511 (char *) "self", NULL
16514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16516 if (SWIG_arg_fail(1)) SWIG_fail
;
16518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16519 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16521 wxPyEndAllowThreads(__tstate
);
16522 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16533 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16534 PyObject
*resultobj
;
16535 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16544 if (SWIG_arg_fail(1)) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16561 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
;
16563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16565 PyObject
* obj0
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "self", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16572 if (SWIG_arg_fail(1)) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (arg1
)->GetPosition();
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16581 wxPoint
* resultptr
;
16582 resultptr
= new wxPoint((wxPoint
&)(result
));
16583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16591 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16594 long *arg2
= (long *) 0 ;
16595 long *arg3
= (long *) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self", NULL
16605 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16606 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16609 if (SWIG_arg_fail(1)) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 (arg1
)->GetPosition(arg2
,arg3
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 Py_INCREF(Py_None
); resultobj
= Py_None
;
16618 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16619 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16620 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16621 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16628 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 PyObject
* obj1
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self",(char *) "dc", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16641 if (SWIG_arg_fail(1)) SWIG_fail
;
16643 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16644 if (SWIG_arg_fail(2)) SWIG_fail
;
16645 if (arg2
== NULL
) {
16646 SWIG_null_ref("wxDC");
16648 if (SWIG_arg_fail(2)) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16658 wxPoint
* resultptr
;
16659 resultptr
= new wxPoint((wxPoint
&)(result
));
16660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16668 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16679 if (SWIG_arg_fail(1)) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16688 resultobj
= SWIG_From_int((int)(result
));
16696 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16700 PyObject
* obj0
= 0 ;
16701 char *kwnames
[] = {
16702 (char *) "self", NULL
16705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16707 if (SWIG_arg_fail(1)) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= SWIG_From_int((int)(result
));
16724 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 char *kwnames
[] = {
16730 (char *) "self", NULL
16733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16735 if (SWIG_arg_fail(1)) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= SWIG_From_int((int)(result
));
16752 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16756 PyObject
* obj0
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16763 if (SWIG_arg_fail(1)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16772 resultobj
= SWIG_From_int((int)(result
));
16780 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
16790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16791 if (SWIG_arg_fail(1)) SWIG_fail
;
16793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16794 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 resultobj
= SWIG_From_int((int)(result
));
16808 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16812 PyObject
* obj0
= 0 ;
16813 char *kwnames
[] = {
16814 (char *) "self", NULL
16817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
16818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16819 if (SWIG_arg_fail(1)) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16836 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 PyObject
* obj1
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self",(char *) "m_x", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16848 if (SWIG_arg_fail(1)) SWIG_fail
;
16850 arg2
= (int)(SWIG_As_int(obj1
));
16851 if (SWIG_arg_fail(2)) SWIG_fail
;
16853 if (arg1
) (arg1
)->m_x
= arg2
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16862 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16866 PyObject
* obj0
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16873 if (SWIG_arg_fail(1)) SWIG_fail
;
16874 result
= (int) ((arg1
)->m_x
);
16877 resultobj
= SWIG_From_int((int)(result
));
16885 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 PyObject
* obj1
= 0 ;
16891 char *kwnames
[] = {
16892 (char *) "self",(char *) "m_y", NULL
16895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16897 if (SWIG_arg_fail(1)) SWIG_fail
;
16899 arg2
= (int)(SWIG_As_int(obj1
));
16900 if (SWIG_arg_fail(2)) SWIG_fail
;
16902 if (arg1
) (arg1
)->m_y
= arg2
;
16904 Py_INCREF(Py_None
); resultobj
= Py_None
;
16911 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16922 if (SWIG_arg_fail(1)) SWIG_fail
;
16923 result
= (int) ((arg1
)->m_y
);
16926 resultobj
= SWIG_From_int((int)(result
));
16934 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self",(char *) "m_leftDown", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16946 if (SWIG_arg_fail(1)) SWIG_fail
;
16948 arg2
= (bool)(SWIG_As_bool(obj1
));
16949 if (SWIG_arg_fail(2)) SWIG_fail
;
16951 if (arg1
) (arg1
)->m_leftDown
= arg2
;
16953 Py_INCREF(Py_None
); resultobj
= Py_None
;
16960 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16962 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16964 PyObject
* obj0
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
16970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16971 if (SWIG_arg_fail(1)) SWIG_fail
;
16972 result
= (bool) ((arg1
)->m_leftDown
);
16975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16983 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16987 PyObject
* obj0
= 0 ;
16988 PyObject
* obj1
= 0 ;
16989 char *kwnames
[] = {
16990 (char *) "self",(char *) "m_middleDown", NULL
16993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16995 if (SWIG_arg_fail(1)) SWIG_fail
;
16997 arg2
= (bool)(SWIG_As_bool(obj1
));
16998 if (SWIG_arg_fail(2)) SWIG_fail
;
17000 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17002 Py_INCREF(Py_None
); resultobj
= Py_None
;
17009 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17013 PyObject
* obj0
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "self", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17020 if (SWIG_arg_fail(1)) SWIG_fail
;
17021 result
= (bool) ((arg1
)->m_middleDown
);
17024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17032 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 PyObject
* obj1
= 0 ;
17038 char *kwnames
[] = {
17039 (char *) "self",(char *) "m_rightDown", NULL
17042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17044 if (SWIG_arg_fail(1)) SWIG_fail
;
17046 arg2
= (bool)(SWIG_As_bool(obj1
));
17047 if (SWIG_arg_fail(2)) SWIG_fail
;
17049 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17051 Py_INCREF(Py_None
); resultobj
= Py_None
;
17058 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17062 PyObject
* obj0
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17069 if (SWIG_arg_fail(1)) SWIG_fail
;
17070 result
= (bool) ((arg1
)->m_rightDown
);
17073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17081 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "self",(char *) "m_controlDown", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17093 if (SWIG_arg_fail(1)) SWIG_fail
;
17095 arg2
= (bool)(SWIG_As_bool(obj1
));
17096 if (SWIG_arg_fail(2)) SWIG_fail
;
17098 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17100 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17118 if (SWIG_arg_fail(1)) SWIG_fail
;
17119 result
= (bool) ((arg1
)->m_controlDown
);
17122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17130 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "m_shiftDown", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17142 if (SWIG_arg_fail(1)) SWIG_fail
;
17144 arg2
= (bool)(SWIG_As_bool(obj1
));
17145 if (SWIG_arg_fail(2)) SWIG_fail
;
17147 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17149 Py_INCREF(Py_None
); resultobj
= Py_None
;
17156 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17160 PyObject
* obj0
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17167 if (SWIG_arg_fail(1)) SWIG_fail
;
17168 result
= (bool) ((arg1
)->m_shiftDown
);
17171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17179 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self",(char *) "m_altDown", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17191 if (SWIG_arg_fail(1)) SWIG_fail
;
17193 arg2
= (bool)(SWIG_As_bool(obj1
));
17194 if (SWIG_arg_fail(2)) SWIG_fail
;
17196 if (arg1
) (arg1
)->m_altDown
= arg2
;
17198 Py_INCREF(Py_None
); resultobj
= Py_None
;
17205 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17206 PyObject
*resultobj
;
17207 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17209 PyObject
* obj0
= 0 ;
17210 char *kwnames
[] = {
17211 (char *) "self", NULL
17214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17216 if (SWIG_arg_fail(1)) SWIG_fail
;
17217 result
= (bool) ((arg1
)->m_altDown
);
17220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17228 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17229 PyObject
*resultobj
;
17230 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 PyObject
* obj1
= 0 ;
17234 char *kwnames
[] = {
17235 (char *) "self",(char *) "m_metaDown", NULL
17238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17240 if (SWIG_arg_fail(1)) SWIG_fail
;
17242 arg2
= (bool)(SWIG_As_bool(obj1
));
17243 if (SWIG_arg_fail(2)) SWIG_fail
;
17245 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17247 Py_INCREF(Py_None
); resultobj
= Py_None
;
17254 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17265 if (SWIG_arg_fail(1)) SWIG_fail
;
17266 result
= (bool) ((arg1
)->m_metaDown
);
17269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17277 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "m_wheelRotation", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17289 if (SWIG_arg_fail(1)) SWIG_fail
;
17291 arg2
= (int)(SWIG_As_int(obj1
));
17292 if (SWIG_arg_fail(2)) SWIG_fail
;
17294 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17296 Py_INCREF(Py_None
); resultobj
= Py_None
;
17303 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17304 PyObject
*resultobj
;
17305 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17314 if (SWIG_arg_fail(1)) SWIG_fail
;
17315 result
= (int) ((arg1
)->m_wheelRotation
);
17318 resultobj
= SWIG_From_int((int)(result
));
17326 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "self",(char *) "m_wheelDelta", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17338 if (SWIG_arg_fail(1)) SWIG_fail
;
17340 arg2
= (int)(SWIG_As_int(obj1
));
17341 if (SWIG_arg_fail(2)) SWIG_fail
;
17343 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17345 Py_INCREF(Py_None
); resultobj
= Py_None
;
17352 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
;
17354 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17356 PyObject
* obj0
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail
;
17364 result
= (int) ((arg1
)->m_wheelDelta
);
17367 resultobj
= SWIG_From_int((int)(result
));
17375 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self",(char *) "m_linesPerAction", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17387 if (SWIG_arg_fail(1)) SWIG_fail
;
17389 arg2
= (int)(SWIG_As_int(obj1
));
17390 if (SWIG_arg_fail(2)) SWIG_fail
;
17392 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17394 Py_INCREF(Py_None
); resultobj
= Py_None
;
17401 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17412 if (SWIG_arg_fail(1)) SWIG_fail
;
17413 result
= (int) ((arg1
)->m_linesPerAction
);
17416 resultobj
= SWIG_From_int((int)(result
));
17424 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17427 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17429 return Py_BuildValue((char *)"");
17431 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 int arg1
= (int) 0 ;
17434 int arg2
= (int) 0 ;
17435 wxSetCursorEvent
*result
;
17436 PyObject
* obj0
= 0 ;
17437 PyObject
* obj1
= 0 ;
17438 char *kwnames
[] = {
17439 (char *) "x",(char *) "y", NULL
17442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17445 arg1
= (int)(SWIG_As_int(obj0
));
17446 if (SWIG_arg_fail(1)) SWIG_fail
;
17451 arg2
= (int)(SWIG_As_int(obj1
));
17452 if (SWIG_arg_fail(2)) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17469 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
;
17471 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17473 PyObject
* obj0
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "self", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17480 if (SWIG_arg_fail(1)) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17489 resultobj
= SWIG_From_int((int)(result
));
17497 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17501 PyObject
* obj0
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "self", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17508 if (SWIG_arg_fail(1)) SWIG_fail
;
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17513 wxPyEndAllowThreads(__tstate
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17517 resultobj
= SWIG_From_int((int)(result
));
17525 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
;
17527 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17528 wxCursor
*arg2
= 0 ;
17529 PyObject
* obj0
= 0 ;
17530 PyObject
* obj1
= 0 ;
17531 char *kwnames
[] = {
17532 (char *) "self",(char *) "cursor", NULL
17535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17537 if (SWIG_arg_fail(1)) SWIG_fail
;
17539 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17540 if (SWIG_arg_fail(2)) SWIG_fail
;
17541 if (arg2
== NULL
) {
17542 SWIG_null_ref("wxCursor");
17544 if (SWIG_arg_fail(2)) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17553 Py_INCREF(Py_None
); resultobj
= Py_None
;
17560 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17564 PyObject
* obj0
= 0 ;
17565 char *kwnames
[] = {
17566 (char *) "self", NULL
17569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17571 if (SWIG_arg_fail(1)) SWIG_fail
;
17573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17575 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17576 result
= (wxCursor
*) &_result_ref
;
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17583 wxCursor
* resultptr
= new wxCursor(*result
);
17584 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17592 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 char *kwnames
[] = {
17598 (char *) "self", NULL
17601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17603 if (SWIG_arg_fail(1)) SWIG_fail
;
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17608 wxPyEndAllowThreads(__tstate
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17620 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17623 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17625 return Py_BuildValue((char *)"");
17627 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17630 wxKeyEvent
*result
;
17631 PyObject
* obj0
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "keyType", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17639 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17640 if (SWIG_arg_fail(1)) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17657 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17661 PyObject
* obj0
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17668 if (SWIG_arg_fail(1)) SWIG_fail
;
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17685 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17696 if (SWIG_arg_fail(1)) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17713 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
;
17715 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17717 PyObject
* obj0
= 0 ;
17718 char *kwnames
[] = {
17719 (char *) "self", NULL
17722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17724 if (SWIG_arg_fail(1)) SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17741 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
;
17743 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17745 PyObject
* obj0
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17752 if (SWIG_arg_fail(1)) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17769 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17780 if (SWIG_arg_fail(1)) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17797 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
17807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17808 if (SWIG_arg_fail(1)) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17825 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17826 PyObject
*resultobj
;
17827 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17829 PyObject
* obj0
= 0 ;
17830 char *kwnames
[] = {
17831 (char *) "self", NULL
17834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17836 if (SWIG_arg_fail(1)) SWIG_fail
;
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17845 resultobj
= SWIG_From_int((int)(result
));
17853 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
17863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17864 if (SWIG_arg_fail(1)) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17873 resultobj
= SWIG_From_int((int)(result
));
17881 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17884 unsigned int result
;
17885 PyObject
* obj0
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
17891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17892 if (SWIG_arg_fail(1)) SWIG_fail
;
17894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17895 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17909 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17912 unsigned int result
;
17913 PyObject
* obj0
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
17919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17920 if (SWIG_arg_fail(1)) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17937 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17941 PyObject
* obj0
= 0 ;
17942 char *kwnames
[] = {
17943 (char *) "self", NULL
17946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17948 if (SWIG_arg_fail(1)) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 result
= (arg1
)->GetPosition();
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17957 wxPoint
* resultptr
;
17958 resultptr
= new wxPoint((wxPoint
&)(result
));
17959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17967 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17970 long *arg2
= (long *) 0 ;
17971 long *arg3
= (long *) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self", NULL
17981 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17982 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17985 if (SWIG_arg_fail(1)) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 (arg1
)->GetPosition(arg2
,arg3
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 Py_INCREF(Py_None
); resultobj
= Py_None
;
17994 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17995 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17996 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17997 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18004 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18005 PyObject
*resultobj
;
18006 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18008 PyObject
* obj0
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18015 if (SWIG_arg_fail(1)) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= SWIG_From_int((int)(result
));
18032 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18036 PyObject
* obj0
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18043 if (SWIG_arg_fail(1)) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18052 resultobj
= SWIG_From_int((int)(result
));
18060 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 PyObject
* obj1
= 0 ;
18066 char *kwnames
[] = {
18067 (char *) "self",(char *) "m_x", NULL
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18072 if (SWIG_arg_fail(1)) SWIG_fail
;
18074 arg2
= (int)(SWIG_As_int(obj1
));
18075 if (SWIG_arg_fail(2)) SWIG_fail
;
18077 if (arg1
) (arg1
)->m_x
= arg2
;
18079 Py_INCREF(Py_None
); resultobj
= Py_None
;
18086 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18097 if (SWIG_arg_fail(1)) SWIG_fail
;
18098 result
= (int) ((arg1
)->m_x
);
18101 resultobj
= SWIG_From_int((int)(result
));
18109 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18110 PyObject
*resultobj
;
18111 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18113 PyObject
* obj0
= 0 ;
18114 PyObject
* obj1
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self",(char *) "m_y", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18121 if (SWIG_arg_fail(1)) SWIG_fail
;
18123 arg2
= (int)(SWIG_As_int(obj1
));
18124 if (SWIG_arg_fail(2)) SWIG_fail
;
18126 if (arg1
) (arg1
)->m_y
= arg2
;
18128 Py_INCREF(Py_None
); resultobj
= Py_None
;
18135 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18146 if (SWIG_arg_fail(1)) SWIG_fail
;
18147 result
= (int) ((arg1
)->m_y
);
18150 resultobj
= SWIG_From_int((int)(result
));
18158 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18162 PyObject
* obj0
= 0 ;
18163 PyObject
* obj1
= 0 ;
18164 char *kwnames
[] = {
18165 (char *) "self",(char *) "m_keyCode", NULL
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18170 if (SWIG_arg_fail(1)) SWIG_fail
;
18172 arg2
= (long)(SWIG_As_long(obj1
));
18173 if (SWIG_arg_fail(2)) SWIG_fail
;
18175 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18177 Py_INCREF(Py_None
); resultobj
= Py_None
;
18184 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
;
18186 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18195 if (SWIG_arg_fail(1)) SWIG_fail
;
18196 result
= (long) ((arg1
)->m_keyCode
);
18199 resultobj
= SWIG_From_long((long)(result
));
18207 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18209 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18211 PyObject
* obj0
= 0 ;
18212 PyObject
* obj1
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "self",(char *) "m_controlDown", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18219 if (SWIG_arg_fail(1)) SWIG_fail
;
18221 arg2
= (bool)(SWIG_As_bool(obj1
));
18222 if (SWIG_arg_fail(2)) SWIG_fail
;
18224 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18226 Py_INCREF(Py_None
); resultobj
= Py_None
;
18233 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18234 PyObject
*resultobj
;
18235 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18237 PyObject
* obj0
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18244 if (SWIG_arg_fail(1)) SWIG_fail
;
18245 result
= (bool) ((arg1
)->m_controlDown
);
18248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18256 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18257 PyObject
*resultobj
;
18258 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18260 PyObject
* obj0
= 0 ;
18261 PyObject
* obj1
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self",(char *) "m_shiftDown", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18268 if (SWIG_arg_fail(1)) SWIG_fail
;
18270 arg2
= (bool)(SWIG_As_bool(obj1
));
18271 if (SWIG_arg_fail(2)) SWIG_fail
;
18273 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18275 Py_INCREF(Py_None
); resultobj
= Py_None
;
18282 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail
;
18294 result
= (bool) ((arg1
)->m_shiftDown
);
18297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18305 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 char *kwnames
[] = {
18312 (char *) "self",(char *) "m_altDown", NULL
18315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18317 if (SWIG_arg_fail(1)) SWIG_fail
;
18319 arg2
= (bool)(SWIG_As_bool(obj1
));
18320 if (SWIG_arg_fail(2)) SWIG_fail
;
18322 if (arg1
) (arg1
)->m_altDown
= arg2
;
18324 Py_INCREF(Py_None
); resultobj
= Py_None
;
18331 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18335 PyObject
* obj0
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18342 if (SWIG_arg_fail(1)) SWIG_fail
;
18343 result
= (bool) ((arg1
)->m_altDown
);
18346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18354 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18355 PyObject
*resultobj
;
18356 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "m_metaDown", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18366 if (SWIG_arg_fail(1)) SWIG_fail
;
18368 arg2
= (bool)(SWIG_As_bool(obj1
));
18369 if (SWIG_arg_fail(2)) SWIG_fail
;
18371 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18373 Py_INCREF(Py_None
); resultobj
= Py_None
;
18380 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
;
18382 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18384 PyObject
* obj0
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18391 if (SWIG_arg_fail(1)) SWIG_fail
;
18392 result
= (bool) ((arg1
)->m_metaDown
);
18395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18403 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 PyObject
* obj1
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self",(char *) "m_scanCode", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18415 if (SWIG_arg_fail(1)) SWIG_fail
;
18417 arg2
= (bool)(SWIG_As_bool(obj1
));
18418 if (SWIG_arg_fail(2)) SWIG_fail
;
18420 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18422 Py_INCREF(Py_None
); resultobj
= Py_None
;
18429 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18440 if (SWIG_arg_fail(1)) SWIG_fail
;
18441 result
= (bool) ((arg1
)->m_scanCode
);
18444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18452 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18455 unsigned int arg2
;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "m_rawCode", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18464 if (SWIG_arg_fail(1)) SWIG_fail
;
18466 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18467 if (SWIG_arg_fail(2)) SWIG_fail
;
18469 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18471 Py_INCREF(Py_None
); resultobj
= Py_None
;
18478 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18481 unsigned int result
;
18482 PyObject
* obj0
= 0 ;
18483 char *kwnames
[] = {
18484 (char *) "self", NULL
18487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18489 if (SWIG_arg_fail(1)) SWIG_fail
;
18490 result
= (unsigned int) ((arg1
)->m_rawCode
);
18493 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18501 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18504 unsigned int arg2
;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self",(char *) "m_rawFlags", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18513 if (SWIG_arg_fail(1)) SWIG_fail
;
18515 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18516 if (SWIG_arg_fail(2)) SWIG_fail
;
18518 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18520 Py_INCREF(Py_None
); resultobj
= Py_None
;
18527 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18530 unsigned int result
;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18538 if (SWIG_arg_fail(1)) SWIG_fail
;
18539 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18542 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18550 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18553 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18555 return Py_BuildValue((char *)"");
18557 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18560 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18561 int arg2
= (int) 0 ;
18562 wxSizeEvent
*result
;
18564 PyObject
* obj0
= 0 ;
18565 PyObject
* obj1
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "sz",(char *) "winid", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18574 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18579 arg2
= (int)(SWIG_As_int(obj1
));
18580 if (SWIG_arg_fail(2)) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18597 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18601 PyObject
* obj0
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18608 if (SWIG_arg_fail(1)) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18617 wxSize
* resultptr
;
18618 resultptr
= new wxSize((wxSize
&)(result
));
18619 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18627 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18638 if (SWIG_arg_fail(1)) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18647 wxRect
* resultptr
;
18648 resultptr
= new wxRect((wxRect
&)(result
));
18649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18657 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self",(char *) "rect", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18669 if (SWIG_arg_fail(1)) SWIG_fail
;
18672 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18673 if (SWIG_arg_fail(2)) SWIG_fail
;
18674 if (argp
== NULL
) {
18675 SWIG_null_ref("wxRect");
18677 if (SWIG_arg_fail(2)) SWIG_fail
;
18681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18682 (arg1
)->SetRect(arg2
);
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 Py_INCREF(Py_None
); resultobj
= Py_None
;
18694 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
;
18696 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self",(char *) "size", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18706 if (SWIG_arg_fail(1)) SWIG_fail
;
18709 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18710 if (SWIG_arg_fail(2)) SWIG_fail
;
18711 if (argp
== NULL
) {
18712 SWIG_null_ref("wxSize");
18714 if (SWIG_arg_fail(2)) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 wxSizeEvent_SetSize(arg1
,arg2
);
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 Py_INCREF(Py_None
); resultobj
= Py_None
;
18731 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18734 wxSize
*arg2
= (wxSize
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self",(char *) "m_size", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18743 if (SWIG_arg_fail(1)) SWIG_fail
;
18744 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18745 if (SWIG_arg_fail(2)) SWIG_fail
;
18746 if (arg1
) (arg1
)->m_size
= *arg2
;
18748 Py_INCREF(Py_None
); resultobj
= Py_None
;
18755 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18759 PyObject
* obj0
= 0 ;
18760 char *kwnames
[] = {
18761 (char *) "self", NULL
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18766 if (SWIG_arg_fail(1)) SWIG_fail
;
18767 result
= (wxSize
*)& ((arg1
)->m_size
);
18769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18776 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18779 wxRect
*arg2
= (wxRect
*) 0 ;
18780 PyObject
* obj0
= 0 ;
18781 PyObject
* obj1
= 0 ;
18782 char *kwnames
[] = {
18783 (char *) "self",(char *) "m_rect", NULL
18786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18788 if (SWIG_arg_fail(1)) SWIG_fail
;
18789 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18790 if (SWIG_arg_fail(2)) SWIG_fail
;
18791 if (arg1
) (arg1
)->m_rect
= *arg2
;
18793 Py_INCREF(Py_None
); resultobj
= Py_None
;
18800 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18804 PyObject
* obj0
= 0 ;
18805 char *kwnames
[] = {
18806 (char *) "self", NULL
18809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
18810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18811 if (SWIG_arg_fail(1)) SWIG_fail
;
18812 result
= (wxRect
*)& ((arg1
)->m_rect
);
18814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
18821 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18824 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
18826 return Py_BuildValue((char *)"");
18828 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
18831 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
18832 int arg2
= (int) 0 ;
18833 wxMoveEvent
*result
;
18835 PyObject
* obj0
= 0 ;
18836 PyObject
* obj1
= 0 ;
18837 char *kwnames
[] = {
18838 (char *) "pos",(char *) "winid", NULL
18841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18845 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
18850 arg2
= (int)(SWIG_As_int(obj1
));
18851 if (SWIG_arg_fail(2)) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
18868 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18879 if (SWIG_arg_fail(1)) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18888 wxPoint
* resultptr
;
18889 resultptr
= new wxPoint((wxPoint
&)(result
));
18890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18898 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18902 PyObject
* obj0
= 0 ;
18903 char *kwnames
[] = {
18904 (char *) "self", NULL
18907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18909 if (SWIG_arg_fail(1)) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18918 wxRect
* resultptr
;
18919 resultptr
= new wxRect((wxRect
&)(result
));
18920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18928 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18932 PyObject
* obj0
= 0 ;
18933 PyObject
* obj1
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self",(char *) "rect", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18940 if (SWIG_arg_fail(1)) SWIG_fail
;
18943 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18944 if (SWIG_arg_fail(2)) SWIG_fail
;
18945 if (argp
== NULL
) {
18946 SWIG_null_ref("wxRect");
18948 if (SWIG_arg_fail(2)) SWIG_fail
;
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 (arg1
)->SetRect(arg2
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 Py_INCREF(Py_None
); resultobj
= Py_None
;
18965 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
;
18967 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18969 PyObject
* obj0
= 0 ;
18970 PyObject
* obj1
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self",(char *) "pos", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18977 if (SWIG_arg_fail(1)) SWIG_fail
;
18980 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
18981 if (SWIG_arg_fail(2)) SWIG_fail
;
18982 if (argp
== NULL
) {
18983 SWIG_null_ref("wxPoint");
18985 if (SWIG_arg_fail(2)) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 wxMoveEvent_SetPosition(arg1
,arg2
);
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 Py_INCREF(Py_None
); resultobj
= Py_None
;
19002 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19005 wxPoint
*arg2
= (wxPoint
*) 0 ;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self",(char *) "m_pos", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19014 if (SWIG_arg_fail(1)) SWIG_fail
;
19015 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
19016 if (SWIG_arg_fail(2)) SWIG_fail
;
19017 if (arg1
) (arg1
)->m_pos
= *arg2
;
19019 Py_INCREF(Py_None
); resultobj
= Py_None
;
19026 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19027 PyObject
*resultobj
;
19028 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19030 PyObject
* obj0
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
19036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19037 if (SWIG_arg_fail(1)) SWIG_fail
;
19038 result
= (wxPoint
*)& ((arg1
)->m_pos
);
19040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19047 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19050 wxRect
*arg2
= (wxRect
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 PyObject
* obj1
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "m_rect", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19059 if (SWIG_arg_fail(1)) SWIG_fail
;
19060 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19061 if (SWIG_arg_fail(2)) SWIG_fail
;
19062 if (arg1
) (arg1
)->m_rect
= *arg2
;
19064 Py_INCREF(Py_None
); resultobj
= Py_None
;
19071 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19082 if (SWIG_arg_fail(1)) SWIG_fail
;
19083 result
= (wxRect
*)& ((arg1
)->m_rect
);
19085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19092 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19095 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19097 return Py_BuildValue((char *)"");
19099 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 int arg1
= (int) 0 ;
19102 wxPaintEvent
*result
;
19103 PyObject
* obj0
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "Id", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19111 arg1
= (int)(SWIG_As_int(obj0
));
19112 if (SWIG_arg_fail(1)) SWIG_fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19129 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19132 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19134 return Py_BuildValue((char *)"");
19136 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 int arg1
= (int) 0 ;
19139 wxNcPaintEvent
*result
;
19140 PyObject
* obj0
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "winid", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19148 arg1
= (int)(SWIG_As_int(obj0
));
19149 if (SWIG_arg_fail(1)) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19166 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19169 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19171 return Py_BuildValue((char *)"");
19173 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19174 PyObject
*resultobj
;
19175 int arg1
= (int) 0 ;
19176 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19177 wxEraseEvent
*result
;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "Id",(char *) "dc", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19187 arg1
= (int)(SWIG_As_int(obj0
));
19188 if (SWIG_arg_fail(1)) SWIG_fail
;
19192 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19193 if (SWIG_arg_fail(2)) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19209 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19220 if (SWIG_arg_fail(1)) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19229 resultobj
= wxPyMake_wxObject(result
, 0);
19237 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19240 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19242 return Py_BuildValue((char *)"");
19244 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19247 int arg2
= (int) 0 ;
19248 wxFocusEvent
*result
;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 char *kwnames
[] = {
19252 (char *) "type",(char *) "winid", NULL
19255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19258 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19259 if (SWIG_arg_fail(1)) SWIG_fail
;
19264 arg2
= (int)(SWIG_As_int(obj1
));
19265 if (SWIG_arg_fail(2)) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19282 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19286 PyObject
* obj0
= 0 ;
19287 char *kwnames
[] = {
19288 (char *) "self", NULL
19291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19293 if (SWIG_arg_fail(1)) SWIG_fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= wxPyMake_wxObject(result
, 0);
19310 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19313 wxWindow
*arg2
= (wxWindow
*) 0 ;
19314 PyObject
* obj0
= 0 ;
19315 PyObject
* obj1
= 0 ;
19316 char *kwnames
[] = {
19317 (char *) "self",(char *) "win", NULL
19320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19322 if (SWIG_arg_fail(1)) SWIG_fail
;
19323 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19324 if (SWIG_arg_fail(2)) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 (arg1
)->SetWindow(arg2
);
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 Py_INCREF(Py_None
); resultobj
= Py_None
;
19339 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19342 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19344 return Py_BuildValue((char *)"");
19346 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
;
19348 wxWindow
*arg1
= (wxWindow
*) NULL
;
19349 wxChildFocusEvent
*result
;
19350 PyObject
* obj0
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "win", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19358 if (SWIG_arg_fail(1)) SWIG_fail
;
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19374 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19385 if (SWIG_arg_fail(1)) SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19394 resultobj
= wxPyMake_wxObject(result
, 0);
19402 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19405 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19407 return Py_BuildValue((char *)"");
19409 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19412 bool arg2
= (bool) true ;
19413 int arg3
= (int) 0 ;
19414 wxActivateEvent
*result
;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 PyObject
* obj2
= 0 ;
19418 char *kwnames
[] = {
19419 (char *) "type",(char *) "active",(char *) "Id", NULL
19422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19425 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19426 if (SWIG_arg_fail(1)) SWIG_fail
;
19431 arg2
= (bool)(SWIG_As_bool(obj1
));
19432 if (SWIG_arg_fail(2)) SWIG_fail
;
19437 arg3
= (int)(SWIG_As_int(obj2
));
19438 if (SWIG_arg_fail(3)) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19455 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19466 if (SWIG_arg_fail(1)) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19483 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19486 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19488 return Py_BuildValue((char *)"");
19490 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 int arg1
= (int) 0 ;
19493 wxInitDialogEvent
*result
;
19494 PyObject
* obj0
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "Id", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19502 arg1
= (int)(SWIG_As_int(obj0
));
19503 if (SWIG_arg_fail(1)) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19520 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19523 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19525 return Py_BuildValue((char *)"");
19527 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19528 PyObject
*resultobj
;
19529 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19530 int arg2
= (int) 0 ;
19531 wxMenu
*arg3
= (wxMenu
*) NULL
;
19532 wxMenuEvent
*result
;
19533 PyObject
* obj0
= 0 ;
19534 PyObject
* obj1
= 0 ;
19535 PyObject
* obj2
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "type",(char *) "winid",(char *) "menu", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19543 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19544 if (SWIG_arg_fail(1)) SWIG_fail
;
19549 arg2
= (int)(SWIG_As_int(obj1
));
19550 if (SWIG_arg_fail(2)) SWIG_fail
;
19554 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19555 if (SWIG_arg_fail(3)) SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19571 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19575 PyObject
* obj0
= 0 ;
19576 char *kwnames
[] = {
19577 (char *) "self", NULL
19580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19582 if (SWIG_arg_fail(1)) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_From_int((int)(result
));
19599 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19610 if (SWIG_arg_fail(1)) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19627 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19638 if (SWIG_arg_fail(1)) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= wxPyMake_wxObject(result
, 0);
19655 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19658 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19660 return Py_BuildValue((char *)"");
19662 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19663 PyObject
*resultobj
;
19664 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19665 int arg2
= (int) 0 ;
19666 wxCloseEvent
*result
;
19667 PyObject
* obj0
= 0 ;
19668 PyObject
* obj1
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "type",(char *) "winid", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19676 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19677 if (SWIG_arg_fail(1)) SWIG_fail
;
19682 arg2
= (int)(SWIG_As_int(obj1
));
19683 if (SWIG_arg_fail(2)) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19700 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self",(char *) "logOff", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19712 if (SWIG_arg_fail(1)) SWIG_fail
;
19714 arg2
= (bool)(SWIG_As_bool(obj1
));
19715 if (SWIG_arg_fail(2)) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 (arg1
)->SetLoggingOff(arg2
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19724 Py_INCREF(Py_None
); resultobj
= Py_None
;
19731 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
;
19733 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19735 PyObject
* obj0
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19742 if (SWIG_arg_fail(1)) SWIG_fail
;
19744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19745 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19747 wxPyEndAllowThreads(__tstate
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19759 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19762 bool arg2
= (bool) true ;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self",(char *) "veto", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19771 if (SWIG_arg_fail(1)) SWIG_fail
;
19774 arg2
= (bool)(SWIG_As_bool(obj1
));
19775 if (SWIG_arg_fail(2)) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->Veto(arg2
);
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 Py_INCREF(Py_None
); resultobj
= Py_None
;
19792 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self",(char *) "canVeto", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19804 if (SWIG_arg_fail(1)) SWIG_fail
;
19806 arg2
= (bool)(SWIG_As_bool(obj1
));
19807 if (SWIG_arg_fail(2)) SWIG_fail
;
19810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19811 (arg1
)->SetCanVeto(arg2
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19834 if (SWIG_arg_fail(1)) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19851 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19855 PyObject
* obj0
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19862 if (SWIG_arg_fail(1)) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19879 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19882 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
19884 return Py_BuildValue((char *)"");
19886 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
;
19888 int arg1
= (int) 0 ;
19889 bool arg2
= (bool) false ;
19890 wxShowEvent
*result
;
19891 PyObject
* obj0
= 0 ;
19892 PyObject
* obj1
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "winid",(char *) "show", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19900 arg1
= (int)(SWIG_As_int(obj0
));
19901 if (SWIG_arg_fail(1)) SWIG_fail
;
19906 arg2
= (bool)(SWIG_As_bool(obj1
));
19907 if (SWIG_arg_fail(2)) SWIG_fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
19924 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19928 PyObject
* obj0
= 0 ;
19929 PyObject
* obj1
= 0 ;
19930 char *kwnames
[] = {
19931 (char *) "self",(char *) "show", NULL
19934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
19935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19936 if (SWIG_arg_fail(1)) SWIG_fail
;
19938 arg2
= (bool)(SWIG_As_bool(obj1
));
19939 if (SWIG_arg_fail(2)) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 (arg1
)->SetShow(arg2
);
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 Py_INCREF(Py_None
); resultobj
= Py_None
;
19955 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19956 PyObject
*resultobj
;
19957 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19959 PyObject
* obj0
= 0 ;
19960 char *kwnames
[] = {
19961 (char *) "self", NULL
19964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
19965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19966 if (SWIG_arg_fail(1)) SWIG_fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19983 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
19985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19986 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
19988 return Py_BuildValue((char *)"");
19990 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 int arg1
= (int) 0 ;
19993 bool arg2
= (bool) true ;
19994 wxIconizeEvent
*result
;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "id",(char *) "iconized", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20004 arg1
= (int)(SWIG_As_int(obj0
));
20005 if (SWIG_arg_fail(1)) SWIG_fail
;
20010 arg2
= (bool)(SWIG_As_bool(obj1
));
20011 if (SWIG_arg_fail(2)) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20028 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20032 PyObject
* obj0
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20039 if (SWIG_arg_fail(1)) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (bool)(arg1
)->Iconized();
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20056 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20059 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20061 return Py_BuildValue((char *)"");
20063 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 int arg1
= (int) 0 ;
20066 wxMaximizeEvent
*result
;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "id", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20075 arg1
= (int)(SWIG_As_int(obj0
));
20076 if (SWIG_arg_fail(1)) SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20093 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20096 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20098 return Py_BuildValue((char *)"");
20100 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 char *kwnames
[] = {
20106 (char *) "self", NULL
20109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20111 if (SWIG_arg_fail(1)) SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (arg1
)->GetPosition();
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20120 wxPoint
* resultptr
;
20121 resultptr
= new wxPoint((wxPoint
&)(result
));
20122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20130 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20134 PyObject
* obj0
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self", NULL
20139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20141 if (SWIG_arg_fail(1)) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= (int)(arg1
)->GetNumberOfFiles();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_From_int((int)(result
));
20158 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20159 PyObject
*resultobj
;
20160 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20162 PyObject
* obj0
= 0 ;
20163 char *kwnames
[] = {
20164 (char *) "self", NULL
20167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20169 if (SWIG_arg_fail(1)) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= result
;
20184 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20187 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20189 return Py_BuildValue((char *)"");
20191 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 int arg1
= (int) 0 ;
20194 wxUpdateUIEvent
*result
;
20195 PyObject
* obj0
= 0 ;
20196 char *kwnames
[] = {
20197 (char *) "commandId", NULL
20200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20203 arg1
= (int)(SWIG_As_int(obj0
));
20204 if (SWIG_arg_fail(1)) SWIG_fail
;
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20221 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
;
20223 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20225 PyObject
* obj0
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20232 if (SWIG_arg_fail(1)) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20249 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20250 PyObject
*resultobj
;
20251 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20253 PyObject
* obj0
= 0 ;
20254 char *kwnames
[] = {
20255 (char *) "self", NULL
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20260 if (SWIG_arg_fail(1)) SWIG_fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20277 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20281 PyObject
* obj0
= 0 ;
20282 char *kwnames
[] = {
20283 (char *) "self", NULL
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20288 if (SWIG_arg_fail(1)) SWIG_fail
;
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20300 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20309 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20313 PyObject
* obj0
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20320 if (SWIG_arg_fail(1)) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20337 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
;
20339 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20341 PyObject
* obj0
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20348 if (SWIG_arg_fail(1)) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20365 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20369 PyObject
* obj0
= 0 ;
20370 char *kwnames
[] = {
20371 (char *) "self", NULL
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20376 if (SWIG_arg_fail(1)) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20393 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
;
20395 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self",(char *) "check", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20405 if (SWIG_arg_fail(1)) SWIG_fail
;
20407 arg2
= (bool)(SWIG_As_bool(obj1
));
20408 if (SWIG_arg_fail(2)) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 (arg1
)->Check(arg2
);
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 Py_INCREF(Py_None
); resultobj
= Py_None
;
20424 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
;
20426 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self",(char *) "enable", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20436 if (SWIG_arg_fail(1)) SWIG_fail
;
20438 arg2
= (bool)(SWIG_As_bool(obj1
));
20439 if (SWIG_arg_fail(2)) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 (arg1
)->Enable(arg2
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 Py_INCREF(Py_None
); resultobj
= Py_None
;
20455 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20458 wxString
*arg2
= 0 ;
20459 bool temp2
= false ;
20460 PyObject
* obj0
= 0 ;
20461 PyObject
* obj1
= 0 ;
20462 char *kwnames
[] = {
20463 (char *) "self",(char *) "text", NULL
20466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20468 if (SWIG_arg_fail(1)) SWIG_fail
;
20470 arg2
= wxString_in_helper(obj1
);
20471 if (arg2
== NULL
) SWIG_fail
;
20475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20476 (arg1
)->SetText((wxString
const &)*arg2
);
20478 wxPyEndAllowThreads(__tstate
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 Py_INCREF(Py_None
); resultobj
= Py_None
;
20496 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20499 PyObject
* obj0
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "updateInterval", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20506 arg1
= (long)(SWIG_As_long(obj0
));
20507 if (SWIG_arg_fail(1)) SWIG_fail
;
20510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20511 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20513 wxPyEndAllowThreads(__tstate
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20516 Py_INCREF(Py_None
); resultobj
= Py_None
;
20523 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20526 char *kwnames
[] = {
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_From_long((long)(result
));
20547 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxWindow
*arg1
= (wxWindow
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "win", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20575 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 char *kwnames
[] = {
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 wxUpdateUIEvent::ResetUpdateTime();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 Py_INCREF(Py_None
); resultobj
= Py_None
;
20596 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxUpdateUIMode arg1
;
20599 PyObject
* obj0
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "mode", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20606 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20607 if (SWIG_arg_fail(1)) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20616 Py_INCREF(Py_None
); resultobj
= Py_None
;
20623 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
;
20625 wxUpdateUIMode result
;
20626 char *kwnames
[] = {
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20638 resultobj
= SWIG_From_int((result
));
20645 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20648 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20650 return Py_BuildValue((char *)"");
20652 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 wxSysColourChangedEvent
*result
;
20655 char *kwnames
[] = {
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20662 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20664 wxPyEndAllowThreads(__tstate
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20674 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20677 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20679 return Py_BuildValue((char *)"");
20681 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 int arg1
= (int) 0 ;
20684 wxWindow
*arg2
= (wxWindow
*) NULL
;
20685 wxMouseCaptureChangedEvent
*result
;
20686 PyObject
* obj0
= 0 ;
20687 PyObject
* obj1
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "winid",(char *) "gainedCapture", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20695 arg1
= (int)(SWIG_As_int(obj0
));
20696 if (SWIG_arg_fail(1)) SWIG_fail
;
20700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20701 if (SWIG_arg_fail(2)) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20717 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20721 PyObject
* obj0
= 0 ;
20722 char *kwnames
[] = {
20723 (char *) "self", NULL
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20728 if (SWIG_arg_fail(1)) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= wxPyMake_wxObject(result
, 0);
20745 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20748 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20750 return Py_BuildValue((char *)"");
20752 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20754 wxDisplayChangedEvent
*result
;
20755 char *kwnames
[] = {
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20774 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20777 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20779 return Py_BuildValue((char *)"");
20781 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 int arg1
= (int) 0 ;
20784 wxPaletteChangedEvent
*result
;
20785 PyObject
* obj0
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "id", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20793 arg1
= (int)(SWIG_As_int(obj0
));
20794 if (SWIG_arg_fail(1)) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20801 wxPyEndAllowThreads(__tstate
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20811 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20812 PyObject
*resultobj
;
20813 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20814 wxWindow
*arg2
= (wxWindow
*) 0 ;
20815 PyObject
* obj0
= 0 ;
20816 PyObject
* obj1
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self",(char *) "win", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20823 if (SWIG_arg_fail(1)) SWIG_fail
;
20824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20825 if (SWIG_arg_fail(2)) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 (arg1
)->SetChangedWindow(arg2
);
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20833 Py_INCREF(Py_None
); resultobj
= Py_None
;
20840 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20851 if (SWIG_arg_fail(1)) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= wxPyMake_wxObject(result
, 0);
20868 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20871 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20873 return Py_BuildValue((char *)"");
20875 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 int arg1
= (int) 0 ;
20878 wxQueryNewPaletteEvent
*result
;
20879 PyObject
* obj0
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "winid", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
20887 arg1
= (int)(SWIG_As_int(obj0
));
20888 if (SWIG_arg_fail(1)) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
20905 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 PyObject
* obj1
= 0 ;
20911 char *kwnames
[] = {
20912 (char *) "self",(char *) "realized", NULL
20915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
20916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20917 if (SWIG_arg_fail(1)) SWIG_fail
;
20919 arg2
= (bool)(SWIG_As_bool(obj1
));
20920 if (SWIG_arg_fail(2)) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 (arg1
)->SetPaletteRealized(arg2
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 Py_INCREF(Py_None
); resultobj
= Py_None
;
20936 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20940 PyObject
* obj0
= 0 ;
20941 char *kwnames
[] = {
20942 (char *) "self", NULL
20945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
20946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20947 if (SWIG_arg_fail(1)) SWIG_fail
;
20949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20950 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20964 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
20966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20967 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
20969 return Py_BuildValue((char *)"");
20971 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20972 PyObject
*resultobj
;
20973 wxNavigationKeyEvent
*result
;
20974 char *kwnames
[] = {
20978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20981 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
20983 wxPyEndAllowThreads(__tstate
);
20984 if (PyErr_Occurred()) SWIG_fail
;
20986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
20993 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
;
20995 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20997 PyObject
* obj0
= 0 ;
20998 char *kwnames
[] = {
20999 (char *) "self", NULL
21002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21004 if (SWIG_arg_fail(1)) SWIG_fail
;
21006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21007 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21009 wxPyEndAllowThreads(__tstate
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21021 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21022 PyObject
*resultobj
;
21023 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self",(char *) "forward", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21033 if (SWIG_arg_fail(1)) SWIG_fail
;
21035 arg2
= (bool)(SWIG_As_bool(obj1
));
21036 if (SWIG_arg_fail(2)) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 (arg1
)->SetDirection(arg2
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 Py_INCREF(Py_None
); resultobj
= Py_None
;
21052 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 char *kwnames
[] = {
21058 (char *) "self", NULL
21061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21063 if (SWIG_arg_fail(1)) SWIG_fail
;
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21080 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21082 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self",(char *) "ischange", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21092 if (SWIG_arg_fail(1)) SWIG_fail
;
21094 arg2
= (bool)(SWIG_As_bool(obj1
));
21095 if (SWIG_arg_fail(2)) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 (arg1
)->SetWindowChange(arg2
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 Py_INCREF(Py_None
); resultobj
= Py_None
;
21111 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 char *kwnames
[] = {
21118 (char *) "self",(char *) "flags", NULL
21121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21123 if (SWIG_arg_fail(1)) SWIG_fail
;
21125 arg2
= (long)(SWIG_As_long(obj1
));
21126 if (SWIG_arg_fail(2)) SWIG_fail
;
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 (arg1
)->SetFlags(arg2
);
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 Py_INCREF(Py_None
); resultobj
= Py_None
;
21142 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21146 PyObject
* obj0
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "self", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21153 if (SWIG_arg_fail(1)) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= wxPyMake_wxObject(result
, 0);
21170 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21173 wxWindow
*arg2
= (wxWindow
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "self",(char *) "win", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21182 if (SWIG_arg_fail(1)) SWIG_fail
;
21183 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21184 if (SWIG_arg_fail(2)) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 (arg1
)->SetCurrentFocus(arg2
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 Py_INCREF(Py_None
); resultobj
= Py_None
;
21199 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21202 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21204 return Py_BuildValue((char *)"");
21206 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxWindow
*arg1
= (wxWindow
*) NULL
;
21209 wxWindowCreateEvent
*result
;
21210 PyObject
* obj0
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "win", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21218 if (SWIG_arg_fail(1)) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21234 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21245 if (SWIG_arg_fail(1)) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= wxPyMake_wxObject(result
, 0);
21262 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21265 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21267 return Py_BuildValue((char *)"");
21269 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxWindow
*arg1
= (wxWindow
*) NULL
;
21272 wxWindowDestroyEvent
*result
;
21273 PyObject
* obj0
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "win", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21281 if (SWIG_arg_fail(1)) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21297 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21299 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 char *kwnames
[] = {
21303 (char *) "self", NULL
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21308 if (SWIG_arg_fail(1)) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= wxPyMake_wxObject(result
, 0);
21325 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21328 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21330 return Py_BuildValue((char *)"");
21332 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21334 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21335 int arg2
= (int) 0 ;
21336 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21337 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21338 wxContextMenuEvent
*result
;
21340 PyObject
* obj0
= 0 ;
21341 PyObject
* obj1
= 0 ;
21342 PyObject
* obj2
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "type",(char *) "winid",(char *) "pt", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21350 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21351 if (SWIG_arg_fail(1)) SWIG_fail
;
21356 arg2
= (int)(SWIG_As_int(obj1
));
21357 if (SWIG_arg_fail(2)) SWIG_fail
;
21363 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21380 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
;
21382 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21384 PyObject
* obj0
= 0 ;
21385 char *kwnames
[] = {
21386 (char *) "self", NULL
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21391 if (SWIG_arg_fail(1)) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21395 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21396 result
= (wxPoint
*) &_result_ref
;
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21409 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21412 wxPoint
*arg2
= 0 ;
21414 PyObject
* obj0
= 0 ;
21415 PyObject
* obj1
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self",(char *) "pos", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21422 if (SWIG_arg_fail(1)) SWIG_fail
;
21425 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21434 Py_INCREF(Py_None
); resultobj
= Py_None
;
21441 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21444 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21446 return Py_BuildValue((char *)"");
21448 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxIdleEvent
*result
;
21451 char *kwnames
[] = {
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (wxIdleEvent
*)new wxIdleEvent();
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21470 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21473 bool arg2
= (bool) true ;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "self",(char *) "needMore", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21482 if (SWIG_arg_fail(1)) SWIG_fail
;
21485 arg2
= (bool)(SWIG_As_bool(obj1
));
21486 if (SWIG_arg_fail(2)) SWIG_fail
;
21490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21491 (arg1
)->RequestMore(arg2
);
21493 wxPyEndAllowThreads(__tstate
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21496 Py_INCREF(Py_None
); resultobj
= Py_None
;
21503 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21504 PyObject
*resultobj
;
21505 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21507 PyObject
* obj0
= 0 ;
21508 char *kwnames
[] = {
21509 (char *) "self", NULL
21512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21514 if (SWIG_arg_fail(1)) SWIG_fail
;
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21519 wxPyEndAllowThreads(__tstate
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21531 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21534 PyObject
* obj0
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "mode", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21541 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21542 if (SWIG_arg_fail(1)) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 Py_INCREF(Py_None
); resultobj
= Py_None
;
21558 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21561 char *kwnames
[] = {
21565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_From_int((result
));
21580 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxWindow
*arg1
= (wxWindow
*) 0 ;
21584 PyObject
* obj0
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "win", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21591 if (SWIG_arg_fail(1)) SWIG_fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (bool)wxIdleEvent::CanSend(arg1
);
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21608 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21611 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21613 return Py_BuildValue((char *)"");
21615 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 int arg1
= (int) 0 ;
21618 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21620 PyObject
* obj0
= 0 ;
21621 PyObject
* obj1
= 0 ;
21622 char *kwnames
[] = {
21623 (char *) "winid",(char *) "commandType", NULL
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21629 arg1
= (int)(SWIG_As_int(obj0
));
21630 if (SWIG_arg_fail(1)) SWIG_fail
;
21635 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21636 if (SWIG_arg_fail(2)) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21653 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21656 PyObject
* obj0
= 0 ;
21657 char *kwnames
[] = {
21658 (char *) "self", NULL
21661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21663 if (SWIG_arg_fail(1)) SWIG_fail
;
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 wxPyEndAllowThreads(__tstate
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21671 Py_INCREF(Py_None
); resultobj
= Py_None
;
21678 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21679 PyObject
*resultobj
;
21680 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21681 PyObject
*arg2
= (PyObject
*) 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self",(char *) "self", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21690 if (SWIG_arg_fail(1)) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 (arg1
)->SetSelf(arg2
);
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 Py_INCREF(Py_None
); resultobj
= Py_None
;
21706 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
;
21708 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 char *kwnames
[] = {
21712 (char *) "self", NULL
21715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21717 if (SWIG_arg_fail(1)) SWIG_fail
;
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 result
= (PyObject
*)(arg1
)->GetSelf();
21722 wxPyEndAllowThreads(__tstate
);
21723 if (PyErr_Occurred()) SWIG_fail
;
21725 resultobj
= result
;
21732 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21735 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21737 return Py_BuildValue((char *)"");
21739 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21742 int arg2
= (int) 0 ;
21743 wxPyCommandEvent
*result
;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "commandType",(char *) "id", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21753 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21754 if (SWIG_arg_fail(1)) SWIG_fail
;
21759 arg2
= (int)(SWIG_As_int(obj1
));
21760 if (SWIG_arg_fail(2)) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21777 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21780 PyObject
* obj0
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21787 if (SWIG_arg_fail(1)) SWIG_fail
;
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 Py_INCREF(Py_None
); resultobj
= Py_None
;
21802 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21805 PyObject
*arg2
= (PyObject
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 PyObject
* obj1
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self",(char *) "self", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21814 if (SWIG_arg_fail(1)) SWIG_fail
;
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 (arg1
)->SetSelf(arg2
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21823 Py_INCREF(Py_None
); resultobj
= Py_None
;
21830 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21834 PyObject
* obj0
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21841 if (SWIG_arg_fail(1)) SWIG_fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (PyObject
*)(arg1
)->GetSelf();
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21849 resultobj
= result
;
21856 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
21858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21859 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
21861 return Py_BuildValue((char *)"");
21863 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21866 char *kwnames
[] = {
21870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= (wxPyApp
*)new_wxPyApp();
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
21885 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21888 PyObject
* obj0
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "self", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
21894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21895 if (SWIG_arg_fail(1)) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 Py_INCREF(Py_None
); resultobj
= Py_None
;
21910 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21913 PyObject
*arg2
= (PyObject
*) 0 ;
21914 PyObject
*arg3
= (PyObject
*) 0 ;
21915 PyObject
* obj0
= 0 ;
21916 PyObject
* obj1
= 0 ;
21917 PyObject
* obj2
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "self",(char *) "self",(char *) "_class", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21924 if (SWIG_arg_fail(1)) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 Py_INCREF(Py_None
); resultobj
= Py_None
;
21941 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 char *kwnames
[] = {
21947 (char *) "self", NULL
21950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
21951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21952 if (SWIG_arg_fail(1)) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= ((wxPyApp
const *)arg1
)->GetAppName();
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21973 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21976 wxString
*arg2
= 0 ;
21977 bool temp2
= false ;
21978 PyObject
* obj0
= 0 ;
21979 PyObject
* obj1
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self",(char *) "name", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
21985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21986 if (SWIG_arg_fail(1)) SWIG_fail
;
21988 arg2
= wxString_in_helper(obj1
);
21989 if (arg2
== NULL
) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 (arg1
)->SetAppName((wxString
const &)*arg2
);
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 Py_INCREF(Py_None
); resultobj
= Py_None
;
22014 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22015 PyObject
*resultobj
;
22016 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22037 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22046 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
;
22048 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22049 wxString
*arg2
= 0 ;
22050 bool temp2
= false ;
22051 PyObject
* obj0
= 0 ;
22052 PyObject
* obj1
= 0 ;
22053 char *kwnames
[] = {
22054 (char *) "self",(char *) "name", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22059 if (SWIG_arg_fail(1)) SWIG_fail
;
22061 arg2
= wxString_in_helper(obj1
);
22062 if (arg2
== NULL
) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 (arg1
)->SetClassName((wxString
const &)*arg2
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 Py_INCREF(Py_None
); resultobj
= Py_None
;
22087 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22091 PyObject
* obj0
= 0 ;
22092 char *kwnames
[] = {
22093 (char *) "self", NULL
22096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22098 if (SWIG_arg_fail(1)) SWIG_fail
;
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22102 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22103 result
= (wxString
*) &_result_ref
;
22106 wxPyEndAllowThreads(__tstate
);
22107 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22122 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
;
22124 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22125 wxString
*arg2
= 0 ;
22126 bool temp2
= false ;
22127 PyObject
* obj0
= 0 ;
22128 PyObject
* obj1
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self",(char *) "name", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22135 if (SWIG_arg_fail(1)) SWIG_fail
;
22137 arg2
= wxString_in_helper(obj1
);
22138 if (arg2
== NULL
) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 Py_INCREF(Py_None
); resultobj
= Py_None
;
22163 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22164 PyObject
*resultobj
;
22165 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22166 wxAppTraits
*result
;
22167 PyObject
* obj0
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22174 if (SWIG_arg_fail(1)) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22189 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22191 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 char *kwnames
[] = {
22194 (char *) "self", NULL
22197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22199 if (SWIG_arg_fail(1)) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 (arg1
)->ProcessPendingEvents();
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 Py_INCREF(Py_None
); resultobj
= Py_None
;
22214 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22217 bool arg2
= (bool) false ;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "self",(char *) "onlyIfNeeded", NULL
22225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22227 if (SWIG_arg_fail(1)) SWIG_fail
;
22230 arg2
= (bool)(SWIG_As_bool(obj1
));
22231 if (SWIG_arg_fail(2)) SWIG_fail
;
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 result
= (bool)(arg1
)->Yield(arg2
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22250 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22251 PyObject
*resultobj
;
22252 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22253 PyObject
* obj0
= 0 ;
22254 char *kwnames
[] = {
22255 (char *) "self", NULL
22258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22260 if (SWIG_arg_fail(1)) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 (arg1
)->WakeUpIdle();
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 Py_INCREF(Py_None
); resultobj
= Py_None
;
22275 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22278 char *kwnames
[] = {
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22285 result
= (bool)wxPyApp::IsMainLoopRunning();
22287 wxPyEndAllowThreads(__tstate
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22299 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22310 if (SWIG_arg_fail(1)) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (int)(arg1
)->MainLoop();
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= SWIG_From_int((int)(result
));
22327 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22337 if (SWIG_arg_fail(1)) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 Py_INCREF(Py_None
); resultobj
= Py_None
;
22352 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22355 PyObject
* obj0
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22362 if (SWIG_arg_fail(1)) SWIG_fail
;
22364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22365 (arg1
)->ExitMainLoop();
22367 wxPyEndAllowThreads(__tstate
);
22368 if (PyErr_Occurred()) SWIG_fail
;
22370 Py_INCREF(Py_None
); resultobj
= Py_None
;
22377 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22378 PyObject
*resultobj
;
22379 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22381 PyObject
* obj0
= 0 ;
22382 char *kwnames
[] = {
22383 (char *) "self", NULL
22386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22388 if (SWIG_arg_fail(1)) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= (bool)(arg1
)->Pending();
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22405 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22416 if (SWIG_arg_fail(1)) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (bool)(arg1
)->Dispatch();
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22433 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22434 PyObject
*resultobj
;
22435 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22437 PyObject
* obj0
= 0 ;
22438 char *kwnames
[] = {
22439 (char *) "self", NULL
22442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22444 if (SWIG_arg_fail(1)) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (bool)(arg1
)->ProcessIdle();
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22461 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22464 wxWindow
*arg2
= (wxWindow
*) 0 ;
22465 wxIdleEvent
*arg3
= 0 ;
22467 PyObject
* obj0
= 0 ;
22468 PyObject
* obj1
= 0 ;
22469 PyObject
* obj2
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "win",(char *) "event", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(1)) SWIG_fail
;
22477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22478 if (SWIG_arg_fail(2)) SWIG_fail
;
22480 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22481 if (SWIG_arg_fail(3)) SWIG_fail
;
22482 if (arg3
== NULL
) {
22483 SWIG_null_ref("wxIdleEvent");
22485 if (SWIG_arg_fail(3)) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22503 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22507 PyObject
* obj0
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22531 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22534 wxWindow
*arg2
= (wxWindow
*) 0 ;
22535 PyObject
* obj0
= 0 ;
22536 PyObject
* obj1
= 0 ;
22537 char *kwnames
[] = {
22538 (char *) "self",(char *) "win", NULL
22541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22543 if (SWIG_arg_fail(1)) SWIG_fail
;
22544 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22545 if (SWIG_arg_fail(2)) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 (arg1
)->SetTopWindow(arg2
);
22550 wxPyEndAllowThreads(__tstate
);
22551 if (PyErr_Occurred()) SWIG_fail
;
22553 Py_INCREF(Py_None
); resultobj
= Py_None
;
22560 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22561 PyObject
*resultobj
;
22562 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22564 PyObject
* obj0
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22571 if (SWIG_arg_fail(1)) SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= wxPyMake_wxObject(result
, 0);
22588 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
;
22590 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22592 PyObject
* obj0
= 0 ;
22593 PyObject
* obj1
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "flag", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22600 if (SWIG_arg_fail(1)) SWIG_fail
;
22602 arg2
= (bool)(SWIG_As_bool(obj1
));
22603 if (SWIG_arg_fail(2)) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 (arg1
)->SetExitOnFrameDelete(arg2
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 Py_INCREF(Py_None
); resultobj
= Py_None
;
22619 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22623 PyObject
* obj0
= 0 ;
22624 char *kwnames
[] = {
22625 (char *) "self", NULL
22628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22630 if (SWIG_arg_fail(1)) SWIG_fail
;
22632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22633 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22647 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
;
22649 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22651 PyObject
* obj0
= 0 ;
22652 PyObject
* obj1
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self",(char *) "flag", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22659 if (SWIG_arg_fail(1)) SWIG_fail
;
22661 arg2
= (bool)(SWIG_As_bool(obj1
));
22662 if (SWIG_arg_fail(2)) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 (arg1
)->SetUseBestVisual(arg2
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 Py_INCREF(Py_None
); resultobj
= Py_None
;
22678 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22682 PyObject
* obj0
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22689 if (SWIG_arg_fail(1)) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22706 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22708 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 PyObject
* obj1
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self",(char *) "mode", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22718 if (SWIG_arg_fail(1)) SWIG_fail
;
22720 arg2
= (int)(SWIG_As_int(obj1
));
22721 if (SWIG_arg_fail(2)) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 (arg1
)->SetPrintMode(arg2
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 Py_INCREF(Py_None
); resultobj
= Py_None
;
22737 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22741 PyObject
* obj0
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
22747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22748 if (SWIG_arg_fail(1)) SWIG_fail
;
22750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22751 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= SWIG_From_int((int)(result
));
22765 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22767 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22769 PyObject
* obj0
= 0 ;
22770 PyObject
* obj1
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self",(char *) "mode", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22777 if (SWIG_arg_fail(1)) SWIG_fail
;
22779 arg2
= (int)(SWIG_As_int(obj1
));
22780 if (SWIG_arg_fail(2)) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 (arg1
)->SetAssertMode(arg2
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22789 Py_INCREF(Py_None
); resultobj
= Py_None
;
22796 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22797 PyObject
*resultobj
;
22798 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22800 PyObject
* obj0
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "self", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
22806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22807 if (SWIG_arg_fail(1)) SWIG_fail
;
22809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22810 result
= (int)(arg1
)->GetAssertMode();
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22816 resultobj
= SWIG_From_int((int)(result
));
22824 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22827 char *kwnames
[] = {
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22848 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22851 char *kwnames
[] = {
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 result
= (long)wxPyApp::GetMacAboutMenuItemId();
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= SWIG_From_long((long)(result
));
22872 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22875 char *kwnames
[] = {
22879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_From_long((long)(result
));
22896 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22899 char *kwnames
[] = {
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22906 result
= (long)wxPyApp::GetMacExitMenuItemId();
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22912 resultobj
= SWIG_From_long((long)(result
));
22920 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22923 char *kwnames
[] = {
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= wxPyApp::GetMacHelpMenuTitleName();
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22948 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22951 PyObject
* obj0
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "val", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
22958 arg1
= (bool)(SWIG_As_bool(obj0
));
22959 if (SWIG_arg_fail(1)) SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 Py_INCREF(Py_None
); resultobj
= Py_None
;
22975 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22978 PyObject
* obj0
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "val", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
22985 arg1
= (long)(SWIG_As_long(obj0
));
22986 if (SWIG_arg_fail(1)) SWIG_fail
;
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 wxPyApp::SetMacAboutMenuItemId(arg1
);
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 Py_INCREF(Py_None
); resultobj
= Py_None
;
23002 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23005 PyObject
* obj0
= 0 ;
23006 char *kwnames
[] = {
23007 (char *) "val", NULL
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23012 arg1
= (long)(SWIG_As_long(obj0
));
23013 if (SWIG_arg_fail(1)) SWIG_fail
;
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 Py_INCREF(Py_None
); resultobj
= Py_None
;
23029 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23032 PyObject
* obj0
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "val", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23039 arg1
= (long)(SWIG_As_long(obj0
));
23040 if (SWIG_arg_fail(1)) SWIG_fail
;
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 wxPyApp::SetMacExitMenuItemId(arg1
);
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 Py_INCREF(Py_None
); resultobj
= Py_None
;
23056 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
;
23058 wxString
*arg1
= 0 ;
23059 bool temp1
= false ;
23060 PyObject
* obj0
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "val", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23067 arg1
= wxString_in_helper(obj0
);
23068 if (arg1
== NULL
) SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 Py_INCREF(Py_None
); resultobj
= Py_None
;
23093 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail
;
23105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23106 (arg1
)->_BootstrapApp();
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 Py_INCREF(Py_None
); resultobj
= Py_None
;
23118 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23121 char *kwnames
[] = {
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 result
= (int)wxPyApp::GetComCtl32Version();
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= SWIG_From_int((int)(result
));
23142 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23145 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23147 return Py_BuildValue((char *)"");
23149 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23150 PyObject
*resultobj
;
23151 char *kwnames
[] = {
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 Py_INCREF(Py_None
); resultobj
= Py_None
;
23170 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
;
23173 char *kwnames
[] = {
23177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (bool)wxYield();
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23194 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23197 char *kwnames
[] = {
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= (bool)wxYieldIfNeeded();
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23218 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxWindow
*arg1
= (wxWindow
*) NULL
;
23221 bool arg2
= (bool) false ;
23223 PyObject
* obj0
= 0 ;
23224 PyObject
* obj1
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "win",(char *) "onlyIfNeeded", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23232 if (SWIG_arg_fail(1)) SWIG_fail
;
23236 arg2
= (bool)(SWIG_As_bool(obj1
));
23237 if (SWIG_arg_fail(2)) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= (bool)wxSafeYield(arg1
,arg2
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23256 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 char *kwnames
[] = {
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 Py_INCREF(Py_None
); resultobj
= Py_None
;
23277 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
;
23279 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23280 wxEvent
*arg2
= 0 ;
23281 PyObject
* obj0
= 0 ;
23282 PyObject
* obj1
= 0 ;
23283 char *kwnames
[] = {
23284 (char *) "dest",(char *) "event", NULL
23287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23289 if (SWIG_arg_fail(1)) SWIG_fail
;
23291 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23292 if (SWIG_arg_fail(2)) SWIG_fail
;
23293 if (arg2
== NULL
) {
23294 SWIG_null_ref("wxEvent");
23296 if (SWIG_arg_fail(2)) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 wxPostEvent(arg1
,*arg2
);
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 Py_INCREF(Py_None
); resultobj
= Py_None
;
23312 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23314 char *kwnames
[] = {
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 Py_INCREF(Py_None
); resultobj
= Py_None
;
23333 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23334 PyObject
*resultobj
;
23336 char *kwnames
[] = {
23340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (wxPyApp
*)wxPyGetApp();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= wxPyMake_wxObject(result
, 0);
23357 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 char *arg1
= (char *) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "encoding", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23366 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23367 SWIG_arg_fail(1);SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 wxSetDefaultPyEncoding((char const *)arg1
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 Py_INCREF(Py_None
); resultobj
= Py_None
;
23383 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23386 char *kwnames
[] = {
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 result
= (char *)wxGetDefaultPyEncoding();
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= SWIG_FromCharPtr(result
);
23405 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxEventLoop
*result
;
23408 char *kwnames
[] = {
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (wxEventLoop
*)new wxEventLoop();
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23427 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
;
23429 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23430 PyObject
* obj0
= 0 ;
23431 char *kwnames
[] = {
23432 (char *) "self", NULL
23435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23437 if (SWIG_arg_fail(1)) SWIG_fail
;
23439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 Py_INCREF(Py_None
); resultobj
= Py_None
;
23452 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23453 PyObject
*resultobj
;
23454 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23456 PyObject
* obj0
= 0 ;
23457 char *kwnames
[] = {
23458 (char *) "self", NULL
23461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23463 if (SWIG_arg_fail(1)) SWIG_fail
;
23465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 result
= (int)(arg1
)->Run();
23468 wxPyEndAllowThreads(__tstate
);
23469 if (PyErr_Occurred()) SWIG_fail
;
23472 resultobj
= SWIG_From_int((int)(result
));
23480 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23483 int arg2
= (int) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "rc", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23492 if (SWIG_arg_fail(1)) SWIG_fail
;
23495 arg2
= (int)(SWIG_As_int(obj1
));
23496 if (SWIG_arg_fail(2)) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 (arg1
)->Exit(arg2
);
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23506 Py_INCREF(Py_None
); resultobj
= Py_None
;
23513 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
;
23515 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23517 PyObject
* obj0
= 0 ;
23518 char *kwnames
[] = {
23519 (char *) "self", NULL
23522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23524 if (SWIG_arg_fail(1)) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23541 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
;
23543 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23545 PyObject
* obj0
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23552 if (SWIG_arg_fail(1)) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= (bool)(arg1
)->Dispatch();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23569 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23570 PyObject
*resultobj
;
23571 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23573 PyObject
* obj0
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self", NULL
23578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23580 if (SWIG_arg_fail(1)) SWIG_fail
;
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23597 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
;
23599 wxEventLoop
*result
;
23600 char *kwnames
[] = {
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23619 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23621 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23622 PyObject
* obj0
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "loop", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23629 if (SWIG_arg_fail(1)) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 wxEventLoop::SetActive(arg1
);
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 Py_INCREF(Py_None
); resultobj
= Py_None
;
23644 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23647 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23649 return Py_BuildValue((char *)"");
23651 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 int arg1
= (int) 0 ;
23654 int arg2
= (int) 0 ;
23655 int arg3
= (int) 0 ;
23656 wxAcceleratorEntry
*result
;
23657 PyObject
* obj0
= 0 ;
23658 PyObject
* obj1
= 0 ;
23659 PyObject
* obj2
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23667 arg1
= (int)(SWIG_As_int(obj0
));
23668 if (SWIG_arg_fail(1)) SWIG_fail
;
23673 arg2
= (int)(SWIG_As_int(obj1
));
23674 if (SWIG_arg_fail(2)) SWIG_fail
;
23679 arg3
= (int)(SWIG_As_int(obj2
));
23680 if (SWIG_arg_fail(3)) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23697 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
;
23699 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23700 PyObject
* obj0
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self", NULL
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23707 if (SWIG_arg_fail(1)) SWIG_fail
;
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 Py_INCREF(Py_None
); resultobj
= Py_None
;
23722 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23728 PyObject
* obj0
= 0 ;
23729 PyObject
* obj1
= 0 ;
23730 PyObject
* obj2
= 0 ;
23731 PyObject
* obj3
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23738 if (SWIG_arg_fail(1)) SWIG_fail
;
23740 arg2
= (int)(SWIG_As_int(obj1
));
23741 if (SWIG_arg_fail(2)) SWIG_fail
;
23744 arg3
= (int)(SWIG_As_int(obj2
));
23745 if (SWIG_arg_fail(3)) SWIG_fail
;
23748 arg4
= (int)(SWIG_As_int(obj3
));
23749 if (SWIG_arg_fail(4)) SWIG_fail
;
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 (arg1
)->Set(arg2
,arg3
,arg4
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 Py_INCREF(Py_None
); resultobj
= Py_None
;
23765 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
;
23767 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23769 PyObject
* obj0
= 0 ;
23770 char *kwnames
[] = {
23771 (char *) "self", NULL
23774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
23775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23776 if (SWIG_arg_fail(1)) SWIG_fail
;
23778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23779 result
= (int)(arg1
)->GetFlags();
23781 wxPyEndAllowThreads(__tstate
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= SWIG_From_int((int)(result
));
23793 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23804 if (SWIG_arg_fail(1)) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 result
= (int)(arg1
)->GetKeyCode();
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23813 resultobj
= SWIG_From_int((int)(result
));
23821 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
23831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23832 if (SWIG_arg_fail(1)) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (int)(arg1
)->GetCommand();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= SWIG_From_int((int)(result
));
23849 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
23851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23852 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
23854 return Py_BuildValue((char *)"");
23856 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23859 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
23860 wxAcceleratorTable
*result
;
23861 PyObject
* obj0
= 0 ;
23862 char *kwnames
[] = {
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23868 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
23869 if (arg2
) arg1
= PyList_Size(obj0
);
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
23892 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23895 PyObject
* obj0
= 0 ;
23896 char *kwnames
[] = {
23897 (char *) "self", NULL
23900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23902 if (SWIG_arg_fail(1)) SWIG_fail
;
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23910 Py_INCREF(Py_None
); resultobj
= Py_None
;
23917 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23918 PyObject
*resultobj
;
23919 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23921 PyObject
* obj0
= 0 ;
23922 char *kwnames
[] = {
23923 (char *) "self", NULL
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
23927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23928 if (SWIG_arg_fail(1)) SWIG_fail
;
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23945 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
23947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23948 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
23950 return Py_BuildValue((char *)"");
23952 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
23953 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
23958 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
23961 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
23966 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
;
23968 wxString
*arg1
= 0 ;
23969 wxAcceleratorEntry
*result
;
23970 bool temp1
= false ;
23971 PyObject
* obj0
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "label", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
23978 arg1
= wxString_in_helper(obj0
);
23979 if (arg1
== NULL
) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24004 static int _wrap_PanelNameStr_set(PyObject
*) {
24005 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24010 static PyObject
*_wrap_PanelNameStr_get(void) {
24015 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24017 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24024 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxVisualAttributes
*result
;
24027 char *kwnames
[] = {
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24046 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24049 PyObject
* obj0
= 0 ;
24050 char *kwnames
[] = {
24051 (char *) "self", NULL
24054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24056 if (SWIG_arg_fail(1)) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 delete_wxVisualAttributes(arg1
);
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 Py_INCREF(Py_None
); resultobj
= Py_None
;
24071 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24074 wxFont
*arg2
= (wxFont
*) 0 ;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self",(char *) "font", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24083 if (SWIG_arg_fail(1)) SWIG_fail
;
24084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24085 if (SWIG_arg_fail(2)) SWIG_fail
;
24086 if (arg1
) (arg1
)->font
= *arg2
;
24088 Py_INCREF(Py_None
); resultobj
= Py_None
;
24095 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24099 PyObject
* obj0
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24106 if (SWIG_arg_fail(1)) SWIG_fail
;
24107 result
= (wxFont
*)& ((arg1
)->font
);
24109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24116 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24119 wxColour
*arg2
= (wxColour
*) 0 ;
24120 PyObject
* obj0
= 0 ;
24121 PyObject
* obj1
= 0 ;
24122 char *kwnames
[] = {
24123 (char *) "self",(char *) "colFg", NULL
24126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24128 if (SWIG_arg_fail(1)) SWIG_fail
;
24129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24130 if (SWIG_arg_fail(2)) SWIG_fail
;
24131 if (arg1
) (arg1
)->colFg
= *arg2
;
24133 Py_INCREF(Py_None
); resultobj
= Py_None
;
24140 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24141 PyObject
*resultobj
;
24142 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24144 PyObject
* obj0
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail
;
24152 result
= (wxColour
*)& ((arg1
)->colFg
);
24154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24161 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24164 wxColour
*arg2
= (wxColour
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 PyObject
* obj1
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "colBg", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24173 if (SWIG_arg_fail(1)) SWIG_fail
;
24174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24175 if (SWIG_arg_fail(2)) SWIG_fail
;
24176 if (arg1
) (arg1
)->colBg
= *arg2
;
24178 Py_INCREF(Py_None
); resultobj
= Py_None
;
24185 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
;
24187 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24189 PyObject
* obj0
= 0 ;
24190 char *kwnames
[] = {
24191 (char *) "self", NULL
24194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24196 if (SWIG_arg_fail(1)) SWIG_fail
;
24197 result
= (wxColour
*)& ((arg1
)->colBg
);
24199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24206 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24209 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24211 return Py_BuildValue((char *)"");
24213 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 wxWindow
*arg1
= (wxWindow
*) 0 ;
24216 int arg2
= (int) (int)-1 ;
24217 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24218 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24219 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24220 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24221 long arg5
= (long) 0 ;
24222 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24223 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24227 bool temp6
= false ;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 PyObject
* obj2
= 0 ;
24231 PyObject
* obj3
= 0 ;
24232 PyObject
* obj4
= 0 ;
24233 PyObject
* obj5
= 0 ;
24234 char *kwnames
[] = {
24235 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24240 if (SWIG_arg_fail(1)) SWIG_fail
;
24243 arg2
= (int const)(SWIG_As_int(obj1
));
24244 if (SWIG_arg_fail(2)) SWIG_fail
;
24250 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24256 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24261 arg5
= (long)(SWIG_As_long(obj4
));
24262 if (SWIG_arg_fail(5)) SWIG_fail
;
24267 arg6
= wxString_in_helper(obj5
);
24268 if (arg6
== NULL
) SWIG_fail
;
24273 if (!wxPyCheckForApp()) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24295 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24298 char *kwnames
[] = {
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24304 if (!wxPyCheckForApp()) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (wxWindow
*)new wxWindow();
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24318 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxWindow
*arg1
= (wxWindow
*) 0 ;
24321 wxWindow
*arg2
= (wxWindow
*) 0 ;
24322 int arg3
= (int) (int)-1 ;
24323 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24324 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24325 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24326 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24327 long arg6
= (long) 0 ;
24328 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24329 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24333 bool temp7
= false ;
24334 PyObject
* obj0
= 0 ;
24335 PyObject
* obj1
= 0 ;
24336 PyObject
* obj2
= 0 ;
24337 PyObject
* obj3
= 0 ;
24338 PyObject
* obj4
= 0 ;
24339 PyObject
* obj5
= 0 ;
24340 PyObject
* obj6
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24347 if (SWIG_arg_fail(1)) SWIG_fail
;
24348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24349 if (SWIG_arg_fail(2)) SWIG_fail
;
24352 arg3
= (int const)(SWIG_As_int(obj2
));
24353 if (SWIG_arg_fail(3)) SWIG_fail
;
24359 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24365 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24370 arg6
= (long)(SWIG_As_long(obj5
));
24371 if (SWIG_arg_fail(6)) SWIG_fail
;
24376 arg7
= wxString_in_helper(obj6
);
24377 if (arg7
== NULL
) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24405 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 wxWindow
*arg1
= (wxWindow
*) 0 ;
24408 bool arg2
= (bool) false ;
24410 PyObject
* obj0
= 0 ;
24411 PyObject
* obj1
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "self",(char *) "force", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24418 if (SWIG_arg_fail(1)) SWIG_fail
;
24421 arg2
= (bool)(SWIG_As_bool(obj1
));
24422 if (SWIG_arg_fail(2)) SWIG_fail
;
24426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24427 result
= (bool)(arg1
)->Close(arg2
);
24429 wxPyEndAllowThreads(__tstate
);
24430 if (PyErr_Occurred()) SWIG_fail
;
24433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24441 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
;
24443 wxWindow
*arg1
= (wxWindow
*) 0 ;
24445 PyObject
* obj0
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24452 if (SWIG_arg_fail(1)) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (bool)(arg1
)->Destroy();
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24469 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
;
24471 wxWindow
*arg1
= (wxWindow
*) 0 ;
24473 PyObject
* obj0
= 0 ;
24474 char *kwnames
[] = {
24475 (char *) "self", NULL
24478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24480 if (SWIG_arg_fail(1)) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= (bool)(arg1
)->DestroyChildren();
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24497 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxWindow
*arg1
= (wxWindow
*) 0 ;
24501 PyObject
* obj0
= 0 ;
24502 char *kwnames
[] = {
24503 (char *) "self", NULL
24506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24508 if (SWIG_arg_fail(1)) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24525 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
;
24527 wxWindow
*arg1
= (wxWindow
*) 0 ;
24528 wxString
*arg2
= 0 ;
24529 bool temp2
= false ;
24530 PyObject
* obj0
= 0 ;
24531 PyObject
* obj1
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self",(char *) "title", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24538 if (SWIG_arg_fail(1)) SWIG_fail
;
24540 arg2
= wxString_in_helper(obj1
);
24541 if (arg2
== NULL
) SWIG_fail
;
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 (arg1
)->SetTitle((wxString
const &)*arg2
);
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24551 Py_INCREF(Py_None
); resultobj
= Py_None
;
24566 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
;
24568 wxWindow
*arg1
= (wxWindow
*) 0 ;
24570 PyObject
* obj0
= 0 ;
24571 char *kwnames
[] = {
24572 (char *) "self", NULL
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24577 if (SWIG_arg_fail(1)) SWIG_fail
;
24579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24580 result
= ((wxWindow
const *)arg1
)->GetTitle();
24582 wxPyEndAllowThreads(__tstate
);
24583 if (PyErr_Occurred()) SWIG_fail
;
24587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24598 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
;
24600 wxWindow
*arg1
= (wxWindow
*) 0 ;
24601 wxString
*arg2
= 0 ;
24602 bool temp2
= false ;
24603 PyObject
* obj0
= 0 ;
24604 PyObject
* obj1
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "label", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24611 if (SWIG_arg_fail(1)) SWIG_fail
;
24613 arg2
= wxString_in_helper(obj1
);
24614 if (arg2
== NULL
) SWIG_fail
;
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 (arg1
)->SetLabel((wxString
const &)*arg2
);
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 Py_INCREF(Py_None
); resultobj
= Py_None
;
24639 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24640 PyObject
*resultobj
;
24641 wxWindow
*arg1
= (wxWindow
*) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 char *kwnames
[] = {
24645 (char *) "self", NULL
24648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24650 if (SWIG_arg_fail(1)) SWIG_fail
;
24652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 result
= ((wxWindow
const *)arg1
)->GetLabel();
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24671 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxWindow
*arg1
= (wxWindow
*) 0 ;
24674 wxString
*arg2
= 0 ;
24675 bool temp2
= false ;
24676 PyObject
* obj0
= 0 ;
24677 PyObject
* obj1
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self",(char *) "name", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24684 if (SWIG_arg_fail(1)) SWIG_fail
;
24686 arg2
= wxString_in_helper(obj1
);
24687 if (arg2
== NULL
) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 (arg1
)->SetName((wxString
const &)*arg2
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 Py_INCREF(Py_None
); resultobj
= Py_None
;
24712 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
;
24714 wxWindow
*arg1
= (wxWindow
*) 0 ;
24716 PyObject
* obj0
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
24722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24723 if (SWIG_arg_fail(1)) SWIG_fail
;
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= ((wxWindow
const *)arg1
)->GetName();
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24744 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
;
24746 wxWindow
*arg1
= (wxWindow
*) 0 ;
24747 wxWindowVariant arg2
;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self",(char *) "variant", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
24755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24756 if (SWIG_arg_fail(1)) SWIG_fail
;
24758 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
24759 if (SWIG_arg_fail(2)) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 Py_INCREF(Py_None
); resultobj
= Py_None
;
24775 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxWindow
*arg1
= (wxWindow
*) 0 ;
24778 wxWindowVariant result
;
24779 PyObject
* obj0
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
24785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24786 if (SWIG_arg_fail(1)) SWIG_fail
;
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
24791 wxPyEndAllowThreads(__tstate
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= SWIG_From_int((result
));
24801 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24802 PyObject
*resultobj
;
24803 wxWindow
*arg1
= (wxWindow
*) 0 ;
24805 PyObject
* obj0
= 0 ;
24806 PyObject
* obj1
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self",(char *) "winid", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24813 if (SWIG_arg_fail(1)) SWIG_fail
;
24815 arg2
= (int)(SWIG_As_int(obj1
));
24816 if (SWIG_arg_fail(2)) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 (arg1
)->SetId(arg2
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 Py_INCREF(Py_None
); resultobj
= Py_None
;
24832 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxWindow
*arg1
= (wxWindow
*) 0 ;
24836 PyObject
* obj0
= 0 ;
24837 char *kwnames
[] = {
24838 (char *) "self", NULL
24841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
24842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24843 if (SWIG_arg_fail(1)) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 result
= (int)((wxWindow
const *)arg1
)->GetId();
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_From_int((int)(result
));
24860 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24863 char *kwnames
[] = {
24867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (int)wxWindow::NewControlId();
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24876 resultobj
= SWIG_From_int((int)(result
));
24884 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24888 PyObject
* obj0
= 0 ;
24889 char *kwnames
[] = {
24890 (char *) "winid", NULL
24893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
24895 arg1
= (int)(SWIG_As_int(obj0
));
24896 if (SWIG_arg_fail(1)) SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= (int)wxWindow::NextControlId(arg1
);
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= SWIG_From_int((int)(result
));
24914 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
;
24918 PyObject
* obj0
= 0 ;
24919 char *kwnames
[] = {
24920 (char *) "winid", NULL
24923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
24925 arg1
= (int)(SWIG_As_int(obj0
));
24926 if (SWIG_arg_fail(1)) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (int)wxWindow::PrevControlId(arg1
);
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= SWIG_From_int((int)(result
));
24944 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24945 PyObject
*resultobj
;
24946 wxWindow
*arg1
= (wxWindow
*) 0 ;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj1
= 0 ;
24951 char *kwnames
[] = {
24952 (char *) "self",(char *) "size", NULL
24955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24957 if (SWIG_arg_fail(1)) SWIG_fail
;
24960 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24964 (arg1
)->SetSize((wxSize
const &)*arg2
);
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24969 Py_INCREF(Py_None
); resultobj
= Py_None
;
24976 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxWindow
*arg1
= (wxWindow
*) 0 ;
24983 int arg6
= (int) wxSIZE_AUTO
;
24984 PyObject
* obj0
= 0 ;
24985 PyObject
* obj1
= 0 ;
24986 PyObject
* obj2
= 0 ;
24987 PyObject
* obj3
= 0 ;
24988 PyObject
* obj4
= 0 ;
24989 PyObject
* obj5
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24996 if (SWIG_arg_fail(1)) SWIG_fail
;
24998 arg2
= (int)(SWIG_As_int(obj1
));
24999 if (SWIG_arg_fail(2)) SWIG_fail
;
25002 arg3
= (int)(SWIG_As_int(obj2
));
25003 if (SWIG_arg_fail(3)) SWIG_fail
;
25006 arg4
= (int)(SWIG_As_int(obj3
));
25007 if (SWIG_arg_fail(4)) SWIG_fail
;
25010 arg5
= (int)(SWIG_As_int(obj4
));
25011 if (SWIG_arg_fail(5)) SWIG_fail
;
25015 arg6
= (int)(SWIG_As_int(obj5
));
25016 if (SWIG_arg_fail(6)) SWIG_fail
;
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 Py_INCREF(Py_None
); resultobj
= Py_None
;
25033 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxWindow
*arg1
= (wxWindow
*) 0 ;
25037 int arg3
= (int) wxSIZE_AUTO
;
25039 PyObject
* obj0
= 0 ;
25040 PyObject
* obj1
= 0 ;
25041 PyObject
* obj2
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25048 if (SWIG_arg_fail(1)) SWIG_fail
;
25051 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25055 arg3
= (int)(SWIG_As_int(obj2
));
25056 if (SWIG_arg_fail(3)) SWIG_fail
;
25060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 Py_INCREF(Py_None
); resultobj
= Py_None
;
25073 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
;
25075 wxWindow
*arg1
= (wxWindow
*) 0 ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 PyObject
* obj2
= 0 ;
25081 char *kwnames
[] = {
25082 (char *) "self",(char *) "width",(char *) "height", NULL
25085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25087 if (SWIG_arg_fail(1)) SWIG_fail
;
25089 arg2
= (int)(SWIG_As_int(obj1
));
25090 if (SWIG_arg_fail(2)) SWIG_fail
;
25093 arg3
= (int)(SWIG_As_int(obj2
));
25094 if (SWIG_arg_fail(3)) SWIG_fail
;
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 (arg1
)->SetSize(arg2
,arg3
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 Py_INCREF(Py_None
); resultobj
= Py_None
;
25110 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxWindow
*arg1
= (wxWindow
*) 0 ;
25113 wxPoint
*arg2
= 0 ;
25114 int arg3
= (int) wxSIZE_USE_EXISTING
;
25116 PyObject
* obj0
= 0 ;
25117 PyObject
* obj1
= 0 ;
25118 PyObject
* obj2
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self",(char *) "pt",(char *) "flags", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25125 if (SWIG_arg_fail(1)) SWIG_fail
;
25128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25132 arg3
= (int)(SWIG_As_int(obj2
));
25133 if (SWIG_arg_fail(3)) SWIG_fail
;
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25143 Py_INCREF(Py_None
); resultobj
= Py_None
;
25150 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
;
25152 wxWindow
*arg1
= (wxWindow
*) 0 ;
25155 int arg4
= (int) wxSIZE_USE_EXISTING
;
25156 PyObject
* obj0
= 0 ;
25157 PyObject
* obj1
= 0 ;
25158 PyObject
* obj2
= 0 ;
25159 PyObject
* obj3
= 0 ;
25160 char *kwnames
[] = {
25161 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25166 if (SWIG_arg_fail(1)) SWIG_fail
;
25168 arg2
= (int)(SWIG_As_int(obj1
));
25169 if (SWIG_arg_fail(2)) SWIG_fail
;
25172 arg3
= (int)(SWIG_As_int(obj2
));
25173 if (SWIG_arg_fail(3)) SWIG_fail
;
25177 arg4
= (int)(SWIG_As_int(obj3
));
25178 if (SWIG_arg_fail(4)) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 (arg1
)->Move(arg2
,arg3
,arg4
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 Py_INCREF(Py_None
); resultobj
= Py_None
;
25195 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
;
25197 wxWindow
*arg1
= (wxWindow
*) 0 ;
25198 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25199 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25201 PyObject
* obj0
= 0 ;
25202 PyObject
* obj1
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self",(char *) "size", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25209 if (SWIG_arg_fail(1)) SWIG_fail
;
25213 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 Py_INCREF(Py_None
); resultobj
= Py_None
;
25230 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
;
25232 wxWindow
*arg1
= (wxWindow
*) 0 ;
25233 PyObject
* obj0
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25240 if (SWIG_arg_fail(1)) SWIG_fail
;
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 Py_INCREF(Py_None
); resultobj
= Py_None
;
25255 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25257 wxWindow
*arg1
= (wxWindow
*) 0 ;
25258 PyObject
* obj0
= 0 ;
25259 char *kwnames
[] = {
25260 (char *) "self", NULL
25263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25265 if (SWIG_arg_fail(1)) SWIG_fail
;
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 wxPyEndAllowThreads(__tstate
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25273 Py_INCREF(Py_None
); resultobj
= Py_None
;
25280 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25281 PyObject
*resultobj
;
25282 wxWindow
*arg1
= (wxWindow
*) 0 ;
25285 PyObject
* obj0
= 0 ;
25286 PyObject
* obj1
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "self",(char *) "size", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25293 if (SWIG_arg_fail(1)) SWIG_fail
;
25296 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 Py_INCREF(Py_None
); resultobj
= Py_None
;
25312 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxWindow
*arg1
= (wxWindow
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 PyObject
* obj2
= 0 ;
25320 char *kwnames
[] = {
25321 (char *) "self",(char *) "width",(char *) "height", NULL
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25326 if (SWIG_arg_fail(1)) SWIG_fail
;
25328 arg2
= (int)(SWIG_As_int(obj1
));
25329 if (SWIG_arg_fail(2)) SWIG_fail
;
25332 arg3
= (int)(SWIG_As_int(obj2
));
25333 if (SWIG_arg_fail(3)) SWIG_fail
;
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 (arg1
)->SetClientSize(arg2
,arg3
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25342 Py_INCREF(Py_None
); resultobj
= Py_None
;
25349 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25350 PyObject
*resultobj
;
25351 wxWindow
*arg1
= (wxWindow
*) 0 ;
25354 PyObject
* obj0
= 0 ;
25355 PyObject
* obj1
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self",(char *) "rect", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25362 if (SWIG_arg_fail(1)) SWIG_fail
;
25365 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 Py_INCREF(Py_None
); resultobj
= Py_None
;
25381 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxWindow
*arg1
= (wxWindow
*) 0 ;
25385 PyObject
* obj0
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25392 if (SWIG_arg_fail(1)) SWIG_fail
;
25394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25395 result
= (arg1
)->GetPosition();
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25401 wxPoint
* resultptr
;
25402 resultptr
= new wxPoint((wxPoint
&)(result
));
25403 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25411 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25412 PyObject
*resultobj
;
25413 wxWindow
*arg1
= (wxWindow
*) 0 ;
25414 int *arg2
= (int *) 0 ;
25415 int *arg3
= (int *) 0 ;
25420 PyObject
* obj0
= 0 ;
25421 char *kwnames
[] = {
25422 (char *) "self", NULL
25425 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25426 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25429 if (SWIG_arg_fail(1)) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 (arg1
)->GetPosition(arg2
,arg3
);
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 Py_INCREF(Py_None
); resultobj
= Py_None
;
25438 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25439 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25440 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25441 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25448 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxWindow
*arg1
= (wxWindow
*) 0 ;
25452 PyObject
* obj0
= 0 ;
25453 char *kwnames
[] = {
25454 (char *) "self", NULL
25457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25459 if (SWIG_arg_fail(1)) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= ((wxWindow
const *)arg1
)->GetSize();
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25468 wxSize
* resultptr
;
25469 resultptr
= new wxSize((wxSize
&)(result
));
25470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25478 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxWindow
*arg1
= (wxWindow
*) 0 ;
25481 int *arg2
= (int *) 0 ;
25482 int *arg3
= (int *) 0 ;
25487 PyObject
* obj0
= 0 ;
25488 char *kwnames
[] = {
25489 (char *) "self", NULL
25492 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25493 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25496 if (SWIG_arg_fail(1)) SWIG_fail
;
25498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25499 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 Py_INCREF(Py_None
); resultobj
= Py_None
;
25505 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25506 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25507 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25508 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25515 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxWindow
*arg1
= (wxWindow
*) 0 ;
25519 PyObject
* obj0
= 0 ;
25520 char *kwnames
[] = {
25521 (char *) "self", NULL
25524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25526 if (SWIG_arg_fail(1)) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 result
= ((wxWindow
const *)arg1
)->GetRect();
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25535 wxRect
* resultptr
;
25536 resultptr
= new wxRect((wxRect
&)(result
));
25537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25545 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25546 PyObject
*resultobj
;
25547 wxWindow
*arg1
= (wxWindow
*) 0 ;
25549 PyObject
* obj0
= 0 ;
25550 char *kwnames
[] = {
25551 (char *) "self", NULL
25554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25556 if (SWIG_arg_fail(1)) SWIG_fail
;
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25565 wxSize
* resultptr
;
25566 resultptr
= new wxSize((wxSize
&)(result
));
25567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25575 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxWindow
*arg1
= (wxWindow
*) 0 ;
25578 int *arg2
= (int *) 0 ;
25579 int *arg3
= (int *) 0 ;
25584 PyObject
* obj0
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self", NULL
25589 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25590 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25593 if (SWIG_arg_fail(1)) SWIG_fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 Py_INCREF(Py_None
); resultobj
= Py_None
;
25602 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25603 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25604 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25605 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25612 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxWindow
*arg1
= (wxWindow
*) 0 ;
25616 PyObject
* obj0
= 0 ;
25617 char *kwnames
[] = {
25618 (char *) "self", NULL
25621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25623 if (SWIG_arg_fail(1)) SWIG_fail
;
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25632 wxPoint
* resultptr
;
25633 resultptr
= new wxPoint((wxPoint
&)(result
));
25634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25642 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25643 PyObject
*resultobj
;
25644 wxWindow
*arg1
= (wxWindow
*) 0 ;
25646 PyObject
* obj0
= 0 ;
25647 char *kwnames
[] = {
25648 (char *) "self", NULL
25651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25653 if (SWIG_arg_fail(1)) SWIG_fail
;
25655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25656 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25658 wxPyEndAllowThreads(__tstate
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25662 wxRect
* resultptr
;
25663 resultptr
= new wxRect((wxRect
&)(result
));
25664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25672 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxWindow
*arg1
= (wxWindow
*) 0 ;
25676 PyObject
* obj0
= 0 ;
25677 char *kwnames
[] = {
25678 (char *) "self", NULL
25681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25683 if (SWIG_arg_fail(1)) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25692 wxSize
* resultptr
;
25693 resultptr
= new wxSize((wxSize
&)(result
));
25694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25702 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
;
25704 wxWindow
*arg1
= (wxWindow
*) 0 ;
25705 int *arg2
= (int *) 0 ;
25706 int *arg3
= (int *) 0 ;
25711 PyObject
* obj0
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self", NULL
25716 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25717 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
25719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25720 if (SWIG_arg_fail(1)) SWIG_fail
;
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25728 Py_INCREF(Py_None
); resultobj
= Py_None
;
25729 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25730 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25731 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25732 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25739 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxWindow
*arg1
= (wxWindow
*) 0 ;
25742 PyObject
* obj0
= 0 ;
25743 char *kwnames
[] = {
25744 (char *) "self", NULL
25747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
25748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25749 if (SWIG_arg_fail(1)) SWIG_fail
;
25751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25752 (arg1
)->InvalidateBestSize();
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 Py_INCREF(Py_None
); resultobj
= Py_None
;
25764 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
;
25766 wxWindow
*arg1
= (wxWindow
*) 0 ;
25768 PyObject
* obj0
= 0 ;
25769 char *kwnames
[] = {
25770 (char *) "self", NULL
25773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
25774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25775 if (SWIG_arg_fail(1)) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25784 wxSize
* resultptr
;
25785 resultptr
= new wxSize((wxSize
&)(result
));
25786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25794 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
;
25796 wxWindow
*arg1
= (wxWindow
*) 0 ;
25798 PyObject
* obj0
= 0 ;
25799 char *kwnames
[] = {
25800 (char *) "self", NULL
25803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
25804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25805 if (SWIG_arg_fail(1)) SWIG_fail
;
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25814 wxSize
* resultptr
;
25815 resultptr
= new wxSize((wxSize
&)(result
));
25816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25824 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxWindow
*arg1
= (wxWindow
*) 0 ;
25827 int arg2
= (int) wxBOTH
;
25828 PyObject
* obj0
= 0 ;
25829 PyObject
* obj1
= 0 ;
25830 char *kwnames
[] = {
25831 (char *) "self",(char *) "direction", NULL
25834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
25835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25836 if (SWIG_arg_fail(1)) SWIG_fail
;
25839 arg2
= (int)(SWIG_As_int(obj1
));
25840 if (SWIG_arg_fail(2)) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 (arg1
)->Center(arg2
);
25847 wxPyEndAllowThreads(__tstate
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 Py_INCREF(Py_None
); resultobj
= Py_None
;
25857 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
;
25859 wxWindow
*arg1
= (wxWindow
*) 0 ;
25860 int arg2
= (int) wxBOTH
;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self",(char *) "dir", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25869 if (SWIG_arg_fail(1)) SWIG_fail
;
25872 arg2
= (int)(SWIG_As_int(obj1
));
25873 if (SWIG_arg_fail(2)) SWIG_fail
;
25877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25878 (arg1
)->CenterOnScreen(arg2
);
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 Py_INCREF(Py_None
); resultobj
= Py_None
;
25890 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25891 PyObject
*resultobj
;
25892 wxWindow
*arg1
= (wxWindow
*) 0 ;
25893 int arg2
= (int) wxBOTH
;
25894 PyObject
* obj0
= 0 ;
25895 PyObject
* obj1
= 0 ;
25896 char *kwnames
[] = {
25897 (char *) "self",(char *) "dir", NULL
25900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25902 if (SWIG_arg_fail(1)) SWIG_fail
;
25905 arg2
= (int)(SWIG_As_int(obj1
));
25906 if (SWIG_arg_fail(2)) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 (arg1
)->CenterOnParent(arg2
);
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 Py_INCREF(Py_None
); resultobj
= Py_None
;
25923 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25924 PyObject
*resultobj
;
25925 wxWindow
*arg1
= (wxWindow
*) 0 ;
25926 PyObject
* obj0
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
25932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25933 if (SWIG_arg_fail(1)) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25941 Py_INCREF(Py_None
); resultobj
= Py_None
;
25948 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25949 PyObject
*resultobj
;
25950 wxWindow
*arg1
= (wxWindow
*) 0 ;
25951 PyObject
* obj0
= 0 ;
25952 char *kwnames
[] = {
25953 (char *) "self", NULL
25956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
25957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25958 if (SWIG_arg_fail(1)) SWIG_fail
;
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 (arg1
)->FitInside();
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 Py_INCREF(Py_None
); resultobj
= Py_None
;
25973 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxWindow
*arg1
= (wxWindow
*) 0 ;
25978 int arg4
= (int) -1 ;
25979 int arg5
= (int) -1 ;
25980 int arg6
= (int) -1 ;
25981 int arg7
= (int) -1 ;
25982 PyObject
* obj0
= 0 ;
25983 PyObject
* obj1
= 0 ;
25984 PyObject
* obj2
= 0 ;
25985 PyObject
* obj3
= 0 ;
25986 PyObject
* obj4
= 0 ;
25987 PyObject
* obj5
= 0 ;
25988 PyObject
* obj6
= 0 ;
25989 char *kwnames
[] = {
25990 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
25993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25995 if (SWIG_arg_fail(1)) SWIG_fail
;
25997 arg2
= (int)(SWIG_As_int(obj1
));
25998 if (SWIG_arg_fail(2)) SWIG_fail
;
26001 arg3
= (int)(SWIG_As_int(obj2
));
26002 if (SWIG_arg_fail(3)) SWIG_fail
;
26006 arg4
= (int)(SWIG_As_int(obj3
));
26007 if (SWIG_arg_fail(4)) SWIG_fail
;
26012 arg5
= (int)(SWIG_As_int(obj4
));
26013 if (SWIG_arg_fail(5)) SWIG_fail
;
26018 arg6
= (int)(SWIG_As_int(obj5
));
26019 if (SWIG_arg_fail(6)) SWIG_fail
;
26024 arg7
= (int)(SWIG_As_int(obj6
));
26025 if (SWIG_arg_fail(7)) SWIG_fail
;
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 Py_INCREF(Py_None
); resultobj
= Py_None
;
26042 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
;
26044 wxWindow
*arg1
= (wxWindow
*) 0 ;
26046 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26047 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26048 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26049 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26053 PyObject
* obj0
= 0 ;
26054 PyObject
* obj1
= 0 ;
26055 PyObject
* obj2
= 0 ;
26056 PyObject
* obj3
= 0 ;
26057 char *kwnames
[] = {
26058 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26063 if (SWIG_arg_fail(1)) SWIG_fail
;
26066 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26071 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26077 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26082 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26084 wxPyEndAllowThreads(__tstate
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26087 Py_INCREF(Py_None
); resultobj
= Py_None
;
26094 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
;
26096 wxWindow
*arg1
= (wxWindow
*) 0 ;
26099 int arg4
= (int) -1 ;
26100 int arg5
= (int) -1 ;
26101 PyObject
* obj0
= 0 ;
26102 PyObject
* obj1
= 0 ;
26103 PyObject
* obj2
= 0 ;
26104 PyObject
* obj3
= 0 ;
26105 PyObject
* obj4
= 0 ;
26106 char *kwnames
[] = {
26107 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26112 if (SWIG_arg_fail(1)) SWIG_fail
;
26114 arg2
= (int)(SWIG_As_int(obj1
));
26115 if (SWIG_arg_fail(2)) SWIG_fail
;
26118 arg3
= (int)(SWIG_As_int(obj2
));
26119 if (SWIG_arg_fail(3)) SWIG_fail
;
26123 arg4
= (int)(SWIG_As_int(obj3
));
26124 if (SWIG_arg_fail(4)) SWIG_fail
;
26129 arg5
= (int)(SWIG_As_int(obj4
));
26130 if (SWIG_arg_fail(5)) SWIG_fail
;
26134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26135 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26137 wxPyEndAllowThreads(__tstate
);
26138 if (PyErr_Occurred()) SWIG_fail
;
26140 Py_INCREF(Py_None
); resultobj
= Py_None
;
26147 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxWindow
*arg1
= (wxWindow
*) 0 ;
26151 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26152 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26155 PyObject
* obj0
= 0 ;
26156 PyObject
* obj1
= 0 ;
26157 PyObject
* obj2
= 0 ;
26158 char *kwnames
[] = {
26159 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26164 if (SWIG_arg_fail(1)) SWIG_fail
;
26167 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26172 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 Py_INCREF(Py_None
); resultobj
= Py_None
;
26189 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
;
26191 wxWindow
*arg1
= (wxWindow
*) 0 ;
26193 PyObject
* obj0
= 0 ;
26194 char *kwnames
[] = {
26195 (char *) "self", NULL
26198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26200 if (SWIG_arg_fail(1)) SWIG_fail
;
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26209 wxSize
* resultptr
;
26210 resultptr
= new wxSize((wxSize
&)(result
));
26211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26219 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26220 PyObject
*resultobj
;
26221 wxWindow
*arg1
= (wxWindow
*) 0 ;
26223 PyObject
* obj0
= 0 ;
26224 char *kwnames
[] = {
26225 (char *) "self", NULL
26228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26230 if (SWIG_arg_fail(1)) SWIG_fail
;
26232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26233 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26239 wxSize
* resultptr
;
26240 resultptr
= new wxSize((wxSize
&)(result
));
26241 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26249 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxWindow
*arg1
= (wxWindow
*) 0 ;
26254 PyObject
* obj0
= 0 ;
26255 PyObject
* obj1
= 0 ;
26256 char *kwnames
[] = {
26257 (char *) "self",(char *) "minSize", NULL
26260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26262 if (SWIG_arg_fail(1)) SWIG_fail
;
26265 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26269 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26271 wxPyEndAllowThreads(__tstate
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 Py_INCREF(Py_None
); resultobj
= Py_None
;
26281 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
;
26283 wxWindow
*arg1
= (wxWindow
*) 0 ;
26286 PyObject
* obj0
= 0 ;
26287 PyObject
* obj1
= 0 ;
26288 char *kwnames
[] = {
26289 (char *) "self",(char *) "maxSize", NULL
26292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26294 if (SWIG_arg_fail(1)) SWIG_fail
;
26297 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 Py_INCREF(Py_None
); resultobj
= Py_None
;
26313 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxWindow
*arg1
= (wxWindow
*) 0 ;
26317 PyObject
* obj0
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26324 if (SWIG_arg_fail(1)) SWIG_fail
;
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= SWIG_From_int((int)(result
));
26341 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxWindow
*arg1
= (wxWindow
*) 0 ;
26345 PyObject
* obj0
= 0 ;
26346 char *kwnames
[] = {
26347 (char *) "self", NULL
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26352 if (SWIG_arg_fail(1)) SWIG_fail
;
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26361 resultobj
= SWIG_From_int((int)(result
));
26369 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26370 PyObject
*resultobj
;
26371 wxWindow
*arg1
= (wxWindow
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 char *kwnames
[] = {
26375 (char *) "self", NULL
26378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26380 if (SWIG_arg_fail(1)) SWIG_fail
;
26382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26383 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26389 resultobj
= SWIG_From_int((int)(result
));
26397 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxWindow
*arg1
= (wxWindow
*) 0 ;
26401 PyObject
* obj0
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "self", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26408 if (SWIG_arg_fail(1)) SWIG_fail
;
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= SWIG_From_int((int)(result
));
26425 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxWindow
*arg1
= (wxWindow
*) 0 ;
26430 PyObject
* obj0
= 0 ;
26431 PyObject
* obj1
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self",(char *) "size", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26438 if (SWIG_arg_fail(1)) SWIG_fail
;
26441 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 Py_INCREF(Py_None
); resultobj
= Py_None
;
26457 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxWindow
*arg1
= (wxWindow
*) 0 ;
26462 PyObject
* obj0
= 0 ;
26463 PyObject
* obj1
= 0 ;
26464 PyObject
* obj2
= 0 ;
26465 char *kwnames
[] = {
26466 (char *) "self",(char *) "w",(char *) "h", NULL
26469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26471 if (SWIG_arg_fail(1)) SWIG_fail
;
26473 arg2
= (int)(SWIG_As_int(obj1
));
26474 if (SWIG_arg_fail(2)) SWIG_fail
;
26477 arg3
= (int)(SWIG_As_int(obj2
));
26478 if (SWIG_arg_fail(3)) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 (arg1
)->SetVirtualSize(arg2
,arg3
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 Py_INCREF(Py_None
); resultobj
= Py_None
;
26494 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxWindow
*arg1
= (wxWindow
*) 0 ;
26498 PyObject
* obj0
= 0 ;
26499 char *kwnames
[] = {
26500 (char *) "self", NULL
26503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26505 if (SWIG_arg_fail(1)) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26514 wxSize
* resultptr
;
26515 resultptr
= new wxSize((wxSize
&)(result
));
26516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26524 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
;
26526 wxWindow
*arg1
= (wxWindow
*) 0 ;
26527 int *arg2
= (int *) 0 ;
26528 int *arg3
= (int *) 0 ;
26533 PyObject
* obj0
= 0 ;
26534 char *kwnames
[] = {
26535 (char *) "self", NULL
26538 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26539 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26542 if (SWIG_arg_fail(1)) SWIG_fail
;
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26547 wxPyEndAllowThreads(__tstate
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26550 Py_INCREF(Py_None
); resultobj
= Py_None
;
26551 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26552 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26553 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26554 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26561 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26562 PyObject
*resultobj
;
26563 wxWindow
*arg1
= (wxWindow
*) 0 ;
26565 PyObject
* obj0
= 0 ;
26566 char *kwnames
[] = {
26567 (char *) "self", NULL
26570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26572 if (SWIG_arg_fail(1)) SWIG_fail
;
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26581 wxSize
* resultptr
;
26582 resultptr
= new wxSize((wxSize
&)(result
));
26583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26591 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26592 PyObject
*resultobj
;
26593 wxWindow
*arg1
= (wxWindow
*) 0 ;
26594 bool arg2
= (bool) true ;
26596 PyObject
* obj0
= 0 ;
26597 PyObject
* obj1
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self",(char *) "show", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26604 if (SWIG_arg_fail(1)) SWIG_fail
;
26607 arg2
= (bool)(SWIG_As_bool(obj1
));
26608 if (SWIG_arg_fail(2)) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 result
= (bool)(arg1
)->Show(arg2
);
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26627 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
;
26629 wxWindow
*arg1
= (wxWindow
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26638 if (SWIG_arg_fail(1)) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (bool)(arg1
)->Hide();
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26655 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxWindow
*arg1
= (wxWindow
*) 0 ;
26658 bool arg2
= (bool) true ;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self",(char *) "enable", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26668 if (SWIG_arg_fail(1)) SWIG_fail
;
26671 arg2
= (bool)(SWIG_As_bool(obj1
));
26672 if (SWIG_arg_fail(2)) SWIG_fail
;
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 result
= (bool)(arg1
)->Enable(arg2
);
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26691 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26693 wxWindow
*arg1
= (wxWindow
*) 0 ;
26695 PyObject
* obj0
= 0 ;
26696 char *kwnames
[] = {
26697 (char *) "self", NULL
26700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26702 if (SWIG_arg_fail(1)) SWIG_fail
;
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 result
= (bool)(arg1
)->Disable();
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26719 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26720 PyObject
*resultobj
;
26721 wxWindow
*arg1
= (wxWindow
*) 0 ;
26723 PyObject
* obj0
= 0 ;
26724 char *kwnames
[] = {
26725 (char *) "self", NULL
26728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
26729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26730 if (SWIG_arg_fail(1)) SWIG_fail
;
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26747 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
;
26749 wxWindow
*arg1
= (wxWindow
*) 0 ;
26751 PyObject
* obj0
= 0 ;
26752 char *kwnames
[] = {
26753 (char *) "self", NULL
26756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
26757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26758 if (SWIG_arg_fail(1)) SWIG_fail
;
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
26763 wxPyEndAllowThreads(__tstate
);
26764 if (PyErr_Occurred()) SWIG_fail
;
26767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26775 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxWindow
*arg1
= (wxWindow
*) 0 ;
26779 PyObject
* obj0
= 0 ;
26780 PyObject
* obj1
= 0 ;
26781 char *kwnames
[] = {
26782 (char *) "self",(char *) "style", NULL
26785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26787 if (SWIG_arg_fail(1)) SWIG_fail
;
26789 arg2
= (long)(SWIG_As_long(obj1
));
26790 if (SWIG_arg_fail(2)) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 (arg1
)->SetWindowStyleFlag(arg2
);
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 Py_INCREF(Py_None
); resultobj
= Py_None
;
26806 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxWindow
*arg1
= (wxWindow
*) 0 ;
26810 PyObject
* obj0
= 0 ;
26811 char *kwnames
[] = {
26812 (char *) "self", NULL
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
26816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26817 if (SWIG_arg_fail(1)) SWIG_fail
;
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26826 resultobj
= SWIG_From_long((long)(result
));
26834 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
;
26836 wxWindow
*arg1
= (wxWindow
*) 0 ;
26839 PyObject
* obj0
= 0 ;
26840 PyObject
* obj1
= 0 ;
26841 char *kwnames
[] = {
26842 (char *) "self",(char *) "flag", NULL
26845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26847 if (SWIG_arg_fail(1)) SWIG_fail
;
26849 arg2
= (int)(SWIG_As_int(obj1
));
26850 if (SWIG_arg_fail(2)) SWIG_fail
;
26853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26854 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
26856 wxPyEndAllowThreads(__tstate
);
26857 if (PyErr_Occurred()) SWIG_fail
;
26860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26868 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
;
26870 wxWindow
*arg1
= (wxWindow
*) 0 ;
26872 PyObject
* obj0
= 0 ;
26873 char *kwnames
[] = {
26874 (char *) "self", NULL
26877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
26878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26879 if (SWIG_arg_fail(1)) SWIG_fail
;
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
26884 wxPyEndAllowThreads(__tstate
);
26885 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26896 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26897 PyObject
*resultobj
;
26898 wxWindow
*arg1
= (wxWindow
*) 0 ;
26900 PyObject
* obj0
= 0 ;
26901 PyObject
* obj1
= 0 ;
26902 char *kwnames
[] = {
26903 (char *) "self",(char *) "exStyle", NULL
26906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26908 if (SWIG_arg_fail(1)) SWIG_fail
;
26910 arg2
= (long)(SWIG_As_long(obj1
));
26911 if (SWIG_arg_fail(2)) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 (arg1
)->SetExtraStyle(arg2
);
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 Py_INCREF(Py_None
); resultobj
= Py_None
;
26927 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
;
26929 wxWindow
*arg1
= (wxWindow
*) 0 ;
26931 PyObject
* obj0
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
26937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26938 if (SWIG_arg_fail(1)) SWIG_fail
;
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
26943 wxPyEndAllowThreads(__tstate
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= SWIG_From_long((long)(result
));
26955 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
;
26957 wxWindow
*arg1
= (wxWindow
*) 0 ;
26958 bool arg2
= (bool) true ;
26959 PyObject
* obj0
= 0 ;
26960 PyObject
* obj1
= 0 ;
26961 char *kwnames
[] = {
26962 (char *) "self",(char *) "modal", NULL
26965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
26966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26967 if (SWIG_arg_fail(1)) SWIG_fail
;
26970 arg2
= (bool)(SWIG_As_bool(obj1
));
26971 if (SWIG_arg_fail(2)) SWIG_fail
;
26975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26976 (arg1
)->MakeModal(arg2
);
26978 wxPyEndAllowThreads(__tstate
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26981 Py_INCREF(Py_None
); resultobj
= Py_None
;
26988 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26989 PyObject
*resultobj
;
26990 wxWindow
*arg1
= (wxWindow
*) 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "enableTheme", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
26999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27000 if (SWIG_arg_fail(1)) SWIG_fail
;
27002 arg2
= (bool)(SWIG_As_bool(obj1
));
27003 if (SWIG_arg_fail(2)) SWIG_fail
;
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 (arg1
)->SetThemeEnabled(arg2
);
27009 wxPyEndAllowThreads(__tstate
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27012 Py_INCREF(Py_None
); resultobj
= Py_None
;
27019 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxWindow
*arg1
= (wxWindow
*) 0 ;
27023 PyObject
* obj0
= 0 ;
27024 char *kwnames
[] = {
27025 (char *) "self", NULL
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27030 if (SWIG_arg_fail(1)) SWIG_fail
;
27032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27033 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27035 wxPyEndAllowThreads(__tstate
);
27036 if (PyErr_Occurred()) SWIG_fail
;
27039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27047 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27048 PyObject
*resultobj
;
27049 wxWindow
*arg1
= (wxWindow
*) 0 ;
27050 PyObject
* obj0
= 0 ;
27051 char *kwnames
[] = {
27052 (char *) "self", NULL
27055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27057 if (SWIG_arg_fail(1)) SWIG_fail
;
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 (arg1
)->SetFocus();
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 Py_INCREF(Py_None
); resultobj
= Py_None
;
27072 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
;
27074 wxWindow
*arg1
= (wxWindow
*) 0 ;
27075 PyObject
* obj0
= 0 ;
27076 char *kwnames
[] = {
27077 (char *) "self", NULL
27080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27082 if (SWIG_arg_fail(1)) SWIG_fail
;
27084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27085 (arg1
)->SetFocusFromKbd();
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27090 Py_INCREF(Py_None
); resultobj
= Py_None
;
27097 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
;
27100 char *kwnames
[] = {
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27106 if (!wxPyCheckForApp()) SWIG_fail
;
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (wxWindow
*)wxWindow::FindFocus();
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= wxPyMake_wxObject(result
, 0);
27122 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
;
27124 wxWindow
*arg1
= (wxWindow
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 char *kwnames
[] = {
27128 (char *) "self", NULL
27131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27133 if (SWIG_arg_fail(1)) SWIG_fail
;
27135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27150 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxWindow
*arg1
= (wxWindow
*) 0 ;
27154 PyObject
* obj0
= 0 ;
27155 char *kwnames
[] = {
27156 (char *) "self", NULL
27159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27161 if (SWIG_arg_fail(1)) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27178 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxWindow
*arg1
= (wxWindow
*) 0 ;
27182 PyObject
* obj0
= 0 ;
27183 char *kwnames
[] = {
27184 (char *) "self", NULL
27187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27189 if (SWIG_arg_fail(1)) SWIG_fail
;
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 resultobj
= wxPyMake_wxObject(result
, 0);
27206 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27207 PyObject
*resultobj
;
27208 wxWindow
*arg1
= (wxWindow
*) 0 ;
27209 wxWindow
*arg2
= (wxWindow
*) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 char *kwnames
[] = {
27214 (char *) "self",(char *) "child", NULL
27217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27219 if (SWIG_arg_fail(1)) SWIG_fail
;
27220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(2)) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27230 resultobj
= wxPyMake_wxObject(result
, 0);
27238 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27239 PyObject
*resultobj
;
27240 wxWindow
*arg1
= (wxWindow
*) 0 ;
27241 wxWindow
*arg2
= (wxWindow
*) 0 ;
27242 PyObject
* obj0
= 0 ;
27243 PyObject
* obj1
= 0 ;
27244 char *kwnames
[] = {
27245 (char *) "self",(char *) "win", NULL
27248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27250 if (SWIG_arg_fail(1)) SWIG_fail
;
27251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27252 if (SWIG_arg_fail(2)) SWIG_fail
;
27254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27255 (arg1
)->SetTmpDefaultItem(arg2
);
27257 wxPyEndAllowThreads(__tstate
);
27258 if (PyErr_Occurred()) SWIG_fail
;
27260 Py_INCREF(Py_None
); resultobj
= Py_None
;
27267 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27268 PyObject
*resultobj
;
27269 wxWindow
*arg1
= (wxWindow
*) 0 ;
27270 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27272 PyObject
* obj0
= 0 ;
27273 PyObject
* obj1
= 0 ;
27274 char *kwnames
[] = {
27275 (char *) "self",(char *) "flags", NULL
27278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27280 if (SWIG_arg_fail(1)) SWIG_fail
;
27283 arg2
= (int)(SWIG_As_int(obj1
));
27284 if (SWIG_arg_fail(2)) SWIG_fail
;
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 result
= (bool)(arg1
)->Navigate(arg2
);
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27303 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27304 PyObject
*resultobj
;
27305 wxWindow
*arg1
= (wxWindow
*) 0 ;
27306 wxWindow
*arg2
= (wxWindow
*) 0 ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "self",(char *) "win", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27315 if (SWIG_arg_fail(1)) SWIG_fail
;
27316 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27317 if (SWIG_arg_fail(2)) SWIG_fail
;
27319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27320 (arg1
)->MoveAfterInTabOrder(arg2
);
27322 wxPyEndAllowThreads(__tstate
);
27323 if (PyErr_Occurred()) SWIG_fail
;
27325 Py_INCREF(Py_None
); resultobj
= Py_None
;
27332 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27333 PyObject
*resultobj
;
27334 wxWindow
*arg1
= (wxWindow
*) 0 ;
27335 wxWindow
*arg2
= (wxWindow
*) 0 ;
27336 PyObject
* obj0
= 0 ;
27337 PyObject
* obj1
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self",(char *) "win", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27344 if (SWIG_arg_fail(1)) SWIG_fail
;
27345 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27346 if (SWIG_arg_fail(2)) SWIG_fail
;
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 (arg1
)->MoveBeforeInTabOrder(arg2
);
27351 wxPyEndAllowThreads(__tstate
);
27352 if (PyErr_Occurred()) SWIG_fail
;
27354 Py_INCREF(Py_None
); resultobj
= Py_None
;
27361 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27362 PyObject
*resultobj
;
27363 wxWindow
*arg1
= (wxWindow
*) 0 ;
27365 PyObject
* obj0
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27372 if (SWIG_arg_fail(1)) SWIG_fail
;
27374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27375 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27377 wxPyEndAllowThreads(__tstate
);
27378 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= result
;
27387 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27388 PyObject
*resultobj
;
27389 wxWindow
*arg1
= (wxWindow
*) 0 ;
27391 PyObject
* obj0
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "self", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27398 if (SWIG_arg_fail(1)) SWIG_fail
;
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27407 resultobj
= wxPyMake_wxObject(result
, 0);
27415 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxWindow
*arg1
= (wxWindow
*) 0 ;
27419 PyObject
* obj0
= 0 ;
27420 char *kwnames
[] = {
27421 (char *) "self", NULL
27424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27426 if (SWIG_arg_fail(1)) SWIG_fail
;
27428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27429 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27431 wxPyEndAllowThreads(__tstate
);
27432 if (PyErr_Occurred()) SWIG_fail
;
27435 resultobj
= wxPyMake_wxObject(result
, 0);
27443 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27444 PyObject
*resultobj
;
27445 wxWindow
*arg1
= (wxWindow
*) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 char *kwnames
[] = {
27449 (char *) "self", NULL
27452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27454 if (SWIG_arg_fail(1)) SWIG_fail
;
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27471 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27472 PyObject
*resultobj
;
27473 wxWindow
*arg1
= (wxWindow
*) 0 ;
27474 wxWindow
*arg2
= (wxWindow
*) 0 ;
27476 PyObject
* obj0
= 0 ;
27477 PyObject
* obj1
= 0 ;
27478 char *kwnames
[] = {
27479 (char *) "self",(char *) "newParent", NULL
27482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27484 if (SWIG_arg_fail(1)) SWIG_fail
;
27485 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27486 if (SWIG_arg_fail(2)) SWIG_fail
;
27488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 result
= (bool)(arg1
)->Reparent(arg2
);
27491 wxPyEndAllowThreads(__tstate
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27503 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
;
27505 wxWindow
*arg1
= (wxWindow
*) 0 ;
27506 wxWindow
*arg2
= (wxWindow
*) 0 ;
27507 PyObject
* obj0
= 0 ;
27508 PyObject
* obj1
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self",(char *) "child", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27515 if (SWIG_arg_fail(1)) SWIG_fail
;
27516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27517 if (SWIG_arg_fail(2)) SWIG_fail
;
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 (arg1
)->AddChild(arg2
);
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 Py_INCREF(Py_None
); resultobj
= Py_None
;
27532 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxWindow
*arg1
= (wxWindow
*) 0 ;
27535 wxWindow
*arg2
= (wxWindow
*) 0 ;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 char *kwnames
[] = {
27539 (char *) "self",(char *) "child", NULL
27542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27544 if (SWIG_arg_fail(1)) SWIG_fail
;
27545 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27546 if (SWIG_arg_fail(2)) SWIG_fail
;
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27549 (arg1
)->RemoveChild(arg2
);
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 Py_INCREF(Py_None
); resultobj
= Py_None
;
27561 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27562 PyObject
*resultobj
;
27563 wxWindow
*arg1
= (wxWindow
*) 0 ;
27566 PyObject
* obj0
= 0 ;
27567 PyObject
* obj1
= 0 ;
27568 char *kwnames
[] = {
27569 (char *) "self",(char *) "winid", NULL
27572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27574 if (SWIG_arg_fail(1)) SWIG_fail
;
27576 arg2
= (long)(SWIG_As_long(obj1
));
27577 if (SWIG_arg_fail(2)) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27587 resultobj
= wxPyMake_wxObject(result
, 0);
27595 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
;
27597 wxWindow
*arg1
= (wxWindow
*) 0 ;
27598 wxString
*arg2
= 0 ;
27600 bool temp2
= false ;
27601 PyObject
* obj0
= 0 ;
27602 PyObject
* obj1
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self",(char *) "name", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27609 if (SWIG_arg_fail(1)) SWIG_fail
;
27611 arg2
= wxString_in_helper(obj1
);
27612 if (arg2
== NULL
) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27623 resultobj
= wxPyMake_wxObject(result
, 0);
27639 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
;
27641 wxWindow
*arg1
= (wxWindow
*) 0 ;
27642 wxEvtHandler
*result
;
27643 PyObject
* obj0
= 0 ;
27644 char *kwnames
[] = {
27645 (char *) "self", NULL
27648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27650 if (SWIG_arg_fail(1)) SWIG_fail
;
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27659 resultobj
= wxPyMake_wxObject(result
, 0);
27667 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27668 PyObject
*resultobj
;
27669 wxWindow
*arg1
= (wxWindow
*) 0 ;
27670 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27671 PyObject
* obj0
= 0 ;
27672 PyObject
* obj1
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self",(char *) "handler", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27679 if (SWIG_arg_fail(1)) SWIG_fail
;
27680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27681 if (SWIG_arg_fail(2)) SWIG_fail
;
27683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27684 (arg1
)->SetEventHandler(arg2
);
27686 wxPyEndAllowThreads(__tstate
);
27687 if (PyErr_Occurred()) SWIG_fail
;
27689 Py_INCREF(Py_None
); resultobj
= Py_None
;
27696 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
;
27698 wxWindow
*arg1
= (wxWindow
*) 0 ;
27699 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27700 PyObject
* obj0
= 0 ;
27701 PyObject
* obj1
= 0 ;
27702 char *kwnames
[] = {
27703 (char *) "self",(char *) "handler", NULL
27706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27708 if (SWIG_arg_fail(1)) SWIG_fail
;
27709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27710 if (SWIG_arg_fail(2)) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 (arg1
)->PushEventHandler(arg2
);
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 Py_INCREF(Py_None
); resultobj
= Py_None
;
27725 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxWindow
*arg1
= (wxWindow
*) 0 ;
27728 bool arg2
= (bool) false ;
27729 wxEvtHandler
*result
;
27730 PyObject
* obj0
= 0 ;
27731 PyObject
* obj1
= 0 ;
27732 char *kwnames
[] = {
27733 (char *) "self",(char *) "deleteHandler", NULL
27736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27738 if (SWIG_arg_fail(1)) SWIG_fail
;
27741 arg2
= (bool)(SWIG_As_bool(obj1
));
27742 if (SWIG_arg_fail(2)) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= wxPyMake_wxObject(result
, 0);
27761 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxWindow
*arg1
= (wxWindow
*) 0 ;
27764 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 char *kwnames
[] = {
27769 (char *) "self",(char *) "handler", NULL
27772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27774 if (SWIG_arg_fail(1)) SWIG_fail
;
27775 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27776 if (SWIG_arg_fail(2)) SWIG_fail
;
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
27781 wxPyEndAllowThreads(__tstate
);
27782 if (PyErr_Occurred()) SWIG_fail
;
27785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27793 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxWindow
*arg1
= (wxWindow
*) 0 ;
27796 wxValidator
*arg2
= 0 ;
27797 PyObject
* obj0
= 0 ;
27798 PyObject
* obj1
= 0 ;
27799 char *kwnames
[] = {
27800 (char *) "self",(char *) "validator", NULL
27803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
27804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27805 if (SWIG_arg_fail(1)) SWIG_fail
;
27807 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27808 if (SWIG_arg_fail(2)) SWIG_fail
;
27809 if (arg2
== NULL
) {
27810 SWIG_null_ref("wxValidator");
27812 if (SWIG_arg_fail(2)) SWIG_fail
;
27815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27816 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 Py_INCREF(Py_None
); resultobj
= Py_None
;
27828 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27829 PyObject
*resultobj
;
27830 wxWindow
*arg1
= (wxWindow
*) 0 ;
27831 wxValidator
*result
;
27832 PyObject
* obj0
= 0 ;
27833 char *kwnames
[] = {
27834 (char *) "self", NULL
27837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
27838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27839 if (SWIG_arg_fail(1)) SWIG_fail
;
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 result
= (wxValidator
*)(arg1
)->GetValidator();
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27848 resultobj
= wxPyMake_wxObject(result
, 0);
27856 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27857 PyObject
*resultobj
;
27858 wxWindow
*arg1
= (wxWindow
*) 0 ;
27860 PyObject
* obj0
= 0 ;
27861 char *kwnames
[] = {
27862 (char *) "self", NULL
27865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
27866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27867 if (SWIG_arg_fail(1)) SWIG_fail
;
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 result
= (bool)(arg1
)->Validate();
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27884 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27885 PyObject
*resultobj
;
27886 wxWindow
*arg1
= (wxWindow
*) 0 ;
27888 PyObject
* obj0
= 0 ;
27889 char *kwnames
[] = {
27890 (char *) "self", NULL
27893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27895 if (SWIG_arg_fail(1)) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (bool)(arg1
)->TransferDataToWindow();
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27912 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
;
27914 wxWindow
*arg1
= (wxWindow
*) 0 ;
27916 PyObject
* obj0
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "self", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27923 if (SWIG_arg_fail(1)) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 result
= (bool)(arg1
)->TransferDataFromWindow();
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27940 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27941 PyObject
*resultobj
;
27942 wxWindow
*arg1
= (wxWindow
*) 0 ;
27943 PyObject
* obj0
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
27949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27950 if (SWIG_arg_fail(1)) SWIG_fail
;
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 (arg1
)->InitDialog();
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 Py_INCREF(Py_None
); resultobj
= Py_None
;
27965 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxWindow
*arg1
= (wxWindow
*) 0 ;
27968 wxAcceleratorTable
*arg2
= 0 ;
27969 PyObject
* obj0
= 0 ;
27970 PyObject
* obj1
= 0 ;
27971 char *kwnames
[] = {
27972 (char *) "self",(char *) "accel", NULL
27975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
27976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27977 if (SWIG_arg_fail(1)) SWIG_fail
;
27979 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
27980 if (SWIG_arg_fail(2)) SWIG_fail
;
27981 if (arg2
== NULL
) {
27982 SWIG_null_ref("wxAcceleratorTable");
27984 if (SWIG_arg_fail(2)) SWIG_fail
;
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27988 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27993 Py_INCREF(Py_None
); resultobj
= Py_None
;
28000 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28001 PyObject
*resultobj
;
28002 wxWindow
*arg1
= (wxWindow
*) 0 ;
28003 wxAcceleratorTable
*result
;
28004 PyObject
* obj0
= 0 ;
28005 char *kwnames
[] = {
28006 (char *) "self", NULL
28009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28011 if (SWIG_arg_fail(1)) SWIG_fail
;
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28026 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
;
28028 wxWindow
*arg1
= (wxWindow
*) 0 ;
28033 PyObject
* obj0
= 0 ;
28034 PyObject
* obj1
= 0 ;
28035 PyObject
* obj2
= 0 ;
28036 PyObject
* obj3
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28043 if (SWIG_arg_fail(1)) SWIG_fail
;
28045 arg2
= (int)(SWIG_As_int(obj1
));
28046 if (SWIG_arg_fail(2)) SWIG_fail
;
28049 arg3
= (int)(SWIG_As_int(obj2
));
28050 if (SWIG_arg_fail(3)) SWIG_fail
;
28053 arg4
= (int)(SWIG_As_int(obj3
));
28054 if (SWIG_arg_fail(4)) SWIG_fail
;
28057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28058 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28072 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28073 PyObject
*resultobj
;
28074 wxWindow
*arg1
= (wxWindow
*) 0 ;
28077 PyObject
* obj0
= 0 ;
28078 PyObject
* obj1
= 0 ;
28079 char *kwnames
[] = {
28080 (char *) "self",(char *) "hotkeyId", NULL
28083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28085 if (SWIG_arg_fail(1)) SWIG_fail
;
28087 arg2
= (int)(SWIG_As_int(obj1
));
28088 if (SWIG_arg_fail(2)) SWIG_fail
;
28091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28092 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28094 wxPyEndAllowThreads(__tstate
);
28095 if (PyErr_Occurred()) SWIG_fail
;
28098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28106 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28107 PyObject
*resultobj
;
28108 wxWindow
*arg1
= (wxWindow
*) 0 ;
28109 wxPoint
*arg2
= 0 ;
28112 PyObject
* obj0
= 0 ;
28113 PyObject
* obj1
= 0 ;
28114 char *kwnames
[] = {
28115 (char *) "self",(char *) "pt", NULL
28118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28120 if (SWIG_arg_fail(1)) SWIG_fail
;
28123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28127 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28129 wxPyEndAllowThreads(__tstate
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28133 wxPoint
* resultptr
;
28134 resultptr
= new wxPoint((wxPoint
&)(result
));
28135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28143 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
;
28145 wxWindow
*arg1
= (wxWindow
*) 0 ;
28149 PyObject
* obj0
= 0 ;
28150 PyObject
* obj1
= 0 ;
28151 char *kwnames
[] = {
28152 (char *) "self",(char *) "sz", NULL
28155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28157 if (SWIG_arg_fail(1)) SWIG_fail
;
28160 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28164 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28166 wxPyEndAllowThreads(__tstate
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28170 wxSize
* resultptr
;
28171 resultptr
= new wxSize((wxSize
&)(result
));
28172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28180 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
;
28182 wxWindow
*arg1
= (wxWindow
*) 0 ;
28183 wxPoint
*arg2
= 0 ;
28186 PyObject
* obj0
= 0 ;
28187 PyObject
* obj1
= 0 ;
28188 char *kwnames
[] = {
28189 (char *) "self",(char *) "pt", NULL
28192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28194 if (SWIG_arg_fail(1)) SWIG_fail
;
28197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28201 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28203 wxPyEndAllowThreads(__tstate
);
28204 if (PyErr_Occurred()) SWIG_fail
;
28207 wxPoint
* resultptr
;
28208 resultptr
= new wxPoint((wxPoint
&)(result
));
28209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28217 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28218 PyObject
*resultobj
;
28219 wxWindow
*arg1
= (wxWindow
*) 0 ;
28223 PyObject
* obj0
= 0 ;
28224 PyObject
* obj1
= 0 ;
28225 char *kwnames
[] = {
28226 (char *) "self",(char *) "sz", NULL
28229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28231 if (SWIG_arg_fail(1)) SWIG_fail
;
28234 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28244 wxSize
* resultptr
;
28245 resultptr
= new wxSize((wxSize
&)(result
));
28246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28254 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28255 PyObject
*resultobj
;
28256 wxWindow
*arg1
= (wxWindow
*) 0 ;
28257 wxPoint
*arg2
= 0 ;
28260 PyObject
* obj0
= 0 ;
28261 PyObject
* obj1
= 0 ;
28262 char *kwnames
[] = {
28263 (char *) "self",(char *) "pt", NULL
28266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28268 if (SWIG_arg_fail(1)) SWIG_fail
;
28271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28281 wxPoint
* resultptr
;
28282 resultptr
= new wxPoint((wxPoint
&)(result
));
28283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28291 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
;
28293 wxWindow
*arg1
= (wxWindow
*) 0 ;
28297 PyObject
* obj0
= 0 ;
28298 PyObject
* obj1
= 0 ;
28299 char *kwnames
[] = {
28300 (char *) "self",(char *) "sz", NULL
28303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28305 if (SWIG_arg_fail(1)) SWIG_fail
;
28308 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28318 wxSize
* resultptr
;
28319 resultptr
= new wxSize((wxSize
&)(result
));
28320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28328 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28329 PyObject
*resultobj
;
28330 wxWindow
*arg1
= (wxWindow
*) 0 ;
28333 PyObject
* obj0
= 0 ;
28334 PyObject
* obj1
= 0 ;
28335 PyObject
* obj2
= 0 ;
28336 char *kwnames
[] = {
28337 (char *) "self",(char *) "x",(char *) "y", NULL
28340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28342 if (SWIG_arg_fail(1)) SWIG_fail
;
28344 arg2
= (int)(SWIG_As_int(obj1
));
28345 if (SWIG_arg_fail(2)) SWIG_fail
;
28348 arg3
= (int)(SWIG_As_int(obj2
));
28349 if (SWIG_arg_fail(3)) SWIG_fail
;
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 (arg1
)->WarpPointer(arg2
,arg3
);
28355 wxPyEndAllowThreads(__tstate
);
28356 if (PyErr_Occurred()) SWIG_fail
;
28358 Py_INCREF(Py_None
); resultobj
= Py_None
;
28365 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28366 PyObject
*resultobj
;
28367 wxWindow
*arg1
= (wxWindow
*) 0 ;
28368 PyObject
* obj0
= 0 ;
28369 char *kwnames
[] = {
28370 (char *) "self", NULL
28373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28375 if (SWIG_arg_fail(1)) SWIG_fail
;
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 (arg1
)->CaptureMouse();
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 Py_INCREF(Py_None
); resultobj
= Py_None
;
28390 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 wxWindow
*arg1
= (wxWindow
*) 0 ;
28393 PyObject
* obj0
= 0 ;
28394 char *kwnames
[] = {
28395 (char *) "self", NULL
28398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28400 if (SWIG_arg_fail(1)) SWIG_fail
;
28402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28403 (arg1
)->ReleaseMouse();
28405 wxPyEndAllowThreads(__tstate
);
28406 if (PyErr_Occurred()) SWIG_fail
;
28408 Py_INCREF(Py_None
); resultobj
= Py_None
;
28415 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28416 PyObject
*resultobj
;
28418 char *kwnames
[] = {
28422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28424 if (!wxPyCheckForApp()) SWIG_fail
;
28425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28426 result
= (wxWindow
*)wxWindow::GetCapture();
28428 wxPyEndAllowThreads(__tstate
);
28429 if (PyErr_Occurred()) SWIG_fail
;
28432 resultobj
= wxPyMake_wxObject(result
, 0);
28440 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28441 PyObject
*resultobj
;
28442 wxWindow
*arg1
= (wxWindow
*) 0 ;
28444 PyObject
* obj0
= 0 ;
28445 char *kwnames
[] = {
28446 (char *) "self", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28451 if (SWIG_arg_fail(1)) SWIG_fail
;
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28468 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxWindow
*arg1
= (wxWindow
*) 0 ;
28471 bool arg2
= (bool) true ;
28472 wxRect
*arg3
= (wxRect
*) NULL
;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 PyObject
* obj2
= 0 ;
28476 char *kwnames
[] = {
28477 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28482 if (SWIG_arg_fail(1)) SWIG_fail
;
28485 arg2
= (bool)(SWIG_As_bool(obj1
));
28486 if (SWIG_arg_fail(2)) SWIG_fail
;
28490 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28491 if (SWIG_arg_fail(3)) SWIG_fail
;
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28500 Py_INCREF(Py_None
); resultobj
= Py_None
;
28507 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28508 PyObject
*resultobj
;
28509 wxWindow
*arg1
= (wxWindow
*) 0 ;
28512 PyObject
* obj0
= 0 ;
28513 PyObject
* obj1
= 0 ;
28514 char *kwnames
[] = {
28515 (char *) "self",(char *) "rect", NULL
28518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28520 if (SWIG_arg_fail(1)) SWIG_fail
;
28523 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28532 Py_INCREF(Py_None
); resultobj
= Py_None
;
28539 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28540 PyObject
*resultobj
;
28541 wxWindow
*arg1
= (wxWindow
*) 0 ;
28542 PyObject
* obj0
= 0 ;
28543 char *kwnames
[] = {
28544 (char *) "self", NULL
28547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28549 if (SWIG_arg_fail(1)) SWIG_fail
;
28551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 wxPyEndAllowThreads(__tstate
);
28555 if (PyErr_Occurred()) SWIG_fail
;
28557 Py_INCREF(Py_None
); resultobj
= Py_None
;
28564 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxWindow
*arg1
= (wxWindow
*) 0 ;
28567 PyObject
* obj0
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28574 if (SWIG_arg_fail(1)) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 (arg1
)->ClearBackground();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 Py_INCREF(Py_None
); resultobj
= Py_None
;
28589 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
;
28591 wxWindow
*arg1
= (wxWindow
*) 0 ;
28592 PyObject
* obj0
= 0 ;
28593 char *kwnames
[] = {
28594 (char *) "self", NULL
28597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28599 if (SWIG_arg_fail(1)) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28607 Py_INCREF(Py_None
); resultobj
= Py_None
;
28614 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
;
28616 wxWindow
*arg1
= (wxWindow
*) 0 ;
28617 PyObject
* obj0
= 0 ;
28618 char *kwnames
[] = {
28619 (char *) "self", NULL
28622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28624 if (SWIG_arg_fail(1)) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 Py_INCREF(Py_None
); resultobj
= Py_None
;
28639 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
;
28641 wxWindow
*arg1
= (wxWindow
*) 0 ;
28643 PyObject
* obj0
= 0 ;
28644 PyObject
* obj1
= 0 ;
28645 char *kwnames
[] = {
28646 (char *) "self",(char *) "dc", NULL
28649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28651 if (SWIG_arg_fail(1)) SWIG_fail
;
28653 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28654 if (SWIG_arg_fail(2)) SWIG_fail
;
28655 if (arg2
== NULL
) {
28656 SWIG_null_ref("wxDC");
28658 if (SWIG_arg_fail(2)) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 (arg1
)->PrepareDC(*arg2
);
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28667 Py_INCREF(Py_None
); resultobj
= Py_None
;
28674 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
;
28676 wxWindow
*arg1
= (wxWindow
*) 0 ;
28678 PyObject
* obj0
= 0 ;
28679 char *kwnames
[] = {
28680 (char *) "self", NULL
28683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28685 if (SWIG_arg_fail(1)) SWIG_fail
;
28687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28690 result
= (wxRegion
*) &_result_ref
;
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28703 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
;
28705 wxWindow
*arg1
= (wxWindow
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
28713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28714 if (SWIG_arg_fail(1)) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28723 wxRect
* resultptr
;
28724 resultptr
= new wxRect((wxRect
&)(result
));
28725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28733 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxWindow
*arg1
= (wxWindow
*) 0 ;
28738 int arg4
= (int) 1 ;
28739 int arg5
= (int) 1 ;
28741 PyObject
* obj0
= 0 ;
28742 PyObject
* obj1
= 0 ;
28743 PyObject
* obj2
= 0 ;
28744 PyObject
* obj3
= 0 ;
28745 PyObject
* obj4
= 0 ;
28746 char *kwnames
[] = {
28747 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28752 if (SWIG_arg_fail(1)) SWIG_fail
;
28754 arg2
= (int)(SWIG_As_int(obj1
));
28755 if (SWIG_arg_fail(2)) SWIG_fail
;
28758 arg3
= (int)(SWIG_As_int(obj2
));
28759 if (SWIG_arg_fail(3)) SWIG_fail
;
28763 arg4
= (int)(SWIG_As_int(obj3
));
28764 if (SWIG_arg_fail(4)) SWIG_fail
;
28769 arg5
= (int)(SWIG_As_int(obj4
));
28770 if (SWIG_arg_fail(5)) SWIG_fail
;
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28789 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28790 PyObject
*resultobj
;
28791 wxWindow
*arg1
= (wxWindow
*) 0 ;
28792 wxPoint
*arg2
= 0 ;
28795 PyObject
* obj0
= 0 ;
28796 PyObject
* obj1
= 0 ;
28797 char *kwnames
[] = {
28798 (char *) "self",(char *) "pt", NULL
28801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28803 if (SWIG_arg_fail(1)) SWIG_fail
;
28806 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
28812 wxPyEndAllowThreads(__tstate
);
28813 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28824 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxWindow
*arg1
= (wxWindow
*) 0 ;
28830 PyObject
* obj0
= 0 ;
28831 PyObject
* obj1
= 0 ;
28832 char *kwnames
[] = {
28833 (char *) "self",(char *) "rect", NULL
28836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28838 if (SWIG_arg_fail(1)) SWIG_fail
;
28841 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28859 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
;
28861 wxWindow
*arg1
= (wxWindow
*) 0 ;
28862 wxVisualAttributes result
;
28863 PyObject
* obj0
= 0 ;
28864 char *kwnames
[] = {
28865 (char *) "self", NULL
28868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28870 if (SWIG_arg_fail(1)) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28879 wxVisualAttributes
* resultptr
;
28880 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28889 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
;
28891 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
28892 wxVisualAttributes result
;
28893 PyObject
* obj0
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "variant", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28901 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
28902 if (SWIG_arg_fail(1)) SWIG_fail
;
28906 if (!wxPyCheckForApp()) SWIG_fail
;
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28914 wxVisualAttributes
* resultptr
;
28915 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28924 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28925 PyObject
*resultobj
;
28926 wxWindow
*arg1
= (wxWindow
*) 0 ;
28927 wxColour
*arg2
= 0 ;
28930 PyObject
* obj0
= 0 ;
28931 PyObject
* obj1
= 0 ;
28932 char *kwnames
[] = {
28933 (char *) "self",(char *) "colour", NULL
28936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28938 if (SWIG_arg_fail(1)) SWIG_fail
;
28941 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28959 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
;
28961 wxWindow
*arg1
= (wxWindow
*) 0 ;
28962 wxColour
*arg2
= 0 ;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "self",(char *) "colour", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28972 if (SWIG_arg_fail(1)) SWIG_fail
;
28975 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28984 Py_INCREF(Py_None
); resultobj
= Py_None
;
28991 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28992 PyObject
*resultobj
;
28993 wxWindow
*arg1
= (wxWindow
*) 0 ;
28994 wxColour
*arg2
= 0 ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 char *kwnames
[] = {
29000 (char *) "self",(char *) "colour", NULL
29003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29005 if (SWIG_arg_fail(1)) SWIG_fail
;
29008 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29012 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29014 wxPyEndAllowThreads(__tstate
);
29015 if (PyErr_Occurred()) SWIG_fail
;
29018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29026 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29027 PyObject
*resultobj
;
29028 wxWindow
*arg1
= (wxWindow
*) 0 ;
29029 wxColour
*arg2
= 0 ;
29031 PyObject
* obj0
= 0 ;
29032 PyObject
* obj1
= 0 ;
29033 char *kwnames
[] = {
29034 (char *) "self",(char *) "colour", NULL
29037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29039 if (SWIG_arg_fail(1)) SWIG_fail
;
29042 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29046 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29048 wxPyEndAllowThreads(__tstate
);
29049 if (PyErr_Occurred()) SWIG_fail
;
29051 Py_INCREF(Py_None
); resultobj
= Py_None
;
29058 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29059 PyObject
*resultobj
;
29060 wxWindow
*arg1
= (wxWindow
*) 0 ;
29062 PyObject
* obj0
= 0 ;
29063 char *kwnames
[] = {
29064 (char *) "self", NULL
29067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29069 if (SWIG_arg_fail(1)) SWIG_fail
;
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29078 wxColour
* resultptr
;
29079 resultptr
= new wxColour((wxColour
&)(result
));
29080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29088 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29089 PyObject
*resultobj
;
29090 wxWindow
*arg1
= (wxWindow
*) 0 ;
29092 PyObject
* obj0
= 0 ;
29093 char *kwnames
[] = {
29094 (char *) "self", NULL
29097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29099 if (SWIG_arg_fail(1)) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29108 wxColour
* resultptr
;
29109 resultptr
= new wxColour((wxColour
&)(result
));
29110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29118 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29119 PyObject
*resultobj
;
29120 wxWindow
*arg1
= (wxWindow
*) 0 ;
29121 wxBackgroundStyle arg2
;
29123 PyObject
* obj0
= 0 ;
29124 PyObject
* obj1
= 0 ;
29125 char *kwnames
[] = {
29126 (char *) "self",(char *) "style", NULL
29129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29131 if (SWIG_arg_fail(1)) SWIG_fail
;
29133 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29134 if (SWIG_arg_fail(2)) SWIG_fail
;
29137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29138 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29140 wxPyEndAllowThreads(__tstate
);
29141 if (PyErr_Occurred()) SWIG_fail
;
29144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29152 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
;
29154 wxWindow
*arg1
= (wxWindow
*) 0 ;
29155 wxBackgroundStyle result
;
29156 PyObject
* obj0
= 0 ;
29157 char *kwnames
[] = {
29158 (char *) "self", NULL
29161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29163 if (SWIG_arg_fail(1)) SWIG_fail
;
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 resultobj
= SWIG_From_int((result
));
29178 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29180 wxWindow
*arg1
= (wxWindow
*) 0 ;
29181 wxCursor
*arg2
= 0 ;
29183 PyObject
* obj0
= 0 ;
29184 PyObject
* obj1
= 0 ;
29185 char *kwnames
[] = {
29186 (char *) "self",(char *) "cursor", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29191 if (SWIG_arg_fail(1)) SWIG_fail
;
29193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29194 if (SWIG_arg_fail(2)) SWIG_fail
;
29195 if (arg2
== NULL
) {
29196 SWIG_null_ref("wxCursor");
29198 if (SWIG_arg_fail(2)) SWIG_fail
;
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29204 wxPyEndAllowThreads(__tstate
);
29205 if (PyErr_Occurred()) SWIG_fail
;
29208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29216 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxWindow
*arg1
= (wxWindow
*) 0 ;
29220 PyObject
* obj0
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29227 if (SWIG_arg_fail(1)) SWIG_fail
;
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= (arg1
)->GetCursor();
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29236 wxCursor
* resultptr
;
29237 resultptr
= new wxCursor((wxCursor
&)(result
));
29238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29246 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxWindow
*arg1
= (wxWindow
*) 0 ;
29251 PyObject
* obj0
= 0 ;
29252 PyObject
* obj1
= 0 ;
29253 char *kwnames
[] = {
29254 (char *) "self",(char *) "font", NULL
29257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29259 if (SWIG_arg_fail(1)) SWIG_fail
;
29261 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29262 if (SWIG_arg_fail(2)) SWIG_fail
;
29263 if (arg2
== NULL
) {
29264 SWIG_null_ref("wxFont");
29266 if (SWIG_arg_fail(2)) SWIG_fail
;
29269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29270 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29272 wxPyEndAllowThreads(__tstate
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29284 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29285 PyObject
*resultobj
;
29286 wxWindow
*arg1
= (wxWindow
*) 0 ;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 char *kwnames
[] = {
29291 (char *) "self",(char *) "font", NULL
29294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29296 if (SWIG_arg_fail(1)) SWIG_fail
;
29298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29299 if (SWIG_arg_fail(2)) SWIG_fail
;
29300 if (arg2
== NULL
) {
29301 SWIG_null_ref("wxFont");
29303 if (SWIG_arg_fail(2)) SWIG_fail
;
29306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29307 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29312 Py_INCREF(Py_None
); resultobj
= Py_None
;
29319 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29320 PyObject
*resultobj
;
29321 wxWindow
*arg1
= (wxWindow
*) 0 ;
29323 PyObject
* obj0
= 0 ;
29324 char *kwnames
[] = {
29325 (char *) "self", NULL
29328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29330 if (SWIG_arg_fail(1)) SWIG_fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 result
= (arg1
)->GetFont();
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29339 wxFont
* resultptr
;
29340 resultptr
= new wxFont((wxFont
&)(result
));
29341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29349 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
;
29351 wxWindow
*arg1
= (wxWindow
*) 0 ;
29352 wxCaret
*arg2
= (wxCaret
*) 0 ;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self",(char *) "caret", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29361 if (SWIG_arg_fail(1)) SWIG_fail
;
29362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29363 if (SWIG_arg_fail(2)) SWIG_fail
;
29365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 (arg1
)->SetCaret(arg2
);
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 Py_INCREF(Py_None
); resultobj
= Py_None
;
29378 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29379 PyObject
*resultobj
;
29380 wxWindow
*arg1
= (wxWindow
*) 0 ;
29382 PyObject
* obj0
= 0 ;
29383 char *kwnames
[] = {
29384 (char *) "self", NULL
29387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29389 if (SWIG_arg_fail(1)) SWIG_fail
;
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29404 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29405 PyObject
*resultobj
;
29406 wxWindow
*arg1
= (wxWindow
*) 0 ;
29408 PyObject
* obj0
= 0 ;
29409 char *kwnames
[] = {
29410 (char *) "self", NULL
29413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29415 if (SWIG_arg_fail(1)) SWIG_fail
;
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= SWIG_From_int((int)(result
));
29432 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
;
29434 wxWindow
*arg1
= (wxWindow
*) 0 ;
29436 PyObject
* obj0
= 0 ;
29437 char *kwnames
[] = {
29438 (char *) "self", NULL
29441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29443 if (SWIG_arg_fail(1)) SWIG_fail
;
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29452 resultobj
= SWIG_From_int((int)(result
));
29460 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29461 PyObject
*resultobj
;
29462 wxWindow
*arg1
= (wxWindow
*) 0 ;
29463 wxString
*arg2
= 0 ;
29464 int *arg3
= (int *) 0 ;
29465 int *arg4
= (int *) 0 ;
29466 bool temp2
= false ;
29471 PyObject
* obj0
= 0 ;
29472 PyObject
* obj1
= 0 ;
29473 char *kwnames
[] = {
29474 (char *) "self",(char *) "string", NULL
29477 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29478 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29481 if (SWIG_arg_fail(1)) SWIG_fail
;
29483 arg2
= wxString_in_helper(obj1
);
29484 if (arg2
== NULL
) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29494 Py_INCREF(Py_None
); resultobj
= Py_None
;
29495 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29496 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29497 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29498 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29513 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
;
29515 wxWindow
*arg1
= (wxWindow
*) 0 ;
29516 wxString
*arg2
= 0 ;
29517 int *arg3
= (int *) 0 ;
29518 int *arg4
= (int *) 0 ;
29519 int *arg5
= (int *) 0 ;
29520 int *arg6
= (int *) 0 ;
29521 wxFont
*arg7
= (wxFont
*) NULL
;
29522 bool temp2
= false ;
29531 PyObject
* obj0
= 0 ;
29532 PyObject
* obj1
= 0 ;
29533 PyObject
* obj2
= 0 ;
29534 char *kwnames
[] = {
29535 (char *) "self",(char *) "string",(char *) "font", NULL
29538 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29539 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29540 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29541 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29544 if (SWIG_arg_fail(1)) SWIG_fail
;
29546 arg2
= wxString_in_helper(obj1
);
29547 if (arg2
== NULL
) SWIG_fail
;
29551 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29552 if (SWIG_arg_fail(7)) SWIG_fail
;
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29561 Py_INCREF(Py_None
); resultobj
= Py_None
;
29562 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29563 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29564 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29565 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29566 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29567 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29568 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29569 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29584 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29585 PyObject
*resultobj
;
29586 wxWindow
*arg1
= (wxWindow
*) 0 ;
29587 int *arg2
= (int *) 0 ;
29588 int *arg3
= (int *) 0 ;
29593 PyObject
* obj0
= 0 ;
29594 PyObject
* obj1
= 0 ;
29595 PyObject
* obj2
= 0 ;
29596 char *kwnames
[] = {
29597 (char *) "self",(char *) "x",(char *) "y", NULL
29600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29602 if (SWIG_arg_fail(1)) SWIG_fail
;
29604 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29605 temp2
= SWIG_As_int(obj1
);
29606 if (SWIG_arg_fail(2)) SWIG_fail
;
29608 res2
= SWIG_NEWOBJ
;
29612 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29613 temp3
= SWIG_As_int(obj2
);
29614 if (SWIG_arg_fail(3)) SWIG_fail
;
29616 res3
= SWIG_NEWOBJ
;
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29626 Py_INCREF(Py_None
); resultobj
= Py_None
;
29627 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29628 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29629 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29630 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29637 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
;
29639 wxWindow
*arg1
= (wxWindow
*) 0 ;
29640 int *arg2
= (int *) 0 ;
29641 int *arg3
= (int *) 0 ;
29646 PyObject
* obj0
= 0 ;
29647 PyObject
* obj1
= 0 ;
29648 PyObject
* obj2
= 0 ;
29649 char *kwnames
[] = {
29650 (char *) "self",(char *) "x",(char *) "y", NULL
29653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29655 if (SWIG_arg_fail(1)) SWIG_fail
;
29657 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29658 temp2
= SWIG_As_int(obj1
);
29659 if (SWIG_arg_fail(2)) SWIG_fail
;
29661 res2
= SWIG_NEWOBJ
;
29665 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29666 temp3
= SWIG_As_int(obj2
);
29667 if (SWIG_arg_fail(3)) SWIG_fail
;
29669 res3
= SWIG_NEWOBJ
;
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29679 Py_INCREF(Py_None
); resultobj
= Py_None
;
29680 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29681 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29682 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29683 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29690 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29691 PyObject
*resultobj
;
29692 wxWindow
*arg1
= (wxWindow
*) 0 ;
29693 wxPoint
*arg2
= 0 ;
29696 PyObject
* obj0
= 0 ;
29697 PyObject
* obj1
= 0 ;
29698 char *kwnames
[] = {
29699 (char *) "self",(char *) "pt", NULL
29702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
29703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29704 if (SWIG_arg_fail(1)) SWIG_fail
;
29707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
29713 wxPyEndAllowThreads(__tstate
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29717 wxPoint
* resultptr
;
29718 resultptr
= new wxPoint((wxPoint
&)(result
));
29719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29727 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29728 PyObject
*resultobj
;
29729 wxWindow
*arg1
= (wxWindow
*) 0 ;
29730 wxPoint
*arg2
= 0 ;
29733 PyObject
* obj0
= 0 ;
29734 PyObject
* obj1
= 0 ;
29735 char *kwnames
[] = {
29736 (char *) "self",(char *) "pt", NULL
29739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
29740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29741 if (SWIG_arg_fail(1)) SWIG_fail
;
29744 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
29750 wxPyEndAllowThreads(__tstate
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29754 wxPoint
* resultptr
;
29755 resultptr
= new wxPoint((wxPoint
&)(result
));
29756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29764 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
;
29766 wxWindow
*arg1
= (wxWindow
*) 0 ;
29770 PyObject
* obj0
= 0 ;
29771 PyObject
* obj1
= 0 ;
29772 PyObject
* obj2
= 0 ;
29773 char *kwnames
[] = {
29774 (char *) "self",(char *) "x",(char *) "y", NULL
29777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29779 if (SWIG_arg_fail(1)) SWIG_fail
;
29781 arg2
= (int)(SWIG_As_int(obj1
));
29782 if (SWIG_arg_fail(2)) SWIG_fail
;
29785 arg3
= (int)(SWIG_As_int(obj2
));
29786 if (SWIG_arg_fail(3)) SWIG_fail
;
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 resultobj
= SWIG_From_int((result
));
29802 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
;
29804 wxWindow
*arg1
= (wxWindow
*) 0 ;
29805 wxPoint
*arg2
= 0 ;
29808 PyObject
* obj0
= 0 ;
29809 PyObject
* obj1
= 0 ;
29810 char *kwnames
[] = {
29811 (char *) "self",(char *) "pt", NULL
29814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
29815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29816 if (SWIG_arg_fail(1)) SWIG_fail
;
29819 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= SWIG_From_int((result
));
29835 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
29836 PyObject
*resultobj
;
29837 wxWindow
*arg1
= (wxWindow
*) 0 ;
29840 PyObject
* obj0
= 0 ;
29841 PyObject
* obj1
= 0 ;
29843 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
29844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29845 if (SWIG_arg_fail(1)) SWIG_fail
;
29847 arg2
= (long)(SWIG_As_long(obj1
));
29848 if (SWIG_arg_fail(2)) SWIG_fail
;
29851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29852 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= SWIG_From_int((result
));
29864 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
29865 PyObject
*resultobj
;
29866 wxWindow
*arg1
= (wxWindow
*) 0 ;
29868 PyObject
* obj0
= 0 ;
29870 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
29871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29872 if (SWIG_arg_fail(1)) SWIG_fail
;
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29875 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= SWIG_From_int((result
));
29887 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
29892 argc
= PyObject_Length(args
);
29893 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
29894 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29900 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29908 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
29915 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29923 _v
= SWIG_Check_long(argv
[1]);
29925 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
29930 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
29935 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29936 PyObject
*resultobj
;
29937 wxWindow
*arg1
= (wxWindow
*) 0 ;
29938 long arg2
= (long) wxUPDATE_UI_NONE
;
29939 PyObject
* obj0
= 0 ;
29940 PyObject
* obj1
= 0 ;
29941 char *kwnames
[] = {
29942 (char *) "self",(char *) "flags", NULL
29945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29947 if (SWIG_arg_fail(1)) SWIG_fail
;
29950 arg2
= (long)(SWIG_As_long(obj1
));
29951 if (SWIG_arg_fail(2)) SWIG_fail
;
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 (arg1
)->UpdateWindowUI(arg2
);
29958 wxPyEndAllowThreads(__tstate
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29961 Py_INCREF(Py_None
); resultobj
= Py_None
;
29968 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29969 PyObject
*resultobj
;
29970 wxWindow
*arg1
= (wxWindow
*) 0 ;
29971 wxMenu
*arg2
= (wxMenu
*) 0 ;
29972 int arg3
= (int) -1 ;
29973 int arg4
= (int) -1 ;
29975 PyObject
* obj0
= 0 ;
29976 PyObject
* obj1
= 0 ;
29977 PyObject
* obj2
= 0 ;
29978 PyObject
* obj3
= 0 ;
29979 char *kwnames
[] = {
29980 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
29983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29985 if (SWIG_arg_fail(1)) SWIG_fail
;
29986 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
29987 if (SWIG_arg_fail(2)) SWIG_fail
;
29990 arg3
= (int)(SWIG_As_int(obj2
));
29991 if (SWIG_arg_fail(3)) SWIG_fail
;
29996 arg4
= (int)(SWIG_As_int(obj3
));
29997 if (SWIG_arg_fail(4)) SWIG_fail
;
30001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30002 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30004 wxPyEndAllowThreads(__tstate
);
30005 if (PyErr_Occurred()) SWIG_fail
;
30008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30016 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
;
30018 wxWindow
*arg1
= (wxWindow
*) 0 ;
30019 wxMenu
*arg2
= (wxMenu
*) 0 ;
30020 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30021 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30024 PyObject
* obj0
= 0 ;
30025 PyObject
* obj1
= 0 ;
30026 PyObject
* obj2
= 0 ;
30027 char *kwnames
[] = {
30028 (char *) "self",(char *) "menu",(char *) "pos", NULL
30031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30033 if (SWIG_arg_fail(1)) SWIG_fail
;
30034 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30035 if (SWIG_arg_fail(2)) SWIG_fail
;
30039 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30058 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
;
30060 wxWindow
*arg1
= (wxWindow
*) 0 ;
30062 PyObject
* obj0
= 0 ;
30063 char *kwnames
[] = {
30064 (char *) "self", NULL
30067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30069 if (SWIG_arg_fail(1)) SWIG_fail
;
30071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 result
= (long)wxWindow_GetHandle(arg1
);
30074 wxPyEndAllowThreads(__tstate
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30078 resultobj
= SWIG_From_long((long)(result
));
30086 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
;
30088 wxWindow
*arg1
= (wxWindow
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 PyObject
* obj1
= 0 ;
30092 char *kwnames
[] = {
30093 (char *) "self",(char *) "handle", NULL
30096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30098 if (SWIG_arg_fail(1)) SWIG_fail
;
30100 arg2
= (long)(SWIG_As_long(obj1
));
30101 if (SWIG_arg_fail(2)) SWIG_fail
;
30104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 wxWindow_AssociateHandle(arg1
,arg2
);
30107 wxPyEndAllowThreads(__tstate
);
30108 if (PyErr_Occurred()) SWIG_fail
;
30110 Py_INCREF(Py_None
); resultobj
= Py_None
;
30117 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30118 PyObject
*resultobj
;
30119 wxWindow
*arg1
= (wxWindow
*) 0 ;
30120 PyObject
* obj0
= 0 ;
30121 char *kwnames
[] = {
30122 (char *) "self", NULL
30125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30127 if (SWIG_arg_fail(1)) SWIG_fail
;
30129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30130 (arg1
)->DissociateHandle();
30132 wxPyEndAllowThreads(__tstate
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30135 Py_INCREF(Py_None
); resultobj
= Py_None
;
30142 static PyObject
*_wrap_Window_OnPaint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30143 PyObject
*resultobj
;
30144 wxWindow
*arg1
= (wxWindow
*) 0 ;
30145 wxPaintEvent
*arg2
= 0 ;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 char *kwnames
[] = {
30149 (char *) "self",(char *) "event", NULL
30152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
30153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30154 if (SWIG_arg_fail(1)) SWIG_fail
;
30156 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_EXCEPTION
| 0);
30157 if (SWIG_arg_fail(2)) SWIG_fail
;
30158 if (arg2
== NULL
) {
30159 SWIG_null_ref("wxPaintEvent");
30161 if (SWIG_arg_fail(2)) SWIG_fail
;
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 (arg1
)->OnPaint(*arg2
);
30167 wxPyEndAllowThreads(__tstate
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30170 Py_INCREF(Py_None
); resultobj
= Py_None
;
30177 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30178 PyObject
*resultobj
;
30179 wxWindow
*arg1
= (wxWindow
*) 0 ;
30182 PyObject
* obj0
= 0 ;
30183 PyObject
* obj1
= 0 ;
30184 char *kwnames
[] = {
30185 (char *) "self",(char *) "orient", NULL
30188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30190 if (SWIG_arg_fail(1)) SWIG_fail
;
30192 arg2
= (int)(SWIG_As_int(obj1
));
30193 if (SWIG_arg_fail(2)) SWIG_fail
;
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30211 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
;
30213 wxWindow
*arg1
= (wxWindow
*) 0 ;
30218 bool arg6
= (bool) true ;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 PyObject
* obj3
= 0 ;
30223 PyObject
* obj4
= 0 ;
30224 PyObject
* obj5
= 0 ;
30225 char *kwnames
[] = {
30226 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30231 if (SWIG_arg_fail(1)) SWIG_fail
;
30233 arg2
= (int)(SWIG_As_int(obj1
));
30234 if (SWIG_arg_fail(2)) SWIG_fail
;
30237 arg3
= (int)(SWIG_As_int(obj2
));
30238 if (SWIG_arg_fail(3)) SWIG_fail
;
30241 arg4
= (int)(SWIG_As_int(obj3
));
30242 if (SWIG_arg_fail(4)) SWIG_fail
;
30245 arg5
= (int)(SWIG_As_int(obj4
));
30246 if (SWIG_arg_fail(5)) SWIG_fail
;
30250 arg6
= (bool)(SWIG_As_bool(obj5
));
30251 if (SWIG_arg_fail(6)) SWIG_fail
;
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30258 wxPyEndAllowThreads(__tstate
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30261 Py_INCREF(Py_None
); resultobj
= Py_None
;
30268 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30269 PyObject
*resultobj
;
30270 wxWindow
*arg1
= (wxWindow
*) 0 ;
30273 bool arg4
= (bool) true ;
30274 PyObject
* obj0
= 0 ;
30275 PyObject
* obj1
= 0 ;
30276 PyObject
* obj2
= 0 ;
30277 PyObject
* obj3
= 0 ;
30278 char *kwnames
[] = {
30279 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30284 if (SWIG_arg_fail(1)) SWIG_fail
;
30286 arg2
= (int)(SWIG_As_int(obj1
));
30287 if (SWIG_arg_fail(2)) SWIG_fail
;
30290 arg3
= (int)(SWIG_As_int(obj2
));
30291 if (SWIG_arg_fail(3)) SWIG_fail
;
30295 arg4
= (bool)(SWIG_As_bool(obj3
));
30296 if (SWIG_arg_fail(4)) SWIG_fail
;
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 Py_INCREF(Py_None
); resultobj
= Py_None
;
30313 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
;
30315 wxWindow
*arg1
= (wxWindow
*) 0 ;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 char *kwnames
[] = {
30321 (char *) "self",(char *) "orientation", NULL
30324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30326 if (SWIG_arg_fail(1)) SWIG_fail
;
30328 arg2
= (int)(SWIG_As_int(obj1
));
30329 if (SWIG_arg_fail(2)) SWIG_fail
;
30332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30333 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30335 wxPyEndAllowThreads(__tstate
);
30336 if (PyErr_Occurred()) SWIG_fail
;
30339 resultobj
= SWIG_From_int((int)(result
));
30347 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30348 PyObject
*resultobj
;
30349 wxWindow
*arg1
= (wxWindow
*) 0 ;
30352 PyObject
* obj0
= 0 ;
30353 PyObject
* obj1
= 0 ;
30354 char *kwnames
[] = {
30355 (char *) "self",(char *) "orientation", NULL
30358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30360 if (SWIG_arg_fail(1)) SWIG_fail
;
30362 arg2
= (int)(SWIG_As_int(obj1
));
30363 if (SWIG_arg_fail(2)) SWIG_fail
;
30366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30367 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30369 wxPyEndAllowThreads(__tstate
);
30370 if (PyErr_Occurred()) SWIG_fail
;
30373 resultobj
= SWIG_From_int((int)(result
));
30381 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30382 PyObject
*resultobj
;
30383 wxWindow
*arg1
= (wxWindow
*) 0 ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self",(char *) "orientation", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30394 if (SWIG_arg_fail(1)) SWIG_fail
;
30396 arg2
= (int)(SWIG_As_int(obj1
));
30397 if (SWIG_arg_fail(2)) SWIG_fail
;
30400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30401 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30403 wxPyEndAllowThreads(__tstate
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_From_int((int)(result
));
30415 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30416 PyObject
*resultobj
;
30417 wxWindow
*arg1
= (wxWindow
*) 0 ;
30420 wxRect
*arg4
= (wxRect
*) NULL
;
30421 PyObject
* obj0
= 0 ;
30422 PyObject
* obj1
= 0 ;
30423 PyObject
* obj2
= 0 ;
30424 PyObject
* obj3
= 0 ;
30425 char *kwnames
[] = {
30426 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30431 if (SWIG_arg_fail(1)) SWIG_fail
;
30433 arg2
= (int)(SWIG_As_int(obj1
));
30434 if (SWIG_arg_fail(2)) SWIG_fail
;
30437 arg3
= (int)(SWIG_As_int(obj2
));
30438 if (SWIG_arg_fail(3)) SWIG_fail
;
30441 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30442 if (SWIG_arg_fail(4)) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 Py_INCREF(Py_None
); resultobj
= Py_None
;
30458 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
;
30460 wxWindow
*arg1
= (wxWindow
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 PyObject
* obj1
= 0 ;
30465 char *kwnames
[] = {
30466 (char *) "self",(char *) "lines", NULL
30469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30471 if (SWIG_arg_fail(1)) SWIG_fail
;
30473 arg2
= (int)(SWIG_As_int(obj1
));
30474 if (SWIG_arg_fail(2)) SWIG_fail
;
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 result
= (bool)(arg1
)->ScrollLines(arg2
);
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30492 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30493 PyObject
*resultobj
;
30494 wxWindow
*arg1
= (wxWindow
*) 0 ;
30497 PyObject
* obj0
= 0 ;
30498 PyObject
* obj1
= 0 ;
30499 char *kwnames
[] = {
30500 (char *) "self",(char *) "pages", NULL
30503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30505 if (SWIG_arg_fail(1)) SWIG_fail
;
30507 arg2
= (int)(SWIG_As_int(obj1
));
30508 if (SWIG_arg_fail(2)) SWIG_fail
;
30511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30512 result
= (bool)(arg1
)->ScrollPages(arg2
);
30514 wxPyEndAllowThreads(__tstate
);
30515 if (PyErr_Occurred()) SWIG_fail
;
30518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30526 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
;
30528 wxWindow
*arg1
= (wxWindow
*) 0 ;
30530 PyObject
* obj0
= 0 ;
30531 char *kwnames
[] = {
30532 (char *) "self", NULL
30535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30537 if (SWIG_arg_fail(1)) SWIG_fail
;
30539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30540 result
= (bool)(arg1
)->LineUp();
30542 wxPyEndAllowThreads(__tstate
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30554 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
;
30556 wxWindow
*arg1
= (wxWindow
*) 0 ;
30558 PyObject
* obj0
= 0 ;
30559 char *kwnames
[] = {
30560 (char *) "self", NULL
30563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30565 if (SWIG_arg_fail(1)) SWIG_fail
;
30567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30568 result
= (bool)(arg1
)->LineDown();
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30582 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxWindow
*arg1
= (wxWindow
*) 0 ;
30586 PyObject
* obj0
= 0 ;
30587 char *kwnames
[] = {
30588 (char *) "self", NULL
30591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30593 if (SWIG_arg_fail(1)) SWIG_fail
;
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 result
= (bool)(arg1
)->PageUp();
30598 wxPyEndAllowThreads(__tstate
);
30599 if (PyErr_Occurred()) SWIG_fail
;
30602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30610 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
;
30612 wxWindow
*arg1
= (wxWindow
*) 0 ;
30614 PyObject
* obj0
= 0 ;
30615 char *kwnames
[] = {
30616 (char *) "self", NULL
30619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30621 if (SWIG_arg_fail(1)) SWIG_fail
;
30623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30624 result
= (bool)(arg1
)->PageDown();
30626 wxPyEndAllowThreads(__tstate
);
30627 if (PyErr_Occurred()) SWIG_fail
;
30630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30638 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30639 PyObject
*resultobj
;
30640 wxWindow
*arg1
= (wxWindow
*) 0 ;
30641 wxString
*arg2
= 0 ;
30642 bool temp2
= false ;
30643 PyObject
* obj0
= 0 ;
30644 PyObject
* obj1
= 0 ;
30645 char *kwnames
[] = {
30646 (char *) "self",(char *) "text", NULL
30649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30651 if (SWIG_arg_fail(1)) SWIG_fail
;
30653 arg2
= wxString_in_helper(obj1
);
30654 if (arg2
== NULL
) SWIG_fail
;
30658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30661 wxPyEndAllowThreads(__tstate
);
30662 if (PyErr_Occurred()) SWIG_fail
;
30664 Py_INCREF(Py_None
); resultobj
= Py_None
;
30679 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30680 PyObject
*resultobj
;
30681 wxWindow
*arg1
= (wxWindow
*) 0 ;
30682 wxString
*arg2
= 0 ;
30683 bool temp2
= false ;
30684 PyObject
* obj0
= 0 ;
30685 PyObject
* obj1
= 0 ;
30686 char *kwnames
[] = {
30687 (char *) "self",(char *) "text", NULL
30690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30692 if (SWIG_arg_fail(1)) SWIG_fail
;
30694 arg2
= wxString_in_helper(obj1
);
30695 if (arg2
== NULL
) SWIG_fail
;
30699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30700 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
30702 wxPyEndAllowThreads(__tstate
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30705 Py_INCREF(Py_None
); resultobj
= Py_None
;
30720 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
;
30722 wxWindow
*arg1
= (wxWindow
*) 0 ;
30724 PyObject
* obj0
= 0 ;
30725 char *kwnames
[] = {
30726 (char *) "self", NULL
30729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
30730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30731 if (SWIG_arg_fail(1)) SWIG_fail
;
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30734 result
= ((wxWindow
const *)arg1
)->GetHelpText();
30736 wxPyEndAllowThreads(__tstate
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30752 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
;
30754 wxWindow
*arg1
= (wxWindow
*) 0 ;
30755 wxString
*arg2
= 0 ;
30756 bool temp2
= false ;
30757 PyObject
* obj0
= 0 ;
30758 PyObject
* obj1
= 0 ;
30759 char *kwnames
[] = {
30760 (char *) "self",(char *) "tip", NULL
30763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
30764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30765 if (SWIG_arg_fail(1)) SWIG_fail
;
30767 arg2
= wxString_in_helper(obj1
);
30768 if (arg2
== NULL
) SWIG_fail
;
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 (arg1
)->SetToolTip((wxString
const &)*arg2
);
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 Py_INCREF(Py_None
); resultobj
= Py_None
;
30793 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
;
30795 wxWindow
*arg1
= (wxWindow
*) 0 ;
30796 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 char *kwnames
[] = {
30800 (char *) "self",(char *) "tip", NULL
30803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
30804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30805 if (SWIG_arg_fail(1)) SWIG_fail
;
30806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
30807 if (SWIG_arg_fail(2)) SWIG_fail
;
30809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30810 (arg1
)->SetToolTip(arg2
);
30812 wxPyEndAllowThreads(__tstate
);
30813 if (PyErr_Occurred()) SWIG_fail
;
30815 Py_INCREF(Py_None
); resultobj
= Py_None
;
30822 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30823 PyObject
*resultobj
;
30824 wxWindow
*arg1
= (wxWindow
*) 0 ;
30826 PyObject
* obj0
= 0 ;
30827 char *kwnames
[] = {
30828 (char *) "self", NULL
30831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
30832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30833 if (SWIG_arg_fail(1)) SWIG_fail
;
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
30838 wxPyEndAllowThreads(__tstate
);
30839 if (PyErr_Occurred()) SWIG_fail
;
30842 resultobj
= wxPyMake_wxObject(result
, 0);
30850 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30851 PyObject
*resultobj
;
30852 wxWindow
*arg1
= (wxWindow
*) 0 ;
30853 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
30854 PyObject
* obj0
= 0 ;
30855 PyObject
* obj1
= 0 ;
30856 char *kwnames
[] = {
30857 (char *) "self",(char *) "dropTarget", NULL
30860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30862 if (SWIG_arg_fail(1)) SWIG_fail
;
30863 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30864 if (SWIG_arg_fail(2)) SWIG_fail
;
30866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30867 (arg1
)->SetDropTarget(arg2
);
30869 wxPyEndAllowThreads(__tstate
);
30870 if (PyErr_Occurred()) SWIG_fail
;
30872 Py_INCREF(Py_None
); resultobj
= Py_None
;
30879 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
;
30881 wxWindow
*arg1
= (wxWindow
*) 0 ;
30882 wxPyDropTarget
*result
;
30883 PyObject
* obj0
= 0 ;
30884 char *kwnames
[] = {
30885 (char *) "self", NULL
30888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
30889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30890 if (SWIG_arg_fail(1)) SWIG_fail
;
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
30905 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
;
30907 wxWindow
*arg1
= (wxWindow
*) 0 ;
30909 PyObject
* obj0
= 0 ;
30910 PyObject
* obj1
= 0 ;
30911 char *kwnames
[] = {
30912 (char *) "self",(char *) "accept", NULL
30915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
30916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30917 if (SWIG_arg_fail(1)) SWIG_fail
;
30919 arg2
= (bool)(SWIG_As_bool(obj1
));
30920 if (SWIG_arg_fail(2)) SWIG_fail
;
30923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30924 (arg1
)->DragAcceptFiles(arg2
);
30926 wxPyEndAllowThreads(__tstate
);
30927 if (PyErr_Occurred()) SWIG_fail
;
30929 Py_INCREF(Py_None
); resultobj
= Py_None
;
30936 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxWindow
*arg1
= (wxWindow
*) 0 ;
30939 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
30940 PyObject
* obj0
= 0 ;
30941 PyObject
* obj1
= 0 ;
30942 char *kwnames
[] = {
30943 (char *) "self",(char *) "constraints", NULL
30946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
30947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30948 if (SWIG_arg_fail(1)) SWIG_fail
;
30949 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
30950 if (SWIG_arg_fail(2)) SWIG_fail
;
30952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30953 (arg1
)->SetConstraints(arg2
);
30955 wxPyEndAllowThreads(__tstate
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30958 Py_INCREF(Py_None
); resultobj
= Py_None
;
30965 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxWindow
*arg1
= (wxWindow
*) 0 ;
30968 wxLayoutConstraints
*result
;
30969 PyObject
* obj0
= 0 ;
30970 char *kwnames
[] = {
30971 (char *) "self", NULL
30974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
30975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30976 if (SWIG_arg_fail(1)) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
30991 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30992 PyObject
*resultobj
;
30993 wxWindow
*arg1
= (wxWindow
*) 0 ;
30995 PyObject
* obj0
= 0 ;
30996 PyObject
* obj1
= 0 ;
30997 char *kwnames
[] = {
30998 (char *) "self",(char *) "autoLayout", NULL
31001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31003 if (SWIG_arg_fail(1)) SWIG_fail
;
31005 arg2
= (bool)(SWIG_As_bool(obj1
));
31006 if (SWIG_arg_fail(2)) SWIG_fail
;
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 (arg1
)->SetAutoLayout(arg2
);
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31015 Py_INCREF(Py_None
); resultobj
= Py_None
;
31022 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
;
31024 wxWindow
*arg1
= (wxWindow
*) 0 ;
31026 PyObject
* obj0
= 0 ;
31027 char *kwnames
[] = {
31028 (char *) "self", NULL
31031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31033 if (SWIG_arg_fail(1)) SWIG_fail
;
31035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31036 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31038 wxPyEndAllowThreads(__tstate
);
31039 if (PyErr_Occurred()) SWIG_fail
;
31042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31050 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31051 PyObject
*resultobj
;
31052 wxWindow
*arg1
= (wxWindow
*) 0 ;
31054 PyObject
* obj0
= 0 ;
31055 char *kwnames
[] = {
31056 (char *) "self", NULL
31059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31061 if (SWIG_arg_fail(1)) SWIG_fail
;
31063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31064 result
= (bool)(arg1
)->Layout();
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31078 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31079 PyObject
*resultobj
;
31080 wxWindow
*arg1
= (wxWindow
*) 0 ;
31081 wxSizer
*arg2
= (wxSizer
*) 0 ;
31082 bool arg3
= (bool) true ;
31083 PyObject
* obj0
= 0 ;
31084 PyObject
* obj1
= 0 ;
31085 PyObject
* obj2
= 0 ;
31086 char *kwnames
[] = {
31087 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31092 if (SWIG_arg_fail(1)) SWIG_fail
;
31093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31094 if (SWIG_arg_fail(2)) SWIG_fail
;
31097 arg3
= (bool)(SWIG_As_bool(obj2
));
31098 if (SWIG_arg_fail(3)) SWIG_fail
;
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 (arg1
)->SetSizer(arg2
,arg3
);
31105 wxPyEndAllowThreads(__tstate
);
31106 if (PyErr_Occurred()) SWIG_fail
;
31108 Py_INCREF(Py_None
); resultobj
= Py_None
;
31115 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31116 PyObject
*resultobj
;
31117 wxWindow
*arg1
= (wxWindow
*) 0 ;
31118 wxSizer
*arg2
= (wxSizer
*) 0 ;
31119 bool arg3
= (bool) true ;
31120 PyObject
* obj0
= 0 ;
31121 PyObject
* obj1
= 0 ;
31122 PyObject
* obj2
= 0 ;
31123 char *kwnames
[] = {
31124 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31129 if (SWIG_arg_fail(1)) SWIG_fail
;
31130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31131 if (SWIG_arg_fail(2)) SWIG_fail
;
31134 arg3
= (bool)(SWIG_As_bool(obj2
));
31135 if (SWIG_arg_fail(3)) SWIG_fail
;
31139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31140 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31142 wxPyEndAllowThreads(__tstate
);
31143 if (PyErr_Occurred()) SWIG_fail
;
31145 Py_INCREF(Py_None
); resultobj
= Py_None
;
31152 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31153 PyObject
*resultobj
;
31154 wxWindow
*arg1
= (wxWindow
*) 0 ;
31156 PyObject
* obj0
= 0 ;
31157 char *kwnames
[] = {
31158 (char *) "self", NULL
31161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31163 if (SWIG_arg_fail(1)) SWIG_fail
;
31165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31166 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31168 wxPyEndAllowThreads(__tstate
);
31169 if (PyErr_Occurred()) SWIG_fail
;
31172 resultobj
= wxPyMake_wxSizer(result
, 0);
31180 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
;
31182 wxWindow
*arg1
= (wxWindow
*) 0 ;
31183 wxSizer
*arg2
= (wxSizer
*) 0 ;
31184 PyObject
* obj0
= 0 ;
31185 PyObject
* obj1
= 0 ;
31186 char *kwnames
[] = {
31187 (char *) "self",(char *) "sizer", NULL
31190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31192 if (SWIG_arg_fail(1)) SWIG_fail
;
31193 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31194 if (SWIG_arg_fail(2)) SWIG_fail
;
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 (arg1
)->SetContainingSizer(arg2
);
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 Py_INCREF(Py_None
); resultobj
= Py_None
;
31209 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxWindow
*arg1
= (wxWindow
*) 0 ;
31213 PyObject
* obj0
= 0 ;
31214 char *kwnames
[] = {
31215 (char *) "self", NULL
31218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31220 if (SWIG_arg_fail(1)) SWIG_fail
;
31222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31223 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31225 wxPyEndAllowThreads(__tstate
);
31226 if (PyErr_Occurred()) SWIG_fail
;
31229 resultobj
= wxPyMake_wxSizer(result
, 0);
31237 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
;
31239 wxWindow
*arg1
= (wxWindow
*) 0 ;
31240 PyObject
* obj0
= 0 ;
31241 char *kwnames
[] = {
31242 (char *) "self", NULL
31245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31247 if (SWIG_arg_fail(1)) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 (arg1
)->InheritAttributes();
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 Py_INCREF(Py_None
); resultobj
= Py_None
;
31262 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxWindow
*arg1
= (wxWindow
*) 0 ;
31266 PyObject
* obj0
= 0 ;
31267 char *kwnames
[] = {
31268 (char *) "self", NULL
31271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31273 if (SWIG_arg_fail(1)) SWIG_fail
;
31275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31276 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31278 wxPyEndAllowThreads(__tstate
);
31279 if (PyErr_Occurred()) SWIG_fail
;
31282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31290 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31293 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31295 return Py_BuildValue((char *)"");
31297 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
;
31300 wxWindow
*arg2
= (wxWindow
*) NULL
;
31302 PyObject
* obj0
= 0 ;
31303 PyObject
* obj1
= 0 ;
31304 char *kwnames
[] = {
31305 (char *) "id",(char *) "parent", NULL
31308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31310 arg1
= (long)(SWIG_As_long(obj0
));
31311 if (SWIG_arg_fail(1)) SWIG_fail
;
31314 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31315 if (SWIG_arg_fail(2)) SWIG_fail
;
31318 if (!wxPyCheckForApp()) SWIG_fail
;
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31322 wxPyEndAllowThreads(__tstate
);
31323 if (PyErr_Occurred()) SWIG_fail
;
31326 resultobj
= wxPyMake_wxObject(result
, 0);
31334 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31335 PyObject
*resultobj
;
31336 wxString
*arg1
= 0 ;
31337 wxWindow
*arg2
= (wxWindow
*) NULL
;
31339 bool temp1
= false ;
31340 PyObject
* obj0
= 0 ;
31341 PyObject
* obj1
= 0 ;
31342 char *kwnames
[] = {
31343 (char *) "name",(char *) "parent", NULL
31346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31348 arg1
= wxString_in_helper(obj0
);
31349 if (arg1
== NULL
) SWIG_fail
;
31353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31354 if (SWIG_arg_fail(2)) SWIG_fail
;
31357 if (!wxPyCheckForApp()) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31365 resultobj
= wxPyMake_wxObject(result
, 0);
31381 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxString
*arg1
= 0 ;
31384 wxWindow
*arg2
= (wxWindow
*) NULL
;
31386 bool temp1
= false ;
31387 PyObject
* obj0
= 0 ;
31388 PyObject
* obj1
= 0 ;
31389 char *kwnames
[] = {
31390 (char *) "label",(char *) "parent", NULL
31393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31395 arg1
= wxString_in_helper(obj0
);
31396 if (arg1
== NULL
) SWIG_fail
;
31400 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31401 if (SWIG_arg_fail(2)) SWIG_fail
;
31404 if (!wxPyCheckForApp()) SWIG_fail
;
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31412 resultobj
= wxPyMake_wxObject(result
, 0);
31428 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
;
31430 wxWindow
*arg1
= (wxWindow
*) 0 ;
31431 unsigned long arg2
;
31433 PyObject
* obj0
= 0 ;
31434 PyObject
* obj1
= 0 ;
31435 char *kwnames
[] = {
31436 (char *) "parent",(char *) "_hWnd", NULL
31439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31441 if (SWIG_arg_fail(1)) SWIG_fail
;
31443 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31444 if (SWIG_arg_fail(2)) SWIG_fail
;
31447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31448 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31450 wxPyEndAllowThreads(__tstate
);
31451 if (PyErr_Occurred()) SWIG_fail
;
31454 resultobj
= wxPyMake_wxObject(result
, 0);
31462 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
;
31464 wxValidator
*result
;
31465 char *kwnames
[] = {
31469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31472 result
= (wxValidator
*)new wxValidator();
31474 wxPyEndAllowThreads(__tstate
);
31475 if (PyErr_Occurred()) SWIG_fail
;
31477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31484 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxValidator
*arg1
= (wxValidator
*) 0 ;
31487 wxValidator
*result
;
31488 PyObject
* obj0
= 0 ;
31489 char *kwnames
[] = {
31490 (char *) "self", NULL
31493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31495 if (SWIG_arg_fail(1)) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 result
= (wxValidator
*)(arg1
)->Clone();
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= wxPyMake_wxObject(result
, 0);
31512 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31513 PyObject
*resultobj
;
31514 wxValidator
*arg1
= (wxValidator
*) 0 ;
31515 wxWindow
*arg2
= (wxWindow
*) 0 ;
31517 PyObject
* obj0
= 0 ;
31518 PyObject
* obj1
= 0 ;
31519 char *kwnames
[] = {
31520 (char *) "self",(char *) "parent", NULL
31523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31525 if (SWIG_arg_fail(1)) SWIG_fail
;
31526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31527 if (SWIG_arg_fail(2)) SWIG_fail
;
31529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31530 result
= (bool)(arg1
)->Validate(arg2
);
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31544 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31545 PyObject
*resultobj
;
31546 wxValidator
*arg1
= (wxValidator
*) 0 ;
31548 PyObject
* obj0
= 0 ;
31549 char *kwnames
[] = {
31550 (char *) "self", NULL
31553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31555 if (SWIG_arg_fail(1)) SWIG_fail
;
31557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31558 result
= (bool)(arg1
)->TransferToWindow();
31560 wxPyEndAllowThreads(__tstate
);
31561 if (PyErr_Occurred()) SWIG_fail
;
31564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31572 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31573 PyObject
*resultobj
;
31574 wxValidator
*arg1
= (wxValidator
*) 0 ;
31576 PyObject
* obj0
= 0 ;
31577 char *kwnames
[] = {
31578 (char *) "self", NULL
31581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31583 if (SWIG_arg_fail(1)) SWIG_fail
;
31585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31586 result
= (bool)(arg1
)->TransferFromWindow();
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31600 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31601 PyObject
*resultobj
;
31602 wxValidator
*arg1
= (wxValidator
*) 0 ;
31604 PyObject
* obj0
= 0 ;
31605 char *kwnames
[] = {
31606 (char *) "self", NULL
31609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31611 if (SWIG_arg_fail(1)) SWIG_fail
;
31613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31614 result
= (wxWindow
*)(arg1
)->GetWindow();
31616 wxPyEndAllowThreads(__tstate
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31620 resultobj
= wxPyMake_wxObject(result
, 0);
31628 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31629 PyObject
*resultobj
;
31630 wxValidator
*arg1
= (wxValidator
*) 0 ;
31631 wxWindow
*arg2
= (wxWindow
*) 0 ;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 char *kwnames
[] = {
31635 (char *) "self",(char *) "window", NULL
31638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31640 if (SWIG_arg_fail(1)) SWIG_fail
;
31641 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31642 if (SWIG_arg_fail(2)) SWIG_fail
;
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31645 (arg1
)->SetWindow(arg2
);
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 Py_INCREF(Py_None
); resultobj
= Py_None
;
31657 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31658 PyObject
*resultobj
;
31660 char *kwnames
[] = {
31664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31667 result
= (bool)wxValidator::IsSilent();
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31681 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31682 PyObject
*resultobj
;
31683 int arg1
= (int) true ;
31684 PyObject
* obj0
= 0 ;
31685 char *kwnames
[] = {
31686 (char *) "doIt", NULL
31689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31692 arg1
= (int)(SWIG_As_int(obj0
));
31693 if (SWIG_arg_fail(1)) SWIG_fail
;
31697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31698 wxValidator::SetBellOnError(arg1
);
31700 wxPyEndAllowThreads(__tstate
);
31701 if (PyErr_Occurred()) SWIG_fail
;
31703 Py_INCREF(Py_None
); resultobj
= Py_None
;
31710 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
31712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31713 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
31715 return Py_BuildValue((char *)"");
31717 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31718 PyObject
*resultobj
;
31719 wxPyValidator
*result
;
31720 char *kwnames
[] = {
31724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
31726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31727 result
= (wxPyValidator
*)new wxPyValidator();
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
31739 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31740 PyObject
*resultobj
;
31741 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
31742 PyObject
*arg2
= (PyObject
*) 0 ;
31743 PyObject
*arg3
= (PyObject
*) 0 ;
31744 int arg4
= (int) true ;
31745 PyObject
* obj0
= 0 ;
31746 PyObject
* obj1
= 0 ;
31747 PyObject
* obj2
= 0 ;
31748 PyObject
* obj3
= 0 ;
31749 char *kwnames
[] = {
31750 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
31753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
31755 if (SWIG_arg_fail(1)) SWIG_fail
;
31760 arg4
= (int)(SWIG_As_int(obj3
));
31761 if (SWIG_arg_fail(4)) SWIG_fail
;
31765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31766 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
31768 wxPyEndAllowThreads(__tstate
);
31769 if (PyErr_Occurred()) SWIG_fail
;
31771 Py_INCREF(Py_None
); resultobj
= Py_None
;
31778 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
31780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31781 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
31783 return Py_BuildValue((char *)"");
31785 static int _wrap_DefaultValidator_set(PyObject
*) {
31786 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
31791 static PyObject
*_wrap_DefaultValidator_get(void) {
31794 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
31799 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
;
31801 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31802 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31803 long arg2
= (long) 0 ;
31805 bool temp1
= false ;
31806 PyObject
* obj0
= 0 ;
31807 PyObject
* obj1
= 0 ;
31808 char *kwnames
[] = {
31809 (char *) "title",(char *) "style", NULL
31812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
31815 arg1
= wxString_in_helper(obj0
);
31816 if (arg1
== NULL
) SWIG_fail
;
31822 arg2
= (long)(SWIG_As_long(obj1
));
31823 if (SWIG_arg_fail(2)) SWIG_fail
;
31827 if (!wxPyCheckForApp()) SWIG_fail
;
31828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31829 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
31831 wxPyEndAllowThreads(__tstate
);
31832 if (PyErr_Occurred()) SWIG_fail
;
31834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
31849 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31850 PyObject
*resultobj
;
31851 wxMenu
*arg1
= (wxMenu
*) 0 ;
31853 wxString
*arg3
= 0 ;
31854 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31855 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31856 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
31857 wxMenuItem
*result
;
31858 bool temp3
= false ;
31859 bool temp4
= false ;
31860 PyObject
* obj0
= 0 ;
31861 PyObject
* obj1
= 0 ;
31862 PyObject
* obj2
= 0 ;
31863 PyObject
* obj3
= 0 ;
31864 PyObject
* obj4
= 0 ;
31865 char *kwnames
[] = {
31866 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
31869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31871 if (SWIG_arg_fail(1)) SWIG_fail
;
31873 arg2
= (int)(SWIG_As_int(obj1
));
31874 if (SWIG_arg_fail(2)) SWIG_fail
;
31877 arg3
= wxString_in_helper(obj2
);
31878 if (arg3
== NULL
) SWIG_fail
;
31883 arg4
= wxString_in_helper(obj3
);
31884 if (arg4
== NULL
) SWIG_fail
;
31890 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
31891 if (SWIG_arg_fail(5)) SWIG_fail
;
31895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31896 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
31898 wxPyEndAllowThreads(__tstate
);
31899 if (PyErr_Occurred()) SWIG_fail
;
31902 resultobj
= wxPyMake_wxObject(result
, 0);
31926 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31927 PyObject
*resultobj
;
31928 wxMenu
*arg1
= (wxMenu
*) 0 ;
31929 wxMenuItem
*result
;
31930 PyObject
* obj0
= 0 ;
31931 char *kwnames
[] = {
31932 (char *) "self", NULL
31935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
31936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31937 if (SWIG_arg_fail(1)) SWIG_fail
;
31939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31940 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
31942 wxPyEndAllowThreads(__tstate
);
31943 if (PyErr_Occurred()) SWIG_fail
;
31946 resultobj
= wxPyMake_wxObject(result
, 0);
31954 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31955 PyObject
*resultobj
;
31956 wxMenu
*arg1
= (wxMenu
*) 0 ;
31958 wxString
*arg3
= 0 ;
31959 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31960 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31961 wxMenuItem
*result
;
31962 bool temp3
= false ;
31963 bool temp4
= false ;
31964 PyObject
* obj0
= 0 ;
31965 PyObject
* obj1
= 0 ;
31966 PyObject
* obj2
= 0 ;
31967 PyObject
* obj3
= 0 ;
31968 char *kwnames
[] = {
31969 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
31972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31974 if (SWIG_arg_fail(1)) SWIG_fail
;
31976 arg2
= (int)(SWIG_As_int(obj1
));
31977 if (SWIG_arg_fail(2)) SWIG_fail
;
31980 arg3
= wxString_in_helper(obj2
);
31981 if (arg3
== NULL
) SWIG_fail
;
31986 arg4
= wxString_in_helper(obj3
);
31987 if (arg4
== NULL
) SWIG_fail
;
31992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31993 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
31995 wxPyEndAllowThreads(__tstate
);
31996 if (PyErr_Occurred()) SWIG_fail
;
31999 resultobj
= wxPyMake_wxObject(result
, 0);
32023 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32024 PyObject
*resultobj
;
32025 wxMenu
*arg1
= (wxMenu
*) 0 ;
32027 wxString
*arg3
= 0 ;
32028 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32029 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32030 wxMenuItem
*result
;
32031 bool temp3
= false ;
32032 bool temp4
= false ;
32033 PyObject
* obj0
= 0 ;
32034 PyObject
* obj1
= 0 ;
32035 PyObject
* obj2
= 0 ;
32036 PyObject
* obj3
= 0 ;
32037 char *kwnames
[] = {
32038 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32043 if (SWIG_arg_fail(1)) SWIG_fail
;
32045 arg2
= (int)(SWIG_As_int(obj1
));
32046 if (SWIG_arg_fail(2)) SWIG_fail
;
32049 arg3
= wxString_in_helper(obj2
);
32050 if (arg3
== NULL
) SWIG_fail
;
32055 arg4
= wxString_in_helper(obj3
);
32056 if (arg4
== NULL
) SWIG_fail
;
32061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32068 resultobj
= wxPyMake_wxObject(result
, 0);
32092 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32093 PyObject
*resultobj
;
32094 wxMenu
*arg1
= (wxMenu
*) 0 ;
32096 wxString
*arg3
= 0 ;
32097 wxMenu
*arg4
= (wxMenu
*) 0 ;
32098 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32099 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32100 wxMenuItem
*result
;
32101 bool temp3
= false ;
32102 bool temp5
= false ;
32103 PyObject
* obj0
= 0 ;
32104 PyObject
* obj1
= 0 ;
32105 PyObject
* obj2
= 0 ;
32106 PyObject
* obj3
= 0 ;
32107 PyObject
* obj4
= 0 ;
32108 char *kwnames
[] = {
32109 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32114 if (SWIG_arg_fail(1)) SWIG_fail
;
32116 arg2
= (int)(SWIG_As_int(obj1
));
32117 if (SWIG_arg_fail(2)) SWIG_fail
;
32120 arg3
= wxString_in_helper(obj2
);
32121 if (arg3
== NULL
) SWIG_fail
;
32124 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32125 if (SWIG_arg_fail(4)) SWIG_fail
;
32128 arg5
= wxString_in_helper(obj4
);
32129 if (arg5
== NULL
) SWIG_fail
;
32134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32135 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32137 wxPyEndAllowThreads(__tstate
);
32138 if (PyErr_Occurred()) SWIG_fail
;
32141 resultobj
= wxPyMake_wxObject(result
, 0);
32165 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32166 PyObject
*resultobj
;
32167 wxMenu
*arg1
= (wxMenu
*) 0 ;
32168 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32169 wxMenuItem
*result
;
32170 PyObject
* obj0
= 0 ;
32171 PyObject
* obj1
= 0 ;
32172 char *kwnames
[] = {
32173 (char *) "self",(char *) "item", NULL
32176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32178 if (SWIG_arg_fail(1)) SWIG_fail
;
32179 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32180 if (SWIG_arg_fail(2)) SWIG_fail
;
32182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32183 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32185 wxPyEndAllowThreads(__tstate
);
32186 if (PyErr_Occurred()) SWIG_fail
;
32189 resultobj
= wxPyMake_wxObject(result
, 0);
32197 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32198 PyObject
*resultobj
;
32199 wxMenu
*arg1
= (wxMenu
*) 0 ;
32200 PyObject
* obj0
= 0 ;
32201 char *kwnames
[] = {
32202 (char *) "self", NULL
32205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32207 if (SWIG_arg_fail(1)) SWIG_fail
;
32209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32212 wxPyEndAllowThreads(__tstate
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32215 Py_INCREF(Py_None
); resultobj
= Py_None
;
32222 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32223 PyObject
*resultobj
;
32224 wxMenu
*arg1
= (wxMenu
*) 0 ;
32226 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32227 wxMenuItem
*result
;
32228 PyObject
* obj0
= 0 ;
32229 PyObject
* obj1
= 0 ;
32230 PyObject
* obj2
= 0 ;
32231 char *kwnames
[] = {
32232 (char *) "self",(char *) "pos",(char *) "item", NULL
32235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32237 if (SWIG_arg_fail(1)) SWIG_fail
;
32239 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32240 if (SWIG_arg_fail(2)) SWIG_fail
;
32242 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32243 if (SWIG_arg_fail(3)) SWIG_fail
;
32245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32246 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32248 wxPyEndAllowThreads(__tstate
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= wxPyMake_wxObject(result
, 0);
32260 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32261 PyObject
*resultobj
;
32262 wxMenu
*arg1
= (wxMenu
*) 0 ;
32265 wxString
*arg4
= 0 ;
32266 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32267 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32268 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32269 wxMenuItem
*result
;
32270 bool temp4
= false ;
32271 bool temp5
= false ;
32272 PyObject
* obj0
= 0 ;
32273 PyObject
* obj1
= 0 ;
32274 PyObject
* obj2
= 0 ;
32275 PyObject
* obj3
= 0 ;
32276 PyObject
* obj4
= 0 ;
32277 PyObject
* obj5
= 0 ;
32278 char *kwnames
[] = {
32279 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32284 if (SWIG_arg_fail(1)) SWIG_fail
;
32286 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32287 if (SWIG_arg_fail(2)) SWIG_fail
;
32290 arg3
= (int)(SWIG_As_int(obj2
));
32291 if (SWIG_arg_fail(3)) SWIG_fail
;
32294 arg4
= wxString_in_helper(obj3
);
32295 if (arg4
== NULL
) SWIG_fail
;
32300 arg5
= wxString_in_helper(obj4
);
32301 if (arg5
== NULL
) SWIG_fail
;
32307 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32308 if (SWIG_arg_fail(6)) SWIG_fail
;
32312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32313 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32315 wxPyEndAllowThreads(__tstate
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32319 resultobj
= wxPyMake_wxObject(result
, 0);
32343 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32344 PyObject
*resultobj
;
32345 wxMenu
*arg1
= (wxMenu
*) 0 ;
32347 wxMenuItem
*result
;
32348 PyObject
* obj0
= 0 ;
32349 PyObject
* obj1
= 0 ;
32350 char *kwnames
[] = {
32351 (char *) "self",(char *) "pos", NULL
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32356 if (SWIG_arg_fail(1)) SWIG_fail
;
32358 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32359 if (SWIG_arg_fail(2)) SWIG_fail
;
32362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32363 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32365 wxPyEndAllowThreads(__tstate
);
32366 if (PyErr_Occurred()) SWIG_fail
;
32369 resultobj
= wxPyMake_wxObject(result
, 0);
32377 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32378 PyObject
*resultobj
;
32379 wxMenu
*arg1
= (wxMenu
*) 0 ;
32382 wxString
*arg4
= 0 ;
32383 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32384 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32385 wxMenuItem
*result
;
32386 bool temp4
= false ;
32387 bool temp5
= false ;
32388 PyObject
* obj0
= 0 ;
32389 PyObject
* obj1
= 0 ;
32390 PyObject
* obj2
= 0 ;
32391 PyObject
* obj3
= 0 ;
32392 PyObject
* obj4
= 0 ;
32393 char *kwnames
[] = {
32394 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32399 if (SWIG_arg_fail(1)) SWIG_fail
;
32401 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32402 if (SWIG_arg_fail(2)) SWIG_fail
;
32405 arg3
= (int)(SWIG_As_int(obj2
));
32406 if (SWIG_arg_fail(3)) SWIG_fail
;
32409 arg4
= wxString_in_helper(obj3
);
32410 if (arg4
== NULL
) SWIG_fail
;
32415 arg5
= wxString_in_helper(obj4
);
32416 if (arg5
== NULL
) SWIG_fail
;
32421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32422 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32424 wxPyEndAllowThreads(__tstate
);
32425 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= wxPyMake_wxObject(result
, 0);
32452 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32453 PyObject
*resultobj
;
32454 wxMenu
*arg1
= (wxMenu
*) 0 ;
32457 wxString
*arg4
= 0 ;
32458 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32459 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32460 wxMenuItem
*result
;
32461 bool temp4
= false ;
32462 bool temp5
= false ;
32463 PyObject
* obj0
= 0 ;
32464 PyObject
* obj1
= 0 ;
32465 PyObject
* obj2
= 0 ;
32466 PyObject
* obj3
= 0 ;
32467 PyObject
* obj4
= 0 ;
32468 char *kwnames
[] = {
32469 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32474 if (SWIG_arg_fail(1)) SWIG_fail
;
32476 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32477 if (SWIG_arg_fail(2)) SWIG_fail
;
32480 arg3
= (int)(SWIG_As_int(obj2
));
32481 if (SWIG_arg_fail(3)) SWIG_fail
;
32484 arg4
= wxString_in_helper(obj3
);
32485 if (arg4
== NULL
) SWIG_fail
;
32490 arg5
= wxString_in_helper(obj4
);
32491 if (arg5
== NULL
) SWIG_fail
;
32496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32497 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32499 wxPyEndAllowThreads(__tstate
);
32500 if (PyErr_Occurred()) SWIG_fail
;
32503 resultobj
= wxPyMake_wxObject(result
, 0);
32527 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32528 PyObject
*resultobj
;
32529 wxMenu
*arg1
= (wxMenu
*) 0 ;
32532 wxString
*arg4
= 0 ;
32533 wxMenu
*arg5
= (wxMenu
*) 0 ;
32534 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32535 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32536 wxMenuItem
*result
;
32537 bool temp4
= false ;
32538 bool temp6
= false ;
32539 PyObject
* obj0
= 0 ;
32540 PyObject
* obj1
= 0 ;
32541 PyObject
* obj2
= 0 ;
32542 PyObject
* obj3
= 0 ;
32543 PyObject
* obj4
= 0 ;
32544 PyObject
* obj5
= 0 ;
32545 char *kwnames
[] = {
32546 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32551 if (SWIG_arg_fail(1)) SWIG_fail
;
32553 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32554 if (SWIG_arg_fail(2)) SWIG_fail
;
32557 arg3
= (int)(SWIG_As_int(obj2
));
32558 if (SWIG_arg_fail(3)) SWIG_fail
;
32561 arg4
= wxString_in_helper(obj3
);
32562 if (arg4
== NULL
) SWIG_fail
;
32565 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32566 if (SWIG_arg_fail(5)) SWIG_fail
;
32569 arg6
= wxString_in_helper(obj5
);
32570 if (arg6
== NULL
) SWIG_fail
;
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32578 wxPyEndAllowThreads(__tstate
);
32579 if (PyErr_Occurred()) SWIG_fail
;
32582 resultobj
= wxPyMake_wxObject(result
, 0);
32606 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32607 PyObject
*resultobj
;
32608 wxMenu
*arg1
= (wxMenu
*) 0 ;
32609 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32610 wxMenuItem
*result
;
32611 PyObject
* obj0
= 0 ;
32612 PyObject
* obj1
= 0 ;
32613 char *kwnames
[] = {
32614 (char *) "self",(char *) "item", NULL
32617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32619 if (SWIG_arg_fail(1)) SWIG_fail
;
32620 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32621 if (SWIG_arg_fail(2)) SWIG_fail
;
32623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32624 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32626 wxPyEndAllowThreads(__tstate
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32630 resultobj
= wxPyMake_wxObject(result
, 0);
32638 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32639 PyObject
*resultobj
;
32640 wxMenu
*arg1
= (wxMenu
*) 0 ;
32642 wxString
*arg3
= 0 ;
32643 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32644 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32645 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32646 wxMenuItem
*result
;
32647 bool temp3
= false ;
32648 bool temp4
= false ;
32649 PyObject
* obj0
= 0 ;
32650 PyObject
* obj1
= 0 ;
32651 PyObject
* obj2
= 0 ;
32652 PyObject
* obj3
= 0 ;
32653 PyObject
* obj4
= 0 ;
32654 char *kwnames
[] = {
32655 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32660 if (SWIG_arg_fail(1)) SWIG_fail
;
32662 arg2
= (int)(SWIG_As_int(obj1
));
32663 if (SWIG_arg_fail(2)) SWIG_fail
;
32666 arg3
= wxString_in_helper(obj2
);
32667 if (arg3
== NULL
) SWIG_fail
;
32672 arg4
= wxString_in_helper(obj3
);
32673 if (arg4
== NULL
) SWIG_fail
;
32679 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32680 if (SWIG_arg_fail(5)) SWIG_fail
;
32684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32685 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32687 wxPyEndAllowThreads(__tstate
);
32688 if (PyErr_Occurred()) SWIG_fail
;
32691 resultobj
= wxPyMake_wxObject(result
, 0);
32715 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32716 PyObject
*resultobj
;
32717 wxMenu
*arg1
= (wxMenu
*) 0 ;
32718 wxMenuItem
*result
;
32719 PyObject
* obj0
= 0 ;
32720 char *kwnames
[] = {
32721 (char *) "self", NULL
32724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
32725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32726 if (SWIG_arg_fail(1)) SWIG_fail
;
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32735 resultobj
= wxPyMake_wxObject(result
, 0);
32743 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32744 PyObject
*resultobj
;
32745 wxMenu
*arg1
= (wxMenu
*) 0 ;
32747 wxString
*arg3
= 0 ;
32748 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32749 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32750 wxMenuItem
*result
;
32751 bool temp3
= false ;
32752 bool temp4
= false ;
32753 PyObject
* obj0
= 0 ;
32754 PyObject
* obj1
= 0 ;
32755 PyObject
* obj2
= 0 ;
32756 PyObject
* obj3
= 0 ;
32757 char *kwnames
[] = {
32758 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32763 if (SWIG_arg_fail(1)) SWIG_fail
;
32765 arg2
= (int)(SWIG_As_int(obj1
));
32766 if (SWIG_arg_fail(2)) SWIG_fail
;
32769 arg3
= wxString_in_helper(obj2
);
32770 if (arg3
== NULL
) SWIG_fail
;
32775 arg4
= wxString_in_helper(obj3
);
32776 if (arg4
== NULL
) SWIG_fail
;
32781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32784 wxPyEndAllowThreads(__tstate
);
32785 if (PyErr_Occurred()) SWIG_fail
;
32788 resultobj
= wxPyMake_wxObject(result
, 0);
32812 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32813 PyObject
*resultobj
;
32814 wxMenu
*arg1
= (wxMenu
*) 0 ;
32816 wxString
*arg3
= 0 ;
32817 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32818 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32819 wxMenuItem
*result
;
32820 bool temp3
= false ;
32821 bool temp4
= false ;
32822 PyObject
* obj0
= 0 ;
32823 PyObject
* obj1
= 0 ;
32824 PyObject
* obj2
= 0 ;
32825 PyObject
* obj3
= 0 ;
32826 char *kwnames
[] = {
32827 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32832 if (SWIG_arg_fail(1)) SWIG_fail
;
32834 arg2
= (int)(SWIG_As_int(obj1
));
32835 if (SWIG_arg_fail(2)) SWIG_fail
;
32838 arg3
= wxString_in_helper(obj2
);
32839 if (arg3
== NULL
) SWIG_fail
;
32844 arg4
= wxString_in_helper(obj3
);
32845 if (arg4
== NULL
) SWIG_fail
;
32850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32851 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32853 wxPyEndAllowThreads(__tstate
);
32854 if (PyErr_Occurred()) SWIG_fail
;
32857 resultobj
= wxPyMake_wxObject(result
, 0);
32881 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32882 PyObject
*resultobj
;
32883 wxMenu
*arg1
= (wxMenu
*) 0 ;
32885 wxString
*arg3
= 0 ;
32886 wxMenu
*arg4
= (wxMenu
*) 0 ;
32887 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32888 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32889 wxMenuItem
*result
;
32890 bool temp3
= false ;
32891 bool temp5
= false ;
32892 PyObject
* obj0
= 0 ;
32893 PyObject
* obj1
= 0 ;
32894 PyObject
* obj2
= 0 ;
32895 PyObject
* obj3
= 0 ;
32896 PyObject
* obj4
= 0 ;
32897 char *kwnames
[] = {
32898 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32903 if (SWIG_arg_fail(1)) SWIG_fail
;
32905 arg2
= (int)(SWIG_As_int(obj1
));
32906 if (SWIG_arg_fail(2)) SWIG_fail
;
32909 arg3
= wxString_in_helper(obj2
);
32910 if (arg3
== NULL
) SWIG_fail
;
32913 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32914 if (SWIG_arg_fail(4)) SWIG_fail
;
32917 arg5
= wxString_in_helper(obj4
);
32918 if (arg5
== NULL
) SWIG_fail
;
32923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32924 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32926 wxPyEndAllowThreads(__tstate
);
32927 if (PyErr_Occurred()) SWIG_fail
;
32930 resultobj
= wxPyMake_wxObject(result
, 0);
32954 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32955 PyObject
*resultobj
;
32956 wxMenu
*arg1
= (wxMenu
*) 0 ;
32958 wxMenuItem
*result
;
32959 PyObject
* obj0
= 0 ;
32960 PyObject
* obj1
= 0 ;
32961 char *kwnames
[] = {
32962 (char *) "self",(char *) "id", NULL
32965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32967 if (SWIG_arg_fail(1)) SWIG_fail
;
32969 arg2
= (int)(SWIG_As_int(obj1
));
32970 if (SWIG_arg_fail(2)) SWIG_fail
;
32973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32974 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
32976 wxPyEndAllowThreads(__tstate
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32980 resultobj
= wxPyMake_wxObject(result
, 0);
32988 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32989 PyObject
*resultobj
;
32990 wxMenu
*arg1
= (wxMenu
*) 0 ;
32991 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32992 wxMenuItem
*result
;
32993 PyObject
* obj0
= 0 ;
32994 PyObject
* obj1
= 0 ;
32995 char *kwnames
[] = {
32996 (char *) "self",(char *) "item", NULL
32999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33001 if (SWIG_arg_fail(1)) SWIG_fail
;
33002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33003 if (SWIG_arg_fail(2)) SWIG_fail
;
33005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33006 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33008 wxPyEndAllowThreads(__tstate
);
33009 if (PyErr_Occurred()) SWIG_fail
;
33012 resultobj
= wxPyMake_wxObject(result
, 0);
33020 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33021 PyObject
*resultobj
;
33022 wxMenu
*arg1
= (wxMenu
*) 0 ;
33025 PyObject
* obj0
= 0 ;
33026 PyObject
* obj1
= 0 ;
33027 char *kwnames
[] = {
33028 (char *) "self",(char *) "id", NULL
33031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33033 if (SWIG_arg_fail(1)) SWIG_fail
;
33035 arg2
= (int)(SWIG_As_int(obj1
));
33036 if (SWIG_arg_fail(2)) SWIG_fail
;
33039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33040 result
= (bool)(arg1
)->Delete(arg2
);
33042 wxPyEndAllowThreads(__tstate
);
33043 if (PyErr_Occurred()) SWIG_fail
;
33046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33054 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33055 PyObject
*resultobj
;
33056 wxMenu
*arg1
= (wxMenu
*) 0 ;
33057 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33059 PyObject
* obj0
= 0 ;
33060 PyObject
* obj1
= 0 ;
33061 char *kwnames
[] = {
33062 (char *) "self",(char *) "item", NULL
33065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33067 if (SWIG_arg_fail(1)) SWIG_fail
;
33068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33069 if (SWIG_arg_fail(2)) SWIG_fail
;
33071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33072 result
= (bool)(arg1
)->Delete(arg2
);
33074 wxPyEndAllowThreads(__tstate
);
33075 if (PyErr_Occurred()) SWIG_fail
;
33078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33086 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33087 PyObject
*resultobj
;
33088 wxMenu
*arg1
= (wxMenu
*) 0 ;
33089 PyObject
* obj0
= 0 ;
33090 char *kwnames
[] = {
33091 (char *) "self", NULL
33094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33096 if (SWIG_arg_fail(1)) SWIG_fail
;
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 wxMenu_Destroy(arg1
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33104 Py_INCREF(Py_None
); resultobj
= Py_None
;
33111 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33112 PyObject
*resultobj
;
33113 wxMenu
*arg1
= (wxMenu
*) 0 ;
33116 PyObject
* obj0
= 0 ;
33117 PyObject
* obj1
= 0 ;
33118 char *kwnames
[] = {
33119 (char *) "self",(char *) "id", NULL
33122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33124 if (SWIG_arg_fail(1)) SWIG_fail
;
33126 arg2
= (int)(SWIG_As_int(obj1
));
33127 if (SWIG_arg_fail(2)) SWIG_fail
;
33130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33131 result
= (bool)(arg1
)->Destroy(arg2
);
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33145 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33146 PyObject
*resultobj
;
33147 wxMenu
*arg1
= (wxMenu
*) 0 ;
33148 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33150 PyObject
* obj0
= 0 ;
33151 PyObject
* obj1
= 0 ;
33152 char *kwnames
[] = {
33153 (char *) "self",(char *) "item", NULL
33156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33158 if (SWIG_arg_fail(1)) SWIG_fail
;
33159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33160 if (SWIG_arg_fail(2)) SWIG_fail
;
33162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33163 result
= (bool)(arg1
)->Destroy(arg2
);
33165 wxPyEndAllowThreads(__tstate
);
33166 if (PyErr_Occurred()) SWIG_fail
;
33169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33177 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33178 PyObject
*resultobj
;
33179 wxMenu
*arg1
= (wxMenu
*) 0 ;
33181 PyObject
* obj0
= 0 ;
33182 char *kwnames
[] = {
33183 (char *) "self", NULL
33186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33188 if (SWIG_arg_fail(1)) SWIG_fail
;
33190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33191 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33193 wxPyEndAllowThreads(__tstate
);
33194 if (PyErr_Occurred()) SWIG_fail
;
33197 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33205 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33206 PyObject
*resultobj
;
33207 wxMenu
*arg1
= (wxMenu
*) 0 ;
33209 PyObject
* obj0
= 0 ;
33210 char *kwnames
[] = {
33211 (char *) "self", NULL
33214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33216 if (SWIG_arg_fail(1)) SWIG_fail
;
33218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33219 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33221 wxPyEndAllowThreads(__tstate
);
33222 if (PyErr_Occurred()) SWIG_fail
;
33224 resultobj
= result
;
33231 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33232 PyObject
*resultobj
;
33233 wxMenu
*arg1
= (wxMenu
*) 0 ;
33234 wxString
*arg2
= 0 ;
33236 bool temp2
= false ;
33237 PyObject
* obj0
= 0 ;
33238 PyObject
* obj1
= 0 ;
33239 char *kwnames
[] = {
33240 (char *) "self",(char *) "item", NULL
33243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33245 if (SWIG_arg_fail(1)) SWIG_fail
;
33247 arg2
= wxString_in_helper(obj1
);
33248 if (arg2
== NULL
) SWIG_fail
;
33252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33253 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33255 wxPyEndAllowThreads(__tstate
);
33256 if (PyErr_Occurred()) SWIG_fail
;
33259 resultobj
= SWIG_From_int((int)(result
));
33275 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33276 PyObject
*resultobj
;
33277 wxMenu
*arg1
= (wxMenu
*) 0 ;
33279 wxMenuItem
*result
;
33280 PyObject
* obj0
= 0 ;
33281 PyObject
* obj1
= 0 ;
33282 char *kwnames
[] = {
33283 (char *) "self",(char *) "id", NULL
33286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33288 if (SWIG_arg_fail(1)) SWIG_fail
;
33290 arg2
= (int)(SWIG_As_int(obj1
));
33291 if (SWIG_arg_fail(2)) SWIG_fail
;
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33297 wxPyEndAllowThreads(__tstate
);
33298 if (PyErr_Occurred()) SWIG_fail
;
33301 resultobj
= wxPyMake_wxObject(result
, 0);
33309 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33310 PyObject
*resultobj
;
33311 wxMenu
*arg1
= (wxMenu
*) 0 ;
33313 wxMenuItem
*result
;
33314 PyObject
* obj0
= 0 ;
33315 PyObject
* obj1
= 0 ;
33316 char *kwnames
[] = {
33317 (char *) "self",(char *) "position", NULL
33320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33322 if (SWIG_arg_fail(1)) SWIG_fail
;
33324 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33325 if (SWIG_arg_fail(2)) SWIG_fail
;
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33331 wxPyEndAllowThreads(__tstate
);
33332 if (PyErr_Occurred()) SWIG_fail
;
33335 resultobj
= wxPyMake_wxObject(result
, 0);
33343 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33344 PyObject
*resultobj
;
33345 wxMenu
*arg1
= (wxMenu
*) 0 ;
33348 PyObject
* obj0
= 0 ;
33349 PyObject
* obj1
= 0 ;
33350 PyObject
* obj2
= 0 ;
33351 char *kwnames
[] = {
33352 (char *) "self",(char *) "id",(char *) "enable", NULL
33355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33357 if (SWIG_arg_fail(1)) SWIG_fail
;
33359 arg2
= (int)(SWIG_As_int(obj1
));
33360 if (SWIG_arg_fail(2)) SWIG_fail
;
33363 arg3
= (bool)(SWIG_As_bool(obj2
));
33364 if (SWIG_arg_fail(3)) SWIG_fail
;
33367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33368 (arg1
)->Enable(arg2
,arg3
);
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33373 Py_INCREF(Py_None
); resultobj
= Py_None
;
33380 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33381 PyObject
*resultobj
;
33382 wxMenu
*arg1
= (wxMenu
*) 0 ;
33385 PyObject
* obj0
= 0 ;
33386 PyObject
* obj1
= 0 ;
33387 char *kwnames
[] = {
33388 (char *) "self",(char *) "id", NULL
33391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33393 if (SWIG_arg_fail(1)) SWIG_fail
;
33395 arg2
= (int)(SWIG_As_int(obj1
));
33396 if (SWIG_arg_fail(2)) SWIG_fail
;
33399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33400 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33402 wxPyEndAllowThreads(__tstate
);
33403 if (PyErr_Occurred()) SWIG_fail
;
33406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33414 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33415 PyObject
*resultobj
;
33416 wxMenu
*arg1
= (wxMenu
*) 0 ;
33419 PyObject
* obj0
= 0 ;
33420 PyObject
* obj1
= 0 ;
33421 PyObject
* obj2
= 0 ;
33422 char *kwnames
[] = {
33423 (char *) "self",(char *) "id",(char *) "check", NULL
33426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33428 if (SWIG_arg_fail(1)) SWIG_fail
;
33430 arg2
= (int)(SWIG_As_int(obj1
));
33431 if (SWIG_arg_fail(2)) SWIG_fail
;
33434 arg3
= (bool)(SWIG_As_bool(obj2
));
33435 if (SWIG_arg_fail(3)) SWIG_fail
;
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33439 (arg1
)->Check(arg2
,arg3
);
33441 wxPyEndAllowThreads(__tstate
);
33442 if (PyErr_Occurred()) SWIG_fail
;
33444 Py_INCREF(Py_None
); resultobj
= Py_None
;
33451 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33452 PyObject
*resultobj
;
33453 wxMenu
*arg1
= (wxMenu
*) 0 ;
33456 PyObject
* obj0
= 0 ;
33457 PyObject
* obj1
= 0 ;
33458 char *kwnames
[] = {
33459 (char *) "self",(char *) "id", NULL
33462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33464 if (SWIG_arg_fail(1)) SWIG_fail
;
33466 arg2
= (int)(SWIG_As_int(obj1
));
33467 if (SWIG_arg_fail(2)) SWIG_fail
;
33470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33471 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33473 wxPyEndAllowThreads(__tstate
);
33474 if (PyErr_Occurred()) SWIG_fail
;
33477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33485 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33486 PyObject
*resultobj
;
33487 wxMenu
*arg1
= (wxMenu
*) 0 ;
33489 wxString
*arg3
= 0 ;
33490 bool temp3
= false ;
33491 PyObject
* obj0
= 0 ;
33492 PyObject
* obj1
= 0 ;
33493 PyObject
* obj2
= 0 ;
33494 char *kwnames
[] = {
33495 (char *) "self",(char *) "id",(char *) "label", NULL
33498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33500 if (SWIG_arg_fail(1)) SWIG_fail
;
33502 arg2
= (int)(SWIG_As_int(obj1
));
33503 if (SWIG_arg_fail(2)) SWIG_fail
;
33506 arg3
= wxString_in_helper(obj2
);
33507 if (arg3
== NULL
) SWIG_fail
;
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33517 Py_INCREF(Py_None
); resultobj
= Py_None
;
33532 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33533 PyObject
*resultobj
;
33534 wxMenu
*arg1
= (wxMenu
*) 0 ;
33537 PyObject
* obj0
= 0 ;
33538 PyObject
* obj1
= 0 ;
33539 char *kwnames
[] = {
33540 (char *) "self",(char *) "id", NULL
33543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33545 if (SWIG_arg_fail(1)) SWIG_fail
;
33547 arg2
= (int)(SWIG_As_int(obj1
));
33548 if (SWIG_arg_fail(2)) SWIG_fail
;
33551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33552 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33554 wxPyEndAllowThreads(__tstate
);
33555 if (PyErr_Occurred()) SWIG_fail
;
33559 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33561 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33570 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33571 PyObject
*resultobj
;
33572 wxMenu
*arg1
= (wxMenu
*) 0 ;
33574 wxString
*arg3
= 0 ;
33575 bool temp3
= false ;
33576 PyObject
* obj0
= 0 ;
33577 PyObject
* obj1
= 0 ;
33578 PyObject
* obj2
= 0 ;
33579 char *kwnames
[] = {
33580 (char *) "self",(char *) "id",(char *) "helpString", NULL
33583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33584 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33585 if (SWIG_arg_fail(1)) SWIG_fail
;
33587 arg2
= (int)(SWIG_As_int(obj1
));
33588 if (SWIG_arg_fail(2)) SWIG_fail
;
33591 arg3
= wxString_in_helper(obj2
);
33592 if (arg3
== NULL
) SWIG_fail
;
33596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33597 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33599 wxPyEndAllowThreads(__tstate
);
33600 if (PyErr_Occurred()) SWIG_fail
;
33602 Py_INCREF(Py_None
); resultobj
= Py_None
;
33617 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33618 PyObject
*resultobj
;
33619 wxMenu
*arg1
= (wxMenu
*) 0 ;
33622 PyObject
* obj0
= 0 ;
33623 PyObject
* obj1
= 0 ;
33624 char *kwnames
[] = {
33625 (char *) "self",(char *) "id", NULL
33628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33630 if (SWIG_arg_fail(1)) SWIG_fail
;
33632 arg2
= (int)(SWIG_As_int(obj1
));
33633 if (SWIG_arg_fail(2)) SWIG_fail
;
33636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33637 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33655 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33656 PyObject
*resultobj
;
33657 wxMenu
*arg1
= (wxMenu
*) 0 ;
33658 wxString
*arg2
= 0 ;
33659 bool temp2
= false ;
33660 PyObject
* obj0
= 0 ;
33661 PyObject
* obj1
= 0 ;
33662 char *kwnames
[] = {
33663 (char *) "self",(char *) "title", NULL
33666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33668 if (SWIG_arg_fail(1)) SWIG_fail
;
33670 arg2
= wxString_in_helper(obj1
);
33671 if (arg2
== NULL
) SWIG_fail
;
33675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33676 (arg1
)->SetTitle((wxString
const &)*arg2
);
33678 wxPyEndAllowThreads(__tstate
);
33679 if (PyErr_Occurred()) SWIG_fail
;
33681 Py_INCREF(Py_None
); resultobj
= Py_None
;
33696 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33697 PyObject
*resultobj
;
33698 wxMenu
*arg1
= (wxMenu
*) 0 ;
33700 PyObject
* obj0
= 0 ;
33701 char *kwnames
[] = {
33702 (char *) "self", NULL
33705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
33706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33707 if (SWIG_arg_fail(1)) SWIG_fail
;
33709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33710 result
= ((wxMenu
const *)arg1
)->GetTitle();
33712 wxPyEndAllowThreads(__tstate
);
33713 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33728 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33729 PyObject
*resultobj
;
33730 wxMenu
*arg1
= (wxMenu
*) 0 ;
33731 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33732 PyObject
* obj0
= 0 ;
33733 PyObject
* obj1
= 0 ;
33734 char *kwnames
[] = {
33735 (char *) "self",(char *) "handler", NULL
33738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
33739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33740 if (SWIG_arg_fail(1)) SWIG_fail
;
33741 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33742 if (SWIG_arg_fail(2)) SWIG_fail
;
33744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33745 (arg1
)->SetEventHandler(arg2
);
33747 wxPyEndAllowThreads(__tstate
);
33748 if (PyErr_Occurred()) SWIG_fail
;
33750 Py_INCREF(Py_None
); resultobj
= Py_None
;
33757 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33758 PyObject
*resultobj
;
33759 wxMenu
*arg1
= (wxMenu
*) 0 ;
33760 wxEvtHandler
*result
;
33761 PyObject
* obj0
= 0 ;
33762 char *kwnames
[] = {
33763 (char *) "self", NULL
33766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
33767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33768 if (SWIG_arg_fail(1)) SWIG_fail
;
33770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33771 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
33773 wxPyEndAllowThreads(__tstate
);
33774 if (PyErr_Occurred()) SWIG_fail
;
33777 resultobj
= wxPyMake_wxObject(result
, 0);
33785 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33786 PyObject
*resultobj
;
33787 wxMenu
*arg1
= (wxMenu
*) 0 ;
33788 wxWindow
*arg2
= (wxWindow
*) 0 ;
33789 PyObject
* obj0
= 0 ;
33790 PyObject
* obj1
= 0 ;
33791 char *kwnames
[] = {
33792 (char *) "self",(char *) "win", NULL
33795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33797 if (SWIG_arg_fail(1)) SWIG_fail
;
33798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33799 if (SWIG_arg_fail(2)) SWIG_fail
;
33801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33802 (arg1
)->SetInvokingWindow(arg2
);
33804 wxPyEndAllowThreads(__tstate
);
33805 if (PyErr_Occurred()) SWIG_fail
;
33807 Py_INCREF(Py_None
); resultobj
= Py_None
;
33814 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33815 PyObject
*resultobj
;
33816 wxMenu
*arg1
= (wxMenu
*) 0 ;
33818 PyObject
* obj0
= 0 ;
33819 char *kwnames
[] = {
33820 (char *) "self", NULL
33823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
33824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33825 if (SWIG_arg_fail(1)) SWIG_fail
;
33827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33828 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
33830 wxPyEndAllowThreads(__tstate
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33834 resultobj
= wxPyMake_wxObject(result
, 0);
33842 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33843 PyObject
*resultobj
;
33844 wxMenu
*arg1
= (wxMenu
*) 0 ;
33846 PyObject
* obj0
= 0 ;
33847 char *kwnames
[] = {
33848 (char *) "self", NULL
33851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
33852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33853 if (SWIG_arg_fail(1)) SWIG_fail
;
33855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33856 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
33858 wxPyEndAllowThreads(__tstate
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33862 resultobj
= SWIG_From_long((long)(result
));
33870 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33871 PyObject
*resultobj
;
33872 wxMenu
*arg1
= (wxMenu
*) 0 ;
33873 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
33874 PyObject
* obj0
= 0 ;
33875 PyObject
* obj1
= 0 ;
33876 char *kwnames
[] = {
33877 (char *) "self",(char *) "source", NULL
33880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
33881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33882 if (SWIG_arg_fail(1)) SWIG_fail
;
33884 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33885 if (SWIG_arg_fail(2)) SWIG_fail
;
33888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33889 (arg1
)->UpdateUI(arg2
);
33891 wxPyEndAllowThreads(__tstate
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 Py_INCREF(Py_None
); resultobj
= Py_None
;
33901 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33902 PyObject
*resultobj
;
33903 wxMenu
*arg1
= (wxMenu
*) 0 ;
33905 PyObject
* obj0
= 0 ;
33906 char *kwnames
[] = {
33907 (char *) "self", NULL
33910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
33911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33912 if (SWIG_arg_fail(1)) SWIG_fail
;
33914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33915 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
33917 wxPyEndAllowThreads(__tstate
);
33918 if (PyErr_Occurred()) SWIG_fail
;
33921 resultobj
= wxPyMake_wxObject(result
, 0);
33929 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33930 PyObject
*resultobj
;
33931 wxMenu
*arg1
= (wxMenu
*) 0 ;
33932 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
33933 PyObject
* obj0
= 0 ;
33934 PyObject
* obj1
= 0 ;
33935 char *kwnames
[] = {
33936 (char *) "self",(char *) "menubar", NULL
33939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
33940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33941 if (SWIG_arg_fail(1)) SWIG_fail
;
33942 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
33943 if (SWIG_arg_fail(2)) SWIG_fail
;
33945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33946 (arg1
)->Attach(arg2
);
33948 wxPyEndAllowThreads(__tstate
);
33949 if (PyErr_Occurred()) SWIG_fail
;
33951 Py_INCREF(Py_None
); resultobj
= Py_None
;
33958 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33959 PyObject
*resultobj
;
33960 wxMenu
*arg1
= (wxMenu
*) 0 ;
33961 PyObject
* obj0
= 0 ;
33962 char *kwnames
[] = {
33963 (char *) "self", NULL
33966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
33967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33968 if (SWIG_arg_fail(1)) SWIG_fail
;
33970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33973 wxPyEndAllowThreads(__tstate
);
33974 if (PyErr_Occurred()) SWIG_fail
;
33976 Py_INCREF(Py_None
); resultobj
= Py_None
;
33983 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33984 PyObject
*resultobj
;
33985 wxMenu
*arg1
= (wxMenu
*) 0 ;
33987 PyObject
* obj0
= 0 ;
33988 char *kwnames
[] = {
33989 (char *) "self", NULL
33992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
33993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33994 if (SWIG_arg_fail(1)) SWIG_fail
;
33996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33997 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
33999 wxPyEndAllowThreads(__tstate
);
34000 if (PyErr_Occurred()) SWIG_fail
;
34003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34011 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34012 PyObject
*resultobj
;
34013 wxMenu
*arg1
= (wxMenu
*) 0 ;
34014 wxMenu
*arg2
= (wxMenu
*) 0 ;
34015 PyObject
* obj0
= 0 ;
34016 PyObject
* obj1
= 0 ;
34017 char *kwnames
[] = {
34018 (char *) "self",(char *) "parent", NULL
34021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34023 if (SWIG_arg_fail(1)) SWIG_fail
;
34024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34025 if (SWIG_arg_fail(2)) SWIG_fail
;
34027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34028 (arg1
)->SetParent(arg2
);
34030 wxPyEndAllowThreads(__tstate
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34033 Py_INCREF(Py_None
); resultobj
= Py_None
;
34040 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34041 PyObject
*resultobj
;
34042 wxMenu
*arg1
= (wxMenu
*) 0 ;
34044 PyObject
* obj0
= 0 ;
34045 char *kwnames
[] = {
34046 (char *) "self", NULL
34049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34051 if (SWIG_arg_fail(1)) SWIG_fail
;
34053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34054 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34056 wxPyEndAllowThreads(__tstate
);
34057 if (PyErr_Occurred()) SWIG_fail
;
34060 resultobj
= wxPyMake_wxObject(result
, 0);
34068 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34071 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34073 return Py_BuildValue((char *)"");
34075 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34076 PyObject
*resultobj
;
34077 long arg1
= (long) 0 ;
34079 PyObject
* obj0
= 0 ;
34080 char *kwnames
[] = {
34081 (char *) "style", NULL
34084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34087 arg1
= (long)(SWIG_As_long(obj0
));
34088 if (SWIG_arg_fail(1)) SWIG_fail
;
34092 if (!wxPyCheckForApp()) SWIG_fail
;
34093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34094 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34096 wxPyEndAllowThreads(__tstate
);
34097 if (PyErr_Occurred()) SWIG_fail
;
34099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34106 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34107 PyObject
*resultobj
;
34108 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34109 wxMenu
*arg2
= (wxMenu
*) 0 ;
34110 wxString
*arg3
= 0 ;
34112 bool temp3
= false ;
34113 PyObject
* obj0
= 0 ;
34114 PyObject
* obj1
= 0 ;
34115 PyObject
* obj2
= 0 ;
34116 char *kwnames
[] = {
34117 (char *) "self",(char *) "menu",(char *) "title", NULL
34120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34122 if (SWIG_arg_fail(1)) SWIG_fail
;
34123 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34124 if (SWIG_arg_fail(2)) SWIG_fail
;
34126 arg3
= wxString_in_helper(obj2
);
34127 if (arg3
== NULL
) SWIG_fail
;
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34154 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
;
34156 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34158 wxMenu
*arg3
= (wxMenu
*) 0 ;
34159 wxString
*arg4
= 0 ;
34161 bool temp4
= false ;
34162 PyObject
* obj0
= 0 ;
34163 PyObject
* obj1
= 0 ;
34164 PyObject
* obj2
= 0 ;
34165 PyObject
* obj3
= 0 ;
34166 char *kwnames
[] = {
34167 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34172 if (SWIG_arg_fail(1)) SWIG_fail
;
34174 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34175 if (SWIG_arg_fail(2)) SWIG_fail
;
34177 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34178 if (SWIG_arg_fail(3)) SWIG_fail
;
34180 arg4
= wxString_in_helper(obj3
);
34181 if (arg4
== NULL
) SWIG_fail
;
34185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34186 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34188 wxPyEndAllowThreads(__tstate
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34208 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34209 PyObject
*resultobj
;
34210 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34212 PyObject
* obj0
= 0 ;
34213 char *kwnames
[] = {
34214 (char *) "self", NULL
34217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34219 if (SWIG_arg_fail(1)) SWIG_fail
;
34221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34222 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34228 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34236 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34237 PyObject
*resultobj
;
34238 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34241 PyObject
* obj0
= 0 ;
34242 PyObject
* obj1
= 0 ;
34243 char *kwnames
[] = {
34244 (char *) "self",(char *) "pos", NULL
34247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34249 if (SWIG_arg_fail(1)) SWIG_fail
;
34251 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34252 if (SWIG_arg_fail(2)) SWIG_fail
;
34255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34256 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34258 wxPyEndAllowThreads(__tstate
);
34259 if (PyErr_Occurred()) SWIG_fail
;
34262 resultobj
= wxPyMake_wxObject(result
, 0);
34270 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
;
34272 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34274 wxMenu
*arg3
= (wxMenu
*) 0 ;
34275 wxString
*arg4
= 0 ;
34277 bool temp4
= false ;
34278 PyObject
* obj0
= 0 ;
34279 PyObject
* obj1
= 0 ;
34280 PyObject
* obj2
= 0 ;
34281 PyObject
* obj3
= 0 ;
34282 char *kwnames
[] = {
34283 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34288 if (SWIG_arg_fail(1)) SWIG_fail
;
34290 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34291 if (SWIG_arg_fail(2)) SWIG_fail
;
34293 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34294 if (SWIG_arg_fail(3)) SWIG_fail
;
34296 arg4
= wxString_in_helper(obj3
);
34297 if (arg4
== NULL
) SWIG_fail
;
34301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34302 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34304 wxPyEndAllowThreads(__tstate
);
34305 if (PyErr_Occurred()) SWIG_fail
;
34308 resultobj
= wxPyMake_wxObject(result
, 0);
34324 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34325 PyObject
*resultobj
;
34326 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34329 PyObject
* obj0
= 0 ;
34330 PyObject
* obj1
= 0 ;
34331 char *kwnames
[] = {
34332 (char *) "self",(char *) "pos", NULL
34335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34337 if (SWIG_arg_fail(1)) SWIG_fail
;
34339 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34340 if (SWIG_arg_fail(2)) SWIG_fail
;
34343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34344 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34346 wxPyEndAllowThreads(__tstate
);
34347 if (PyErr_Occurred()) SWIG_fail
;
34350 resultobj
= wxPyMake_wxObject(result
, 0);
34358 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34359 PyObject
*resultobj
;
34360 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34363 PyObject
* obj0
= 0 ;
34364 PyObject
* obj1
= 0 ;
34365 PyObject
* obj2
= 0 ;
34366 char *kwnames
[] = {
34367 (char *) "self",(char *) "pos",(char *) "enable", NULL
34370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34372 if (SWIG_arg_fail(1)) SWIG_fail
;
34374 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34375 if (SWIG_arg_fail(2)) SWIG_fail
;
34378 arg3
= (bool)(SWIG_As_bool(obj2
));
34379 if (SWIG_arg_fail(3)) SWIG_fail
;
34382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34383 (arg1
)->EnableTop(arg2
,arg3
);
34385 wxPyEndAllowThreads(__tstate
);
34386 if (PyErr_Occurred()) SWIG_fail
;
34388 Py_INCREF(Py_None
); resultobj
= Py_None
;
34395 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34396 PyObject
*resultobj
;
34397 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34400 PyObject
* obj0
= 0 ;
34401 PyObject
* obj1
= 0 ;
34402 char *kwnames
[] = {
34403 (char *) "self",(char *) "pos", NULL
34406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34408 if (SWIG_arg_fail(1)) SWIG_fail
;
34410 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34411 if (SWIG_arg_fail(2)) SWIG_fail
;
34414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34415 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34417 wxPyEndAllowThreads(__tstate
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34429 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34430 PyObject
*resultobj
;
34431 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34433 wxString
*arg3
= 0 ;
34434 bool temp3
= false ;
34435 PyObject
* obj0
= 0 ;
34436 PyObject
* obj1
= 0 ;
34437 PyObject
* obj2
= 0 ;
34438 char *kwnames
[] = {
34439 (char *) "self",(char *) "pos",(char *) "label", NULL
34442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34444 if (SWIG_arg_fail(1)) SWIG_fail
;
34446 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34447 if (SWIG_arg_fail(2)) SWIG_fail
;
34450 arg3
= wxString_in_helper(obj2
);
34451 if (arg3
== NULL
) SWIG_fail
;
34455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34456 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34458 wxPyEndAllowThreads(__tstate
);
34459 if (PyErr_Occurred()) SWIG_fail
;
34461 Py_INCREF(Py_None
); resultobj
= Py_None
;
34476 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34477 PyObject
*resultobj
;
34478 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34481 PyObject
* obj0
= 0 ;
34482 PyObject
* obj1
= 0 ;
34483 char *kwnames
[] = {
34484 (char *) "self",(char *) "pos", NULL
34487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34489 if (SWIG_arg_fail(1)) SWIG_fail
;
34491 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34492 if (SWIG_arg_fail(2)) SWIG_fail
;
34495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34496 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34498 wxPyEndAllowThreads(__tstate
);
34499 if (PyErr_Occurred()) SWIG_fail
;
34503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34514 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34515 PyObject
*resultobj
;
34516 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34517 wxString
*arg2
= 0 ;
34518 wxString
*arg3
= 0 ;
34520 bool temp2
= false ;
34521 bool temp3
= false ;
34522 PyObject
* obj0
= 0 ;
34523 PyObject
* obj1
= 0 ;
34524 PyObject
* obj2
= 0 ;
34525 char *kwnames
[] = {
34526 (char *) "self",(char *) "menu",(char *) "item", NULL
34529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34531 if (SWIG_arg_fail(1)) SWIG_fail
;
34533 arg2
= wxString_in_helper(obj1
);
34534 if (arg2
== NULL
) SWIG_fail
;
34538 arg3
= wxString_in_helper(obj2
);
34539 if (arg3
== NULL
) SWIG_fail
;
34543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34544 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34550 resultobj
= SWIG_From_int((int)(result
));
34574 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34575 PyObject
*resultobj
;
34576 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34578 wxMenuItem
*result
;
34579 PyObject
* obj0
= 0 ;
34580 PyObject
* obj1
= 0 ;
34581 char *kwnames
[] = {
34582 (char *) "self",(char *) "id", NULL
34585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34587 if (SWIG_arg_fail(1)) SWIG_fail
;
34589 arg2
= (int)(SWIG_As_int(obj1
));
34590 if (SWIG_arg_fail(2)) SWIG_fail
;
34593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34594 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34600 resultobj
= wxPyMake_wxObject(result
, 0);
34608 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34609 PyObject
*resultobj
;
34610 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34611 wxString
*arg2
= 0 ;
34613 bool temp2
= false ;
34614 PyObject
* obj0
= 0 ;
34615 PyObject
* obj1
= 0 ;
34616 char *kwnames
[] = {
34617 (char *) "self",(char *) "title", NULL
34620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34622 if (SWIG_arg_fail(1)) SWIG_fail
;
34624 arg2
= wxString_in_helper(obj1
);
34625 if (arg2
== NULL
) SWIG_fail
;
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34630 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34632 wxPyEndAllowThreads(__tstate
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34636 resultobj
= SWIG_From_int((int)(result
));
34652 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34653 PyObject
*resultobj
;
34654 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34657 PyObject
* obj0
= 0 ;
34658 PyObject
* obj1
= 0 ;
34659 PyObject
* obj2
= 0 ;
34660 char *kwnames
[] = {
34661 (char *) "self",(char *) "id",(char *) "enable", NULL
34664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34666 if (SWIG_arg_fail(1)) SWIG_fail
;
34668 arg2
= (int)(SWIG_As_int(obj1
));
34669 if (SWIG_arg_fail(2)) SWIG_fail
;
34672 arg3
= (bool)(SWIG_As_bool(obj2
));
34673 if (SWIG_arg_fail(3)) SWIG_fail
;
34676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34677 (arg1
)->Enable(arg2
,arg3
);
34679 wxPyEndAllowThreads(__tstate
);
34680 if (PyErr_Occurred()) SWIG_fail
;
34682 Py_INCREF(Py_None
); resultobj
= Py_None
;
34689 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34690 PyObject
*resultobj
;
34691 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34694 PyObject
* obj0
= 0 ;
34695 PyObject
* obj1
= 0 ;
34696 PyObject
* obj2
= 0 ;
34697 char *kwnames
[] = {
34698 (char *) "self",(char *) "id",(char *) "check", NULL
34701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34703 if (SWIG_arg_fail(1)) SWIG_fail
;
34705 arg2
= (int)(SWIG_As_int(obj1
));
34706 if (SWIG_arg_fail(2)) SWIG_fail
;
34709 arg3
= (bool)(SWIG_As_bool(obj2
));
34710 if (SWIG_arg_fail(3)) SWIG_fail
;
34713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34714 (arg1
)->Check(arg2
,arg3
);
34716 wxPyEndAllowThreads(__tstate
);
34717 if (PyErr_Occurred()) SWIG_fail
;
34719 Py_INCREF(Py_None
); resultobj
= Py_None
;
34726 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34727 PyObject
*resultobj
;
34728 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34731 PyObject
* obj0
= 0 ;
34732 PyObject
* obj1
= 0 ;
34733 char *kwnames
[] = {
34734 (char *) "self",(char *) "id", NULL
34737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34739 if (SWIG_arg_fail(1)) SWIG_fail
;
34741 arg2
= (int)(SWIG_As_int(obj1
));
34742 if (SWIG_arg_fail(2)) SWIG_fail
;
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
34748 wxPyEndAllowThreads(__tstate
);
34749 if (PyErr_Occurred()) SWIG_fail
;
34752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34760 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34761 PyObject
*resultobj
;
34762 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34765 PyObject
* obj0
= 0 ;
34766 PyObject
* obj1
= 0 ;
34767 char *kwnames
[] = {
34768 (char *) "self",(char *) "id", NULL
34771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34773 if (SWIG_arg_fail(1)) SWIG_fail
;
34775 arg2
= (int)(SWIG_As_int(obj1
));
34776 if (SWIG_arg_fail(2)) SWIG_fail
;
34779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34780 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
34782 wxPyEndAllowThreads(__tstate
);
34783 if (PyErr_Occurred()) SWIG_fail
;
34786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34794 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34795 PyObject
*resultobj
;
34796 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34798 wxString
*arg3
= 0 ;
34799 bool temp3
= false ;
34800 PyObject
* obj0
= 0 ;
34801 PyObject
* obj1
= 0 ;
34802 PyObject
* obj2
= 0 ;
34803 char *kwnames
[] = {
34804 (char *) "self",(char *) "id",(char *) "label", NULL
34807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34809 if (SWIG_arg_fail(1)) SWIG_fail
;
34811 arg2
= (int)(SWIG_As_int(obj1
));
34812 if (SWIG_arg_fail(2)) SWIG_fail
;
34815 arg3
= wxString_in_helper(obj2
);
34816 if (arg3
== NULL
) SWIG_fail
;
34820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34821 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34823 wxPyEndAllowThreads(__tstate
);
34824 if (PyErr_Occurred()) SWIG_fail
;
34826 Py_INCREF(Py_None
); resultobj
= Py_None
;
34841 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34842 PyObject
*resultobj
;
34843 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34846 PyObject
* obj0
= 0 ;
34847 PyObject
* obj1
= 0 ;
34848 char *kwnames
[] = {
34849 (char *) "self",(char *) "id", NULL
34852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34854 if (SWIG_arg_fail(1)) SWIG_fail
;
34856 arg2
= (int)(SWIG_As_int(obj1
));
34857 if (SWIG_arg_fail(2)) SWIG_fail
;
34860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34861 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
34863 wxPyEndAllowThreads(__tstate
);
34864 if (PyErr_Occurred()) SWIG_fail
;
34868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34879 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34880 PyObject
*resultobj
;
34881 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34883 wxString
*arg3
= 0 ;
34884 bool temp3
= false ;
34885 PyObject
* obj0
= 0 ;
34886 PyObject
* obj1
= 0 ;
34887 PyObject
* obj2
= 0 ;
34888 char *kwnames
[] = {
34889 (char *) "self",(char *) "id",(char *) "helpString", NULL
34892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34894 if (SWIG_arg_fail(1)) SWIG_fail
;
34896 arg2
= (int)(SWIG_As_int(obj1
));
34897 if (SWIG_arg_fail(2)) SWIG_fail
;
34900 arg3
= wxString_in_helper(obj2
);
34901 if (arg3
== NULL
) SWIG_fail
;
34905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34906 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 Py_INCREF(Py_None
); resultobj
= Py_None
;
34926 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34927 PyObject
*resultobj
;
34928 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34931 PyObject
* obj0
= 0 ;
34932 PyObject
* obj1
= 0 ;
34933 char *kwnames
[] = {
34934 (char *) "self",(char *) "id", NULL
34937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34939 if (SWIG_arg_fail(1)) SWIG_fail
;
34941 arg2
= (int)(SWIG_As_int(obj1
));
34942 if (SWIG_arg_fail(2)) SWIG_fail
;
34945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34946 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
34948 wxPyEndAllowThreads(__tstate
);
34949 if (PyErr_Occurred()) SWIG_fail
;
34953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34964 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34965 PyObject
*resultobj
;
34966 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34968 PyObject
* obj0
= 0 ;
34969 char *kwnames
[] = {
34970 (char *) "self", NULL
34973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
34974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34975 if (SWIG_arg_fail(1)) SWIG_fail
;
34977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34978 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
34980 wxPyEndAllowThreads(__tstate
);
34981 if (PyErr_Occurred()) SWIG_fail
;
34984 resultobj
= wxPyMake_wxObject(result
, 0);
34992 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34993 PyObject
*resultobj
;
34994 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34996 PyObject
* obj0
= 0 ;
34997 char *kwnames
[] = {
34998 (char *) "self", NULL
35001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35003 if (SWIG_arg_fail(1)) SWIG_fail
;
35005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35006 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35008 wxPyEndAllowThreads(__tstate
);
35009 if (PyErr_Occurred()) SWIG_fail
;
35012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35020 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
;
35022 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35023 wxFrame
*arg2
= (wxFrame
*) 0 ;
35024 PyObject
* obj0
= 0 ;
35025 PyObject
* obj1
= 0 ;
35026 char *kwnames
[] = {
35027 (char *) "self",(char *) "frame", NULL
35030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35032 if (SWIG_arg_fail(1)) SWIG_fail
;
35033 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35034 if (SWIG_arg_fail(2)) SWIG_fail
;
35036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35037 (arg1
)->Attach(arg2
);
35039 wxPyEndAllowThreads(__tstate
);
35040 if (PyErr_Occurred()) SWIG_fail
;
35042 Py_INCREF(Py_None
); resultobj
= Py_None
;
35049 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35050 PyObject
*resultobj
;
35051 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35052 PyObject
* obj0
= 0 ;
35053 char *kwnames
[] = {
35054 (char *) "self", NULL
35057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35059 if (SWIG_arg_fail(1)) SWIG_fail
;
35061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35064 wxPyEndAllowThreads(__tstate
);
35065 if (PyErr_Occurred()) SWIG_fail
;
35067 Py_INCREF(Py_None
); resultobj
= Py_None
;
35074 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35077 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35079 return Py_BuildValue((char *)"");
35081 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35082 PyObject
*resultobj
;
35083 wxMenu
*arg1
= (wxMenu
*) NULL
;
35084 int arg2
= (int) wxID_ANY
;
35085 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35086 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35087 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35088 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35089 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35090 wxMenu
*arg6
= (wxMenu
*) NULL
;
35091 wxMenuItem
*result
;
35092 bool temp3
= false ;
35093 bool temp4
= false ;
35094 PyObject
* obj0
= 0 ;
35095 PyObject
* obj1
= 0 ;
35096 PyObject
* obj2
= 0 ;
35097 PyObject
* obj3
= 0 ;
35098 PyObject
* obj4
= 0 ;
35099 PyObject
* obj5
= 0 ;
35100 char *kwnames
[] = {
35101 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35107 if (SWIG_arg_fail(1)) SWIG_fail
;
35111 arg2
= (int)(SWIG_As_int(obj1
));
35112 if (SWIG_arg_fail(2)) SWIG_fail
;
35117 arg3
= wxString_in_helper(obj2
);
35118 if (arg3
== NULL
) SWIG_fail
;
35124 arg4
= wxString_in_helper(obj3
);
35125 if (arg4
== NULL
) SWIG_fail
;
35131 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35132 if (SWIG_arg_fail(5)) SWIG_fail
;
35136 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35137 if (SWIG_arg_fail(6)) SWIG_fail
;
35140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35143 wxPyEndAllowThreads(__tstate
);
35144 if (PyErr_Occurred()) SWIG_fail
;
35147 resultobj
= wxPyMake_wxObject(result
, 1);
35171 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35172 PyObject
*resultobj
;
35173 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35175 PyObject
* obj0
= 0 ;
35176 char *kwnames
[] = {
35177 (char *) "self", NULL
35180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35182 if (SWIG_arg_fail(1)) SWIG_fail
;
35184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35185 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35187 wxPyEndAllowThreads(__tstate
);
35188 if (PyErr_Occurred()) SWIG_fail
;
35191 resultobj
= wxPyMake_wxObject(result
, 0);
35199 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35200 PyObject
*resultobj
;
35201 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35202 wxMenu
*arg2
= (wxMenu
*) 0 ;
35203 PyObject
* obj0
= 0 ;
35204 PyObject
* obj1
= 0 ;
35205 char *kwnames
[] = {
35206 (char *) "self",(char *) "menu", NULL
35209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35211 if (SWIG_arg_fail(1)) SWIG_fail
;
35212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35213 if (SWIG_arg_fail(2)) SWIG_fail
;
35215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35216 (arg1
)->SetMenu(arg2
);
35218 wxPyEndAllowThreads(__tstate
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35221 Py_INCREF(Py_None
); resultobj
= Py_None
;
35228 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35229 PyObject
*resultobj
;
35230 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35232 PyObject
* obj0
= 0 ;
35233 PyObject
* obj1
= 0 ;
35234 char *kwnames
[] = {
35235 (char *) "self",(char *) "id", NULL
35238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35240 if (SWIG_arg_fail(1)) SWIG_fail
;
35242 arg2
= (int)(SWIG_As_int(obj1
));
35243 if (SWIG_arg_fail(2)) SWIG_fail
;
35246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35247 (arg1
)->SetId(arg2
);
35249 wxPyEndAllowThreads(__tstate
);
35250 if (PyErr_Occurred()) SWIG_fail
;
35252 Py_INCREF(Py_None
); resultobj
= Py_None
;
35259 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35260 PyObject
*resultobj
;
35261 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35263 PyObject
* obj0
= 0 ;
35264 char *kwnames
[] = {
35265 (char *) "self", NULL
35268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35270 if (SWIG_arg_fail(1)) SWIG_fail
;
35272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35273 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35275 wxPyEndAllowThreads(__tstate
);
35276 if (PyErr_Occurred()) SWIG_fail
;
35279 resultobj
= SWIG_From_int((int)(result
));
35287 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35288 PyObject
*resultobj
;
35289 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35291 PyObject
* obj0
= 0 ;
35292 char *kwnames
[] = {
35293 (char *) "self", NULL
35296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35298 if (SWIG_arg_fail(1)) SWIG_fail
;
35300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35301 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35303 wxPyEndAllowThreads(__tstate
);
35304 if (PyErr_Occurred()) SWIG_fail
;
35307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35315 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35316 PyObject
*resultobj
;
35317 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35318 wxString
*arg2
= 0 ;
35319 bool temp2
= false ;
35320 PyObject
* obj0
= 0 ;
35321 PyObject
* obj1
= 0 ;
35322 char *kwnames
[] = {
35323 (char *) "self",(char *) "str", NULL
35326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35328 if (SWIG_arg_fail(1)) SWIG_fail
;
35330 arg2
= wxString_in_helper(obj1
);
35331 if (arg2
== NULL
) SWIG_fail
;
35335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35336 (arg1
)->SetText((wxString
const &)*arg2
);
35338 wxPyEndAllowThreads(__tstate
);
35339 if (PyErr_Occurred()) SWIG_fail
;
35341 Py_INCREF(Py_None
); resultobj
= Py_None
;
35356 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35357 PyObject
*resultobj
;
35358 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35360 PyObject
* obj0
= 0 ;
35361 char *kwnames
[] = {
35362 (char *) "self", NULL
35365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35367 if (SWIG_arg_fail(1)) SWIG_fail
;
35369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35370 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35372 wxPyEndAllowThreads(__tstate
);
35373 if (PyErr_Occurred()) SWIG_fail
;
35377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35388 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35389 PyObject
*resultobj
;
35390 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35392 PyObject
* obj0
= 0 ;
35393 char *kwnames
[] = {
35394 (char *) "self", NULL
35397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35399 if (SWIG_arg_fail(1)) SWIG_fail
;
35401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35403 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35404 result
= (wxString
*) &_result_ref
;
35407 wxPyEndAllowThreads(__tstate
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35412 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35414 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35423 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35424 PyObject
*resultobj
;
35425 wxString
*arg1
= 0 ;
35427 bool temp1
= false ;
35428 PyObject
* obj0
= 0 ;
35429 char *kwnames
[] = {
35430 (char *) "text", NULL
35433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35435 arg1
= wxString_in_helper(obj0
);
35436 if (arg1
== NULL
) SWIG_fail
;
35440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35441 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35443 wxPyEndAllowThreads(__tstate
);
35444 if (PyErr_Occurred()) SWIG_fail
;
35448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35467 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35468 PyObject
*resultobj
;
35469 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35471 PyObject
* obj0
= 0 ;
35472 char *kwnames
[] = {
35473 (char *) "self", NULL
35476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35478 if (SWIG_arg_fail(1)) SWIG_fail
;
35480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35481 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35486 resultobj
= SWIG_From_int((result
));
35493 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35494 PyObject
*resultobj
;
35495 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35497 PyObject
* obj0
= 0 ;
35498 PyObject
* obj1
= 0 ;
35499 char *kwnames
[] = {
35500 (char *) "self",(char *) "kind", NULL
35503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35505 if (SWIG_arg_fail(1)) SWIG_fail
;
35507 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35508 if (SWIG_arg_fail(2)) SWIG_fail
;
35511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35512 (arg1
)->SetKind((wxItemKind
)arg2
);
35514 wxPyEndAllowThreads(__tstate
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35517 Py_INCREF(Py_None
); resultobj
= Py_None
;
35524 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35525 PyObject
*resultobj
;
35526 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35528 PyObject
* obj0
= 0 ;
35529 PyObject
* obj1
= 0 ;
35530 char *kwnames
[] = {
35531 (char *) "self",(char *) "checkable", NULL
35534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35536 if (SWIG_arg_fail(1)) SWIG_fail
;
35538 arg2
= (bool)(SWIG_As_bool(obj1
));
35539 if (SWIG_arg_fail(2)) SWIG_fail
;
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 (arg1
)->SetCheckable(arg2
);
35545 wxPyEndAllowThreads(__tstate
);
35546 if (PyErr_Occurred()) SWIG_fail
;
35548 Py_INCREF(Py_None
); resultobj
= Py_None
;
35555 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35556 PyObject
*resultobj
;
35557 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35559 PyObject
* obj0
= 0 ;
35560 char *kwnames
[] = {
35561 (char *) "self", NULL
35564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35566 if (SWIG_arg_fail(1)) SWIG_fail
;
35568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35569 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35571 wxPyEndAllowThreads(__tstate
);
35572 if (PyErr_Occurred()) SWIG_fail
;
35575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35583 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35584 PyObject
*resultobj
;
35585 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35587 PyObject
* obj0
= 0 ;
35588 char *kwnames
[] = {
35589 (char *) "self", NULL
35592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35594 if (SWIG_arg_fail(1)) SWIG_fail
;
35596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35597 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35599 wxPyEndAllowThreads(__tstate
);
35600 if (PyErr_Occurred()) SWIG_fail
;
35603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35611 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35612 PyObject
*resultobj
;
35613 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35614 wxMenu
*arg2
= (wxMenu
*) 0 ;
35615 PyObject
* obj0
= 0 ;
35616 PyObject
* obj1
= 0 ;
35617 char *kwnames
[] = {
35618 (char *) "self",(char *) "menu", NULL
35621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35623 if (SWIG_arg_fail(1)) SWIG_fail
;
35624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35625 if (SWIG_arg_fail(2)) SWIG_fail
;
35627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35628 (arg1
)->SetSubMenu(arg2
);
35630 wxPyEndAllowThreads(__tstate
);
35631 if (PyErr_Occurred()) SWIG_fail
;
35633 Py_INCREF(Py_None
); resultobj
= Py_None
;
35640 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35641 PyObject
*resultobj
;
35642 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35644 PyObject
* obj0
= 0 ;
35645 char *kwnames
[] = {
35646 (char *) "self", NULL
35649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35651 if (SWIG_arg_fail(1)) SWIG_fail
;
35653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35654 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35656 wxPyEndAllowThreads(__tstate
);
35657 if (PyErr_Occurred()) SWIG_fail
;
35660 resultobj
= wxPyMake_wxObject(result
, 0);
35668 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35669 PyObject
*resultobj
;
35670 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35671 bool arg2
= (bool) true ;
35672 PyObject
* obj0
= 0 ;
35673 PyObject
* obj1
= 0 ;
35674 char *kwnames
[] = {
35675 (char *) "self",(char *) "enable", NULL
35678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35680 if (SWIG_arg_fail(1)) SWIG_fail
;
35683 arg2
= (bool)(SWIG_As_bool(obj1
));
35684 if (SWIG_arg_fail(2)) SWIG_fail
;
35688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35689 (arg1
)->Enable(arg2
);
35691 wxPyEndAllowThreads(__tstate
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35694 Py_INCREF(Py_None
); resultobj
= Py_None
;
35701 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35702 PyObject
*resultobj
;
35703 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35705 PyObject
* obj0
= 0 ;
35706 char *kwnames
[] = {
35707 (char *) "self", NULL
35710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
35711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35712 if (SWIG_arg_fail(1)) SWIG_fail
;
35714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35715 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
35717 wxPyEndAllowThreads(__tstate
);
35718 if (PyErr_Occurred()) SWIG_fail
;
35721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35729 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
;
35731 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35732 bool arg2
= (bool) true ;
35733 PyObject
* obj0
= 0 ;
35734 PyObject
* obj1
= 0 ;
35735 char *kwnames
[] = {
35736 (char *) "self",(char *) "check", NULL
35739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
35740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35741 if (SWIG_arg_fail(1)) SWIG_fail
;
35744 arg2
= (bool)(SWIG_As_bool(obj1
));
35745 if (SWIG_arg_fail(2)) SWIG_fail
;
35749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35750 (arg1
)->Check(arg2
);
35752 wxPyEndAllowThreads(__tstate
);
35753 if (PyErr_Occurred()) SWIG_fail
;
35755 Py_INCREF(Py_None
); resultobj
= Py_None
;
35762 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35763 PyObject
*resultobj
;
35764 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35766 PyObject
* obj0
= 0 ;
35767 char *kwnames
[] = {
35768 (char *) "self", NULL
35771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
35772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35773 if (SWIG_arg_fail(1)) SWIG_fail
;
35775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35776 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
35778 wxPyEndAllowThreads(__tstate
);
35779 if (PyErr_Occurred()) SWIG_fail
;
35782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35790 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35791 PyObject
*resultobj
;
35792 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35793 PyObject
* obj0
= 0 ;
35794 char *kwnames
[] = {
35795 (char *) "self", NULL
35798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
35799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35800 if (SWIG_arg_fail(1)) SWIG_fail
;
35802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35808 Py_INCREF(Py_None
); resultobj
= Py_None
;
35815 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35816 PyObject
*resultobj
;
35817 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35818 wxString
*arg2
= 0 ;
35819 bool temp2
= false ;
35820 PyObject
* obj0
= 0 ;
35821 PyObject
* obj1
= 0 ;
35822 char *kwnames
[] = {
35823 (char *) "self",(char *) "str", NULL
35826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35828 if (SWIG_arg_fail(1)) SWIG_fail
;
35830 arg2
= wxString_in_helper(obj1
);
35831 if (arg2
== NULL
) SWIG_fail
;
35835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35836 (arg1
)->SetHelp((wxString
const &)*arg2
);
35838 wxPyEndAllowThreads(__tstate
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35841 Py_INCREF(Py_None
); resultobj
= Py_None
;
35856 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35857 PyObject
*resultobj
;
35858 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35860 PyObject
* obj0
= 0 ;
35861 char *kwnames
[] = {
35862 (char *) "self", NULL
35865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
35866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35867 if (SWIG_arg_fail(1)) SWIG_fail
;
35869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35871 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
35872 result
= (wxString
*) &_result_ref
;
35875 wxPyEndAllowThreads(__tstate
);
35876 if (PyErr_Occurred()) SWIG_fail
;
35880 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35882 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35891 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35892 PyObject
*resultobj
;
35893 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35894 wxAcceleratorEntry
*result
;
35895 PyObject
* obj0
= 0 ;
35896 char *kwnames
[] = {
35897 (char *) "self", NULL
35900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
35901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35902 if (SWIG_arg_fail(1)) SWIG_fail
;
35904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35905 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
35907 wxPyEndAllowThreads(__tstate
);
35908 if (PyErr_Occurred()) SWIG_fail
;
35910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
35917 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35918 PyObject
*resultobj
;
35919 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35920 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
35921 PyObject
* obj0
= 0 ;
35922 PyObject
* obj1
= 0 ;
35923 char *kwnames
[] = {
35924 (char *) "self",(char *) "accel", NULL
35927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
35928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35929 if (SWIG_arg_fail(1)) SWIG_fail
;
35930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
35931 if (SWIG_arg_fail(2)) SWIG_fail
;
35933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35934 (arg1
)->SetAccel(arg2
);
35936 wxPyEndAllowThreads(__tstate
);
35937 if (PyErr_Occurred()) SWIG_fail
;
35939 Py_INCREF(Py_None
); resultobj
= Py_None
;
35946 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35947 PyObject
*resultobj
;
35948 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35950 PyObject
* obj0
= 0 ;
35951 PyObject
* obj1
= 0 ;
35952 char *kwnames
[] = {
35953 (char *) "self",(char *) "font", NULL
35956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
35957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35958 if (SWIG_arg_fail(1)) SWIG_fail
;
35960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
35961 if (SWIG_arg_fail(2)) SWIG_fail
;
35962 if (arg2
== NULL
) {
35963 SWIG_null_ref("wxFont");
35965 if (SWIG_arg_fail(2)) SWIG_fail
;
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35969 (arg1
)->SetFont((wxFont
const &)*arg2
);
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 Py_INCREF(Py_None
); resultobj
= Py_None
;
35981 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
;
35983 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35985 PyObject
* obj0
= 0 ;
35986 char *kwnames
[] = {
35987 (char *) "self", NULL
35990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
35991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35992 if (SWIG_arg_fail(1)) SWIG_fail
;
35994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35995 result
= (arg1
)->GetFont();
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36001 wxFont
* resultptr
;
36002 resultptr
= new wxFont((wxFont
&)(result
));
36003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36011 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36012 PyObject
*resultobj
;
36013 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36014 wxColour
*arg2
= 0 ;
36016 PyObject
* obj0
= 0 ;
36017 PyObject
* obj1
= 0 ;
36018 char *kwnames
[] = {
36019 (char *) "self",(char *) "colText", NULL
36022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36024 if (SWIG_arg_fail(1)) SWIG_fail
;
36027 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36031 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 Py_INCREF(Py_None
); resultobj
= Py_None
;
36043 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
;
36045 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36047 PyObject
* obj0
= 0 ;
36048 char *kwnames
[] = {
36049 (char *) "self", NULL
36052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36054 if (SWIG_arg_fail(1)) SWIG_fail
;
36056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36057 result
= (arg1
)->GetTextColour();
36059 wxPyEndAllowThreads(__tstate
);
36060 if (PyErr_Occurred()) SWIG_fail
;
36063 wxColour
* resultptr
;
36064 resultptr
= new wxColour((wxColour
&)(result
));
36065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36073 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36074 PyObject
*resultobj
;
36075 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36076 wxColour
*arg2
= 0 ;
36078 PyObject
* obj0
= 0 ;
36079 PyObject
* obj1
= 0 ;
36080 char *kwnames
[] = {
36081 (char *) "self",(char *) "colBack", NULL
36084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36086 if (SWIG_arg_fail(1)) SWIG_fail
;
36089 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36093 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
36095 wxPyEndAllowThreads(__tstate
);
36096 if (PyErr_Occurred()) SWIG_fail
;
36098 Py_INCREF(Py_None
); resultobj
= Py_None
;
36105 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36106 PyObject
*resultobj
;
36107 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36109 PyObject
* obj0
= 0 ;
36110 char *kwnames
[] = {
36111 (char *) "self", NULL
36114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36116 if (SWIG_arg_fail(1)) SWIG_fail
;
36118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36119 result
= (arg1
)->GetBackgroundColour();
36121 wxPyEndAllowThreads(__tstate
);
36122 if (PyErr_Occurred()) SWIG_fail
;
36125 wxColour
* resultptr
;
36126 resultptr
= new wxColour((wxColour
&)(result
));
36127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36135 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36136 PyObject
*resultobj
;
36137 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36138 wxBitmap
*arg2
= 0 ;
36139 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36140 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36141 PyObject
* obj0
= 0 ;
36142 PyObject
* obj1
= 0 ;
36143 PyObject
* obj2
= 0 ;
36144 char *kwnames
[] = {
36145 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36150 if (SWIG_arg_fail(1)) SWIG_fail
;
36152 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36153 if (SWIG_arg_fail(2)) SWIG_fail
;
36154 if (arg2
== NULL
) {
36155 SWIG_null_ref("wxBitmap");
36157 if (SWIG_arg_fail(2)) SWIG_fail
;
36161 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36162 if (SWIG_arg_fail(3)) SWIG_fail
;
36163 if (arg3
== NULL
) {
36164 SWIG_null_ref("wxBitmap");
36166 if (SWIG_arg_fail(3)) SWIG_fail
;
36170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36171 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36173 wxPyEndAllowThreads(__tstate
);
36174 if (PyErr_Occurred()) SWIG_fail
;
36176 Py_INCREF(Py_None
); resultobj
= Py_None
;
36183 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36184 PyObject
*resultobj
;
36185 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36186 wxBitmap
*arg2
= 0 ;
36187 PyObject
* obj0
= 0 ;
36188 PyObject
* obj1
= 0 ;
36189 char *kwnames
[] = {
36190 (char *) "self",(char *) "bmpDisabled", NULL
36193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36195 if (SWIG_arg_fail(1)) SWIG_fail
;
36197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36198 if (SWIG_arg_fail(2)) SWIG_fail
;
36199 if (arg2
== NULL
) {
36200 SWIG_null_ref("wxBitmap");
36202 if (SWIG_arg_fail(2)) SWIG_fail
;
36205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36206 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
36208 wxPyEndAllowThreads(__tstate
);
36209 if (PyErr_Occurred()) SWIG_fail
;
36211 Py_INCREF(Py_None
); resultobj
= Py_None
;
36218 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36219 PyObject
*resultobj
;
36220 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36222 PyObject
* obj0
= 0 ;
36223 char *kwnames
[] = {
36224 (char *) "self", NULL
36227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36229 if (SWIG_arg_fail(1)) SWIG_fail
;
36231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36233 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
36234 result
= (wxBitmap
*) &_result_ref
;
36237 wxPyEndAllowThreads(__tstate
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36241 wxBitmap
* resultptr
= new wxBitmap(*result
);
36242 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36250 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36254 PyObject
* obj0
= 0 ;
36255 PyObject
* obj1
= 0 ;
36256 char *kwnames
[] = {
36257 (char *) "self",(char *) "nWidth", NULL
36260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36262 if (SWIG_arg_fail(1)) SWIG_fail
;
36264 arg2
= (int)(SWIG_As_int(obj1
));
36265 if (SWIG_arg_fail(2)) SWIG_fail
;
36268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36269 (arg1
)->SetMarginWidth(arg2
);
36271 wxPyEndAllowThreads(__tstate
);
36272 if (PyErr_Occurred()) SWIG_fail
;
36274 Py_INCREF(Py_None
); resultobj
= Py_None
;
36281 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36282 PyObject
*resultobj
;
36283 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36285 PyObject
* obj0
= 0 ;
36286 char *kwnames
[] = {
36287 (char *) "self", NULL
36290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36292 if (SWIG_arg_fail(1)) SWIG_fail
;
36294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36295 result
= (int)(arg1
)->GetMarginWidth();
36297 wxPyEndAllowThreads(__tstate
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36301 resultobj
= SWIG_From_int((int)(result
));
36309 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36310 PyObject
*resultobj
;
36312 char *kwnames
[] = {
36316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36319 result
= (int)wxMenuItem::GetDefaultMarginWidth();
36321 wxPyEndAllowThreads(__tstate
);
36322 if (PyErr_Occurred()) SWIG_fail
;
36325 resultobj
= SWIG_From_int((int)(result
));
36333 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36334 PyObject
*resultobj
;
36335 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36337 PyObject
* obj0
= 0 ;
36338 char *kwnames
[] = {
36339 (char *) "self", NULL
36342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36344 if (SWIG_arg_fail(1)) SWIG_fail
;
36346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36347 result
= (bool)(arg1
)->IsOwnerDrawn();
36349 wxPyEndAllowThreads(__tstate
);
36350 if (PyErr_Occurred()) SWIG_fail
;
36353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36361 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36362 PyObject
*resultobj
;
36363 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36364 bool arg2
= (bool) true ;
36365 PyObject
* obj0
= 0 ;
36366 PyObject
* obj1
= 0 ;
36367 char *kwnames
[] = {
36368 (char *) "self",(char *) "ownerDrawn", NULL
36371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36373 if (SWIG_arg_fail(1)) SWIG_fail
;
36376 arg2
= (bool)(SWIG_As_bool(obj1
));
36377 if (SWIG_arg_fail(2)) SWIG_fail
;
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 (arg1
)->SetOwnerDrawn(arg2
);
36384 wxPyEndAllowThreads(__tstate
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36387 Py_INCREF(Py_None
); resultobj
= Py_None
;
36394 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36395 PyObject
*resultobj
;
36396 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36397 PyObject
* obj0
= 0 ;
36398 char *kwnames
[] = {
36399 (char *) "self", NULL
36402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36404 if (SWIG_arg_fail(1)) SWIG_fail
;
36406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36407 (arg1
)->ResetOwnerDrawn();
36409 wxPyEndAllowThreads(__tstate
);
36410 if (PyErr_Occurred()) SWIG_fail
;
36412 Py_INCREF(Py_None
); resultobj
= Py_None
;
36419 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36420 PyObject
*resultobj
;
36421 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36422 wxBitmap
*arg2
= 0 ;
36423 PyObject
* obj0
= 0 ;
36424 PyObject
* obj1
= 0 ;
36425 char *kwnames
[] = {
36426 (char *) "self",(char *) "bitmap", NULL
36429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36431 if (SWIG_arg_fail(1)) SWIG_fail
;
36433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36434 if (SWIG_arg_fail(2)) SWIG_fail
;
36435 if (arg2
== NULL
) {
36436 SWIG_null_ref("wxBitmap");
36438 if (SWIG_arg_fail(2)) SWIG_fail
;
36441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36442 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36444 wxPyEndAllowThreads(__tstate
);
36445 if (PyErr_Occurred()) SWIG_fail
;
36447 Py_INCREF(Py_None
); resultobj
= Py_None
;
36454 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36455 PyObject
*resultobj
;
36456 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36458 PyObject
* obj0
= 0 ;
36459 char *kwnames
[] = {
36460 (char *) "self", NULL
36463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36465 if (SWIG_arg_fail(1)) SWIG_fail
;
36467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36469 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36470 result
= (wxBitmap
*) &_result_ref
;
36473 wxPyEndAllowThreads(__tstate
);
36474 if (PyErr_Occurred()) SWIG_fail
;
36477 wxBitmap
* resultptr
= new wxBitmap(*result
);
36478 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36486 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36489 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36491 return Py_BuildValue((char *)"");
36493 static int _wrap_ControlNameStr_set(PyObject
*) {
36494 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36499 static PyObject
*_wrap_ControlNameStr_get(void) {
36504 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36506 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36513 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36514 PyObject
*resultobj
;
36515 wxWindow
*arg1
= (wxWindow
*) 0 ;
36516 int arg2
= (int) -1 ;
36517 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36518 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36519 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36520 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36521 long arg5
= (long) 0 ;
36522 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36523 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36524 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36525 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36529 bool temp7
= false ;
36530 PyObject
* obj0
= 0 ;
36531 PyObject
* obj1
= 0 ;
36532 PyObject
* obj2
= 0 ;
36533 PyObject
* obj3
= 0 ;
36534 PyObject
* obj4
= 0 ;
36535 PyObject
* obj5
= 0 ;
36536 PyObject
* obj6
= 0 ;
36537 char *kwnames
[] = {
36538 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36543 if (SWIG_arg_fail(1)) SWIG_fail
;
36546 arg2
= (int)(SWIG_As_int(obj1
));
36547 if (SWIG_arg_fail(2)) SWIG_fail
;
36553 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36559 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36564 arg5
= (long)(SWIG_As_long(obj4
));
36565 if (SWIG_arg_fail(5)) SWIG_fail
;
36570 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36571 if (SWIG_arg_fail(6)) SWIG_fail
;
36572 if (arg6
== NULL
) {
36573 SWIG_null_ref("wxValidator");
36575 if (SWIG_arg_fail(6)) SWIG_fail
;
36580 arg7
= wxString_in_helper(obj6
);
36581 if (arg7
== NULL
) SWIG_fail
;
36586 if (!wxPyCheckForApp()) SWIG_fail
;
36587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36588 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36590 wxPyEndAllowThreads(__tstate
);
36591 if (PyErr_Occurred()) SWIG_fail
;
36593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36608 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36609 PyObject
*resultobj
;
36611 char *kwnames
[] = {
36615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36617 if (!wxPyCheckForApp()) SWIG_fail
;
36618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36619 result
= (wxControl
*)new wxControl();
36621 wxPyEndAllowThreads(__tstate
);
36622 if (PyErr_Occurred()) SWIG_fail
;
36624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36631 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36632 PyObject
*resultobj
;
36633 wxControl
*arg1
= (wxControl
*) 0 ;
36634 wxWindow
*arg2
= (wxWindow
*) 0 ;
36635 int arg3
= (int) -1 ;
36636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36640 long arg6
= (long) 0 ;
36641 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36642 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36643 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36644 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36648 bool temp8
= false ;
36649 PyObject
* obj0
= 0 ;
36650 PyObject
* obj1
= 0 ;
36651 PyObject
* obj2
= 0 ;
36652 PyObject
* obj3
= 0 ;
36653 PyObject
* obj4
= 0 ;
36654 PyObject
* obj5
= 0 ;
36655 PyObject
* obj6
= 0 ;
36656 PyObject
* obj7
= 0 ;
36657 char *kwnames
[] = {
36658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36663 if (SWIG_arg_fail(1)) SWIG_fail
;
36664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36665 if (SWIG_arg_fail(2)) SWIG_fail
;
36668 arg3
= (int)(SWIG_As_int(obj2
));
36669 if (SWIG_arg_fail(3)) SWIG_fail
;
36675 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36681 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36686 arg6
= (long)(SWIG_As_long(obj5
));
36687 if (SWIG_arg_fail(6)) SWIG_fail
;
36692 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36693 if (SWIG_arg_fail(7)) SWIG_fail
;
36694 if (arg7
== NULL
) {
36695 SWIG_null_ref("wxValidator");
36697 if (SWIG_arg_fail(7)) SWIG_fail
;
36702 arg8
= wxString_in_helper(obj7
);
36703 if (arg8
== NULL
) SWIG_fail
;
36708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36709 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36711 wxPyEndAllowThreads(__tstate
);
36712 if (PyErr_Occurred()) SWIG_fail
;
36715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36731 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36732 PyObject
*resultobj
;
36733 wxControl
*arg1
= (wxControl
*) 0 ;
36734 wxCommandEvent
*arg2
= 0 ;
36735 PyObject
* obj0
= 0 ;
36736 PyObject
* obj1
= 0 ;
36737 char *kwnames
[] = {
36738 (char *) "self",(char *) "event", NULL
36741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
36742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36743 if (SWIG_arg_fail(1)) SWIG_fail
;
36745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
36746 if (SWIG_arg_fail(2)) SWIG_fail
;
36747 if (arg2
== NULL
) {
36748 SWIG_null_ref("wxCommandEvent");
36750 if (SWIG_arg_fail(2)) SWIG_fail
;
36753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36754 (arg1
)->Command(*arg2
);
36756 wxPyEndAllowThreads(__tstate
);
36757 if (PyErr_Occurred()) SWIG_fail
;
36759 Py_INCREF(Py_None
); resultobj
= Py_None
;
36766 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36767 PyObject
*resultobj
;
36768 wxControl
*arg1
= (wxControl
*) 0 ;
36770 PyObject
* obj0
= 0 ;
36771 char *kwnames
[] = {
36772 (char *) "self", NULL
36775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
36776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36777 if (SWIG_arg_fail(1)) SWIG_fail
;
36779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36780 result
= (arg1
)->GetLabel();
36782 wxPyEndAllowThreads(__tstate
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36798 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36799 PyObject
*resultobj
;
36800 wxControl
*arg1
= (wxControl
*) 0 ;
36801 wxString
*arg2
= 0 ;
36802 bool temp2
= false ;
36803 PyObject
* obj0
= 0 ;
36804 PyObject
* obj1
= 0 ;
36805 char *kwnames
[] = {
36806 (char *) "self",(char *) "label", NULL
36809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36811 if (SWIG_arg_fail(1)) SWIG_fail
;
36813 arg2
= wxString_in_helper(obj1
);
36814 if (arg2
== NULL
) SWIG_fail
;
36818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36819 (arg1
)->SetLabel((wxString
const &)*arg2
);
36821 wxPyEndAllowThreads(__tstate
);
36822 if (PyErr_Occurred()) SWIG_fail
;
36824 Py_INCREF(Py_None
); resultobj
= Py_None
;
36839 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36840 PyObject
*resultobj
;
36841 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36842 wxVisualAttributes result
;
36843 PyObject
* obj0
= 0 ;
36844 char *kwnames
[] = {
36845 (char *) "variant", NULL
36848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
36851 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
36852 if (SWIG_arg_fail(1)) SWIG_fail
;
36856 if (!wxPyCheckForApp()) SWIG_fail
;
36857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36858 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
36860 wxPyEndAllowThreads(__tstate
);
36861 if (PyErr_Occurred()) SWIG_fail
;
36864 wxVisualAttributes
* resultptr
;
36865 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
36866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
36874 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
36876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36877 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
36879 return Py_BuildValue((char *)"");
36881 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36882 PyObject
*resultobj
;
36883 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36884 wxString
*arg2
= 0 ;
36885 PyObject
*arg3
= (PyObject
*) NULL
;
36887 bool temp2
= false ;
36888 PyObject
* obj0
= 0 ;
36889 PyObject
* obj1
= 0 ;
36890 PyObject
* obj2
= 0 ;
36891 char *kwnames
[] = {
36892 (char *) "self",(char *) "item",(char *) "clientData", NULL
36895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36897 if (SWIG_arg_fail(1)) SWIG_fail
;
36899 arg2
= wxString_in_helper(obj1
);
36900 if (arg2
== NULL
) SWIG_fail
;
36907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36908 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
36910 wxPyEndAllowThreads(__tstate
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36914 resultobj
= SWIG_From_int((int)(result
));
36930 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36931 PyObject
*resultobj
;
36932 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36933 wxArrayString
*arg2
= 0 ;
36934 bool temp2
= false ;
36935 PyObject
* obj0
= 0 ;
36936 PyObject
* obj1
= 0 ;
36937 char *kwnames
[] = {
36938 (char *) "self",(char *) "strings", NULL
36941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36943 if (SWIG_arg_fail(1)) SWIG_fail
;
36945 if (! PySequence_Check(obj1
)) {
36946 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
36949 arg2
= new wxArrayString
;
36951 int i
, len
=PySequence_Length(obj1
);
36952 for (i
=0; i
<len
; i
++) {
36953 PyObject
* item
= PySequence_GetItem(obj1
, i
);
36955 PyObject
* str
= PyObject_Unicode(item
);
36957 PyObject
* str
= PyObject_Str(item
);
36959 if (PyErr_Occurred()) SWIG_fail
;
36960 arg2
->Add(Py2wxString(str
));
36966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36967 (arg1
)->Append((wxArrayString
const &)*arg2
);
36969 wxPyEndAllowThreads(__tstate
);
36970 if (PyErr_Occurred()) SWIG_fail
;
36972 Py_INCREF(Py_None
); resultobj
= Py_None
;
36974 if (temp2
) delete arg2
;
36979 if (temp2
) delete arg2
;
36985 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36986 PyObject
*resultobj
;
36987 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36988 wxString
*arg2
= 0 ;
36990 PyObject
*arg4
= (PyObject
*) NULL
;
36992 bool temp2
= false ;
36993 PyObject
* obj0
= 0 ;
36994 PyObject
* obj1
= 0 ;
36995 PyObject
* obj2
= 0 ;
36996 PyObject
* obj3
= 0 ;
36997 char *kwnames
[] = {
36998 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37003 if (SWIG_arg_fail(1)) SWIG_fail
;
37005 arg2
= wxString_in_helper(obj1
);
37006 if (arg2
== NULL
) SWIG_fail
;
37010 arg3
= (int)(SWIG_As_int(obj2
));
37011 if (SWIG_arg_fail(3)) SWIG_fail
;
37017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37018 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37020 wxPyEndAllowThreads(__tstate
);
37021 if (PyErr_Occurred()) SWIG_fail
;
37024 resultobj
= SWIG_From_int((int)(result
));
37040 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37041 PyObject
*resultobj
;
37042 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37043 PyObject
* obj0
= 0 ;
37044 char *kwnames
[] = {
37045 (char *) "self", NULL
37048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37050 if (SWIG_arg_fail(1)) SWIG_fail
;
37052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37055 wxPyEndAllowThreads(__tstate
);
37056 if (PyErr_Occurred()) SWIG_fail
;
37058 Py_INCREF(Py_None
); resultobj
= Py_None
;
37065 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37066 PyObject
*resultobj
;
37067 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37069 PyObject
* obj0
= 0 ;
37070 PyObject
* obj1
= 0 ;
37071 char *kwnames
[] = {
37072 (char *) "self",(char *) "n", NULL
37075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37077 if (SWIG_arg_fail(1)) SWIG_fail
;
37079 arg2
= (int)(SWIG_As_int(obj1
));
37080 if (SWIG_arg_fail(2)) SWIG_fail
;
37083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37084 (arg1
)->Delete(arg2
);
37086 wxPyEndAllowThreads(__tstate
);
37087 if (PyErr_Occurred()) SWIG_fail
;
37089 Py_INCREF(Py_None
); resultobj
= Py_None
;
37096 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37097 PyObject
*resultobj
;
37098 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37100 PyObject
* obj0
= 0 ;
37101 char *kwnames
[] = {
37102 (char *) "self", NULL
37105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37107 if (SWIG_arg_fail(1)) SWIG_fail
;
37109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37110 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37112 wxPyEndAllowThreads(__tstate
);
37113 if (PyErr_Occurred()) SWIG_fail
;
37116 resultobj
= SWIG_From_int((int)(result
));
37124 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37125 PyObject
*resultobj
;
37126 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37128 PyObject
* obj0
= 0 ;
37129 char *kwnames
[] = {
37130 (char *) "self", NULL
37133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37135 if (SWIG_arg_fail(1)) SWIG_fail
;
37137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37138 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37140 wxPyEndAllowThreads(__tstate
);
37141 if (PyErr_Occurred()) SWIG_fail
;
37144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37152 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37153 PyObject
*resultobj
;
37154 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37157 PyObject
* obj0
= 0 ;
37158 PyObject
* obj1
= 0 ;
37159 char *kwnames
[] = {
37160 (char *) "self",(char *) "n", NULL
37163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37165 if (SWIG_arg_fail(1)) SWIG_fail
;
37167 arg2
= (int)(SWIG_As_int(obj1
));
37168 if (SWIG_arg_fail(2)) SWIG_fail
;
37171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37172 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37174 wxPyEndAllowThreads(__tstate
);
37175 if (PyErr_Occurred()) SWIG_fail
;
37179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37190 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37191 PyObject
*resultobj
;
37192 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37193 wxArrayString result
;
37194 PyObject
* obj0
= 0 ;
37195 char *kwnames
[] = {
37196 (char *) "self", NULL
37199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37201 if (SWIG_arg_fail(1)) SWIG_fail
;
37203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37204 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37206 wxPyEndAllowThreads(__tstate
);
37207 if (PyErr_Occurred()) SWIG_fail
;
37210 resultobj
= wxArrayString2PyList_helper(result
);
37218 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37219 PyObject
*resultobj
;
37220 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37222 wxString
*arg3
= 0 ;
37223 bool temp3
= false ;
37224 PyObject
* obj0
= 0 ;
37225 PyObject
* obj1
= 0 ;
37226 PyObject
* obj2
= 0 ;
37227 char *kwnames
[] = {
37228 (char *) "self",(char *) "n",(char *) "s", NULL
37231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37233 if (SWIG_arg_fail(1)) SWIG_fail
;
37235 arg2
= (int)(SWIG_As_int(obj1
));
37236 if (SWIG_arg_fail(2)) SWIG_fail
;
37239 arg3
= wxString_in_helper(obj2
);
37240 if (arg3
== NULL
) SWIG_fail
;
37244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37245 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37247 wxPyEndAllowThreads(__tstate
);
37248 if (PyErr_Occurred()) SWIG_fail
;
37250 Py_INCREF(Py_None
); resultobj
= Py_None
;
37265 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37266 PyObject
*resultobj
;
37267 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37268 wxString
*arg2
= 0 ;
37270 bool temp2
= false ;
37271 PyObject
* obj0
= 0 ;
37272 PyObject
* obj1
= 0 ;
37273 char *kwnames
[] = {
37274 (char *) "self",(char *) "s", NULL
37277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37279 if (SWIG_arg_fail(1)) SWIG_fail
;
37281 arg2
= wxString_in_helper(obj1
);
37282 if (arg2
== NULL
) SWIG_fail
;
37286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37287 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37289 wxPyEndAllowThreads(__tstate
);
37290 if (PyErr_Occurred()) SWIG_fail
;
37293 resultobj
= SWIG_From_int((int)(result
));
37309 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37310 PyObject
*resultobj
;
37311 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37313 PyObject
* obj0
= 0 ;
37314 PyObject
* obj1
= 0 ;
37315 char *kwnames
[] = {
37316 (char *) "self",(char *) "n", NULL
37319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37321 if (SWIG_arg_fail(1)) SWIG_fail
;
37323 arg2
= (int)(SWIG_As_int(obj1
));
37324 if (SWIG_arg_fail(2)) SWIG_fail
;
37327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37328 (arg1
)->Select(arg2
);
37330 wxPyEndAllowThreads(__tstate
);
37331 if (PyErr_Occurred()) SWIG_fail
;
37333 Py_INCREF(Py_None
); resultobj
= Py_None
;
37340 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37341 PyObject
*resultobj
;
37342 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37344 PyObject
* obj0
= 0 ;
37345 char *kwnames
[] = {
37346 (char *) "self", NULL
37349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37351 if (SWIG_arg_fail(1)) SWIG_fail
;
37353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37354 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37356 wxPyEndAllowThreads(__tstate
);
37357 if (PyErr_Occurred()) SWIG_fail
;
37360 resultobj
= SWIG_From_int((int)(result
));
37368 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37369 PyObject
*resultobj
;
37370 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37372 PyObject
* obj0
= 0 ;
37373 char *kwnames
[] = {
37374 (char *) "self", NULL
37377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37379 if (SWIG_arg_fail(1)) SWIG_fail
;
37381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37382 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37384 wxPyEndAllowThreads(__tstate
);
37385 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37400 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37401 PyObject
*resultobj
;
37402 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37405 PyObject
* obj0
= 0 ;
37406 PyObject
* obj1
= 0 ;
37407 char *kwnames
[] = {
37408 (char *) "self",(char *) "n", NULL
37411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37413 if (SWIG_arg_fail(1)) SWIG_fail
;
37415 arg2
= (int)(SWIG_As_int(obj1
));
37416 if (SWIG_arg_fail(2)) SWIG_fail
;
37419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37420 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37422 wxPyEndAllowThreads(__tstate
);
37423 if (PyErr_Occurred()) SWIG_fail
;
37425 resultobj
= result
;
37432 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37433 PyObject
*resultobj
;
37434 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37436 PyObject
*arg3
= (PyObject
*) 0 ;
37437 PyObject
* obj0
= 0 ;
37438 PyObject
* obj1
= 0 ;
37439 PyObject
* obj2
= 0 ;
37440 char *kwnames
[] = {
37441 (char *) "self",(char *) "n",(char *) "clientData", NULL
37444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37446 if (SWIG_arg_fail(1)) SWIG_fail
;
37448 arg2
= (int)(SWIG_As_int(obj1
));
37449 if (SWIG_arg_fail(2)) SWIG_fail
;
37453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37454 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37459 Py_INCREF(Py_None
); resultobj
= Py_None
;
37466 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37469 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37471 return Py_BuildValue((char *)"");
37473 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37476 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37478 return Py_BuildValue((char *)"");
37480 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37481 PyObject
*resultobj
;
37482 wxSizerItem
*result
;
37483 char *kwnames
[] = {
37487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37490 result
= (wxSizerItem
*)new wxSizerItem();
37492 wxPyEndAllowThreads(__tstate
);
37493 if (PyErr_Occurred()) SWIG_fail
;
37495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37502 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37503 PyObject
*resultobj
;
37504 wxWindow
*arg1
= (wxWindow
*) 0 ;
37508 PyObject
*arg5
= (PyObject
*) NULL
;
37509 wxSizerItem
*result
;
37510 PyObject
* obj0
= 0 ;
37511 PyObject
* obj1
= 0 ;
37512 PyObject
* obj2
= 0 ;
37513 PyObject
* obj3
= 0 ;
37514 PyObject
* obj4
= 0 ;
37515 char *kwnames
[] = {
37516 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37521 if (SWIG_arg_fail(1)) SWIG_fail
;
37523 arg2
= (int)(SWIG_As_int(obj1
));
37524 if (SWIG_arg_fail(2)) SWIG_fail
;
37527 arg3
= (int)(SWIG_As_int(obj2
));
37528 if (SWIG_arg_fail(3)) SWIG_fail
;
37531 arg4
= (int)(SWIG_As_int(obj3
));
37532 if (SWIG_arg_fail(4)) SWIG_fail
;
37538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37539 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37541 wxPyEndAllowThreads(__tstate
);
37542 if (PyErr_Occurred()) SWIG_fail
;
37544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37551 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37552 PyObject
*resultobj
;
37558 PyObject
*arg6
= (PyObject
*) NULL
;
37559 wxSizerItem
*result
;
37560 PyObject
* obj0
= 0 ;
37561 PyObject
* obj1
= 0 ;
37562 PyObject
* obj2
= 0 ;
37563 PyObject
* obj3
= 0 ;
37564 PyObject
* obj4
= 0 ;
37565 PyObject
* obj5
= 0 ;
37566 char *kwnames
[] = {
37567 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37572 arg1
= (int)(SWIG_As_int(obj0
));
37573 if (SWIG_arg_fail(1)) SWIG_fail
;
37576 arg2
= (int)(SWIG_As_int(obj1
));
37577 if (SWIG_arg_fail(2)) SWIG_fail
;
37580 arg3
= (int)(SWIG_As_int(obj2
));
37581 if (SWIG_arg_fail(3)) SWIG_fail
;
37584 arg4
= (int)(SWIG_As_int(obj3
));
37585 if (SWIG_arg_fail(4)) SWIG_fail
;
37588 arg5
= (int)(SWIG_As_int(obj4
));
37589 if (SWIG_arg_fail(5)) SWIG_fail
;
37595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37596 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37598 wxPyEndAllowThreads(__tstate
);
37599 if (PyErr_Occurred()) SWIG_fail
;
37601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37608 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37609 PyObject
*resultobj
;
37610 wxSizer
*arg1
= (wxSizer
*) 0 ;
37614 PyObject
*arg5
= (PyObject
*) NULL
;
37615 wxSizerItem
*result
;
37616 PyObject
* obj0
= 0 ;
37617 PyObject
* obj1
= 0 ;
37618 PyObject
* obj2
= 0 ;
37619 PyObject
* obj3
= 0 ;
37620 PyObject
* obj4
= 0 ;
37621 char *kwnames
[] = {
37622 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37627 if (SWIG_arg_fail(1)) SWIG_fail
;
37629 arg2
= (int)(SWIG_As_int(obj1
));
37630 if (SWIG_arg_fail(2)) SWIG_fail
;
37633 arg3
= (int)(SWIG_As_int(obj2
));
37634 if (SWIG_arg_fail(3)) SWIG_fail
;
37637 arg4
= (int)(SWIG_As_int(obj3
));
37638 if (SWIG_arg_fail(4)) SWIG_fail
;
37644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37645 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37647 wxPyEndAllowThreads(__tstate
);
37648 if (PyErr_Occurred()) SWIG_fail
;
37650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37657 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37658 PyObject
*resultobj
;
37659 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37660 PyObject
* obj0
= 0 ;
37661 char *kwnames
[] = {
37662 (char *) "self", NULL
37665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37667 if (SWIG_arg_fail(1)) SWIG_fail
;
37669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37670 (arg1
)->DeleteWindows();
37672 wxPyEndAllowThreads(__tstate
);
37673 if (PyErr_Occurred()) SWIG_fail
;
37675 Py_INCREF(Py_None
); resultobj
= Py_None
;
37682 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37683 PyObject
*resultobj
;
37684 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37685 PyObject
* obj0
= 0 ;
37686 char *kwnames
[] = {
37687 (char *) "self", NULL
37690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
37691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37692 if (SWIG_arg_fail(1)) SWIG_fail
;
37694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37695 (arg1
)->DetachSizer();
37697 wxPyEndAllowThreads(__tstate
);
37698 if (PyErr_Occurred()) SWIG_fail
;
37700 Py_INCREF(Py_None
); resultobj
= Py_None
;
37707 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37708 PyObject
*resultobj
;
37709 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37711 PyObject
* obj0
= 0 ;
37712 char *kwnames
[] = {
37713 (char *) "self", NULL
37716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
37717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37718 if (SWIG_arg_fail(1)) SWIG_fail
;
37720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37721 result
= (arg1
)->GetSize();
37723 wxPyEndAllowThreads(__tstate
);
37724 if (PyErr_Occurred()) SWIG_fail
;
37727 wxSize
* resultptr
;
37728 resultptr
= new wxSize((wxSize
&)(result
));
37729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37737 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37738 PyObject
*resultobj
;
37739 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37741 PyObject
* obj0
= 0 ;
37742 char *kwnames
[] = {
37743 (char *) "self", NULL
37746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
37747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37748 if (SWIG_arg_fail(1)) SWIG_fail
;
37750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37751 result
= (arg1
)->CalcMin();
37753 wxPyEndAllowThreads(__tstate
);
37754 if (PyErr_Occurred()) SWIG_fail
;
37757 wxSize
* resultptr
;
37758 resultptr
= new wxSize((wxSize
&)(result
));
37759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37767 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37768 PyObject
*resultobj
;
37769 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37772 PyObject
* obj0
= 0 ;
37773 PyObject
* obj1
= 0 ;
37774 PyObject
* obj2
= 0 ;
37775 char *kwnames
[] = {
37776 (char *) "self",(char *) "pos",(char *) "size", NULL
37779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37781 if (SWIG_arg_fail(1)) SWIG_fail
;
37784 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
37785 if (SWIG_arg_fail(2)) SWIG_fail
;
37786 if (argp
== NULL
) {
37787 SWIG_null_ref("wxPoint");
37789 if (SWIG_arg_fail(2)) SWIG_fail
;
37794 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37795 if (SWIG_arg_fail(3)) SWIG_fail
;
37796 if (argp
== NULL
) {
37797 SWIG_null_ref("wxSize");
37799 if (SWIG_arg_fail(3)) SWIG_fail
;
37803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37804 (arg1
)->SetDimension(arg2
,arg3
);
37806 wxPyEndAllowThreads(__tstate
);
37807 if (PyErr_Occurred()) SWIG_fail
;
37809 Py_INCREF(Py_None
); resultobj
= Py_None
;
37816 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
;
37818 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37820 PyObject
* obj0
= 0 ;
37821 char *kwnames
[] = {
37822 (char *) "self", NULL
37825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
37826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37827 if (SWIG_arg_fail(1)) SWIG_fail
;
37829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37830 result
= (arg1
)->GetMinSize();
37832 wxPyEndAllowThreads(__tstate
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37836 wxSize
* resultptr
;
37837 resultptr
= new wxSize((wxSize
&)(result
));
37838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37846 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37847 PyObject
*resultobj
;
37848 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37850 PyObject
* obj0
= 0 ;
37851 char *kwnames
[] = {
37852 (char *) "self", NULL
37855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
37856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37857 if (SWIG_arg_fail(1)) SWIG_fail
;
37859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37860 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
37862 wxPyEndAllowThreads(__tstate
);
37863 if (PyErr_Occurred()) SWIG_fail
;
37866 wxSize
* resultptr
;
37867 resultptr
= new wxSize((wxSize
&)(result
));
37868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37876 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37877 PyObject
*resultobj
;
37878 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 PyObject
* obj2
= 0 ;
37884 char *kwnames
[] = {
37885 (char *) "self",(char *) "x",(char *) "y", NULL
37888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37890 if (SWIG_arg_fail(1)) SWIG_fail
;
37892 arg2
= (int)(SWIG_As_int(obj1
));
37893 if (SWIG_arg_fail(2)) SWIG_fail
;
37896 arg3
= (int)(SWIG_As_int(obj2
));
37897 if (SWIG_arg_fail(3)) SWIG_fail
;
37900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37901 (arg1
)->SetInitSize(arg2
,arg3
);
37903 wxPyEndAllowThreads(__tstate
);
37904 if (PyErr_Occurred()) SWIG_fail
;
37906 Py_INCREF(Py_None
); resultobj
= Py_None
;
37913 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37914 PyObject
*resultobj
;
37915 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37918 PyObject
* obj0
= 0 ;
37919 PyObject
* obj1
= 0 ;
37920 PyObject
* obj2
= 0 ;
37921 char *kwnames
[] = {
37922 (char *) "self",(char *) "width",(char *) "height", NULL
37925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37927 if (SWIG_arg_fail(1)) SWIG_fail
;
37929 arg2
= (int)(SWIG_As_int(obj1
));
37930 if (SWIG_arg_fail(2)) SWIG_fail
;
37933 arg3
= (int)(SWIG_As_int(obj2
));
37934 if (SWIG_arg_fail(3)) SWIG_fail
;
37937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37938 (arg1
)->SetRatio(arg2
,arg3
);
37940 wxPyEndAllowThreads(__tstate
);
37941 if (PyErr_Occurred()) SWIG_fail
;
37943 Py_INCREF(Py_None
); resultobj
= Py_None
;
37950 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37951 PyObject
*resultobj
;
37952 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37954 PyObject
* obj0
= 0 ;
37955 PyObject
* obj1
= 0 ;
37956 char *kwnames
[] = {
37957 (char *) "self",(char *) "size", NULL
37960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37962 if (SWIG_arg_fail(1)) SWIG_fail
;
37965 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37966 if (SWIG_arg_fail(2)) SWIG_fail
;
37967 if (argp
== NULL
) {
37968 SWIG_null_ref("wxSize");
37970 if (SWIG_arg_fail(2)) SWIG_fail
;
37974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37975 (arg1
)->SetRatio(arg2
);
37977 wxPyEndAllowThreads(__tstate
);
37978 if (PyErr_Occurred()) SWIG_fail
;
37980 Py_INCREF(Py_None
); resultobj
= Py_None
;
37987 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37988 PyObject
*resultobj
;
37989 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37991 PyObject
* obj0
= 0 ;
37992 PyObject
* obj1
= 0 ;
37993 char *kwnames
[] = {
37994 (char *) "self",(char *) "ratio", NULL
37997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
37998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37999 if (SWIG_arg_fail(1)) SWIG_fail
;
38001 arg2
= (float)(SWIG_As_float(obj1
));
38002 if (SWIG_arg_fail(2)) SWIG_fail
;
38005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38006 (arg1
)->SetRatio(arg2
);
38008 wxPyEndAllowThreads(__tstate
);
38009 if (PyErr_Occurred()) SWIG_fail
;
38011 Py_INCREF(Py_None
); resultobj
= Py_None
;
38018 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38019 PyObject
*resultobj
;
38020 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38022 PyObject
* obj0
= 0 ;
38023 char *kwnames
[] = {
38024 (char *) "self", NULL
38027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38029 if (SWIG_arg_fail(1)) SWIG_fail
;
38031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38032 result
= (float)(arg1
)->GetRatio();
38034 wxPyEndAllowThreads(__tstate
);
38035 if (PyErr_Occurred()) SWIG_fail
;
38038 resultobj
= SWIG_From_float((float)(result
));
38046 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38047 PyObject
*resultobj
;
38048 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38050 PyObject
* obj0
= 0 ;
38051 char *kwnames
[] = {
38052 (char *) "self", NULL
38055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38057 if (SWIG_arg_fail(1)) SWIG_fail
;
38059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38060 result
= (arg1
)->GetRect();
38062 wxPyEndAllowThreads(__tstate
);
38063 if (PyErr_Occurred()) SWIG_fail
;
38066 wxRect
* resultptr
;
38067 resultptr
= new wxRect((wxRect
&)(result
));
38068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38076 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38077 PyObject
*resultobj
;
38078 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38080 PyObject
* obj0
= 0 ;
38081 char *kwnames
[] = {
38082 (char *) "self", NULL
38085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38087 if (SWIG_arg_fail(1)) SWIG_fail
;
38089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38090 result
= (bool)(arg1
)->IsWindow();
38092 wxPyEndAllowThreads(__tstate
);
38093 if (PyErr_Occurred()) SWIG_fail
;
38096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38104 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38105 PyObject
*resultobj
;
38106 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38108 PyObject
* obj0
= 0 ;
38109 char *kwnames
[] = {
38110 (char *) "self", NULL
38113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38115 if (SWIG_arg_fail(1)) SWIG_fail
;
38117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38118 result
= (bool)(arg1
)->IsSizer();
38120 wxPyEndAllowThreads(__tstate
);
38121 if (PyErr_Occurred()) SWIG_fail
;
38124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38132 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38133 PyObject
*resultobj
;
38134 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38136 PyObject
* obj0
= 0 ;
38137 char *kwnames
[] = {
38138 (char *) "self", NULL
38141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38143 if (SWIG_arg_fail(1)) SWIG_fail
;
38145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38146 result
= (bool)(arg1
)->IsSpacer();
38148 wxPyEndAllowThreads(__tstate
);
38149 if (PyErr_Occurred()) SWIG_fail
;
38152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38160 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38161 PyObject
*resultobj
;
38162 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38164 PyObject
* obj0
= 0 ;
38165 PyObject
* obj1
= 0 ;
38166 char *kwnames
[] = {
38167 (char *) "self",(char *) "proportion", NULL
38170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38172 if (SWIG_arg_fail(1)) SWIG_fail
;
38174 arg2
= (int)(SWIG_As_int(obj1
));
38175 if (SWIG_arg_fail(2)) SWIG_fail
;
38178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38179 (arg1
)->SetProportion(arg2
);
38181 wxPyEndAllowThreads(__tstate
);
38182 if (PyErr_Occurred()) SWIG_fail
;
38184 Py_INCREF(Py_None
); resultobj
= Py_None
;
38191 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38192 PyObject
*resultobj
;
38193 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38195 PyObject
* obj0
= 0 ;
38196 char *kwnames
[] = {
38197 (char *) "self", NULL
38200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38202 if (SWIG_arg_fail(1)) SWIG_fail
;
38204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38205 result
= (int)(arg1
)->GetProportion();
38207 wxPyEndAllowThreads(__tstate
);
38208 if (PyErr_Occurred()) SWIG_fail
;
38211 resultobj
= SWIG_From_int((int)(result
));
38219 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38220 PyObject
*resultobj
;
38221 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38223 PyObject
* obj0
= 0 ;
38224 PyObject
* obj1
= 0 ;
38225 char *kwnames
[] = {
38226 (char *) "self",(char *) "flag", NULL
38229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38231 if (SWIG_arg_fail(1)) SWIG_fail
;
38233 arg2
= (int)(SWIG_As_int(obj1
));
38234 if (SWIG_arg_fail(2)) SWIG_fail
;
38237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38238 (arg1
)->SetFlag(arg2
);
38240 wxPyEndAllowThreads(__tstate
);
38241 if (PyErr_Occurred()) SWIG_fail
;
38243 Py_INCREF(Py_None
); resultobj
= Py_None
;
38250 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38251 PyObject
*resultobj
;
38252 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38254 PyObject
* obj0
= 0 ;
38255 char *kwnames
[] = {
38256 (char *) "self", NULL
38259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38261 if (SWIG_arg_fail(1)) SWIG_fail
;
38263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38264 result
= (int)(arg1
)->GetFlag();
38266 wxPyEndAllowThreads(__tstate
);
38267 if (PyErr_Occurred()) SWIG_fail
;
38270 resultobj
= SWIG_From_int((int)(result
));
38278 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38279 PyObject
*resultobj
;
38280 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38282 PyObject
* obj0
= 0 ;
38283 PyObject
* obj1
= 0 ;
38284 char *kwnames
[] = {
38285 (char *) "self",(char *) "border", NULL
38288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38290 if (SWIG_arg_fail(1)) SWIG_fail
;
38292 arg2
= (int)(SWIG_As_int(obj1
));
38293 if (SWIG_arg_fail(2)) SWIG_fail
;
38296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38297 (arg1
)->SetBorder(arg2
);
38299 wxPyEndAllowThreads(__tstate
);
38300 if (PyErr_Occurred()) SWIG_fail
;
38302 Py_INCREF(Py_None
); resultobj
= Py_None
;
38309 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38310 PyObject
*resultobj
;
38311 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38313 PyObject
* obj0
= 0 ;
38314 char *kwnames
[] = {
38315 (char *) "self", NULL
38318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38320 if (SWIG_arg_fail(1)) SWIG_fail
;
38322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38323 result
= (int)(arg1
)->GetBorder();
38325 wxPyEndAllowThreads(__tstate
);
38326 if (PyErr_Occurred()) SWIG_fail
;
38329 resultobj
= SWIG_From_int((int)(result
));
38337 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38338 PyObject
*resultobj
;
38339 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38341 PyObject
* obj0
= 0 ;
38342 char *kwnames
[] = {
38343 (char *) "self", NULL
38346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38348 if (SWIG_arg_fail(1)) SWIG_fail
;
38350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38351 result
= (wxWindow
*)(arg1
)->GetWindow();
38353 wxPyEndAllowThreads(__tstate
);
38354 if (PyErr_Occurred()) SWIG_fail
;
38357 resultobj
= wxPyMake_wxObject(result
, 0);
38365 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38366 PyObject
*resultobj
;
38367 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38368 wxWindow
*arg2
= (wxWindow
*) 0 ;
38369 PyObject
* obj0
= 0 ;
38370 PyObject
* obj1
= 0 ;
38371 char *kwnames
[] = {
38372 (char *) "self",(char *) "window", NULL
38375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38377 if (SWIG_arg_fail(1)) SWIG_fail
;
38378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38379 if (SWIG_arg_fail(2)) SWIG_fail
;
38381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38382 (arg1
)->SetWindow(arg2
);
38384 wxPyEndAllowThreads(__tstate
);
38385 if (PyErr_Occurred()) SWIG_fail
;
38387 Py_INCREF(Py_None
); resultobj
= Py_None
;
38394 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38395 PyObject
*resultobj
;
38396 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38398 PyObject
* obj0
= 0 ;
38399 char *kwnames
[] = {
38400 (char *) "self", NULL
38403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38405 if (SWIG_arg_fail(1)) SWIG_fail
;
38407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38408 result
= (wxSizer
*)(arg1
)->GetSizer();
38410 wxPyEndAllowThreads(__tstate
);
38411 if (PyErr_Occurred()) SWIG_fail
;
38414 resultobj
= wxPyMake_wxSizer(result
, 0);
38422 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38423 PyObject
*resultobj
;
38424 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38425 wxSizer
*arg2
= (wxSizer
*) 0 ;
38426 PyObject
* obj0
= 0 ;
38427 PyObject
* obj1
= 0 ;
38428 char *kwnames
[] = {
38429 (char *) "self",(char *) "sizer", NULL
38432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38434 if (SWIG_arg_fail(1)) SWIG_fail
;
38435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38436 if (SWIG_arg_fail(2)) SWIG_fail
;
38438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38439 (arg1
)->SetSizer(arg2
);
38441 wxPyEndAllowThreads(__tstate
);
38442 if (PyErr_Occurred()) SWIG_fail
;
38444 Py_INCREF(Py_None
); resultobj
= Py_None
;
38451 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38452 PyObject
*resultobj
;
38453 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38455 PyObject
* obj0
= 0 ;
38456 char *kwnames
[] = {
38457 (char *) "self", NULL
38460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38462 if (SWIG_arg_fail(1)) SWIG_fail
;
38464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38466 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38467 result
= (wxSize
*) &_result_ref
;
38470 wxPyEndAllowThreads(__tstate
);
38471 if (PyErr_Occurred()) SWIG_fail
;
38473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38480 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38481 PyObject
*resultobj
;
38482 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38485 PyObject
* obj0
= 0 ;
38486 PyObject
* obj1
= 0 ;
38487 char *kwnames
[] = {
38488 (char *) "self",(char *) "size", NULL
38491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38493 if (SWIG_arg_fail(1)) SWIG_fail
;
38496 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38500 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38502 wxPyEndAllowThreads(__tstate
);
38503 if (PyErr_Occurred()) SWIG_fail
;
38505 Py_INCREF(Py_None
); resultobj
= Py_None
;
38512 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38513 PyObject
*resultobj
;
38514 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38516 PyObject
* obj0
= 0 ;
38517 PyObject
* obj1
= 0 ;
38518 char *kwnames
[] = {
38519 (char *) "self",(char *) "show", NULL
38522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38524 if (SWIG_arg_fail(1)) SWIG_fail
;
38526 arg2
= (bool)(SWIG_As_bool(obj1
));
38527 if (SWIG_arg_fail(2)) SWIG_fail
;
38530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38531 (arg1
)->Show(arg2
);
38533 wxPyEndAllowThreads(__tstate
);
38534 if (PyErr_Occurred()) SWIG_fail
;
38536 Py_INCREF(Py_None
); resultobj
= Py_None
;
38543 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38544 PyObject
*resultobj
;
38545 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38547 PyObject
* obj0
= 0 ;
38548 char *kwnames
[] = {
38549 (char *) "self", NULL
38552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38554 if (SWIG_arg_fail(1)) SWIG_fail
;
38556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38557 result
= (bool)(arg1
)->IsShown();
38559 wxPyEndAllowThreads(__tstate
);
38560 if (PyErr_Occurred()) SWIG_fail
;
38563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38571 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38572 PyObject
*resultobj
;
38573 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38575 PyObject
* obj0
= 0 ;
38576 char *kwnames
[] = {
38577 (char *) "self", NULL
38580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38582 if (SWIG_arg_fail(1)) SWIG_fail
;
38584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38585 result
= (arg1
)->GetPosition();
38587 wxPyEndAllowThreads(__tstate
);
38588 if (PyErr_Occurred()) SWIG_fail
;
38591 wxPoint
* resultptr
;
38592 resultptr
= new wxPoint((wxPoint
&)(result
));
38593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38601 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38602 PyObject
*resultobj
;
38603 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38605 PyObject
* obj0
= 0 ;
38606 char *kwnames
[] = {
38607 (char *) "self", NULL
38610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38612 if (SWIG_arg_fail(1)) SWIG_fail
;
38614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38615 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38617 wxPyEndAllowThreads(__tstate
);
38618 if (PyErr_Occurred()) SWIG_fail
;
38620 resultobj
= result
;
38627 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
38629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38630 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
38632 return Py_BuildValue((char *)"");
38634 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38635 PyObject
*resultobj
;
38636 wxSizer
*arg1
= (wxSizer
*) 0 ;
38637 PyObject
*arg2
= (PyObject
*) 0 ;
38638 PyObject
* obj0
= 0 ;
38639 PyObject
* obj1
= 0 ;
38640 char *kwnames
[] = {
38641 (char *) "self",(char *) "_self", NULL
38644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
38645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38646 if (SWIG_arg_fail(1)) SWIG_fail
;
38649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38650 wxSizer__setOORInfo(arg1
,arg2
);
38652 wxPyEndAllowThreads(__tstate
);
38653 if (PyErr_Occurred()) SWIG_fail
;
38655 Py_INCREF(Py_None
); resultobj
= Py_None
;
38662 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38663 PyObject
*resultobj
;
38664 wxSizer
*arg1
= (wxSizer
*) 0 ;
38665 PyObject
*arg2
= (PyObject
*) 0 ;
38666 int arg3
= (int) 0 ;
38667 int arg4
= (int) 0 ;
38668 int arg5
= (int) 0 ;
38669 PyObject
*arg6
= (PyObject
*) NULL
;
38670 wxSizerItem
*result
;
38671 PyObject
* obj0
= 0 ;
38672 PyObject
* obj1
= 0 ;
38673 PyObject
* obj2
= 0 ;
38674 PyObject
* obj3
= 0 ;
38675 PyObject
* obj4
= 0 ;
38676 PyObject
* obj5
= 0 ;
38677 char *kwnames
[] = {
38678 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38683 if (SWIG_arg_fail(1)) SWIG_fail
;
38687 arg3
= (int)(SWIG_As_int(obj2
));
38688 if (SWIG_arg_fail(3)) SWIG_fail
;
38693 arg4
= (int)(SWIG_As_int(obj3
));
38694 if (SWIG_arg_fail(4)) SWIG_fail
;
38699 arg5
= (int)(SWIG_As_int(obj4
));
38700 if (SWIG_arg_fail(5)) SWIG_fail
;
38707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38708 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38710 wxPyEndAllowThreads(__tstate
);
38711 if (PyErr_Occurred()) SWIG_fail
;
38713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38720 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38721 PyObject
*resultobj
;
38722 wxSizer
*arg1
= (wxSizer
*) 0 ;
38724 PyObject
*arg3
= (PyObject
*) 0 ;
38725 int arg4
= (int) 0 ;
38726 int arg5
= (int) 0 ;
38727 int arg6
= (int) 0 ;
38728 PyObject
*arg7
= (PyObject
*) NULL
;
38729 wxSizerItem
*result
;
38730 PyObject
* obj0
= 0 ;
38731 PyObject
* obj1
= 0 ;
38732 PyObject
* obj2
= 0 ;
38733 PyObject
* obj3
= 0 ;
38734 PyObject
* obj4
= 0 ;
38735 PyObject
* obj5
= 0 ;
38736 PyObject
* obj6
= 0 ;
38737 char *kwnames
[] = {
38738 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38743 if (SWIG_arg_fail(1)) SWIG_fail
;
38745 arg2
= (int)(SWIG_As_int(obj1
));
38746 if (SWIG_arg_fail(2)) SWIG_fail
;
38751 arg4
= (int)(SWIG_As_int(obj3
));
38752 if (SWIG_arg_fail(4)) SWIG_fail
;
38757 arg5
= (int)(SWIG_As_int(obj4
));
38758 if (SWIG_arg_fail(5)) SWIG_fail
;
38763 arg6
= (int)(SWIG_As_int(obj5
));
38764 if (SWIG_arg_fail(6)) SWIG_fail
;
38771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38772 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
38774 wxPyEndAllowThreads(__tstate
);
38775 if (PyErr_Occurred()) SWIG_fail
;
38777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38784 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38785 PyObject
*resultobj
;
38786 wxSizer
*arg1
= (wxSizer
*) 0 ;
38787 PyObject
*arg2
= (PyObject
*) 0 ;
38788 int arg3
= (int) 0 ;
38789 int arg4
= (int) 0 ;
38790 int arg5
= (int) 0 ;
38791 PyObject
*arg6
= (PyObject
*) NULL
;
38792 wxSizerItem
*result
;
38793 PyObject
* obj0
= 0 ;
38794 PyObject
* obj1
= 0 ;
38795 PyObject
* obj2
= 0 ;
38796 PyObject
* obj3
= 0 ;
38797 PyObject
* obj4
= 0 ;
38798 PyObject
* obj5
= 0 ;
38799 char *kwnames
[] = {
38800 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38805 if (SWIG_arg_fail(1)) SWIG_fail
;
38809 arg3
= (int)(SWIG_As_int(obj2
));
38810 if (SWIG_arg_fail(3)) SWIG_fail
;
38815 arg4
= (int)(SWIG_As_int(obj3
));
38816 if (SWIG_arg_fail(4)) SWIG_fail
;
38821 arg5
= (int)(SWIG_As_int(obj4
));
38822 if (SWIG_arg_fail(5)) SWIG_fail
;
38829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38830 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38832 wxPyEndAllowThreads(__tstate
);
38833 if (PyErr_Occurred()) SWIG_fail
;
38835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38842 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38843 PyObject
*resultobj
;
38844 wxSizer
*arg1
= (wxSizer
*) 0 ;
38845 PyObject
*arg2
= (PyObject
*) 0 ;
38847 PyObject
* obj0
= 0 ;
38848 PyObject
* obj1
= 0 ;
38849 char *kwnames
[] = {
38850 (char *) "self",(char *) "item", NULL
38853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
38854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38855 if (SWIG_arg_fail(1)) SWIG_fail
;
38858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38859 result
= (bool)wxSizer_Remove(arg1
,arg2
);
38861 wxPyEndAllowThreads(__tstate
);
38862 if (PyErr_Occurred()) SWIG_fail
;
38865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38873 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38874 PyObject
*resultobj
;
38875 wxSizer
*arg1
= (wxSizer
*) 0 ;
38876 PyObject
*arg2
= (PyObject
*) 0 ;
38878 PyObject
* obj0
= 0 ;
38879 PyObject
* obj1
= 0 ;
38880 char *kwnames
[] = {
38881 (char *) "self",(char *) "item", NULL
38884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
38885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38886 if (SWIG_arg_fail(1)) SWIG_fail
;
38889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38890 result
= (bool)wxSizer_Detach(arg1
,arg2
);
38892 wxPyEndAllowThreads(__tstate
);
38893 if (PyErr_Occurred()) SWIG_fail
;
38896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38904 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38905 PyObject
*resultobj
;
38906 wxSizer
*arg1
= (wxSizer
*) 0 ;
38907 PyObject
*arg2
= (PyObject
*) 0 ;
38908 wxSizerItem
*result
;
38909 PyObject
* obj0
= 0 ;
38910 PyObject
* obj1
= 0 ;
38911 char *kwnames
[] = {
38912 (char *) "self",(char *) "item", NULL
38915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38917 if (SWIG_arg_fail(1)) SWIG_fail
;
38920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38921 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
38923 wxPyEndAllowThreads(__tstate
);
38924 if (PyErr_Occurred()) SWIG_fail
;
38926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38933 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38934 PyObject
*resultobj
;
38935 wxSizer
*arg1
= (wxSizer
*) 0 ;
38936 PyObject
*arg2
= (PyObject
*) 0 ;
38939 PyObject
* obj0
= 0 ;
38940 PyObject
* obj1
= 0 ;
38941 PyObject
* obj2
= 0 ;
38942 char *kwnames
[] = {
38943 (char *) "self",(char *) "item",(char *) "size", NULL
38946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38948 if (SWIG_arg_fail(1)) SWIG_fail
;
38952 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38956 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
38958 wxPyEndAllowThreads(__tstate
);
38959 if (PyErr_Occurred()) SWIG_fail
;
38961 Py_INCREF(Py_None
); resultobj
= Py_None
;
38968 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38969 PyObject
*resultobj
;
38970 wxSizer
*arg1
= (wxSizer
*) 0 ;
38971 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38972 wxSizerItem
*result
;
38973 PyObject
* obj0
= 0 ;
38974 PyObject
* obj1
= 0 ;
38975 char *kwnames
[] = {
38976 (char *) "self",(char *) "item", NULL
38979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38981 if (SWIG_arg_fail(1)) SWIG_fail
;
38982 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38983 if (SWIG_arg_fail(2)) SWIG_fail
;
38985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38986 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38998 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38999 PyObject
*resultobj
;
39000 wxSizer
*arg1
= (wxSizer
*) 0 ;
39002 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39003 wxSizerItem
*result
;
39004 PyObject
* obj0
= 0 ;
39005 PyObject
* obj1
= 0 ;
39006 PyObject
* obj2
= 0 ;
39007 char *kwnames
[] = {
39008 (char *) "self",(char *) "index",(char *) "item", NULL
39011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39013 if (SWIG_arg_fail(1)) SWIG_fail
;
39015 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39016 if (SWIG_arg_fail(2)) SWIG_fail
;
39018 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39019 if (SWIG_arg_fail(3)) SWIG_fail
;
39021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39022 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39024 wxPyEndAllowThreads(__tstate
);
39025 if (PyErr_Occurred()) SWIG_fail
;
39027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39034 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39035 PyObject
*resultobj
;
39036 wxSizer
*arg1
= (wxSizer
*) 0 ;
39037 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39038 wxSizerItem
*result
;
39039 PyObject
* obj0
= 0 ;
39040 PyObject
* obj1
= 0 ;
39041 char *kwnames
[] = {
39042 (char *) "self",(char *) "item", NULL
39045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39047 if (SWIG_arg_fail(1)) SWIG_fail
;
39048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39049 if (SWIG_arg_fail(2)) SWIG_fail
;
39051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39052 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39054 wxPyEndAllowThreads(__tstate
);
39055 if (PyErr_Occurred()) SWIG_fail
;
39057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39064 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39065 PyObject
*resultobj
;
39066 wxSizer
*arg1
= (wxSizer
*) 0 ;
39071 PyObject
* obj0
= 0 ;
39072 PyObject
* obj1
= 0 ;
39073 PyObject
* obj2
= 0 ;
39074 PyObject
* obj3
= 0 ;
39075 PyObject
* obj4
= 0 ;
39076 char *kwnames
[] = {
39077 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39082 if (SWIG_arg_fail(1)) SWIG_fail
;
39084 arg2
= (int)(SWIG_As_int(obj1
));
39085 if (SWIG_arg_fail(2)) SWIG_fail
;
39088 arg3
= (int)(SWIG_As_int(obj2
));
39089 if (SWIG_arg_fail(3)) SWIG_fail
;
39092 arg4
= (int)(SWIG_As_int(obj3
));
39093 if (SWIG_arg_fail(4)) SWIG_fail
;
39096 arg5
= (int)(SWIG_As_int(obj4
));
39097 if (SWIG_arg_fail(5)) SWIG_fail
;
39100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39101 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39103 wxPyEndAllowThreads(__tstate
);
39104 if (PyErr_Occurred()) SWIG_fail
;
39106 Py_INCREF(Py_None
); resultobj
= Py_None
;
39113 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39114 PyObject
*resultobj
;
39115 wxSizer
*arg1
= (wxSizer
*) 0 ;
39118 PyObject
* obj0
= 0 ;
39119 PyObject
* obj1
= 0 ;
39120 char *kwnames
[] = {
39121 (char *) "self",(char *) "size", NULL
39124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39126 if (SWIG_arg_fail(1)) SWIG_fail
;
39129 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39133 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39135 wxPyEndAllowThreads(__tstate
);
39136 if (PyErr_Occurred()) SWIG_fail
;
39138 Py_INCREF(Py_None
); resultobj
= Py_None
;
39145 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39146 PyObject
*resultobj
;
39147 wxSizer
*arg1
= (wxSizer
*) 0 ;
39149 PyObject
* obj0
= 0 ;
39150 char *kwnames
[] = {
39151 (char *) "self", NULL
39154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39156 if (SWIG_arg_fail(1)) SWIG_fail
;
39158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39159 result
= (arg1
)->GetSize();
39161 wxPyEndAllowThreads(__tstate
);
39162 if (PyErr_Occurred()) SWIG_fail
;
39165 wxSize
* resultptr
;
39166 resultptr
= new wxSize((wxSize
&)(result
));
39167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39175 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39176 PyObject
*resultobj
;
39177 wxSizer
*arg1
= (wxSizer
*) 0 ;
39179 PyObject
* obj0
= 0 ;
39180 char *kwnames
[] = {
39181 (char *) "self", NULL
39184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39186 if (SWIG_arg_fail(1)) SWIG_fail
;
39188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39189 result
= (arg1
)->GetPosition();
39191 wxPyEndAllowThreads(__tstate
);
39192 if (PyErr_Occurred()) SWIG_fail
;
39195 wxPoint
* resultptr
;
39196 resultptr
= new wxPoint((wxPoint
&)(result
));
39197 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39205 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39206 PyObject
*resultobj
;
39207 wxSizer
*arg1
= (wxSizer
*) 0 ;
39209 PyObject
* obj0
= 0 ;
39210 char *kwnames
[] = {
39211 (char *) "self", NULL
39214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39216 if (SWIG_arg_fail(1)) SWIG_fail
;
39218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39219 result
= (arg1
)->GetMinSize();
39221 wxPyEndAllowThreads(__tstate
);
39222 if (PyErr_Occurred()) SWIG_fail
;
39225 wxSize
* resultptr
;
39226 resultptr
= new wxSize((wxSize
&)(result
));
39227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39235 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39236 PyObject
*resultobj
;
39237 wxSizer
*arg1
= (wxSizer
*) 0 ;
39238 PyObject
* obj0
= 0 ;
39239 char *kwnames
[] = {
39240 (char *) "self", NULL
39243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39245 if (SWIG_arg_fail(1)) SWIG_fail
;
39247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39248 (arg1
)->RecalcSizes();
39250 wxPyEndAllowThreads(__tstate
);
39251 if (PyErr_Occurred()) SWIG_fail
;
39253 Py_INCREF(Py_None
); resultobj
= Py_None
;
39260 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39261 PyObject
*resultobj
;
39262 wxSizer
*arg1
= (wxSizer
*) 0 ;
39264 PyObject
* obj0
= 0 ;
39265 char *kwnames
[] = {
39266 (char *) "self", NULL
39269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39271 if (SWIG_arg_fail(1)) SWIG_fail
;
39273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39274 result
= (arg1
)->CalcMin();
39276 wxPyEndAllowThreads(__tstate
);
39277 if (PyErr_Occurred()) SWIG_fail
;
39280 wxSize
* resultptr
;
39281 resultptr
= new wxSize((wxSize
&)(result
));
39282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39290 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39291 PyObject
*resultobj
;
39292 wxSizer
*arg1
= (wxSizer
*) 0 ;
39293 PyObject
* obj0
= 0 ;
39294 char *kwnames
[] = {
39295 (char *) "self", NULL
39298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39300 if (SWIG_arg_fail(1)) SWIG_fail
;
39302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39305 wxPyEndAllowThreads(__tstate
);
39306 if (PyErr_Occurred()) SWIG_fail
;
39308 Py_INCREF(Py_None
); resultobj
= Py_None
;
39315 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39316 PyObject
*resultobj
;
39317 wxSizer
*arg1
= (wxSizer
*) 0 ;
39318 wxWindow
*arg2
= (wxWindow
*) 0 ;
39320 PyObject
* obj0
= 0 ;
39321 PyObject
* obj1
= 0 ;
39322 char *kwnames
[] = {
39323 (char *) "self",(char *) "window", NULL
39326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39328 if (SWIG_arg_fail(1)) SWIG_fail
;
39329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39330 if (SWIG_arg_fail(2)) SWIG_fail
;
39332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39333 result
= (arg1
)->Fit(arg2
);
39335 wxPyEndAllowThreads(__tstate
);
39336 if (PyErr_Occurred()) SWIG_fail
;
39339 wxSize
* resultptr
;
39340 resultptr
= new wxSize((wxSize
&)(result
));
39341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39349 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39350 PyObject
*resultobj
;
39351 wxSizer
*arg1
= (wxSizer
*) 0 ;
39352 wxWindow
*arg2
= (wxWindow
*) 0 ;
39353 PyObject
* obj0
= 0 ;
39354 PyObject
* obj1
= 0 ;
39355 char *kwnames
[] = {
39356 (char *) "self",(char *) "window", NULL
39359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39361 if (SWIG_arg_fail(1)) SWIG_fail
;
39362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39363 if (SWIG_arg_fail(2)) SWIG_fail
;
39365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39366 (arg1
)->FitInside(arg2
);
39368 wxPyEndAllowThreads(__tstate
);
39369 if (PyErr_Occurred()) SWIG_fail
;
39371 Py_INCREF(Py_None
); resultobj
= Py_None
;
39378 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39379 PyObject
*resultobj
;
39380 wxSizer
*arg1
= (wxSizer
*) 0 ;
39381 wxWindow
*arg2
= (wxWindow
*) 0 ;
39382 PyObject
* obj0
= 0 ;
39383 PyObject
* obj1
= 0 ;
39384 char *kwnames
[] = {
39385 (char *) "self",(char *) "window", NULL
39388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39390 if (SWIG_arg_fail(1)) SWIG_fail
;
39391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39392 if (SWIG_arg_fail(2)) SWIG_fail
;
39394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39395 (arg1
)->SetSizeHints(arg2
);
39397 wxPyEndAllowThreads(__tstate
);
39398 if (PyErr_Occurred()) SWIG_fail
;
39400 Py_INCREF(Py_None
); resultobj
= Py_None
;
39407 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39408 PyObject
*resultobj
;
39409 wxSizer
*arg1
= (wxSizer
*) 0 ;
39410 wxWindow
*arg2
= (wxWindow
*) 0 ;
39411 PyObject
* obj0
= 0 ;
39412 PyObject
* obj1
= 0 ;
39413 char *kwnames
[] = {
39414 (char *) "self",(char *) "window", NULL
39417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39418 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39419 if (SWIG_arg_fail(1)) SWIG_fail
;
39420 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39421 if (SWIG_arg_fail(2)) SWIG_fail
;
39423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39424 (arg1
)->SetVirtualSizeHints(arg2
);
39426 wxPyEndAllowThreads(__tstate
);
39427 if (PyErr_Occurred()) SWIG_fail
;
39429 Py_INCREF(Py_None
); resultobj
= Py_None
;
39436 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39437 PyObject
*resultobj
;
39438 wxSizer
*arg1
= (wxSizer
*) 0 ;
39439 bool arg2
= (bool) false ;
39440 PyObject
* obj0
= 0 ;
39441 PyObject
* obj1
= 0 ;
39442 char *kwnames
[] = {
39443 (char *) "self",(char *) "deleteWindows", NULL
39446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39448 if (SWIG_arg_fail(1)) SWIG_fail
;
39451 arg2
= (bool)(SWIG_As_bool(obj1
));
39452 if (SWIG_arg_fail(2)) SWIG_fail
;
39456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39457 (arg1
)->Clear(arg2
);
39459 wxPyEndAllowThreads(__tstate
);
39460 if (PyErr_Occurred()) SWIG_fail
;
39462 Py_INCREF(Py_None
); resultobj
= Py_None
;
39469 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39470 PyObject
*resultobj
;
39471 wxSizer
*arg1
= (wxSizer
*) 0 ;
39472 PyObject
* obj0
= 0 ;
39473 char *kwnames
[] = {
39474 (char *) "self", NULL
39477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39479 if (SWIG_arg_fail(1)) SWIG_fail
;
39481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39482 (arg1
)->DeleteWindows();
39484 wxPyEndAllowThreads(__tstate
);
39485 if (PyErr_Occurred()) SWIG_fail
;
39487 Py_INCREF(Py_None
); resultobj
= Py_None
;
39494 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39495 PyObject
*resultobj
;
39496 wxSizer
*arg1
= (wxSizer
*) 0 ;
39498 PyObject
* obj0
= 0 ;
39499 char *kwnames
[] = {
39500 (char *) "self", NULL
39503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39505 if (SWIG_arg_fail(1)) SWIG_fail
;
39507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39508 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39510 wxPyEndAllowThreads(__tstate
);
39511 if (PyErr_Occurred()) SWIG_fail
;
39513 resultobj
= result
;
39520 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39521 PyObject
*resultobj
;
39522 wxSizer
*arg1
= (wxSizer
*) 0 ;
39523 PyObject
*arg2
= (PyObject
*) 0 ;
39524 bool arg3
= (bool) true ;
39525 bool arg4
= (bool) false ;
39527 PyObject
* obj0
= 0 ;
39528 PyObject
* obj1
= 0 ;
39529 PyObject
* obj2
= 0 ;
39530 PyObject
* obj3
= 0 ;
39531 char *kwnames
[] = {
39532 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39537 if (SWIG_arg_fail(1)) SWIG_fail
;
39541 arg3
= (bool)(SWIG_As_bool(obj2
));
39542 if (SWIG_arg_fail(3)) SWIG_fail
;
39547 arg4
= (bool)(SWIG_As_bool(obj3
));
39548 if (SWIG_arg_fail(4)) SWIG_fail
;
39552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39553 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39555 wxPyEndAllowThreads(__tstate
);
39556 if (PyErr_Occurred()) SWIG_fail
;
39559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39567 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39568 PyObject
*resultobj
;
39569 wxSizer
*arg1
= (wxSizer
*) 0 ;
39570 PyObject
*arg2
= (PyObject
*) 0 ;
39572 PyObject
* obj0
= 0 ;
39573 PyObject
* obj1
= 0 ;
39574 char *kwnames
[] = {
39575 (char *) "self",(char *) "item", NULL
39578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39580 if (SWIG_arg_fail(1)) SWIG_fail
;
39583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39584 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39586 wxPyEndAllowThreads(__tstate
);
39587 if (PyErr_Occurred()) SWIG_fail
;
39590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39598 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39599 PyObject
*resultobj
;
39600 wxSizer
*arg1
= (wxSizer
*) 0 ;
39602 PyObject
* obj0
= 0 ;
39603 PyObject
* obj1
= 0 ;
39604 char *kwnames
[] = {
39605 (char *) "self",(char *) "show", NULL
39608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39610 if (SWIG_arg_fail(1)) SWIG_fail
;
39612 arg2
= (bool)(SWIG_As_bool(obj1
));
39613 if (SWIG_arg_fail(2)) SWIG_fail
;
39616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39617 (arg1
)->ShowItems(arg2
);
39619 wxPyEndAllowThreads(__tstate
);
39620 if (PyErr_Occurred()) SWIG_fail
;
39622 Py_INCREF(Py_None
); resultobj
= Py_None
;
39629 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
39631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39632 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
39634 return Py_BuildValue((char *)"");
39636 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39637 PyObject
*resultobj
;
39639 char *kwnames
[] = {
39643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
39645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39646 result
= (wxPySizer
*)new wxPySizer();
39648 wxPyEndAllowThreads(__tstate
);
39649 if (PyErr_Occurred()) SWIG_fail
;
39651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
39658 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39659 PyObject
*resultobj
;
39660 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
39661 PyObject
*arg2
= (PyObject
*) 0 ;
39662 PyObject
*arg3
= (PyObject
*) 0 ;
39663 PyObject
* obj0
= 0 ;
39664 PyObject
* obj1
= 0 ;
39665 PyObject
* obj2
= 0 ;
39666 char *kwnames
[] = {
39667 (char *) "self",(char *) "self",(char *) "_class", NULL
39670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
39672 if (SWIG_arg_fail(1)) SWIG_fail
;
39676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39677 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39679 wxPyEndAllowThreads(__tstate
);
39680 if (PyErr_Occurred()) SWIG_fail
;
39682 Py_INCREF(Py_None
); resultobj
= Py_None
;
39689 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
39691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39692 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
39694 return Py_BuildValue((char *)"");
39696 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39697 PyObject
*resultobj
;
39698 int arg1
= (int) wxHORIZONTAL
;
39699 wxBoxSizer
*result
;
39700 PyObject
* obj0
= 0 ;
39701 char *kwnames
[] = {
39702 (char *) "orient", NULL
39705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
39708 arg1
= (int)(SWIG_As_int(obj0
));
39709 if (SWIG_arg_fail(1)) SWIG_fail
;
39713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39714 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
39716 wxPyEndAllowThreads(__tstate
);
39717 if (PyErr_Occurred()) SWIG_fail
;
39719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
39726 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39727 PyObject
*resultobj
;
39728 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39730 PyObject
* obj0
= 0 ;
39731 char *kwnames
[] = {
39732 (char *) "self", NULL
39735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
39736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39737 if (SWIG_arg_fail(1)) SWIG_fail
;
39739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39740 result
= (int)(arg1
)->GetOrientation();
39742 wxPyEndAllowThreads(__tstate
);
39743 if (PyErr_Occurred()) SWIG_fail
;
39746 resultobj
= SWIG_From_int((int)(result
));
39754 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39755 PyObject
*resultobj
;
39756 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39758 PyObject
* obj0
= 0 ;
39759 PyObject
* obj1
= 0 ;
39760 char *kwnames
[] = {
39761 (char *) "self",(char *) "orient", NULL
39764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
39765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39766 if (SWIG_arg_fail(1)) SWIG_fail
;
39768 arg2
= (int)(SWIG_As_int(obj1
));
39769 if (SWIG_arg_fail(2)) SWIG_fail
;
39772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39773 (arg1
)->SetOrientation(arg2
);
39775 wxPyEndAllowThreads(__tstate
);
39776 if (PyErr_Occurred()) SWIG_fail
;
39778 Py_INCREF(Py_None
); resultobj
= Py_None
;
39785 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39788 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
39790 return Py_BuildValue((char *)"");
39792 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39793 PyObject
*resultobj
;
39794 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
39795 int arg2
= (int) wxHORIZONTAL
;
39796 wxStaticBoxSizer
*result
;
39797 PyObject
* obj0
= 0 ;
39798 PyObject
* obj1
= 0 ;
39799 char *kwnames
[] = {
39800 (char *) "box",(char *) "orient", NULL
39803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
39805 if (SWIG_arg_fail(1)) SWIG_fail
;
39808 arg2
= (int)(SWIG_As_int(obj1
));
39809 if (SWIG_arg_fail(2)) SWIG_fail
;
39813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39814 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
39816 wxPyEndAllowThreads(__tstate
);
39817 if (PyErr_Occurred()) SWIG_fail
;
39819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
39826 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39827 PyObject
*resultobj
;
39828 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
39829 wxStaticBox
*result
;
39830 PyObject
* obj0
= 0 ;
39831 char *kwnames
[] = {
39832 (char *) "self", NULL
39835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
39836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39837 if (SWIG_arg_fail(1)) SWIG_fail
;
39839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39840 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
39842 wxPyEndAllowThreads(__tstate
);
39843 if (PyErr_Occurred()) SWIG_fail
;
39846 resultobj
= wxPyMake_wxObject(result
, 0);
39854 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39857 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
39859 return Py_BuildValue((char *)"");
39861 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39862 PyObject
*resultobj
;
39863 int arg1
= (int) 1 ;
39864 int arg2
= (int) 0 ;
39865 int arg3
= (int) 0 ;
39866 int arg4
= (int) 0 ;
39867 wxGridSizer
*result
;
39868 PyObject
* obj0
= 0 ;
39869 PyObject
* obj1
= 0 ;
39870 PyObject
* obj2
= 0 ;
39871 PyObject
* obj3
= 0 ;
39872 char *kwnames
[] = {
39873 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
39876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39879 arg1
= (int)(SWIG_As_int(obj0
));
39880 if (SWIG_arg_fail(1)) SWIG_fail
;
39885 arg2
= (int)(SWIG_As_int(obj1
));
39886 if (SWIG_arg_fail(2)) SWIG_fail
;
39891 arg3
= (int)(SWIG_As_int(obj2
));
39892 if (SWIG_arg_fail(3)) SWIG_fail
;
39897 arg4
= (int)(SWIG_As_int(obj3
));
39898 if (SWIG_arg_fail(4)) SWIG_fail
;
39902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39903 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
39905 wxPyEndAllowThreads(__tstate
);
39906 if (PyErr_Occurred()) SWIG_fail
;
39908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
39915 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39916 PyObject
*resultobj
;
39917 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39919 PyObject
* obj0
= 0 ;
39920 PyObject
* obj1
= 0 ;
39921 char *kwnames
[] = {
39922 (char *) "self",(char *) "cols", NULL
39925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
39926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39927 if (SWIG_arg_fail(1)) SWIG_fail
;
39929 arg2
= (int)(SWIG_As_int(obj1
));
39930 if (SWIG_arg_fail(2)) SWIG_fail
;
39933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39934 (arg1
)->SetCols(arg2
);
39936 wxPyEndAllowThreads(__tstate
);
39937 if (PyErr_Occurred()) SWIG_fail
;
39939 Py_INCREF(Py_None
); resultobj
= Py_None
;
39946 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
;
39948 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39950 PyObject
* obj0
= 0 ;
39951 PyObject
* obj1
= 0 ;
39952 char *kwnames
[] = {
39953 (char *) "self",(char *) "rows", NULL
39956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
39957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39958 if (SWIG_arg_fail(1)) SWIG_fail
;
39960 arg2
= (int)(SWIG_As_int(obj1
));
39961 if (SWIG_arg_fail(2)) SWIG_fail
;
39964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39965 (arg1
)->SetRows(arg2
);
39967 wxPyEndAllowThreads(__tstate
);
39968 if (PyErr_Occurred()) SWIG_fail
;
39970 Py_INCREF(Py_None
); resultobj
= Py_None
;
39977 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39978 PyObject
*resultobj
;
39979 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39981 PyObject
* obj0
= 0 ;
39982 PyObject
* obj1
= 0 ;
39983 char *kwnames
[] = {
39984 (char *) "self",(char *) "gap", NULL
39987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39989 if (SWIG_arg_fail(1)) SWIG_fail
;
39991 arg2
= (int)(SWIG_As_int(obj1
));
39992 if (SWIG_arg_fail(2)) SWIG_fail
;
39995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39996 (arg1
)->SetVGap(arg2
);
39998 wxPyEndAllowThreads(__tstate
);
39999 if (PyErr_Occurred()) SWIG_fail
;
40001 Py_INCREF(Py_None
); resultobj
= Py_None
;
40008 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40009 PyObject
*resultobj
;
40010 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40012 PyObject
* obj0
= 0 ;
40013 PyObject
* obj1
= 0 ;
40014 char *kwnames
[] = {
40015 (char *) "self",(char *) "gap", NULL
40018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40020 if (SWIG_arg_fail(1)) SWIG_fail
;
40022 arg2
= (int)(SWIG_As_int(obj1
));
40023 if (SWIG_arg_fail(2)) SWIG_fail
;
40026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40027 (arg1
)->SetHGap(arg2
);
40029 wxPyEndAllowThreads(__tstate
);
40030 if (PyErr_Occurred()) SWIG_fail
;
40032 Py_INCREF(Py_None
); resultobj
= Py_None
;
40039 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40040 PyObject
*resultobj
;
40041 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40043 PyObject
* obj0
= 0 ;
40044 char *kwnames
[] = {
40045 (char *) "self", NULL
40048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40050 if (SWIG_arg_fail(1)) SWIG_fail
;
40052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40053 result
= (int)(arg1
)->GetCols();
40055 wxPyEndAllowThreads(__tstate
);
40056 if (PyErr_Occurred()) SWIG_fail
;
40059 resultobj
= SWIG_From_int((int)(result
));
40067 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40068 PyObject
*resultobj
;
40069 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40071 PyObject
* obj0
= 0 ;
40072 char *kwnames
[] = {
40073 (char *) "self", NULL
40076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40078 if (SWIG_arg_fail(1)) SWIG_fail
;
40080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40081 result
= (int)(arg1
)->GetRows();
40083 wxPyEndAllowThreads(__tstate
);
40084 if (PyErr_Occurred()) SWIG_fail
;
40087 resultobj
= SWIG_From_int((int)(result
));
40095 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40096 PyObject
*resultobj
;
40097 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40099 PyObject
* obj0
= 0 ;
40100 char *kwnames
[] = {
40101 (char *) "self", NULL
40104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40106 if (SWIG_arg_fail(1)) SWIG_fail
;
40108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40109 result
= (int)(arg1
)->GetVGap();
40111 wxPyEndAllowThreads(__tstate
);
40112 if (PyErr_Occurred()) SWIG_fail
;
40115 resultobj
= SWIG_From_int((int)(result
));
40123 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40124 PyObject
*resultobj
;
40125 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40127 PyObject
* obj0
= 0 ;
40128 char *kwnames
[] = {
40129 (char *) "self", NULL
40132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40134 if (SWIG_arg_fail(1)) SWIG_fail
;
40136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40137 result
= (int)(arg1
)->GetHGap();
40139 wxPyEndAllowThreads(__tstate
);
40140 if (PyErr_Occurred()) SWIG_fail
;
40143 resultobj
= SWIG_From_int((int)(result
));
40151 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40154 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40156 return Py_BuildValue((char *)"");
40158 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40159 PyObject
*resultobj
;
40160 int arg1
= (int) 1 ;
40161 int arg2
= (int) 0 ;
40162 int arg3
= (int) 0 ;
40163 int arg4
= (int) 0 ;
40164 wxFlexGridSizer
*result
;
40165 PyObject
* obj0
= 0 ;
40166 PyObject
* obj1
= 0 ;
40167 PyObject
* obj2
= 0 ;
40168 PyObject
* obj3
= 0 ;
40169 char *kwnames
[] = {
40170 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40176 arg1
= (int)(SWIG_As_int(obj0
));
40177 if (SWIG_arg_fail(1)) SWIG_fail
;
40182 arg2
= (int)(SWIG_As_int(obj1
));
40183 if (SWIG_arg_fail(2)) SWIG_fail
;
40188 arg3
= (int)(SWIG_As_int(obj2
));
40189 if (SWIG_arg_fail(3)) SWIG_fail
;
40194 arg4
= (int)(SWIG_As_int(obj3
));
40195 if (SWIG_arg_fail(4)) SWIG_fail
;
40199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40200 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40202 wxPyEndAllowThreads(__tstate
);
40203 if (PyErr_Occurred()) SWIG_fail
;
40205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40212 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40213 PyObject
*resultobj
;
40214 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40216 int arg3
= (int) 0 ;
40217 PyObject
* obj0
= 0 ;
40218 PyObject
* obj1
= 0 ;
40219 PyObject
* obj2
= 0 ;
40220 char *kwnames
[] = {
40221 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40226 if (SWIG_arg_fail(1)) SWIG_fail
;
40228 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40229 if (SWIG_arg_fail(2)) SWIG_fail
;
40233 arg3
= (int)(SWIG_As_int(obj2
));
40234 if (SWIG_arg_fail(3)) SWIG_fail
;
40238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40239 (arg1
)->AddGrowableRow(arg2
,arg3
);
40241 wxPyEndAllowThreads(__tstate
);
40242 if (PyErr_Occurred()) SWIG_fail
;
40244 Py_INCREF(Py_None
); resultobj
= Py_None
;
40251 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40252 PyObject
*resultobj
;
40253 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40255 PyObject
* obj0
= 0 ;
40256 PyObject
* obj1
= 0 ;
40257 char *kwnames
[] = {
40258 (char *) "self",(char *) "idx", NULL
40261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40263 if (SWIG_arg_fail(1)) SWIG_fail
;
40265 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40266 if (SWIG_arg_fail(2)) SWIG_fail
;
40269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40270 (arg1
)->RemoveGrowableRow(arg2
);
40272 wxPyEndAllowThreads(__tstate
);
40273 if (PyErr_Occurred()) SWIG_fail
;
40275 Py_INCREF(Py_None
); resultobj
= Py_None
;
40282 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40283 PyObject
*resultobj
;
40284 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40286 int arg3
= (int) 0 ;
40287 PyObject
* obj0
= 0 ;
40288 PyObject
* obj1
= 0 ;
40289 PyObject
* obj2
= 0 ;
40290 char *kwnames
[] = {
40291 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40296 if (SWIG_arg_fail(1)) SWIG_fail
;
40298 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40299 if (SWIG_arg_fail(2)) SWIG_fail
;
40303 arg3
= (int)(SWIG_As_int(obj2
));
40304 if (SWIG_arg_fail(3)) SWIG_fail
;
40308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40309 (arg1
)->AddGrowableCol(arg2
,arg3
);
40311 wxPyEndAllowThreads(__tstate
);
40312 if (PyErr_Occurred()) SWIG_fail
;
40314 Py_INCREF(Py_None
); resultobj
= Py_None
;
40321 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40322 PyObject
*resultobj
;
40323 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40325 PyObject
* obj0
= 0 ;
40326 PyObject
* obj1
= 0 ;
40327 char *kwnames
[] = {
40328 (char *) "self",(char *) "idx", NULL
40331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40333 if (SWIG_arg_fail(1)) SWIG_fail
;
40335 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40336 if (SWIG_arg_fail(2)) SWIG_fail
;
40339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40340 (arg1
)->RemoveGrowableCol(arg2
);
40342 wxPyEndAllowThreads(__tstate
);
40343 if (PyErr_Occurred()) SWIG_fail
;
40345 Py_INCREF(Py_None
); resultobj
= Py_None
;
40352 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40353 PyObject
*resultobj
;
40354 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40356 PyObject
* obj0
= 0 ;
40357 PyObject
* obj1
= 0 ;
40358 char *kwnames
[] = {
40359 (char *) "self",(char *) "direction", NULL
40362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40364 if (SWIG_arg_fail(1)) SWIG_fail
;
40366 arg2
= (int)(SWIG_As_int(obj1
));
40367 if (SWIG_arg_fail(2)) SWIG_fail
;
40370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40371 (arg1
)->SetFlexibleDirection(arg2
);
40373 wxPyEndAllowThreads(__tstate
);
40374 if (PyErr_Occurred()) SWIG_fail
;
40376 Py_INCREF(Py_None
); resultobj
= Py_None
;
40383 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40384 PyObject
*resultobj
;
40385 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40387 PyObject
* obj0
= 0 ;
40388 char *kwnames
[] = {
40389 (char *) "self", NULL
40392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40394 if (SWIG_arg_fail(1)) SWIG_fail
;
40396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40397 result
= (int)(arg1
)->GetFlexibleDirection();
40399 wxPyEndAllowThreads(__tstate
);
40400 if (PyErr_Occurred()) SWIG_fail
;
40403 resultobj
= SWIG_From_int((int)(result
));
40411 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40412 PyObject
*resultobj
;
40413 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40414 wxFlexSizerGrowMode arg2
;
40415 PyObject
* obj0
= 0 ;
40416 PyObject
* obj1
= 0 ;
40417 char *kwnames
[] = {
40418 (char *) "self",(char *) "mode", NULL
40421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40423 if (SWIG_arg_fail(1)) SWIG_fail
;
40425 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40426 if (SWIG_arg_fail(2)) SWIG_fail
;
40429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40430 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40432 wxPyEndAllowThreads(__tstate
);
40433 if (PyErr_Occurred()) SWIG_fail
;
40435 Py_INCREF(Py_None
); resultobj
= Py_None
;
40442 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40443 PyObject
*resultobj
;
40444 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40445 wxFlexSizerGrowMode result
;
40446 PyObject
* obj0
= 0 ;
40447 char *kwnames
[] = {
40448 (char *) "self", NULL
40451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40453 if (SWIG_arg_fail(1)) SWIG_fail
;
40455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40456 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40458 wxPyEndAllowThreads(__tstate
);
40459 if (PyErr_Occurred()) SWIG_fail
;
40461 resultobj
= SWIG_From_int((result
));
40468 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40469 PyObject
*resultobj
;
40470 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40471 wxArrayInt
*result
;
40472 PyObject
* obj0
= 0 ;
40473 char *kwnames
[] = {
40474 (char *) "self", NULL
40477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40479 if (SWIG_arg_fail(1)) SWIG_fail
;
40481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40483 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40484 result
= (wxArrayInt
*) &_result_ref
;
40487 wxPyEndAllowThreads(__tstate
);
40488 if (PyErr_Occurred()) SWIG_fail
;
40491 resultobj
= PyList_New(0);
40493 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40494 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40495 PyList_Append(resultobj
, val
);
40505 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40506 PyObject
*resultobj
;
40507 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40508 wxArrayInt
*result
;
40509 PyObject
* obj0
= 0 ;
40510 char *kwnames
[] = {
40511 (char *) "self", NULL
40514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40516 if (SWIG_arg_fail(1)) SWIG_fail
;
40518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40520 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40521 result
= (wxArrayInt
*) &_result_ref
;
40524 wxPyEndAllowThreads(__tstate
);
40525 if (PyErr_Occurred()) SWIG_fail
;
40528 resultobj
= PyList_New(0);
40530 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40531 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40532 PyList_Append(resultobj
, val
);
40542 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40545 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40547 return Py_BuildValue((char *)"");
40549 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40550 PyObject
*resultobj
;
40551 wxStdDialogButtonSizer
*result
;
40552 char *kwnames
[] = {
40556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40559 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40561 wxPyEndAllowThreads(__tstate
);
40562 if (PyErr_Occurred()) SWIG_fail
;
40564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40571 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40572 PyObject
*resultobj
;
40573 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40574 wxButton
*arg2
= (wxButton
*) 0 ;
40575 PyObject
* obj0
= 0 ;
40576 PyObject
* obj1
= 0 ;
40577 char *kwnames
[] = {
40578 (char *) "self",(char *) "button", NULL
40581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40583 if (SWIG_arg_fail(1)) SWIG_fail
;
40584 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40585 if (SWIG_arg_fail(2)) SWIG_fail
;
40587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40588 (arg1
)->AddButton(arg2
);
40590 wxPyEndAllowThreads(__tstate
);
40591 if (PyErr_Occurred()) SWIG_fail
;
40593 Py_INCREF(Py_None
); resultobj
= Py_None
;
40600 static PyObject
*_wrap_StdDialogButtonSizer_Finalise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40601 PyObject
*resultobj
;
40602 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40603 PyObject
* obj0
= 0 ;
40604 char *kwnames
[] = {
40605 (char *) "self", NULL
40608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Finalise",kwnames
,&obj0
)) goto fail
;
40609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40610 if (SWIG_arg_fail(1)) SWIG_fail
;
40612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40613 (arg1
)->Finalise();
40615 wxPyEndAllowThreads(__tstate
);
40616 if (PyErr_Occurred()) SWIG_fail
;
40618 Py_INCREF(Py_None
); resultobj
= Py_None
;
40625 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40626 PyObject
*resultobj
;
40627 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40629 PyObject
* obj0
= 0 ;
40630 char *kwnames
[] = {
40631 (char *) "self", NULL
40634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
40635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40636 if (SWIG_arg_fail(1)) SWIG_fail
;
40638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40639 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
40641 wxPyEndAllowThreads(__tstate
);
40642 if (PyErr_Occurred()) SWIG_fail
;
40645 resultobj
= wxPyMake_wxObject(result
, 0);
40653 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40654 PyObject
*resultobj
;
40655 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40657 PyObject
* obj0
= 0 ;
40658 char *kwnames
[] = {
40659 (char *) "self", NULL
40662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
40663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40664 if (SWIG_arg_fail(1)) SWIG_fail
;
40666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40667 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
40669 wxPyEndAllowThreads(__tstate
);
40670 if (PyErr_Occurred()) SWIG_fail
;
40673 resultobj
= wxPyMake_wxObject(result
, 0);
40681 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40682 PyObject
*resultobj
;
40683 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40685 PyObject
* obj0
= 0 ;
40686 char *kwnames
[] = {
40687 (char *) "self", NULL
40690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
40691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40692 if (SWIG_arg_fail(1)) SWIG_fail
;
40694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40695 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
40697 wxPyEndAllowThreads(__tstate
);
40698 if (PyErr_Occurred()) SWIG_fail
;
40701 resultobj
= wxPyMake_wxObject(result
, 0);
40709 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40710 PyObject
*resultobj
;
40711 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40713 PyObject
* obj0
= 0 ;
40714 char *kwnames
[] = {
40715 (char *) "self", NULL
40718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
40719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40720 if (SWIG_arg_fail(1)) SWIG_fail
;
40722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40723 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
40725 wxPyEndAllowThreads(__tstate
);
40726 if (PyErr_Occurred()) SWIG_fail
;
40729 resultobj
= wxPyMake_wxObject(result
, 0);
40737 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40738 PyObject
*resultobj
;
40739 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40741 PyObject
* obj0
= 0 ;
40742 char *kwnames
[] = {
40743 (char *) "self", NULL
40746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
40747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40748 if (SWIG_arg_fail(1)) SWIG_fail
;
40750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40751 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
40753 wxPyEndAllowThreads(__tstate
);
40754 if (PyErr_Occurred()) SWIG_fail
;
40757 resultobj
= wxPyMake_wxObject(result
, 0);
40765 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
40767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40768 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
40770 return Py_BuildValue((char *)"");
40772 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40773 PyObject
*resultobj
;
40774 int arg1
= (int) 0 ;
40775 int arg2
= (int) 0 ;
40776 wxGBPosition
*result
;
40777 PyObject
* obj0
= 0 ;
40778 PyObject
* obj1
= 0 ;
40779 char *kwnames
[] = {
40780 (char *) "row",(char *) "col", NULL
40783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40786 arg1
= (int)(SWIG_As_int(obj0
));
40787 if (SWIG_arg_fail(1)) SWIG_fail
;
40792 arg2
= (int)(SWIG_As_int(obj1
));
40793 if (SWIG_arg_fail(2)) SWIG_fail
;
40797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40798 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
40800 wxPyEndAllowThreads(__tstate
);
40801 if (PyErr_Occurred()) SWIG_fail
;
40803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
40810 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40811 PyObject
*resultobj
;
40812 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40814 PyObject
* obj0
= 0 ;
40815 char *kwnames
[] = {
40816 (char *) "self", NULL
40819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
40820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40821 if (SWIG_arg_fail(1)) SWIG_fail
;
40823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40824 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
40826 wxPyEndAllowThreads(__tstate
);
40827 if (PyErr_Occurred()) SWIG_fail
;
40830 resultobj
= SWIG_From_int((int)(result
));
40838 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40839 PyObject
*resultobj
;
40840 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40842 PyObject
* obj0
= 0 ;
40843 char *kwnames
[] = {
40844 (char *) "self", NULL
40847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
40848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40849 if (SWIG_arg_fail(1)) SWIG_fail
;
40851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40852 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
40854 wxPyEndAllowThreads(__tstate
);
40855 if (PyErr_Occurred()) SWIG_fail
;
40858 resultobj
= SWIG_From_int((int)(result
));
40866 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40867 PyObject
*resultobj
;
40868 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40870 PyObject
* obj0
= 0 ;
40871 PyObject
* obj1
= 0 ;
40872 char *kwnames
[] = {
40873 (char *) "self",(char *) "row", NULL
40876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40878 if (SWIG_arg_fail(1)) SWIG_fail
;
40880 arg2
= (int)(SWIG_As_int(obj1
));
40881 if (SWIG_arg_fail(2)) SWIG_fail
;
40884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40885 (arg1
)->SetRow(arg2
);
40887 wxPyEndAllowThreads(__tstate
);
40888 if (PyErr_Occurred()) SWIG_fail
;
40890 Py_INCREF(Py_None
); resultobj
= Py_None
;
40897 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40898 PyObject
*resultobj
;
40899 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40901 PyObject
* obj0
= 0 ;
40902 PyObject
* obj1
= 0 ;
40903 char *kwnames
[] = {
40904 (char *) "self",(char *) "col", NULL
40907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40909 if (SWIG_arg_fail(1)) SWIG_fail
;
40911 arg2
= (int)(SWIG_As_int(obj1
));
40912 if (SWIG_arg_fail(2)) SWIG_fail
;
40915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40916 (arg1
)->SetCol(arg2
);
40918 wxPyEndAllowThreads(__tstate
);
40919 if (PyErr_Occurred()) SWIG_fail
;
40921 Py_INCREF(Py_None
); resultobj
= Py_None
;
40928 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40929 PyObject
*resultobj
;
40930 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40931 wxGBPosition
*arg2
= 0 ;
40933 wxGBPosition temp2
;
40934 PyObject
* obj0
= 0 ;
40935 PyObject
* obj1
= 0 ;
40936 char *kwnames
[] = {
40937 (char *) "self",(char *) "other", NULL
40940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
40941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40942 if (SWIG_arg_fail(1)) SWIG_fail
;
40945 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40949 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
40951 wxPyEndAllowThreads(__tstate
);
40952 if (PyErr_Occurred()) SWIG_fail
;
40955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40963 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40964 PyObject
*resultobj
;
40965 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40966 wxGBPosition
*arg2
= 0 ;
40968 wxGBPosition temp2
;
40969 PyObject
* obj0
= 0 ;
40970 PyObject
* obj1
= 0 ;
40971 char *kwnames
[] = {
40972 (char *) "self",(char *) "other", NULL
40975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
40976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40977 if (SWIG_arg_fail(1)) SWIG_fail
;
40980 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40984 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
40986 wxPyEndAllowThreads(__tstate
);
40987 if (PyErr_Occurred()) SWIG_fail
;
40990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40998 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40999 PyObject
*resultobj
;
41000 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41001 int arg2
= (int) 0 ;
41002 int arg3
= (int) 0 ;
41003 PyObject
* obj0
= 0 ;
41004 PyObject
* obj1
= 0 ;
41005 PyObject
* obj2
= 0 ;
41006 char *kwnames
[] = {
41007 (char *) "self",(char *) "row",(char *) "col", NULL
41010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41012 if (SWIG_arg_fail(1)) SWIG_fail
;
41015 arg2
= (int)(SWIG_As_int(obj1
));
41016 if (SWIG_arg_fail(2)) SWIG_fail
;
41021 arg3
= (int)(SWIG_As_int(obj2
));
41022 if (SWIG_arg_fail(3)) SWIG_fail
;
41026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41027 wxGBPosition_Set(arg1
,arg2
,arg3
);
41029 wxPyEndAllowThreads(__tstate
);
41030 if (PyErr_Occurred()) SWIG_fail
;
41032 Py_INCREF(Py_None
); resultobj
= Py_None
;
41039 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41040 PyObject
*resultobj
;
41041 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41043 PyObject
* obj0
= 0 ;
41044 char *kwnames
[] = {
41045 (char *) "self", NULL
41048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41050 if (SWIG_arg_fail(1)) SWIG_fail
;
41052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41053 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41055 wxPyEndAllowThreads(__tstate
);
41056 if (PyErr_Occurred()) SWIG_fail
;
41058 resultobj
= result
;
41065 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41068 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41070 return Py_BuildValue((char *)"");
41072 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41073 PyObject
*resultobj
;
41074 int arg1
= (int) 1 ;
41075 int arg2
= (int) 1 ;
41077 PyObject
* obj0
= 0 ;
41078 PyObject
* obj1
= 0 ;
41079 char *kwnames
[] = {
41080 (char *) "rowspan",(char *) "colspan", NULL
41083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41086 arg1
= (int)(SWIG_As_int(obj0
));
41087 if (SWIG_arg_fail(1)) SWIG_fail
;
41092 arg2
= (int)(SWIG_As_int(obj1
));
41093 if (SWIG_arg_fail(2)) SWIG_fail
;
41097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41098 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41100 wxPyEndAllowThreads(__tstate
);
41101 if (PyErr_Occurred()) SWIG_fail
;
41103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41110 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41111 PyObject
*resultobj
;
41112 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41114 PyObject
* obj0
= 0 ;
41115 char *kwnames
[] = {
41116 (char *) "self", NULL
41119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41121 if (SWIG_arg_fail(1)) SWIG_fail
;
41123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41124 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41126 wxPyEndAllowThreads(__tstate
);
41127 if (PyErr_Occurred()) SWIG_fail
;
41130 resultobj
= SWIG_From_int((int)(result
));
41138 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41139 PyObject
*resultobj
;
41140 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41142 PyObject
* obj0
= 0 ;
41143 char *kwnames
[] = {
41144 (char *) "self", NULL
41147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41149 if (SWIG_arg_fail(1)) SWIG_fail
;
41151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41152 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41154 wxPyEndAllowThreads(__tstate
);
41155 if (PyErr_Occurred()) SWIG_fail
;
41158 resultobj
= SWIG_From_int((int)(result
));
41166 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41167 PyObject
*resultobj
;
41168 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41170 PyObject
* obj0
= 0 ;
41171 PyObject
* obj1
= 0 ;
41172 char *kwnames
[] = {
41173 (char *) "self",(char *) "rowspan", NULL
41176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41178 if (SWIG_arg_fail(1)) SWIG_fail
;
41180 arg2
= (int)(SWIG_As_int(obj1
));
41181 if (SWIG_arg_fail(2)) SWIG_fail
;
41184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41185 (arg1
)->SetRowspan(arg2
);
41187 wxPyEndAllowThreads(__tstate
);
41188 if (PyErr_Occurred()) SWIG_fail
;
41190 Py_INCREF(Py_None
); resultobj
= Py_None
;
41197 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41198 PyObject
*resultobj
;
41199 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41201 PyObject
* obj0
= 0 ;
41202 PyObject
* obj1
= 0 ;
41203 char *kwnames
[] = {
41204 (char *) "self",(char *) "colspan", NULL
41207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41209 if (SWIG_arg_fail(1)) SWIG_fail
;
41211 arg2
= (int)(SWIG_As_int(obj1
));
41212 if (SWIG_arg_fail(2)) SWIG_fail
;
41215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41216 (arg1
)->SetColspan(arg2
);
41218 wxPyEndAllowThreads(__tstate
);
41219 if (PyErr_Occurred()) SWIG_fail
;
41221 Py_INCREF(Py_None
); resultobj
= Py_None
;
41228 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41229 PyObject
*resultobj
;
41230 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41231 wxGBSpan
*arg2
= 0 ;
41234 PyObject
* obj0
= 0 ;
41235 PyObject
* obj1
= 0 ;
41236 char *kwnames
[] = {
41237 (char *) "self",(char *) "other", NULL
41240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41242 if (SWIG_arg_fail(1)) SWIG_fail
;
41245 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41249 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41251 wxPyEndAllowThreads(__tstate
);
41252 if (PyErr_Occurred()) SWIG_fail
;
41255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41263 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41264 PyObject
*resultobj
;
41265 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41266 wxGBSpan
*arg2
= 0 ;
41269 PyObject
* obj0
= 0 ;
41270 PyObject
* obj1
= 0 ;
41271 char *kwnames
[] = {
41272 (char *) "self",(char *) "other", NULL
41275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41277 if (SWIG_arg_fail(1)) SWIG_fail
;
41280 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41284 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41286 wxPyEndAllowThreads(__tstate
);
41287 if (PyErr_Occurred()) SWIG_fail
;
41290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41298 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41299 PyObject
*resultobj
;
41300 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41301 int arg2
= (int) 1 ;
41302 int arg3
= (int) 1 ;
41303 PyObject
* obj0
= 0 ;
41304 PyObject
* obj1
= 0 ;
41305 PyObject
* obj2
= 0 ;
41306 char *kwnames
[] = {
41307 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41312 if (SWIG_arg_fail(1)) SWIG_fail
;
41315 arg2
= (int)(SWIG_As_int(obj1
));
41316 if (SWIG_arg_fail(2)) SWIG_fail
;
41321 arg3
= (int)(SWIG_As_int(obj2
));
41322 if (SWIG_arg_fail(3)) SWIG_fail
;
41326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41327 wxGBSpan_Set(arg1
,arg2
,arg3
);
41329 wxPyEndAllowThreads(__tstate
);
41330 if (PyErr_Occurred()) SWIG_fail
;
41332 Py_INCREF(Py_None
); resultobj
= Py_None
;
41339 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41340 PyObject
*resultobj
;
41341 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41343 PyObject
* obj0
= 0 ;
41344 char *kwnames
[] = {
41345 (char *) "self", NULL
41348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41350 if (SWIG_arg_fail(1)) SWIG_fail
;
41352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41353 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41355 wxPyEndAllowThreads(__tstate
);
41356 if (PyErr_Occurred()) SWIG_fail
;
41358 resultobj
= result
;
41365 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41368 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41370 return Py_BuildValue((char *)"");
41372 static int _wrap_DefaultSpan_set(PyObject
*) {
41373 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41378 static PyObject
*_wrap_DefaultSpan_get(void) {
41381 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41386 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41387 PyObject
*resultobj
;
41388 wxGBSizerItem
*result
;
41389 char *kwnames
[] = {
41393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41396 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41398 wxPyEndAllowThreads(__tstate
);
41399 if (PyErr_Occurred()) SWIG_fail
;
41401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41408 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41409 PyObject
*resultobj
;
41410 wxWindow
*arg1
= (wxWindow
*) 0 ;
41411 wxGBPosition
*arg2
= 0 ;
41412 wxGBSpan
*arg3
= 0 ;
41415 PyObject
*arg6
= (PyObject
*) NULL
;
41416 wxGBSizerItem
*result
;
41417 wxGBPosition temp2
;
41419 PyObject
* obj0
= 0 ;
41420 PyObject
* obj1
= 0 ;
41421 PyObject
* obj2
= 0 ;
41422 PyObject
* obj3
= 0 ;
41423 PyObject
* obj4
= 0 ;
41424 PyObject
* obj5
= 0 ;
41425 char *kwnames
[] = {
41426 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41431 if (SWIG_arg_fail(1)) SWIG_fail
;
41434 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41438 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41441 arg4
= (int)(SWIG_As_int(obj3
));
41442 if (SWIG_arg_fail(4)) SWIG_fail
;
41445 arg5
= (int)(SWIG_As_int(obj4
));
41446 if (SWIG_arg_fail(5)) SWIG_fail
;
41452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41453 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41455 wxPyEndAllowThreads(__tstate
);
41456 if (PyErr_Occurred()) SWIG_fail
;
41458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41465 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41466 PyObject
*resultobj
;
41467 wxSizer
*arg1
= (wxSizer
*) 0 ;
41468 wxGBPosition
*arg2
= 0 ;
41469 wxGBSpan
*arg3
= 0 ;
41472 PyObject
*arg6
= (PyObject
*) NULL
;
41473 wxGBSizerItem
*result
;
41474 wxGBPosition temp2
;
41476 PyObject
* obj0
= 0 ;
41477 PyObject
* obj1
= 0 ;
41478 PyObject
* obj2
= 0 ;
41479 PyObject
* obj3
= 0 ;
41480 PyObject
* obj4
= 0 ;
41481 PyObject
* obj5
= 0 ;
41482 char *kwnames
[] = {
41483 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41488 if (SWIG_arg_fail(1)) SWIG_fail
;
41491 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41495 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41498 arg4
= (int)(SWIG_As_int(obj3
));
41499 if (SWIG_arg_fail(4)) SWIG_fail
;
41502 arg5
= (int)(SWIG_As_int(obj4
));
41503 if (SWIG_arg_fail(5)) SWIG_fail
;
41509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41510 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41512 wxPyEndAllowThreads(__tstate
);
41513 if (PyErr_Occurred()) SWIG_fail
;
41515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41522 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41523 PyObject
*resultobj
;
41526 wxGBPosition
*arg3
= 0 ;
41527 wxGBSpan
*arg4
= 0 ;
41530 PyObject
*arg7
= (PyObject
*) NULL
;
41531 wxGBSizerItem
*result
;
41532 wxGBPosition temp3
;
41534 PyObject
* obj0
= 0 ;
41535 PyObject
* obj1
= 0 ;
41536 PyObject
* obj2
= 0 ;
41537 PyObject
* obj3
= 0 ;
41538 PyObject
* obj4
= 0 ;
41539 PyObject
* obj5
= 0 ;
41540 PyObject
* obj6
= 0 ;
41541 char *kwnames
[] = {
41542 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41547 arg1
= (int)(SWIG_As_int(obj0
));
41548 if (SWIG_arg_fail(1)) SWIG_fail
;
41551 arg2
= (int)(SWIG_As_int(obj1
));
41552 if (SWIG_arg_fail(2)) SWIG_fail
;
41556 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41560 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41563 arg5
= (int)(SWIG_As_int(obj4
));
41564 if (SWIG_arg_fail(5)) SWIG_fail
;
41567 arg6
= (int)(SWIG_As_int(obj5
));
41568 if (SWIG_arg_fail(6)) SWIG_fail
;
41574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41575 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41577 wxPyEndAllowThreads(__tstate
);
41578 if (PyErr_Occurred()) SWIG_fail
;
41580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41587 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41588 PyObject
*resultobj
;
41589 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41590 wxGBPosition result
;
41591 PyObject
* obj0
= 0 ;
41592 char *kwnames
[] = {
41593 (char *) "self", NULL
41596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
41597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41598 if (SWIG_arg_fail(1)) SWIG_fail
;
41600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41601 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
41603 wxPyEndAllowThreads(__tstate
);
41604 if (PyErr_Occurred()) SWIG_fail
;
41607 wxGBPosition
* resultptr
;
41608 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41617 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41618 PyObject
*resultobj
;
41619 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41621 PyObject
* obj0
= 0 ;
41622 char *kwnames
[] = {
41623 (char *) "self", NULL
41626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
41627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41628 if (SWIG_arg_fail(1)) SWIG_fail
;
41630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41631 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
41633 wxPyEndAllowThreads(__tstate
);
41634 if (PyErr_Occurred()) SWIG_fail
;
41637 wxGBSpan
* resultptr
;
41638 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
41639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
41647 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41648 PyObject
*resultobj
;
41649 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41650 wxGBPosition
*arg2
= 0 ;
41652 wxGBPosition temp2
;
41653 PyObject
* obj0
= 0 ;
41654 PyObject
* obj1
= 0 ;
41655 char *kwnames
[] = {
41656 (char *) "self",(char *) "pos", NULL
41659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
41660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41661 if (SWIG_arg_fail(1)) SWIG_fail
;
41664 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41668 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
41670 wxPyEndAllowThreads(__tstate
);
41671 if (PyErr_Occurred()) SWIG_fail
;
41674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41682 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41683 PyObject
*resultobj
;
41684 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41685 wxGBSpan
*arg2
= 0 ;
41688 PyObject
* obj0
= 0 ;
41689 PyObject
* obj1
= 0 ;
41690 char *kwnames
[] = {
41691 (char *) "self",(char *) "span", NULL
41694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41696 if (SWIG_arg_fail(1)) SWIG_fail
;
41699 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41703 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
41705 wxPyEndAllowThreads(__tstate
);
41706 if (PyErr_Occurred()) SWIG_fail
;
41709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41717 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41718 PyObject
*resultobj
;
41719 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41720 wxGBSizerItem
*arg2
= 0 ;
41722 PyObject
* obj0
= 0 ;
41723 PyObject
* obj1
= 0 ;
41724 char *kwnames
[] = {
41725 (char *) "self",(char *) "other", NULL
41728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
41729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41730 if (SWIG_arg_fail(1)) SWIG_fail
;
41732 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41733 if (SWIG_arg_fail(2)) SWIG_fail
;
41734 if (arg2
== NULL
) {
41735 SWIG_null_ref("wxGBSizerItem");
41737 if (SWIG_arg_fail(2)) SWIG_fail
;
41740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41741 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
41743 wxPyEndAllowThreads(__tstate
);
41744 if (PyErr_Occurred()) SWIG_fail
;
41747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41755 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41756 PyObject
*resultobj
;
41757 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41758 wxGBPosition
*arg2
= 0 ;
41759 wxGBSpan
*arg3
= 0 ;
41761 wxGBPosition temp2
;
41763 PyObject
* obj0
= 0 ;
41764 PyObject
* obj1
= 0 ;
41765 PyObject
* obj2
= 0 ;
41766 char *kwnames
[] = {
41767 (char *) "self",(char *) "pos",(char *) "span", NULL
41770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41772 if (SWIG_arg_fail(1)) SWIG_fail
;
41775 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41779 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41783 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
41785 wxPyEndAllowThreads(__tstate
);
41786 if (PyErr_Occurred()) SWIG_fail
;
41789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41797 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41798 PyObject
*resultobj
;
41799 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41800 wxGBPosition result
;
41801 PyObject
* obj0
= 0 ;
41802 char *kwnames
[] = {
41803 (char *) "self", NULL
41806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
41807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41808 if (SWIG_arg_fail(1)) SWIG_fail
;
41810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41811 result
= wxGBSizerItem_GetEndPos(arg1
);
41813 wxPyEndAllowThreads(__tstate
);
41814 if (PyErr_Occurred()) SWIG_fail
;
41817 wxGBPosition
* resultptr
;
41818 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41827 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41828 PyObject
*resultobj
;
41829 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41830 wxGridBagSizer
*result
;
41831 PyObject
* obj0
= 0 ;
41832 char *kwnames
[] = {
41833 (char *) "self", NULL
41836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
41837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41838 if (SWIG_arg_fail(1)) SWIG_fail
;
41840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41841 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
41843 wxPyEndAllowThreads(__tstate
);
41844 if (PyErr_Occurred()) SWIG_fail
;
41846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
41853 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41854 PyObject
*resultobj
;
41855 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41856 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
41857 PyObject
* obj0
= 0 ;
41858 PyObject
* obj1
= 0 ;
41859 char *kwnames
[] = {
41860 (char *) "self",(char *) "sizer", NULL
41863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41865 if (SWIG_arg_fail(1)) SWIG_fail
;
41866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41867 if (SWIG_arg_fail(2)) SWIG_fail
;
41869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41870 (arg1
)->SetGBSizer(arg2
);
41872 wxPyEndAllowThreads(__tstate
);
41873 if (PyErr_Occurred()) SWIG_fail
;
41875 Py_INCREF(Py_None
); resultobj
= Py_None
;
41882 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
41884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41885 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
41887 return Py_BuildValue((char *)"");
41889 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41890 PyObject
*resultobj
;
41891 int arg1
= (int) 0 ;
41892 int arg2
= (int) 0 ;
41893 wxGridBagSizer
*result
;
41894 PyObject
* obj0
= 0 ;
41895 PyObject
* obj1
= 0 ;
41896 char *kwnames
[] = {
41897 (char *) "vgap",(char *) "hgap", NULL
41900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41903 arg1
= (int)(SWIG_As_int(obj0
));
41904 if (SWIG_arg_fail(1)) SWIG_fail
;
41909 arg2
= (int)(SWIG_As_int(obj1
));
41910 if (SWIG_arg_fail(2)) SWIG_fail
;
41914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41915 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
41917 wxPyEndAllowThreads(__tstate
);
41918 if (PyErr_Occurred()) SWIG_fail
;
41920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
41927 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41928 PyObject
*resultobj
;
41929 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41930 PyObject
*arg2
= (PyObject
*) 0 ;
41931 wxGBPosition
*arg3
= 0 ;
41932 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
41933 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
41934 int arg5
= (int) 0 ;
41935 int arg6
= (int) 0 ;
41936 PyObject
*arg7
= (PyObject
*) NULL
;
41937 wxGBSizerItem
*result
;
41938 wxGBPosition temp3
;
41940 PyObject
* obj0
= 0 ;
41941 PyObject
* obj1
= 0 ;
41942 PyObject
* obj2
= 0 ;
41943 PyObject
* obj3
= 0 ;
41944 PyObject
* obj4
= 0 ;
41945 PyObject
* obj5
= 0 ;
41946 PyObject
* obj6
= 0 ;
41947 char *kwnames
[] = {
41948 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41953 if (SWIG_arg_fail(1)) SWIG_fail
;
41957 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41962 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41967 arg5
= (int)(SWIG_As_int(obj4
));
41968 if (SWIG_arg_fail(5)) SWIG_fail
;
41973 arg6
= (int)(SWIG_As_int(obj5
));
41974 if (SWIG_arg_fail(6)) SWIG_fail
;
41981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41982 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41984 wxPyEndAllowThreads(__tstate
);
41985 if (PyErr_Occurred()) SWIG_fail
;
41987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41994 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41995 PyObject
*resultobj
;
41996 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41997 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
41998 wxGBSizerItem
*result
;
41999 PyObject
* obj0
= 0 ;
42000 PyObject
* obj1
= 0 ;
42001 char *kwnames
[] = {
42002 (char *) "self",(char *) "item", NULL
42005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42007 if (SWIG_arg_fail(1)) SWIG_fail
;
42008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42009 if (SWIG_arg_fail(2)) SWIG_fail
;
42011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42012 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42014 wxPyEndAllowThreads(__tstate
);
42015 if (PyErr_Occurred()) SWIG_fail
;
42017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42024 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42025 PyObject
*resultobj
;
42026 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42030 PyObject
* obj0
= 0 ;
42031 PyObject
* obj1
= 0 ;
42032 PyObject
* obj2
= 0 ;
42033 char *kwnames
[] = {
42034 (char *) "self",(char *) "row",(char *) "col", NULL
42037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42039 if (SWIG_arg_fail(1)) SWIG_fail
;
42041 arg2
= (int)(SWIG_As_int(obj1
));
42042 if (SWIG_arg_fail(2)) SWIG_fail
;
42045 arg3
= (int)(SWIG_As_int(obj2
));
42046 if (SWIG_arg_fail(3)) SWIG_fail
;
42049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42050 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42052 wxPyEndAllowThreads(__tstate
);
42053 if (PyErr_Occurred()) SWIG_fail
;
42056 wxSize
* resultptr
;
42057 resultptr
= new wxSize((wxSize
&)(result
));
42058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42066 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42067 PyObject
*resultobj
;
42068 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42070 PyObject
* obj0
= 0 ;
42071 char *kwnames
[] = {
42072 (char *) "self", NULL
42075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42077 if (SWIG_arg_fail(1)) SWIG_fail
;
42079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42080 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42082 wxPyEndAllowThreads(__tstate
);
42083 if (PyErr_Occurred()) SWIG_fail
;
42086 wxSize
* resultptr
;
42087 resultptr
= new wxSize((wxSize
&)(result
));
42088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42096 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42097 PyObject
*resultobj
;
42098 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42101 PyObject
* obj0
= 0 ;
42102 PyObject
* obj1
= 0 ;
42103 char *kwnames
[] = {
42104 (char *) "self",(char *) "sz", NULL
42107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42109 if (SWIG_arg_fail(1)) SWIG_fail
;
42112 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42116 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42118 wxPyEndAllowThreads(__tstate
);
42119 if (PyErr_Occurred()) SWIG_fail
;
42121 Py_INCREF(Py_None
); resultobj
= Py_None
;
42128 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42129 PyObject
*resultobj
;
42130 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42131 wxWindow
*arg2
= (wxWindow
*) 0 ;
42132 wxGBPosition result
;
42133 PyObject
* obj0
= 0 ;
42134 PyObject
* obj1
= 0 ;
42136 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42137 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42138 if (SWIG_arg_fail(1)) SWIG_fail
;
42139 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42140 if (SWIG_arg_fail(2)) SWIG_fail
;
42142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42143 result
= (arg1
)->GetItemPosition(arg2
);
42145 wxPyEndAllowThreads(__tstate
);
42146 if (PyErr_Occurred()) SWIG_fail
;
42149 wxGBPosition
* resultptr
;
42150 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42159 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42160 PyObject
*resultobj
;
42161 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42162 wxSizer
*arg2
= (wxSizer
*) 0 ;
42163 wxGBPosition result
;
42164 PyObject
* obj0
= 0 ;
42165 PyObject
* obj1
= 0 ;
42167 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42169 if (SWIG_arg_fail(1)) SWIG_fail
;
42170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42171 if (SWIG_arg_fail(2)) SWIG_fail
;
42173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42174 result
= (arg1
)->GetItemPosition(arg2
);
42176 wxPyEndAllowThreads(__tstate
);
42177 if (PyErr_Occurred()) SWIG_fail
;
42180 wxGBPosition
* resultptr
;
42181 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42190 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42191 PyObject
*resultobj
;
42192 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42194 wxGBPosition result
;
42195 PyObject
* obj0
= 0 ;
42196 PyObject
* obj1
= 0 ;
42198 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42200 if (SWIG_arg_fail(1)) SWIG_fail
;
42202 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42203 if (SWIG_arg_fail(2)) SWIG_fail
;
42206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42207 result
= (arg1
)->GetItemPosition(arg2
);
42209 wxPyEndAllowThreads(__tstate
);
42210 if (PyErr_Occurred()) SWIG_fail
;
42213 wxGBPosition
* resultptr
;
42214 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42223 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42228 argc
= PyObject_Length(args
);
42229 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42230 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42236 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42246 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42254 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42272 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42280 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42288 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42296 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42298 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42303 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42308 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42309 PyObject
*resultobj
;
42310 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42311 wxWindow
*arg2
= (wxWindow
*) 0 ;
42312 wxGBPosition
*arg3
= 0 ;
42314 wxGBPosition temp3
;
42315 PyObject
* obj0
= 0 ;
42316 PyObject
* obj1
= 0 ;
42317 PyObject
* obj2
= 0 ;
42319 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42321 if (SWIG_arg_fail(1)) SWIG_fail
;
42322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42323 if (SWIG_arg_fail(2)) SWIG_fail
;
42326 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42330 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42332 wxPyEndAllowThreads(__tstate
);
42333 if (PyErr_Occurred()) SWIG_fail
;
42336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42344 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42345 PyObject
*resultobj
;
42346 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42347 wxSizer
*arg2
= (wxSizer
*) 0 ;
42348 wxGBPosition
*arg3
= 0 ;
42350 wxGBPosition temp3
;
42351 PyObject
* obj0
= 0 ;
42352 PyObject
* obj1
= 0 ;
42353 PyObject
* obj2
= 0 ;
42355 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42357 if (SWIG_arg_fail(1)) SWIG_fail
;
42358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42359 if (SWIG_arg_fail(2)) SWIG_fail
;
42362 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42366 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42368 wxPyEndAllowThreads(__tstate
);
42369 if (PyErr_Occurred()) SWIG_fail
;
42372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42380 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42381 PyObject
*resultobj
;
42382 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42384 wxGBPosition
*arg3
= 0 ;
42386 wxGBPosition temp3
;
42387 PyObject
* obj0
= 0 ;
42388 PyObject
* obj1
= 0 ;
42389 PyObject
* obj2
= 0 ;
42391 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42393 if (SWIG_arg_fail(1)) SWIG_fail
;
42395 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42396 if (SWIG_arg_fail(2)) SWIG_fail
;
42400 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42404 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42406 wxPyEndAllowThreads(__tstate
);
42407 if (PyErr_Occurred()) SWIG_fail
;
42410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42418 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42423 argc
= PyObject_Length(args
);
42424 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42425 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42431 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42441 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42450 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42453 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42462 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42472 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42481 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42484 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42493 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42501 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42504 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42507 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42513 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42518 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42519 PyObject
*resultobj
;
42520 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42521 wxWindow
*arg2
= (wxWindow
*) 0 ;
42523 PyObject
* obj0
= 0 ;
42524 PyObject
* obj1
= 0 ;
42526 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42528 if (SWIG_arg_fail(1)) SWIG_fail
;
42529 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42530 if (SWIG_arg_fail(2)) SWIG_fail
;
42532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42533 result
= (arg1
)->GetItemSpan(arg2
);
42535 wxPyEndAllowThreads(__tstate
);
42536 if (PyErr_Occurred()) SWIG_fail
;
42539 wxGBSpan
* resultptr
;
42540 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42549 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42550 PyObject
*resultobj
;
42551 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42552 wxSizer
*arg2
= (wxSizer
*) 0 ;
42554 PyObject
* obj0
= 0 ;
42555 PyObject
* obj1
= 0 ;
42557 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42559 if (SWIG_arg_fail(1)) SWIG_fail
;
42560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42561 if (SWIG_arg_fail(2)) SWIG_fail
;
42563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42564 result
= (arg1
)->GetItemSpan(arg2
);
42566 wxPyEndAllowThreads(__tstate
);
42567 if (PyErr_Occurred()) SWIG_fail
;
42570 wxGBSpan
* resultptr
;
42571 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42580 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42581 PyObject
*resultobj
;
42582 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42585 PyObject
* obj0
= 0 ;
42586 PyObject
* obj1
= 0 ;
42588 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42590 if (SWIG_arg_fail(1)) SWIG_fail
;
42592 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42593 if (SWIG_arg_fail(2)) SWIG_fail
;
42596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42597 result
= (arg1
)->GetItemSpan(arg2
);
42599 wxPyEndAllowThreads(__tstate
);
42600 if (PyErr_Occurred()) SWIG_fail
;
42603 wxGBSpan
* resultptr
;
42604 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42613 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
42618 argc
= PyObject_Length(args
);
42619 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42620 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42626 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42636 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42644 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
42652 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42662 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42670 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
42678 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42686 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42688 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
42693 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
42698 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42699 PyObject
*resultobj
;
42700 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42701 wxWindow
*arg2
= (wxWindow
*) 0 ;
42702 wxGBSpan
*arg3
= 0 ;
42705 PyObject
* obj0
= 0 ;
42706 PyObject
* obj1
= 0 ;
42707 PyObject
* obj2
= 0 ;
42709 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42711 if (SWIG_arg_fail(1)) SWIG_fail
;
42712 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42713 if (SWIG_arg_fail(2)) SWIG_fail
;
42716 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42720 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42722 wxPyEndAllowThreads(__tstate
);
42723 if (PyErr_Occurred()) SWIG_fail
;
42726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42734 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42735 PyObject
*resultobj
;
42736 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42737 wxSizer
*arg2
= (wxSizer
*) 0 ;
42738 wxGBSpan
*arg3
= 0 ;
42741 PyObject
* obj0
= 0 ;
42742 PyObject
* obj1
= 0 ;
42743 PyObject
* obj2
= 0 ;
42745 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42747 if (SWIG_arg_fail(1)) SWIG_fail
;
42748 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42749 if (SWIG_arg_fail(2)) SWIG_fail
;
42752 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42756 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42758 wxPyEndAllowThreads(__tstate
);
42759 if (PyErr_Occurred()) SWIG_fail
;
42762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42770 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42771 PyObject
*resultobj
;
42772 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42774 wxGBSpan
*arg3
= 0 ;
42777 PyObject
* obj0
= 0 ;
42778 PyObject
* obj1
= 0 ;
42779 PyObject
* obj2
= 0 ;
42781 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42783 if (SWIG_arg_fail(1)) SWIG_fail
;
42785 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42786 if (SWIG_arg_fail(2)) SWIG_fail
;
42790 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42794 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42796 wxPyEndAllowThreads(__tstate
);
42797 if (PyErr_Occurred()) SWIG_fail
;
42800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42808 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
42813 argc
= PyObject_Length(args
);
42814 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42815 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42821 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42831 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42840 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42843 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
42852 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42862 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42871 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42874 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
42883 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42891 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42894 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42897 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
42903 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
42908 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
42909 PyObject
*resultobj
;
42910 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42911 wxWindow
*arg2
= (wxWindow
*) 0 ;
42912 wxGBSizerItem
*result
;
42913 PyObject
* obj0
= 0 ;
42914 PyObject
* obj1
= 0 ;
42916 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42918 if (SWIG_arg_fail(1)) SWIG_fail
;
42919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42920 if (SWIG_arg_fail(2)) SWIG_fail
;
42922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42923 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42925 wxPyEndAllowThreads(__tstate
);
42926 if (PyErr_Occurred()) SWIG_fail
;
42928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42935 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
42936 PyObject
*resultobj
;
42937 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42938 wxSizer
*arg2
= (wxSizer
*) 0 ;
42939 wxGBSizerItem
*result
;
42940 PyObject
* obj0
= 0 ;
42941 PyObject
* obj1
= 0 ;
42943 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42945 if (SWIG_arg_fail(1)) SWIG_fail
;
42946 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42947 if (SWIG_arg_fail(2)) SWIG_fail
;
42949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42950 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42952 wxPyEndAllowThreads(__tstate
);
42953 if (PyErr_Occurred()) SWIG_fail
;
42955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42962 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
42967 argc
= PyObject_Length(args
);
42968 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42969 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42975 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42985 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42993 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43001 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43011 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43019 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43024 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43029 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43030 PyObject
*resultobj
;
43031 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43032 wxGBPosition
*arg2
= 0 ;
43033 wxGBSizerItem
*result
;
43034 wxGBPosition temp2
;
43035 PyObject
* obj0
= 0 ;
43036 PyObject
* obj1
= 0 ;
43037 char *kwnames
[] = {
43038 (char *) "self",(char *) "pos", NULL
43041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43043 if (SWIG_arg_fail(1)) SWIG_fail
;
43046 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43050 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43052 wxPyEndAllowThreads(__tstate
);
43053 if (PyErr_Occurred()) SWIG_fail
;
43055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43062 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43063 PyObject
*resultobj
;
43064 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43065 wxPoint
*arg2
= 0 ;
43066 wxGBSizerItem
*result
;
43068 PyObject
* obj0
= 0 ;
43069 PyObject
* obj1
= 0 ;
43070 char *kwnames
[] = {
43071 (char *) "self",(char *) "pt", NULL
43074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43076 if (SWIG_arg_fail(1)) SWIG_fail
;
43079 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43083 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43085 wxPyEndAllowThreads(__tstate
);
43086 if (PyErr_Occurred()) SWIG_fail
;
43088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43095 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43096 PyObject
*resultobj
;
43097 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43098 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43099 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43101 PyObject
* obj0
= 0 ;
43102 PyObject
* obj1
= 0 ;
43103 PyObject
* obj2
= 0 ;
43104 char *kwnames
[] = {
43105 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43110 if (SWIG_arg_fail(1)) SWIG_fail
;
43111 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43112 if (SWIG_arg_fail(2)) SWIG_fail
;
43114 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43115 if (SWIG_arg_fail(3)) SWIG_fail
;
43118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43119 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43121 wxPyEndAllowThreads(__tstate
);
43122 if (PyErr_Occurred()) SWIG_fail
;
43125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43133 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43134 PyObject
*resultobj
;
43135 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43136 wxGBPosition
*arg2
= 0 ;
43137 wxGBSpan
*arg3
= 0 ;
43138 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43140 wxGBPosition temp2
;
43142 PyObject
* obj0
= 0 ;
43143 PyObject
* obj1
= 0 ;
43144 PyObject
* obj2
= 0 ;
43145 PyObject
* obj3
= 0 ;
43146 char *kwnames
[] = {
43147 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43152 if (SWIG_arg_fail(1)) SWIG_fail
;
43155 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43159 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43162 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43163 if (SWIG_arg_fail(4)) SWIG_fail
;
43166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43167 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43169 wxPyEndAllowThreads(__tstate
);
43170 if (PyErr_Occurred()) SWIG_fail
;
43173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43181 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43184 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43186 return Py_BuildValue((char *)"");
43188 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43189 PyObject
*resultobj
;
43190 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43191 wxRelationship arg2
;
43192 wxWindow
*arg3
= (wxWindow
*) 0 ;
43194 int arg5
= (int) 0 ;
43195 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43196 PyObject
* obj0
= 0 ;
43197 PyObject
* obj1
= 0 ;
43198 PyObject
* obj2
= 0 ;
43199 PyObject
* obj3
= 0 ;
43200 PyObject
* obj4
= 0 ;
43201 PyObject
* obj5
= 0 ;
43202 char *kwnames
[] = {
43203 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43208 if (SWIG_arg_fail(1)) SWIG_fail
;
43210 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43211 if (SWIG_arg_fail(2)) SWIG_fail
;
43213 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43214 if (SWIG_arg_fail(3)) SWIG_fail
;
43216 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43217 if (SWIG_arg_fail(4)) SWIG_fail
;
43221 arg5
= (int)(SWIG_As_int(obj4
));
43222 if (SWIG_arg_fail(5)) SWIG_fail
;
43227 arg6
= (int)(SWIG_As_int(obj5
));
43228 if (SWIG_arg_fail(6)) SWIG_fail
;
43232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43233 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43235 wxPyEndAllowThreads(__tstate
);
43236 if (PyErr_Occurred()) SWIG_fail
;
43238 Py_INCREF(Py_None
); resultobj
= Py_None
;
43245 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43246 PyObject
*resultobj
;
43247 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43248 wxWindow
*arg2
= (wxWindow
*) 0 ;
43249 int arg3
= (int) 0 ;
43250 PyObject
* obj0
= 0 ;
43251 PyObject
* obj1
= 0 ;
43252 PyObject
* obj2
= 0 ;
43253 char *kwnames
[] = {
43254 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43259 if (SWIG_arg_fail(1)) SWIG_fail
;
43260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43261 if (SWIG_arg_fail(2)) SWIG_fail
;
43264 arg3
= (int)(SWIG_As_int(obj2
));
43265 if (SWIG_arg_fail(3)) SWIG_fail
;
43269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43270 (arg1
)->LeftOf(arg2
,arg3
);
43272 wxPyEndAllowThreads(__tstate
);
43273 if (PyErr_Occurred()) SWIG_fail
;
43275 Py_INCREF(Py_None
); resultobj
= Py_None
;
43282 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43283 PyObject
*resultobj
;
43284 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43285 wxWindow
*arg2
= (wxWindow
*) 0 ;
43286 int arg3
= (int) 0 ;
43287 PyObject
* obj0
= 0 ;
43288 PyObject
* obj1
= 0 ;
43289 PyObject
* obj2
= 0 ;
43290 char *kwnames
[] = {
43291 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43296 if (SWIG_arg_fail(1)) SWIG_fail
;
43297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43298 if (SWIG_arg_fail(2)) SWIG_fail
;
43301 arg3
= (int)(SWIG_As_int(obj2
));
43302 if (SWIG_arg_fail(3)) SWIG_fail
;
43306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43307 (arg1
)->RightOf(arg2
,arg3
);
43309 wxPyEndAllowThreads(__tstate
);
43310 if (PyErr_Occurred()) SWIG_fail
;
43312 Py_INCREF(Py_None
); resultobj
= Py_None
;
43319 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43320 PyObject
*resultobj
;
43321 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43322 wxWindow
*arg2
= (wxWindow
*) 0 ;
43323 int arg3
= (int) 0 ;
43324 PyObject
* obj0
= 0 ;
43325 PyObject
* obj1
= 0 ;
43326 PyObject
* obj2
= 0 ;
43327 char *kwnames
[] = {
43328 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43333 if (SWIG_arg_fail(1)) SWIG_fail
;
43334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43335 if (SWIG_arg_fail(2)) SWIG_fail
;
43338 arg3
= (int)(SWIG_As_int(obj2
));
43339 if (SWIG_arg_fail(3)) SWIG_fail
;
43343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43344 (arg1
)->Above(arg2
,arg3
);
43346 wxPyEndAllowThreads(__tstate
);
43347 if (PyErr_Occurred()) SWIG_fail
;
43349 Py_INCREF(Py_None
); resultobj
= Py_None
;
43356 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43357 PyObject
*resultobj
;
43358 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43359 wxWindow
*arg2
= (wxWindow
*) 0 ;
43360 int arg3
= (int) 0 ;
43361 PyObject
* obj0
= 0 ;
43362 PyObject
* obj1
= 0 ;
43363 PyObject
* obj2
= 0 ;
43364 char *kwnames
[] = {
43365 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43370 if (SWIG_arg_fail(1)) SWIG_fail
;
43371 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43372 if (SWIG_arg_fail(2)) SWIG_fail
;
43375 arg3
= (int)(SWIG_As_int(obj2
));
43376 if (SWIG_arg_fail(3)) SWIG_fail
;
43380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43381 (arg1
)->Below(arg2
,arg3
);
43383 wxPyEndAllowThreads(__tstate
);
43384 if (PyErr_Occurred()) SWIG_fail
;
43386 Py_INCREF(Py_None
); resultobj
= Py_None
;
43393 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43394 PyObject
*resultobj
;
43395 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43396 wxWindow
*arg2
= (wxWindow
*) 0 ;
43398 int arg4
= (int) 0 ;
43399 PyObject
* obj0
= 0 ;
43400 PyObject
* obj1
= 0 ;
43401 PyObject
* obj2
= 0 ;
43402 PyObject
* obj3
= 0 ;
43403 char *kwnames
[] = {
43404 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43409 if (SWIG_arg_fail(1)) SWIG_fail
;
43410 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43411 if (SWIG_arg_fail(2)) SWIG_fail
;
43413 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43414 if (SWIG_arg_fail(3)) SWIG_fail
;
43418 arg4
= (int)(SWIG_As_int(obj3
));
43419 if (SWIG_arg_fail(4)) SWIG_fail
;
43423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43424 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43426 wxPyEndAllowThreads(__tstate
);
43427 if (PyErr_Occurred()) SWIG_fail
;
43429 Py_INCREF(Py_None
); resultobj
= Py_None
;
43436 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43437 PyObject
*resultobj
;
43438 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43439 wxWindow
*arg2
= (wxWindow
*) 0 ;
43442 PyObject
* obj0
= 0 ;
43443 PyObject
* obj1
= 0 ;
43444 PyObject
* obj2
= 0 ;
43445 PyObject
* obj3
= 0 ;
43446 char *kwnames
[] = {
43447 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43452 if (SWIG_arg_fail(1)) SWIG_fail
;
43453 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43454 if (SWIG_arg_fail(2)) SWIG_fail
;
43456 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43457 if (SWIG_arg_fail(3)) SWIG_fail
;
43460 arg4
= (int)(SWIG_As_int(obj3
));
43461 if (SWIG_arg_fail(4)) SWIG_fail
;
43464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43465 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43467 wxPyEndAllowThreads(__tstate
);
43468 if (PyErr_Occurred()) SWIG_fail
;
43470 Py_INCREF(Py_None
); resultobj
= Py_None
;
43477 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(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 *) "val", NULL
43487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",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
)->Absolute(arg2
);
43498 wxPyEndAllowThreads(__tstate
);
43499 if (PyErr_Occurred()) SWIG_fail
;
43501 Py_INCREF(Py_None
); resultobj
= Py_None
;
43508 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43509 PyObject
*resultobj
;
43510 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43511 PyObject
* obj0
= 0 ;
43512 char *kwnames
[] = {
43513 (char *) "self", NULL
43516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43518 if (SWIG_arg_fail(1)) SWIG_fail
;
43520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43521 (arg1
)->Unconstrained();
43523 wxPyEndAllowThreads(__tstate
);
43524 if (PyErr_Occurred()) SWIG_fail
;
43526 Py_INCREF(Py_None
); resultobj
= Py_None
;
43533 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43534 PyObject
*resultobj
;
43535 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43536 PyObject
* obj0
= 0 ;
43537 char *kwnames
[] = {
43538 (char *) "self", NULL
43541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
43542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43543 if (SWIG_arg_fail(1)) SWIG_fail
;
43545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43548 wxPyEndAllowThreads(__tstate
);
43549 if (PyErr_Occurred()) SWIG_fail
;
43551 Py_INCREF(Py_None
); resultobj
= Py_None
;
43558 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43559 PyObject
*resultobj
;
43560 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43562 PyObject
* obj0
= 0 ;
43563 char *kwnames
[] = {
43564 (char *) "self", NULL
43567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
43568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43569 if (SWIG_arg_fail(1)) SWIG_fail
;
43571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43572 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
43574 wxPyEndAllowThreads(__tstate
);
43575 if (PyErr_Occurred()) SWIG_fail
;
43578 resultobj
= wxPyMake_wxObject(result
, 0);
43586 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43587 PyObject
*resultobj
;
43588 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43590 PyObject
* obj0
= 0 ;
43591 char *kwnames
[] = {
43592 (char *) "self", NULL
43595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
43596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43597 if (SWIG_arg_fail(1)) SWIG_fail
;
43599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43600 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
43602 wxPyEndAllowThreads(__tstate
);
43603 if (PyErr_Occurred()) SWIG_fail
;
43605 resultobj
= SWIG_From_int((result
));
43612 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43613 PyObject
*resultobj
;
43614 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43616 PyObject
* obj0
= 0 ;
43617 PyObject
* obj1
= 0 ;
43618 char *kwnames
[] = {
43619 (char *) "self",(char *) "which", NULL
43622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
43623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43624 if (SWIG_arg_fail(1)) SWIG_fail
;
43626 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43627 if (SWIG_arg_fail(2)) SWIG_fail
;
43630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43631 (arg1
)->SetEdge((wxEdge
)arg2
);
43633 wxPyEndAllowThreads(__tstate
);
43634 if (PyErr_Occurred()) SWIG_fail
;
43636 Py_INCREF(Py_None
); resultobj
= Py_None
;
43643 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43644 PyObject
*resultobj
;
43645 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43647 PyObject
* obj0
= 0 ;
43648 PyObject
* obj1
= 0 ;
43649 char *kwnames
[] = {
43650 (char *) "self",(char *) "v", NULL
43653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
43654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43655 if (SWIG_arg_fail(1)) SWIG_fail
;
43657 arg2
= (int)(SWIG_As_int(obj1
));
43658 if (SWIG_arg_fail(2)) SWIG_fail
;
43661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43662 (arg1
)->SetValue(arg2
);
43664 wxPyEndAllowThreads(__tstate
);
43665 if (PyErr_Occurred()) SWIG_fail
;
43667 Py_INCREF(Py_None
); resultobj
= Py_None
;
43674 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43675 PyObject
*resultobj
;
43676 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43678 PyObject
* obj0
= 0 ;
43679 char *kwnames
[] = {
43680 (char *) "self", NULL
43683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
43684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43685 if (SWIG_arg_fail(1)) SWIG_fail
;
43687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43688 result
= (int)(arg1
)->GetMargin();
43690 wxPyEndAllowThreads(__tstate
);
43691 if (PyErr_Occurred()) SWIG_fail
;
43694 resultobj
= SWIG_From_int((int)(result
));
43702 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43703 PyObject
*resultobj
;
43704 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43706 PyObject
* obj0
= 0 ;
43707 PyObject
* obj1
= 0 ;
43708 char *kwnames
[] = {
43709 (char *) "self",(char *) "m", NULL
43712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
43713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43714 if (SWIG_arg_fail(1)) SWIG_fail
;
43716 arg2
= (int)(SWIG_As_int(obj1
));
43717 if (SWIG_arg_fail(2)) SWIG_fail
;
43720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43721 (arg1
)->SetMargin(arg2
);
43723 wxPyEndAllowThreads(__tstate
);
43724 if (PyErr_Occurred()) SWIG_fail
;
43726 Py_INCREF(Py_None
); resultobj
= Py_None
;
43733 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43734 PyObject
*resultobj
;
43735 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43737 PyObject
* obj0
= 0 ;
43738 char *kwnames
[] = {
43739 (char *) "self", NULL
43742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
43743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43744 if (SWIG_arg_fail(1)) SWIG_fail
;
43746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43747 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
43749 wxPyEndAllowThreads(__tstate
);
43750 if (PyErr_Occurred()) SWIG_fail
;
43753 resultobj
= SWIG_From_int((int)(result
));
43761 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43762 PyObject
*resultobj
;
43763 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43765 PyObject
* obj0
= 0 ;
43766 char *kwnames
[] = {
43767 (char *) "self", NULL
43770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
43771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43772 if (SWIG_arg_fail(1)) SWIG_fail
;
43774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43775 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
43777 wxPyEndAllowThreads(__tstate
);
43778 if (PyErr_Occurred()) SWIG_fail
;
43781 resultobj
= SWIG_From_int((int)(result
));
43789 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43790 PyObject
*resultobj
;
43791 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43793 PyObject
* obj0
= 0 ;
43794 char *kwnames
[] = {
43795 (char *) "self", NULL
43798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
43799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43800 if (SWIG_arg_fail(1)) SWIG_fail
;
43802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43803 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
43805 wxPyEndAllowThreads(__tstate
);
43806 if (PyErr_Occurred()) SWIG_fail
;
43809 resultobj
= SWIG_From_int((int)(result
));
43817 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43818 PyObject
*resultobj
;
43819 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43821 PyObject
* obj0
= 0 ;
43822 char *kwnames
[] = {
43823 (char *) "self", NULL
43826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
43827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43828 if (SWIG_arg_fail(1)) SWIG_fail
;
43830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43831 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
43833 wxPyEndAllowThreads(__tstate
);
43834 if (PyErr_Occurred()) SWIG_fail
;
43837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43845 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43846 PyObject
*resultobj
;
43847 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43849 PyObject
* obj0
= 0 ;
43850 PyObject
* obj1
= 0 ;
43851 char *kwnames
[] = {
43852 (char *) "self",(char *) "d", NULL
43855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
43856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43857 if (SWIG_arg_fail(1)) SWIG_fail
;
43859 arg2
= (bool)(SWIG_As_bool(obj1
));
43860 if (SWIG_arg_fail(2)) SWIG_fail
;
43863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43864 (arg1
)->SetDone(arg2
);
43866 wxPyEndAllowThreads(__tstate
);
43867 if (PyErr_Occurred()) SWIG_fail
;
43869 Py_INCREF(Py_None
); resultobj
= Py_None
;
43876 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43877 PyObject
*resultobj
;
43878 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43879 wxRelationship result
;
43880 PyObject
* obj0
= 0 ;
43881 char *kwnames
[] = {
43882 (char *) "self", NULL
43885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
43886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43887 if (SWIG_arg_fail(1)) SWIG_fail
;
43889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43890 result
= (wxRelationship
)(arg1
)->GetRelationship();
43892 wxPyEndAllowThreads(__tstate
);
43893 if (PyErr_Occurred()) SWIG_fail
;
43895 resultobj
= SWIG_From_int((result
));
43902 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43903 PyObject
*resultobj
;
43904 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43905 wxRelationship arg2
;
43906 PyObject
* obj0
= 0 ;
43907 PyObject
* obj1
= 0 ;
43908 char *kwnames
[] = {
43909 (char *) "self",(char *) "r", NULL
43912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
43913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43914 if (SWIG_arg_fail(1)) SWIG_fail
;
43916 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43917 if (SWIG_arg_fail(2)) SWIG_fail
;
43920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43921 (arg1
)->SetRelationship((wxRelationship
)arg2
);
43923 wxPyEndAllowThreads(__tstate
);
43924 if (PyErr_Occurred()) SWIG_fail
;
43926 Py_INCREF(Py_None
); resultobj
= Py_None
;
43933 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43934 PyObject
*resultobj
;
43935 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43936 wxWindow
*arg2
= (wxWindow
*) 0 ;
43938 PyObject
* obj0
= 0 ;
43939 PyObject
* obj1
= 0 ;
43940 char *kwnames
[] = {
43941 (char *) "self",(char *) "otherW", NULL
43944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
43945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43946 if (SWIG_arg_fail(1)) SWIG_fail
;
43947 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43948 if (SWIG_arg_fail(2)) SWIG_fail
;
43950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43951 result
= (bool)(arg1
)->ResetIfWin(arg2
);
43953 wxPyEndAllowThreads(__tstate
);
43954 if (PyErr_Occurred()) SWIG_fail
;
43957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43965 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43966 PyObject
*resultobj
;
43967 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43968 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
43969 wxWindow
*arg3
= (wxWindow
*) 0 ;
43971 PyObject
* obj0
= 0 ;
43972 PyObject
* obj1
= 0 ;
43973 PyObject
* obj2
= 0 ;
43974 char *kwnames
[] = {
43975 (char *) "self",(char *) "constraints",(char *) "win", NULL
43978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43980 if (SWIG_arg_fail(1)) SWIG_fail
;
43981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43982 if (SWIG_arg_fail(2)) SWIG_fail
;
43983 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43984 if (SWIG_arg_fail(3)) SWIG_fail
;
43986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43987 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
43989 wxPyEndAllowThreads(__tstate
);
43990 if (PyErr_Occurred()) SWIG_fail
;
43993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44001 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44002 PyObject
*resultobj
;
44003 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44005 wxWindow
*arg3
= (wxWindow
*) 0 ;
44006 wxWindow
*arg4
= (wxWindow
*) 0 ;
44008 PyObject
* obj0
= 0 ;
44009 PyObject
* obj1
= 0 ;
44010 PyObject
* obj2
= 0 ;
44011 PyObject
* obj3
= 0 ;
44012 char *kwnames
[] = {
44013 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44018 if (SWIG_arg_fail(1)) SWIG_fail
;
44020 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44021 if (SWIG_arg_fail(2)) SWIG_fail
;
44023 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44024 if (SWIG_arg_fail(3)) SWIG_fail
;
44025 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44026 if (SWIG_arg_fail(4)) SWIG_fail
;
44028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44029 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44031 wxPyEndAllowThreads(__tstate
);
44032 if (PyErr_Occurred()) SWIG_fail
;
44035 resultobj
= SWIG_From_int((int)(result
));
44043 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44046 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44048 return Py_BuildValue((char *)"");
44050 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44051 PyObject
*resultobj
;
44052 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44053 wxIndividualLayoutConstraint
*result
;
44054 PyObject
* obj0
= 0 ;
44055 char *kwnames
[] = {
44056 (char *) "self", NULL
44059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44061 if (SWIG_arg_fail(1)) SWIG_fail
;
44062 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44071 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44072 PyObject
*resultobj
;
44073 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44074 wxIndividualLayoutConstraint
*result
;
44075 PyObject
* obj0
= 0 ;
44076 char *kwnames
[] = {
44077 (char *) "self", NULL
44080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44082 if (SWIG_arg_fail(1)) SWIG_fail
;
44083 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44092 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44093 PyObject
*resultobj
;
44094 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44095 wxIndividualLayoutConstraint
*result
;
44096 PyObject
* obj0
= 0 ;
44097 char *kwnames
[] = {
44098 (char *) "self", NULL
44101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44103 if (SWIG_arg_fail(1)) SWIG_fail
;
44104 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44113 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44114 PyObject
*resultobj
;
44115 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44116 wxIndividualLayoutConstraint
*result
;
44117 PyObject
* obj0
= 0 ;
44118 char *kwnames
[] = {
44119 (char *) "self", NULL
44122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44124 if (SWIG_arg_fail(1)) SWIG_fail
;
44125 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44134 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44135 PyObject
*resultobj
;
44136 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44137 wxIndividualLayoutConstraint
*result
;
44138 PyObject
* obj0
= 0 ;
44139 char *kwnames
[] = {
44140 (char *) "self", NULL
44143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44145 if (SWIG_arg_fail(1)) SWIG_fail
;
44146 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44155 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44156 PyObject
*resultobj
;
44157 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44158 wxIndividualLayoutConstraint
*result
;
44159 PyObject
* obj0
= 0 ;
44160 char *kwnames
[] = {
44161 (char *) "self", NULL
44164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44166 if (SWIG_arg_fail(1)) SWIG_fail
;
44167 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44176 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44177 PyObject
*resultobj
;
44178 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44179 wxIndividualLayoutConstraint
*result
;
44180 PyObject
* obj0
= 0 ;
44181 char *kwnames
[] = {
44182 (char *) "self", NULL
44185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44187 if (SWIG_arg_fail(1)) SWIG_fail
;
44188 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44197 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44198 PyObject
*resultobj
;
44199 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44200 wxIndividualLayoutConstraint
*result
;
44201 PyObject
* obj0
= 0 ;
44202 char *kwnames
[] = {
44203 (char *) "self", NULL
44206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44208 if (SWIG_arg_fail(1)) SWIG_fail
;
44209 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44218 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44219 PyObject
*resultobj
;
44220 wxLayoutConstraints
*result
;
44221 char *kwnames
[] = {
44225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44228 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44230 wxPyEndAllowThreads(__tstate
);
44231 if (PyErr_Occurred()) SWIG_fail
;
44233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44240 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44241 PyObject
*resultobj
;
44242 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44243 wxWindow
*arg2
= (wxWindow
*) 0 ;
44244 int *arg3
= (int *) 0 ;
44248 PyObject
* obj0
= 0 ;
44249 PyObject
* obj1
= 0 ;
44250 char *kwnames
[] = {
44251 (char *) "self",(char *) "win", NULL
44254 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44257 if (SWIG_arg_fail(1)) SWIG_fail
;
44258 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44259 if (SWIG_arg_fail(2)) SWIG_fail
;
44261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44262 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44264 wxPyEndAllowThreads(__tstate
);
44265 if (PyErr_Occurred()) SWIG_fail
;
44268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44270 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44271 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44278 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44279 PyObject
*resultobj
;
44280 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44282 PyObject
* obj0
= 0 ;
44283 char *kwnames
[] = {
44284 (char *) "self", NULL
44287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44289 if (SWIG_arg_fail(1)) SWIG_fail
;
44291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44292 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44294 wxPyEndAllowThreads(__tstate
);
44295 if (PyErr_Occurred()) SWIG_fail
;
44298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44306 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44309 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44311 return Py_BuildValue((char *)"");
44313 static PyMethodDef SwigMethods
[] = {
44314 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44315 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44316 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44317 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44318 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44319 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44320 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44321 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44322 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44323 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44324 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44325 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44326 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44327 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44328 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44329 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44330 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44331 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44332 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44333 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44334 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44335 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44336 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44337 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44338 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44339 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44340 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44341 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44342 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44343 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44344 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44345 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44346 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44347 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44348 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44349 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44350 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44351 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44352 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44353 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44354 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44355 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44356 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44357 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44358 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44359 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44360 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44361 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44362 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44363 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44364 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44365 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44366 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44367 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44368 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44369 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44370 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44371 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44372 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44373 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44374 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44375 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44376 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44377 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44378 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44379 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44380 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44381 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44382 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44383 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44384 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44385 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44386 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44387 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44388 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44389 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44390 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44391 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44392 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44393 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44394 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44395 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44396 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44397 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44398 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44399 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44400 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44401 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44402 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44403 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44404 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44405 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44406 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44407 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44408 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44409 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44410 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44411 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44412 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44413 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44414 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44415 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44416 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44417 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44418 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44419 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44420 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44421 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44422 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44423 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44424 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44425 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44426 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44427 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44428 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44429 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44430 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44431 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44432 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44433 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44434 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44435 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44436 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44437 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44438 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44439 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44440 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44441 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44442 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44443 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44444 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44445 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44446 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44447 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44448 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44449 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44450 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44451 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44452 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44453 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44454 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44455 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44456 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44457 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44458 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44459 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44460 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44461 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44462 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44463 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44464 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44465 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44466 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44467 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44468 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44469 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44470 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44471 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44472 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44473 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44474 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44475 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44476 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44477 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44478 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44479 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44480 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44481 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44482 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44483 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44484 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44485 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44486 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44487 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44488 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44489 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44490 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44491 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44492 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44493 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44494 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44495 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44496 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44497 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44498 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44499 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44500 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44501 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44502 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44503 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44504 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44505 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44506 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44507 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44508 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44509 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44510 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44511 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44512 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44513 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44514 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44515 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44516 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44517 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44518 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44519 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44520 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44521 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44522 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44523 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44524 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44525 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44526 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44527 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44528 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44529 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44530 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44531 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44532 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44533 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44534 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44535 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44536 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44537 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44538 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44539 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44540 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44541 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44542 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44543 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44544 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44545 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44546 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44547 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44548 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44549 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44550 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44551 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44552 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44553 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44554 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44555 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44556 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44557 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44558 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44559 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44560 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44561 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44562 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44563 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44564 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44565 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44566 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44567 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44568 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44569 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44570 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44571 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44572 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44573 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44574 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44575 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44576 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44577 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44578 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44579 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44580 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44581 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44582 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44583 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44584 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44585 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44586 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44587 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44588 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44589 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44590 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44591 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44592 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44593 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44594 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44595 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44596 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44597 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44598 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44599 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44600 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44601 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44602 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44603 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44604 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44605 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44606 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44607 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44608 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44609 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44610 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
44611 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44612 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
44613 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44614 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
44615 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44616 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
44617 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44618 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
44619 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44620 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
44621 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44622 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
44623 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44624 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
44625 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44626 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
44627 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44628 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
44629 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44630 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
44631 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44632 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
44633 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44634 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
44635 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44636 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44637 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44638 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44639 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44640 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44641 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44642 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44643 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44644 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44645 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44646 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44647 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44648 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
44649 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44650 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44651 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44652 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44653 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44654 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44655 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44656 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44657 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44658 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44659 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44660 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44661 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44662 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44663 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44664 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44665 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44666 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
44667 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44668 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44669 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
44670 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44671 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44672 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
44673 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44674 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44675 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44676 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44677 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44678 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44679 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44680 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44681 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44682 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44683 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44684 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
44685 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44686 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44687 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44688 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44689 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
44690 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44691 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44692 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44693 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44694 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44695 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
44696 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44697 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44698 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44699 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44700 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44701 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
44702 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44703 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44704 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44705 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44706 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44707 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44708 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44709 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44710 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44711 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44712 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44713 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44714 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44715 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44716 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44717 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44720 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44721 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44723 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44727 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44728 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44729 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44735 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44737 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44740 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44741 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44742 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44743 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44745 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44746 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44747 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44748 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44751 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44756 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44757 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44758 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44759 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44760 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44761 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44762 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44764 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
44765 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44766 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44767 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44768 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44769 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44770 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44771 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
44772 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44773 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44774 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44776 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
44808 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
44818 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
44828 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
44830 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
44832 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
44835 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
44839 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
44842 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
44845 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
44847 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
44852 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
44860 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
44864 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
44867 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
44869 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
44873 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
44890 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44892 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44895 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44897 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44901 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
44905 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
44914 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
44917 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
44920 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
44924 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
44931 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
44936 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
44941 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
44986 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45006 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45013 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45017 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45027 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45196 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45238 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45252 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45255 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45310 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45337 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45381 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45389 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45407 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45444 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45474 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45477 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45481 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45484 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
45494 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
45506 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"StdDialogButtonSizer_Finalise", (PyCFunction
) _wrap_StdDialogButtonSizer_Finalise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
45515 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
45525 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
45535 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
45549 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
45556 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
45557 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
45558 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
45559 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
45560 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
45565 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
45592 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
45604 { NULL
, NULL
, 0, NULL
}
45608 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45610 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
45611 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
45613 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
45614 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
45616 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
45617 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45619 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
45620 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45622 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
45623 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45625 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
45626 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
45628 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
45629 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45631 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
45632 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
45634 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
45635 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45637 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
45638 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45640 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45641 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45643 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45644 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45646 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45647 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45649 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45650 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45652 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45653 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45655 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45656 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45658 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45659 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45661 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45664 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45665 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45667 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45668 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45670 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45671 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45673 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45674 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45676 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45677 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45679 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45680 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45682 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45683 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45685 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45686 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45688 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45689 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45691 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45692 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45694 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45695 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45697 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45698 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45700 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45701 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45703 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45704 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45706 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45707 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45709 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45710 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45712 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45713 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45715 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45716 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45718 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45719 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45721 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45722 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45724 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45725 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45727 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45728 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45730 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45731 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45733 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45734 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45736 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45737 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45739 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45740 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45742 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45743 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45745 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
45746 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45748 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
45749 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45751 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
45752 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45754 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
45755 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
45757 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
45758 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
45760 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
45761 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
45763 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
45764 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
45766 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
45767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45769 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
45770 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
45772 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
45773 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
45775 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
45776 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
45778 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
45779 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
45781 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
45782 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
45784 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
45785 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
45787 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
45788 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
45790 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
45791 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
45793 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
45794 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
45796 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
45797 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
45799 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
45800 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45802 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
45803 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
45805 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
45806 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
45808 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
45809 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45811 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
45812 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45814 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
45815 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
45817 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
45818 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
45820 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
45821 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
45823 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
45824 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
45826 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
45827 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
45829 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
45830 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
45832 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
45833 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
45835 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
45836 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
45838 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45839 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
45841 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45842 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
45844 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45845 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
45847 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
45848 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
45850 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
45851 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
45853 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
45854 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
45856 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
45857 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
45859 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
45860 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
45862 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
45863 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45865 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
45866 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
45868 static void *_p_wxSizerTo_p_wxObject(void *x
) {
45869 return (void *)((wxObject
*) ((wxSizer
*) x
));
45871 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
45872 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45874 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
45875 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45877 static void *_p_wxEventTo_p_wxObject(void *x
) {
45878 return (void *)((wxObject
*) ((wxEvent
*) x
));
45880 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
45881 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45883 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
45884 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
45886 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
45887 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
45889 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
45890 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
45892 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
45893 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
45895 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
45896 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45898 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
45899 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45901 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
45902 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45904 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
45905 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45907 static void *_p_wxControlTo_p_wxObject(void *x
) {
45908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
45910 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
45911 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
45913 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
45914 return (void *)((wxObject
*) ((wxFSFile
*) x
));
45916 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
45917 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
45919 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
45920 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
45922 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
45923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45925 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
45926 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
45928 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
45929 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
45931 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
45932 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
45934 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
45935 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45937 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
45938 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45940 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
45941 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
45943 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
45944 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
45946 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
45947 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
45949 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
45950 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
45952 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
45953 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
45955 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
45956 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
45958 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
45959 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
45961 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
45962 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
45964 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
45965 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
45967 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
45968 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
45970 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
45971 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
45973 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
45974 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45976 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
45977 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45979 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
45980 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
45982 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
45983 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
45985 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
45986 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
45988 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
45989 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
45991 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
45992 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
45994 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
45995 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45997 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
45998 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46000 static void *_p_wxImageTo_p_wxObject(void *x
) {
46001 return (void *)((wxObject
*) ((wxImage
*) x
));
46003 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46004 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46006 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46009 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46010 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46012 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46013 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46015 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46016 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46018 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46019 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46021 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46022 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46024 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46025 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46027 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46028 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46030 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46031 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46033 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46034 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46036 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46037 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46039 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46040 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46042 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46043 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46045 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46046 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46048 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46049 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46051 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46052 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46054 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46055 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46057 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46060 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46063 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46064 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46066 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46067 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46069 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46070 return (void *)((wxWindow
*) ((wxControl
*) x
));
46072 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46073 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46075 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46076 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46078 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46079 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46081 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46082 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46084 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46085 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46087 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46088 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46090 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46091 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46093 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46094 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46096 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46097 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46099 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46100 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46102 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46103 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46105 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}};
46106 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}};
46107 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}};
46108 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}};
46109 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}};
46110 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}};
46111 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}};
46112 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_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_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}};
46113 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},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxBoxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46114 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}};
46115 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}};
46116 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}};
46117 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}};
46118 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}};
46119 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}};
46120 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}};
46121 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}};
46122 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}};
46123 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}};
46124 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}};
46125 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}};
46126 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}};
46127 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}};
46128 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}};
46129 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}};
46130 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}};
46131 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}};
46132 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}};
46133 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}};
46134 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}};
46135 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}};
46136 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}};
46137 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}};
46138 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}};
46139 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}};
46140 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}};
46141 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}};
46142 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}};
46143 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}};
46144 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}};
46145 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}};
46146 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}};
46147 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}};
46148 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}};
46149 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}};
46150 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}};
46151 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}};
46152 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}};
46153 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}};
46154 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}};
46155 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}};
46156 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}};
46157 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}};
46158 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}};
46159 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}};
46160 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}};
46161 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}};
46162 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}};
46163 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}};
46164 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}};
46165 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}};
46166 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}};
46167 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}};
46168 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}};
46169 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}};
46170 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}};
46171 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}};
46172 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}};
46173 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}};
46174 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}};
46175 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}};
46176 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}};
46177 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}};
46178 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}};
46179 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}};
46180 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}};
46181 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}};
46182 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}};
46183 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}};
46184 static swig_type_info _swigt__p_wxButton
[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46185 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}};
46186 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}};
46187 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}};
46188 static swig_type_info _swigt__p_wxStdDialogButtonSizer
[] = {{"_p_wxStdDialogButtonSizer", 0, "wxStdDialogButtonSizer *", 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46189 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}};
46190 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}};
46191 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}};
46192 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}};
46193 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}};
46194 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}};
46195 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}};
46196 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}};
46197 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}};
46198 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_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_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_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_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}};
46199 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}};
46200 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}};
46201 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}};
46202 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}};
46203 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}};
46204 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}};
46205 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}};
46206 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}};
46207 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}};
46208 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}};
46209 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}};
46210 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}};
46211 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}};
46212 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}};
46213 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}};
46214 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}};
46215 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}};
46216 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}};
46217 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}};
46218 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}};
46219 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}};
46220 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}};
46221 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}};
46222 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}};
46223 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}};
46224 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}};
46225 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}};
46226 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}};
46227 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}};
46228 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}};
46229 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}};
46230 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}};
46232 static swig_type_info
*swig_types_initial
[] = {
46233 _swigt__p_wxLayoutConstraints
,
46234 _swigt__p_wxRealPoint
,
46235 _swigt__p_wxSizerItem
,
46236 _swigt__p_wxGBSizerItem
,
46237 _swigt__p_wxScrollEvent
,
46238 _swigt__p_wxEventLoop
,
46239 _swigt__p_wxIndividualLayoutConstraint
,
46241 _swigt__p_wxBoxSizer
,
46242 _swigt__p_wxStaticBoxSizer
,
46243 _swigt__p_wxGridBagSizer
,
46244 _swigt__p_wxAcceleratorEntry
,
46245 _swigt__p_wxUpdateUIEvent
,
46248 _swigt__p_wxGridSizer
,
46249 _swigt__p_wxFlexGridSizer
,
46250 _swigt__p_wxInitDialogEvent
,
46251 _swigt__p_wxItemContainer
,
46252 _swigt__p_wxNcPaintEvent
,
46253 _swigt__p_wxPaintEvent
,
46254 _swigt__p_wxSysColourChangedEvent
,
46255 _swigt__p_wxMouseCaptureChangedEvent
,
46256 _swigt__p_wxDisplayChangedEvent
,
46257 _swigt__p_wxPaletteChangedEvent
,
46258 _swigt__p_wxControl
,
46260 _swigt__p_wxMenuBarBase
,
46261 _swigt__p_wxSetCursorEvent
,
46262 _swigt__p_wxFSFile
,
46265 _swigt__std__ptrdiff_t
,
46266 _swigt__p_wxRegion
,
46267 _swigt__p_wxPoint2D
,
46271 _swigt__p_wxPySizer
,
46272 _swigt__p_wxVisualAttributes
,
46273 _swigt__p_wxNotifyEvent
,
46274 _swigt__p_wxPyEvent
,
46275 _swigt__p_wxPropagationDisabler
,
46276 _swigt__p_form_ops_t
,
46277 _swigt__p_wxAppTraits
,
46278 _swigt__p_wxArrayString
,
46279 _swigt__p_wxShowEvent
,
46280 _swigt__p_wxToolTip
,
46281 _swigt__p_wxMoveEvent
,
46282 _swigt__p_wxSizeEvent
,
46283 _swigt__p_wxActivateEvent
,
46284 _swigt__p_wxIconizeEvent
,
46285 _swigt__p_wxMaximizeEvent
,
46286 _swigt__p_wxQueryNewPaletteEvent
,
46287 _swigt__p_wxWindowCreateEvent
,
46288 _swigt__p_wxIdleEvent
,
46289 _swigt__p_wxMenuItem
,
46290 _swigt__p_wxStaticBox
,
46292 _swigt__p_wxDuplexMode
,
46293 _swigt__p_wxTIFFHandler
,
46294 _swigt__p_wxXPMHandler
,
46295 _swigt__p_wxPNMHandler
,
46296 _swigt__p_wxJPEGHandler
,
46297 _swigt__p_wxPCXHandler
,
46298 _swigt__p_wxGIFHandler
,
46299 _swigt__p_wxPNGHandler
,
46300 _swigt__p_wxANIHandler
,
46301 _swigt__p_wxMemoryFSHandler
,
46302 _swigt__p_wxZipFSHandler
,
46303 _swigt__p_wxInternetFSHandler
,
46304 _swigt__p_wxPyFileSystemHandler
,
46305 _swigt__p_wxEvtHandler
,
46306 _swigt__p_wxCURHandler
,
46307 _swigt__p_wxICOHandler
,
46308 _swigt__p_wxBMPHandler
,
46309 _swigt__p_wxImageHandler
,
46310 _swigt__p_wxFileSystemHandler
,
46312 _swigt__p_wxButton
,
46313 _swigt__p_wxGBSpan
,
46314 _swigt__p_wxPropagateOnce
,
46315 _swigt__p_wxAcceleratorTable
,
46316 _swigt__p_wxStdDialogButtonSizer
,
46318 _swigt__p_wxGBPosition
,
46321 _swigt__p_wxScrollWinEvent
,
46322 _swigt__p_wxPaperSize
,
46323 _swigt__p_wxImageHistogram
,
46325 _swigt__p_wxCursor
,
46326 _swigt__p_wxObject
,
46327 _swigt__p_wxInputStream
,
46328 _swigt__p_wxOutputStream
,
46329 _swigt__p_wxPyInputStream
,
46330 _swigt__p_wxDateTime
,
46331 _swigt__p_wxKeyEvent
,
46332 _swigt__p_wxNavigationKeyEvent
,
46333 _swigt__p_wxWindowDestroyEvent
,
46334 _swigt__p_unsigned_long
,
46335 _swigt__p_wxWindow
,
46336 _swigt__p_wxMenuBar
,
46337 _swigt__p_wxFileSystem
,
46338 _swigt__p_wxBitmap
,
46339 _swigt__unsigned_int
,
46340 _swigt__p_unsigned_int
,
46341 _swigt__p_wxMenuEvent
,
46342 _swigt__p_wxContextMenuEvent
,
46343 _swigt__p_unsigned_char
,
46344 _swigt__p_wxEraseEvent
,
46345 _swigt__p_wxMouseEvent
,
46346 _swigt__p_wxCloseEvent
,
46348 _swigt__p_wxCommandEvent
,
46349 _swigt__p_wxPyCommandEvent
,
46350 _swigt__p_wxPyDropTarget
,
46351 _swigt__p_wxQuantize
,
46352 _swigt__p_wxChildFocusEvent
,
46353 _swigt__p_wxFocusEvent
,
46354 _swigt__p_wxDropFilesEvent
,
46355 _swigt__p_wxControlWithItems
,
46356 _swigt__p_wxColour
,
46357 _swigt__p_wxValidator
,
46358 _swigt__p_wxPyValidator
,
46363 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46365 static swig_const_info swig_const_table
[] = {
46366 {0, 0, 0, 0.0, 0, 0}};
46377 /* Python-specific SWIG API */
46378 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46379 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46380 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46382 /* -----------------------------------------------------------------------------
46383 * global variable support code.
46384 * ----------------------------------------------------------------------------- */
46386 typedef struct swig_globalvar
{
46387 char *name
; /* Name of global variable */
46388 PyObject
*(*get_attr
)(); /* Return the current value */
46389 int (*set_attr
)(PyObject
*); /* Set the value */
46390 struct swig_globalvar
*next
;
46393 typedef struct swig_varlinkobject
{
46395 swig_globalvar
*vars
;
46396 } swig_varlinkobject
;
46399 swig_varlink_repr(swig_varlinkobject
*v
) {
46401 return PyString_FromString("<Swig global variables>");
46405 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46406 swig_globalvar
*var
;
46408 fprintf(fp
,"Swig global variables { ");
46409 for (var
= v
->vars
; var
; var
=var
->next
) {
46410 fprintf(fp
,"%s", var
->name
);
46411 if (var
->next
) fprintf(fp
,", ");
46413 fprintf(fp
," }\n");
46418 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46419 swig_globalvar
*var
= v
->vars
;
46421 if (strcmp(var
->name
,n
) == 0) {
46422 return (*var
->get_attr
)();
46426 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46431 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46432 swig_globalvar
*var
= v
->vars
;
46434 if (strcmp(var
->name
,n
) == 0) {
46435 return (*var
->set_attr
)(p
);
46439 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46443 static PyTypeObject varlinktype
= {
46444 PyObject_HEAD_INIT(0)
46445 0, /* Number of items in variable part (ob_size) */
46446 (char *)"swigvarlink", /* Type name (tp_name) */
46447 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46448 0, /* Itemsize (tp_itemsize) */
46449 0, /* Deallocator (tp_dealloc) */
46450 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46451 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46452 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46453 0, /* tp_compare */
46454 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46455 0, /* tp_as_number */
46456 0, /* tp_as_sequence */
46457 0, /* tp_as_mapping */
46461 0, /* tp_getattro */
46462 0, /* tp_setattro */
46463 0, /* tp_as_buffer */
46466 #if PY_VERSION_HEX >= 0x02000000
46467 0, /* tp_traverse */
46470 #if PY_VERSION_HEX >= 0x02010000
46471 0, /* tp_richcompare */
46472 0, /* tp_weaklistoffset */
46474 #if PY_VERSION_HEX >= 0x02020000
46475 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46477 #if PY_VERSION_HEX >= 0x02030000
46480 #ifdef COUNT_ALLOCS
46481 0,0,0,0 /* tp_alloc -> tp_next */
46485 /* Create a variable linking object for use later */
46487 SWIG_Python_newvarlink(void) {
46488 swig_varlinkobject
*result
= 0;
46489 result
= PyMem_NEW(swig_varlinkobject
,1);
46490 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
46491 result
->ob_type
= &varlinktype
;
46493 result
->ob_refcnt
= 0;
46494 Py_XINCREF((PyObject
*) result
);
46495 return ((PyObject
*) result
);
46499 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
46500 swig_varlinkobject
*v
;
46501 swig_globalvar
*gv
;
46502 v
= (swig_varlinkobject
*) p
;
46503 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
46504 gv
->name
= (char *) malloc(strlen(name
)+1);
46505 strcpy(gv
->name
,name
);
46506 gv
->get_attr
= get_attr
;
46507 gv
->set_attr
= set_attr
;
46508 gv
->next
= v
->vars
;
46512 /* -----------------------------------------------------------------------------
46513 * constants/methods manipulation
46514 * ----------------------------------------------------------------------------- */
46516 /* Install Constants */
46518 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
46521 for (i
= 0; constants
[i
].type
; i
++) {
46522 switch(constants
[i
].type
) {
46524 obj
= PyInt_FromLong(constants
[i
].lvalue
);
46526 case SWIG_PY_FLOAT
:
46527 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
46529 case SWIG_PY_STRING
:
46530 if (constants
[i
].pvalue
) {
46531 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
46533 Py_INCREF(Py_None
);
46537 case SWIG_PY_POINTER
:
46538 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
46540 case SWIG_PY_BINARY
:
46541 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
46548 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
46554 /* -----------------------------------------------------------------------------*/
46555 /* Fix SwigMethods to carry the callback ptrs when needed */
46556 /* -----------------------------------------------------------------------------*/
46559 SWIG_Python_FixMethods(PyMethodDef
*methods
,
46560 swig_const_info
*const_table
,
46561 swig_type_info
**types
,
46562 swig_type_info
**types_initial
) {
46564 for (i
= 0; methods
[i
].ml_name
; ++i
) {
46565 char *c
= methods
[i
].ml_doc
;
46566 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
46568 swig_const_info
*ci
= 0;
46569 char *name
= c
+ 10;
46570 for (j
= 0; const_table
[j
].type
; j
++) {
46571 if (strncmp(const_table
[j
].name
, name
,
46572 strlen(const_table
[j
].name
)) == 0) {
46573 ci
= &(const_table
[j
]);
46578 size_t shift
= (ci
->ptype
) - types
;
46579 swig_type_info
*ty
= types_initial
[shift
];
46580 size_t ldoc
= (c
- methods
[i
].ml_doc
);
46581 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
46582 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
46584 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
46585 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
46587 strncpy(buff
, "swig_ptr: ", 10);
46589 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
46590 methods
[i
].ml_doc
= ndoc
;
46596 /* -----------------------------------------------------------------------------*
46597 * Initialize type list
46598 * -----------------------------------------------------------------------------*/
46600 #if PY_MAJOR_VERSION < 2
46601 /* PyModule_AddObject function was introduced in Python 2.0. The following function
46602 is copied out of Python/modsupport.c in python version 2.3.4 */
46604 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
46607 if (!PyModule_Check(m
)) {
46608 PyErr_SetString(PyExc_TypeError
,
46609 "PyModule_AddObject() needs module as first arg");
46613 PyErr_SetString(PyExc_TypeError
,
46614 "PyModule_AddObject() needs non-NULL value");
46618 dict
= PyModule_GetDict(m
);
46619 if (dict
== NULL
) {
46620 /* Internal error -- modules must have a dict! */
46621 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
46622 PyModule_GetName(m
));
46625 if (PyDict_SetItemString(dict
, name
, o
))
46632 static swig_type_info
**
46633 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
46634 static PyMethodDef swig_empty_runtime_method_table
[] = {
46636 NULL
, NULL
, 0, NULL
46640 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
46641 swig_empty_runtime_method_table
);
46642 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
46643 if (pointer
&& module) {
46644 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
46646 return type_list_handle
;
46649 static swig_type_info
**
46650 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
46651 swig_type_info
**type_pointer
;
46653 /* first check if module already created */
46654 type_pointer
= SWIG_Python_GetTypeListHandle();
46655 if (type_pointer
) {
46656 return type_pointer
;
46658 /* create a new module and variable */
46659 return SWIG_Python_SetTypeListHandle(type_list_handle
);
46667 /* -----------------------------------------------------------------------------*
46668 * Partial Init method
46669 * -----------------------------------------------------------------------------*/
46671 #ifdef SWIG_LINK_RUNTIME
46675 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
46681 SWIGEXPORT(void) SWIG_init(void) {
46682 static PyObject
*SWIG_globals
= 0;
46683 static int typeinit
= 0;
46686 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
46688 /* Fix SwigMethods to carry the callback ptrs when needed */
46689 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
46691 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
46692 d
= PyModule_GetDict(m
);
46695 #ifdef SWIG_LINK_RUNTIME
46696 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
46698 # ifndef SWIG_STATIC_RUNTIME
46699 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
46702 for (i
= 0; swig_types_initial
[i
]; i
++) {
46703 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
46707 SWIG_InstallConstants(d
,swig_const_table
);
46710 #ifndef wxPyUSE_EXPORT
46711 // Make our API structure a CObject so other modules can import it
46712 // from this module.
46713 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
46714 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
46719 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
46722 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
46725 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
46728 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
46731 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
46734 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
46737 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
46740 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
46743 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
46746 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
46749 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
46752 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
46755 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
46758 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
46761 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
46764 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
46767 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
46770 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
46773 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
46776 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
46779 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
46782 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
46785 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
46788 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
46791 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
46794 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
46797 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
46800 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
46803 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
46806 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
46809 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
46812 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
46815 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
46818 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
46821 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
46824 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
46827 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
46830 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
46833 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
46836 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
46839 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
46842 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
46845 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
46848 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
46851 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
46854 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
46857 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
46860 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
46863 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
46866 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
46869 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
46872 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
46875 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
46878 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
46881 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
46884 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
46887 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
46890 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
46893 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
46896 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
46899 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
46902 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
46905 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
46908 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
46911 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
46914 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
46917 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
46920 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
46923 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
46926 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
46929 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
46932 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
46935 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
46938 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
46941 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
46944 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
46947 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
46950 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
46953 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
46956 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
46959 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
46962 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
46965 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
46968 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
46971 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
46974 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
46977 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
46980 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
46983 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
46986 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
46989 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
46992 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
46995 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
46998 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47001 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47004 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47007 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47010 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47013 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47016 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47019 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47022 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47025 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47028 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47031 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47034 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47037 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47040 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47043 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47046 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47049 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47052 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47055 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47058 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47061 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47064 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47067 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47070 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47073 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47076 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47079 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47082 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47085 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47088 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47091 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47094 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47097 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47100 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47103 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47106 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47109 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47112 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47115 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47118 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47121 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47124 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47127 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47130 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47133 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47136 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47139 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47142 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47145 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47148 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47151 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47154 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47157 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47160 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47163 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47166 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47169 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47172 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47175 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47178 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47181 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47184 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47187 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47190 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47193 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47196 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47199 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47202 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47205 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47208 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47211 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47214 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47217 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47220 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47223 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47226 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47229 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47232 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47235 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47238 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47241 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47244 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47247 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47250 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47253 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47256 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47259 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47262 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47265 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47268 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47271 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47274 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47277 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47280 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47283 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47286 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47289 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47292 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47295 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47298 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47301 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47304 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47307 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47310 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47313 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47316 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47319 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47322 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47325 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47328 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47331 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47334 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47337 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47340 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47343 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47346 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47349 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47352 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47355 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47358 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47361 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47364 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47367 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47370 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47373 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47376 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47379 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47382 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47385 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47388 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47391 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47394 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47397 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47400 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47403 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47406 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47409 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47412 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47415 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47418 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47421 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47424 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47427 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47430 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47433 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47436 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47439 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47442 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47445 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47448 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47451 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47454 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47457 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47460 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47463 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47466 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47469 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47472 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47475 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47478 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47481 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47484 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47487 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47490 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47493 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
47496 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
47499 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
47502 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
47505 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
47508 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
47511 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
47514 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
47517 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
47520 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
47523 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
47526 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47529 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47532 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47535 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
47538 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
47541 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47544 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47547 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
47550 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
47553 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
47556 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
47559 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
47562 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
47565 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
47568 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
47571 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
47574 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
47577 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
47580 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
47583 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
47586 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
47589 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
47592 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
47595 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
47598 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
47601 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
47604 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
47607 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
47610 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
47613 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
47616 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
47619 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
47622 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
47625 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
47628 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
47631 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
47634 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
47637 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
47640 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
47643 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
47646 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
47649 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
47652 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
47655 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
47658 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
47661 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
47664 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
47667 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
47670 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
47673 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
47676 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
47679 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
47682 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
47685 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
47688 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
47691 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
47694 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
47697 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
47700 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
47703 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
47706 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
47709 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
47712 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
47715 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
47718 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
47721 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
47724 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
47727 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
47730 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
47733 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
47736 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
47739 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
47742 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
47745 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
47748 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
47751 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
47754 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
47757 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
47760 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
47763 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
47766 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
47769 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
47772 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
47775 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
47778 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
47781 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
47784 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
47787 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
47790 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
47793 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
47796 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
47799 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
47802 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
47805 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
47808 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
47811 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
47814 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
47817 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
47820 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
47823 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
47826 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
47829 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
47832 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
47835 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
47838 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
47841 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
47844 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
47847 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
47850 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
47853 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
47856 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
47859 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
47862 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
47865 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
47868 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
47871 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
47874 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
47877 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
47880 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
47883 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
47886 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
47889 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
47892 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
47895 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
47898 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
47901 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
47904 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
47907 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
47910 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
47913 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
47916 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
47919 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
47922 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
47925 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
47928 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
47931 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
47934 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
47937 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
47940 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
47943 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
47946 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
47949 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
47952 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
47955 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
47958 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
47961 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
47964 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
47967 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
47970 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
47973 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
47976 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
47979 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
47982 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
47985 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
47988 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
47991 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
47994 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
47997 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48000 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48003 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48006 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48009 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48012 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48015 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48018 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48021 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48024 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48027 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48030 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48033 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48036 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48039 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48042 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48045 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48048 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48051 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48054 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48057 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48060 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48063 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48066 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48069 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48072 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48075 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48078 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48081 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48084 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48087 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48090 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48093 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48096 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48099 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48102 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48105 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48108 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48111 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48114 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48117 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48120 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48123 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48126 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48129 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48132 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48135 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48138 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48141 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48144 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48147 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48150 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48153 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48156 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48159 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48162 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48165 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48168 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48171 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48174 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48177 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48180 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48183 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48186 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48189 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48192 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48195 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48198 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48201 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48204 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48207 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48210 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48213 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48216 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48219 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48222 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48225 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48228 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48231 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48234 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48237 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48240 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48243 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48246 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48249 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48252 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48255 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48258 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48261 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48264 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48267 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48270 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48273 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48276 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48279 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48282 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48285 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48288 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48291 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48294 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48297 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48300 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48303 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48306 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48309 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48312 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48315 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48318 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48321 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48324 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48327 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48330 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48333 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48336 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48339 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48342 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48345 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48347 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48348 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48350 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48353 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48356 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48359 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48362 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48365 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48368 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48371 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48374 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48377 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48380 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48383 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48386 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48389 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48392 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48395 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48398 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48401 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48404 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48407 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48410 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48413 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48416 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48419 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48422 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48425 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48428 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48431 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48434 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48437 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48440 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48443 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48446 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48449 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48452 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48455 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48458 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48461 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48464 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48467 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48470 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48473 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48476 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48479 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48482 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48485 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48488 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48491 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48494 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
48497 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
48500 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
48502 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
48503 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
48505 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
48508 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
48511 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
48514 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
48517 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
48519 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
48520 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
48521 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
48522 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
48523 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
48524 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
48526 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48529 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48532 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
48535 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
48538 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
48541 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
48544 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
48547 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
48550 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
48553 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
48556 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
48559 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
48562 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
48565 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
48568 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
48570 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
48571 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
48572 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
48573 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
48574 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
48575 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
48576 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
48577 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
48578 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
48579 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
48580 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
48581 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
48582 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
48583 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
48584 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
48585 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
48586 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
48587 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
48588 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
48589 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
48590 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
48591 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
48592 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
48593 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
48594 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
48595 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
48596 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
48597 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
48598 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
48599 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
48600 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
48601 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
48602 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
48603 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
48604 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
48605 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
48606 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
48607 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
48608 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
48609 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
48610 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
48611 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
48612 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
48613 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
48614 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
48615 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
48616 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
48617 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
48618 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
48619 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
48620 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
48621 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
48622 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
48623 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
48624 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
48625 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
48626 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
48627 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
48628 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
48629 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
48630 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
48631 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
48632 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
48633 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
48634 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
48635 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
48636 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
48637 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
48638 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
48639 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
48640 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
48641 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
48642 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
48643 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
48644 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
48645 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
48646 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
48647 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
48648 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
48649 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
48650 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
48651 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
48652 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
48653 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
48654 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
48655 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
48656 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
48657 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
48658 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
48659 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
48660 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
48661 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
48662 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
48663 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
48664 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
48665 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
48666 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
48667 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
48668 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
48669 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
48670 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
48671 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
48672 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
48673 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
48674 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
48675 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
48676 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
48677 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
48678 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
48679 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
48680 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
48681 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
48682 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
48683 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
48685 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
48688 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
48691 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
48694 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
48697 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
48700 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
48703 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
48706 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
48709 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
48712 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
48715 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
48718 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
48721 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
48724 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
48727 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
48730 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
48733 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
48736 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
48738 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
48739 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
48741 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
48744 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
48747 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
48750 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
48753 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
48755 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
48756 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
48758 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
48761 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
48764 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
48766 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
48768 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
48771 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
48774 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
48777 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
48780 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
48783 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
48786 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
48789 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
48792 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
48795 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
48798 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
48801 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
48804 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
48807 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
48810 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
48813 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
48816 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
48819 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
48822 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
48825 // Initialize threading, some globals and such
48829 // Although these are defined in __version__ they need to be here too so
48830 // that an assert can be done to ensure that the wxPython and the wxWindows
48832 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
48833 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
48834 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));