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_wxDateEvent swig_types[56]
1398 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1399 #define SWIGTYPE_p_wxStaticBox swig_types[58]
1400 #define SWIGTYPE_p_long swig_types[59]
1401 #define SWIGTYPE_p_wxDuplexMode swig_types[60]
1402 #define SWIGTYPE_p_wxTIFFHandler swig_types[61]
1403 #define SWIGTYPE_p_wxXPMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxPNMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
1406 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1407 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
1408 #define SWIGTYPE_p_wxPNGHandler swig_types[67]
1409 #define SWIGTYPE_p_wxANIHandler swig_types[68]
1410 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxZipFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[72]
1414 #define SWIGTYPE_p_wxEvtHandler swig_types[73]
1415 #define SWIGTYPE_p_wxCURHandler swig_types[74]
1416 #define SWIGTYPE_p_wxICOHandler swig_types[75]
1417 #define SWIGTYPE_p_wxBMPHandler swig_types[76]
1418 #define SWIGTYPE_p_wxImageHandler swig_types[77]
1419 #define SWIGTYPE_p_wxFileSystemHandler swig_types[78]
1420 #define SWIGTYPE_p_wxRect swig_types[79]
1421 #define SWIGTYPE_p_wxButton swig_types[80]
1422 #define SWIGTYPE_p_wxGBSpan swig_types[81]
1423 #define SWIGTYPE_p_wxPropagateOnce swig_types[82]
1424 #define SWIGTYPE_p_wxAcceleratorTable swig_types[83]
1425 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[84]
1426 #define SWIGTYPE_p_char swig_types[85]
1427 #define SWIGTYPE_p_wxGBPosition swig_types[86]
1428 #define SWIGTYPE_p_wxImage swig_types[87]
1429 #define SWIGTYPE_p_wxFrame swig_types[88]
1430 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPaperSize swig_types[90]
1432 #define SWIGTYPE_p_wxImageHistogram swig_types[91]
1433 #define SWIGTYPE_p_wxPoint swig_types[92]
1434 #define SWIGTYPE_p_wxCursor swig_types[93]
1435 #define SWIGTYPE_p_wxObject swig_types[94]
1436 #define SWIGTYPE_p_wxInputStream swig_types[95]
1437 #define SWIGTYPE_p_wxOutputStream swig_types[96]
1438 #define SWIGTYPE_p_wxPyInputStream swig_types[97]
1439 #define SWIGTYPE_p_wxDateTime swig_types[98]
1440 #define SWIGTYPE_p_wxKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[101]
1443 #define SWIGTYPE_p_unsigned_long swig_types[102]
1444 #define SWIGTYPE_p_wxWindow swig_types[103]
1445 #define SWIGTYPE_p_wxMenuBar swig_types[104]
1446 #define SWIGTYPE_p_wxFileSystem swig_types[105]
1447 #define SWIGTYPE_p_wxBitmap swig_types[106]
1448 #define SWIGTYPE_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_wxMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_wxContextMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_unsigned_char swig_types[111]
1453 #define SWIGTYPE_p_wxEraseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxPyApp swig_types[115]
1457 #define SWIGTYPE_p_wxCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyDropTarget swig_types[118]
1460 #define SWIGTYPE_p_wxQuantize swig_types[119]
1461 #define SWIGTYPE_p_wxChildFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[122]
1464 #define SWIGTYPE_p_wxControlWithItems swig_types[123]
1465 #define SWIGTYPE_p_wxColour swig_types[124]
1466 #define SWIGTYPE_p_wxValidator swig_types[125]
1467 #define SWIGTYPE_p_wxPyValidator swig_types[126]
1468 static swig_type_info
*swig_types
[128];
1470 /* -------- TYPES TABLE (END) -------- */
1473 /*-----------------------------------------------
1474 @(target):= _core_.so
1475 ------------------------------------------------*/
1476 #define SWIG_init init_core_
1478 #define SWIG_name "_core_"
1480 #include "wx/wxPython/wxPython_int.h"
1481 #include "wx/wxPython/pyclasses.h"
1484 #ifndef wxPyUSE_EXPORT
1485 // Helper functions for dealing with SWIG objects and such. These are
1486 // located here so they know about the SWIG types and functions declared
1487 // in the wrapper code.
1489 #include <wx/hashmap.h>
1490 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1493 // Maintains a hashmap of className to swig_type_info pointers. Given the
1494 // name of a class either looks up the type info in the cache, or scans the
1495 // SWIG tables for it.
1496 extern PyObject
* wxPyPtrTypeMap
;
1498 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1500 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1502 if (typeInfoCache
== NULL
)
1503 typeInfoCache
= new wxPyTypeInfoHashMap
;
1505 wxString
name(className
);
1506 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1509 // it wasn't in the cache, so look it up from SWIG
1510 name
.Append(wxT(" *"));
1511 swigType
= SWIG_TypeQuery(name
.mb_str());
1513 // if it still wasn't found, try looking for a mapped name
1518 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1519 (char*)(const char*)name
.mbc_str())) != NULL
) {
1520 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1521 name
.Append(wxT(" *"));
1522 swigType
= SWIG_TypeQuery(name
.mb_str());
1526 // and add it to the map if found
1527 (*typeInfoCache
)[className
] = swigType
;
1534 // Check if a class name is a type known to SWIG
1535 bool wxPyCheckSwigType(const wxChar
* className
) {
1537 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1538 return swigType
!= NULL
;
1542 // Given a pointer to a C++ object and a class name, construct a Python proxy
1544 PyObject
* wxPyConstructObject(void* ptr
,
1545 const wxChar
* className
,
1548 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1549 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1551 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1555 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1556 // Ensures that the proxy object is of the specified (or derived) type. If
1557 // not able to perform the conversion then a Python exception is set and the
1558 // error should be handled properly in the caller. Returns True on success.
1559 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1560 const wxChar
* className
) {
1562 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1563 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1565 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1569 // Make a SWIGified pointer object suitable for a .this attribute
1570 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1572 PyObject
* robj
= NULL
;
1574 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1575 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1577 #ifdef SWIG_COBJECT_TYPES
1578 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1582 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1583 PyString_FromString(result
) : 0;
1593 // Export a C API in a struct. Other modules will be able to load this from
1594 // the wx._core_ module and will then have safe access to these functions,
1595 // even if they are located in another shared library.
1596 static wxPyCoreAPI API
= {
1599 wxPyConstructObject
,
1603 wxPyBeginAllowThreads
,
1604 wxPyEndAllowThreads
,
1605 wxPyBeginBlockThreads
,
1606 wxPyEndBlockThreads
,
1618 wxPoint_LIST_helper
,
1619 wxBitmap_LIST_helper
,
1620 wxString_LIST_helper
,
1621 wxAcceleratorEntry_LIST_helper
,
1630 wxPySimple_typecheck
,
1633 wxPyCBH_setCallbackInfo
,
1634 wxPyCBH_findCallback
,
1635 wxPyCBH_callCallback
,
1636 wxPyCBH_callCallbackObj
,
1642 wxPy2int_seq_helper
,
1643 wxPy4int_seq_helper
,
1644 wxArrayString2PyList_helper
,
1645 wxArrayInt2PyList_helper
,
1647 wxPyClientData_dtor
,
1649 wxPyOORClientData_dtor
,
1651 wxPyCBInputStream_create
,
1654 wxPySwigInstance_Check
,
1663 #if !WXWIN_COMPATIBILITY_2_4
1664 #define wxHIDE_READONLY 0
1668 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1669 #define SWIG_From_int PyInt_FromLong
1674 enum wxHotkeyModifier
1682 #define wxEVT_HOTKEY 9999
1685 static const wxString
wxPyEmptyString(wxEmptyString
);
1686 static wxString
wxObject_GetClassName(wxObject
*self
){
1687 return self
->GetClassInfo()->GetClassName();
1689 static void wxObject_Destroy(wxObject
*self
){
1694 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1702 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1705 if (value
< min_value
) {
1707 PyErr_Format(PyExc_OverflowError
,
1708 "value %ld is less than '%s' minimum %ld",
1709 value
, errmsg
, min_value
);
1712 } else if (value
> max_value
) {
1714 PyErr_Format(PyExc_OverflowError
,
1715 "value %ld is greater than '%s' maximum %ld",
1716 value
, errmsg
, max_value
);
1725 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1727 if (PyNumber_Check(obj
)) {
1728 if (val
) *val
= PyInt_AsLong(obj
);
1732 SWIG_type_error("number", obj
);
1738 #if INT_MAX != LONG_MAX
1740 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1742 const char* errmsg
= val
? "int" : (char*)0;
1744 if (SWIG_AsVal_long(obj
, &v
)) {
1745 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1746 if (val
) *val
= (int)(v
);
1755 SWIG_type_error(errmsg
, obj
);
1761 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1763 return SWIG_AsVal_long(obj
,(long*)val
);
1769 SWIG_As_int(PyObject
* obj
)
1772 if (!SWIG_AsVal_int(obj
, &v
)) {
1774 this is needed to make valgrind/purify happier.
1776 memset((void*)&v
, 0, sizeof(int));
1783 SWIG_Check_int(PyObject
* obj
)
1785 return SWIG_AsVal_int(obj
, (int*)0);
1788 static PyObject
*wxSize_Get(wxSize
*self
){
1789 bool blocked
= wxPyBeginBlockThreads();
1790 PyObject
* tup
= PyTuple_New(2);
1791 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1792 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1793 wxPyEndBlockThreads(blocked
);
1798 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1800 if (PyNumber_Check(obj
)) {
1801 if (val
) *val
= PyFloat_AsDouble(obj
);
1805 SWIG_type_error("number", obj
);
1811 SWIGINTERNSHORT
double
1812 SWIG_As_double(PyObject
* obj
)
1815 if (!SWIG_AsVal_double(obj
, &v
)) {
1817 this is needed to make valgrind/purify happier.
1819 memset((void*)&v
, 0, sizeof(double));
1826 SWIG_Check_double(PyObject
* obj
)
1828 return SWIG_AsVal_double(obj
, (double*)0);
1832 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1833 #define SWIG_From_double PyFloat_FromDouble
1836 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1840 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1841 bool blocked
= wxPyBeginBlockThreads();
1842 PyObject
* tup
= PyTuple_New(2);
1843 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1844 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1845 wxPyEndBlockThreads(blocked
);
1849 SWIGINTERNSHORT
long
1850 SWIG_As_long(PyObject
* obj
)
1853 if (!SWIG_AsVal_long(obj
, &v
)) {
1855 this is needed to make valgrind/purify happier.
1857 memset((void*)&v
, 0, sizeof(long));
1864 SWIG_Check_long(PyObject
* obj
)
1866 return SWIG_AsVal_long(obj
, (long*)0);
1869 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1873 static PyObject
*wxPoint_Get(wxPoint
*self
){
1874 bool blocked
= wxPyBeginBlockThreads();
1875 PyObject
* tup
= PyTuple_New(2);
1876 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1877 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1878 wxPyEndBlockThreads(blocked
);
1881 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1884 self
->width
= width
;
1885 self
->height
= height
;
1887 static PyObject
*wxRect_Get(wxRect
*self
){
1888 bool blocked
= wxPyBeginBlockThreads();
1889 PyObject
* tup
= PyTuple_New(4);
1890 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1891 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1892 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1893 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1894 wxPyEndBlockThreads(blocked
);
1898 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1901 wxRect
dest(0,0,0,0);
1904 reg1
.Intersect(reg2
);
1905 dest
= reg1
.GetBox();
1907 if (dest
!= wxRect(0,0,0,0)) {
1908 bool blocked
= wxPyBeginBlockThreads();
1909 wxRect
* newRect
= new wxRect(dest
);
1910 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1911 wxPyEndBlockThreads(blocked
);
1919 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1925 } else if (target
== Py_None
) {
1929 if (!PyTuple_Check(target
)) {
1931 target
= PyTuple_New(1);
1932 PyTuple_SetItem(target
, 0, o2
);
1934 o3
= PyTuple_New(1);
1935 PyTuple_SetItem(o3
, 0, o
);
1938 target
= PySequence_Concat(o2
, o3
);
1946 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1950 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1951 bool blocked
= wxPyBeginBlockThreads();
1952 PyObject
* tup
= PyTuple_New(2);
1953 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1954 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1955 wxPyEndBlockThreads(blocked
);
1959 #include "wx/wxPython/pyistream.h"
1961 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1962 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1964 return new wxPyInputStream(wxis
);
1969 SWIGINTERNSHORT PyObject
*
1970 SWIG_From_char(char c
)
1972 return PyString_FromStringAndSize(&c
,1);
1976 SWIGINTERNSHORT PyObject
*
1977 SWIG_From_unsigned_SS_long(unsigned long value
)
1979 return (value
> LONG_MAX
) ?
1980 PyLong_FromUnsignedLong(value
)
1981 : PyInt_FromLong((long)(value
));
1985 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1987 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1989 static swig_type_info
* pchar_info
= 0;
1991 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1992 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1993 if (cptr
) *cptr
= vptr
;
1994 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1998 if (PyString_Check(obj
)) {
2000 *cptr
= PyString_AS_STRING(obj
);
2002 *psize
= PyString_GET_SIZE(obj
) + 1;
2009 SWIG_type_error("char *", obj
);
2016 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2018 char* cptr
; size_t csize
;
2019 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2022 char x[5] = "hello";
2024 ie, assing the array using an extra '0' char.
2026 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2027 if (csize
<= size
) {
2029 if (csize
) memcpy(val
, cptr
, csize
);
2030 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2036 PyErr_Format(PyExc_TypeError
,
2037 "a char array of maximum size %lu is expected",
2038 (unsigned long) size
);
2045 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2047 const char* errmsg
= val
? "char" : (char*)0;
2049 if (SWIG_AsVal_long(obj
, &v
)) {
2050 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2051 if (val
) *val
= (char)(v
);
2058 return SWIG_AsCharArray(obj
, val
, 1);
2063 SWIGINTERNSHORT
char
2064 SWIG_As_char(PyObject
* obj
)
2067 if (!SWIG_AsVal_char(obj
, &v
)) {
2069 this is needed to make valgrind/purify happier.
2071 memset((void*)&v
, 0, sizeof(char));
2078 SWIG_Check_char(PyObject
* obj
)
2080 return SWIG_AsVal_char(obj
, (char*)0);
2084 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2085 #define SWIG_From_long PyInt_FromLong
2088 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2089 // We use only strings for the streams, not unicode
2090 PyObject
* str
= PyObject_Str(obj
);
2092 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2095 self
->Write(PyString_AS_STRING(str
),
2096 PyString_GET_SIZE(str
));
2100 #include "wx/wxPython/pyistream.h"
2103 class wxPyFileSystemHandler
: public wxFileSystemHandler
2106 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2108 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2109 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2110 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2111 DEC_PYCALLBACK_STRING__pure(FindNext
);
2113 wxString
GetProtocol(const wxString
& location
) {
2114 return wxFileSystemHandler::GetProtocol(location
);
2117 wxString
GetLeftLocation(const wxString
& location
) {
2118 return wxFileSystemHandler::GetLeftLocation(location
);
2121 wxString
GetAnchor(const wxString
& location
) {
2122 return wxFileSystemHandler::GetAnchor(location
);
2125 wxString
GetRightLocation(const wxString
& location
) {
2126 return wxFileSystemHandler::GetRightLocation(location
);
2129 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2130 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2137 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2138 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2139 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2140 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2144 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2146 if (obj
== Py_True
) {
2147 if (val
) *val
= true;
2150 if (obj
== Py_False
) {
2151 if (val
) *val
= false;
2155 if (SWIG_AsVal_int(obj
, &res
)) {
2156 if (val
) *val
= res
? true : false;
2162 SWIG_type_error("bool", obj
);
2168 SWIGINTERNSHORT
bool
2169 SWIG_As_bool(PyObject
* obj
)
2172 if (!SWIG_AsVal_bool(obj
, &v
)) {
2174 this is needed to make valgrind/purify happier.
2176 memset((void*)&v
, 0, sizeof(bool));
2183 SWIG_Check_bool(PyObject
* obj
)
2185 return SWIG_AsVal_bool(obj
, (bool*)0);
2188 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2189 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2190 return fname
.GetFullPath();
2193 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2196 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2199 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2200 const wxBitmap
& bitmap
,
2202 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2205 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2207 if (! PyString_Check(data
)) {
2208 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2209 "Expected string object"));
2213 bool blocked
= wxPyBeginBlockThreads();
2214 void* ptr
= (void*)PyString_AsString(data
);
2215 size_t size
= PyString_Size(data
);
2216 wxPyEndBlockThreads(blocked
);
2218 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2222 #include "wx/wxPython/pyistream.h"
2226 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2229 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2230 SWIG_type_error("unsigned number", obj
);
2233 *val
= (unsigned long)v
;
2239 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2240 unsigned long max_value
,
2243 if (value
> max_value
) {
2245 PyErr_Format(PyExc_OverflowError
,
2246 "value %lu is greater than '%s' minimum %lu",
2247 value
, errmsg
, max_value
);
2256 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2258 const char* errmsg
= val
? "unsigned char" : (char*)0;
2260 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2261 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2262 if (val
) *val
= (unsigned char)(v
);
2271 SWIG_type_error(errmsg
, obj
);
2277 SWIGINTERNSHORT
unsigned char
2278 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2281 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2283 this is needed to make valgrind/purify happier.
2285 memset((void*)&v
, 0, sizeof(unsigned char));
2292 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2294 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2298 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2299 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2303 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2304 if (width
> 0 && height
> 0)
2305 return new wxImage(width
, height
, clear
);
2309 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2310 return new wxImage(bitmap
.ConvertToImage());
2312 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2313 // Copy the source data so the wxImage can clean it up later
2314 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2319 memcpy(copy
, data
, width
*height
*3);
2320 return new wxImage(width
, height
, copy
, false);
2322 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2323 // Copy the source data so the wxImage can clean it up later
2324 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2325 if (dcopy
== NULL
) {
2329 memcpy(dcopy
, data
, width
*height
*3);
2330 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2331 if (acopy
== NULL
) {
2335 memcpy(acopy
, alpha
, width
*height
);
2337 return new wxImage(width
, height
, dcopy
, acopy
, false);
2339 static wxSize
wxImage_GetSize(wxImage
*self
){
2340 wxSize
size(self
->GetWidth(), self
->GetHeight());
2343 static PyObject
*wxImage_GetData(wxImage
*self
){
2344 unsigned char* data
= self
->GetData();
2345 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2347 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2350 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2351 unsigned char* dataPtr
;
2353 if (! PyString_Check(data
)) {
2354 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2355 "Expected string object"));
2359 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2360 dataPtr
= (unsigned char*) malloc(len
);
2361 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2362 self
->SetData(dataPtr
);
2363 // wxImage takes ownership of dataPtr...
2365 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2366 unsigned char* data
= self
->GetData();
2367 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2369 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2372 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2373 unsigned char* buffer
;
2376 bool blocked
= wxPyBeginBlockThreads();
2377 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2380 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2381 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2384 self
->SetData(buffer
);
2386 wxPyEndBlockThreads(blocked
);
2388 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2389 unsigned char* data
= self
->GetAlpha();
2393 int len
= self
->GetWidth() * self
->GetHeight();
2395 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2399 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2400 unsigned char* dataPtr
;
2402 if (! PyString_Check(data
)) {
2403 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2407 size_t len
= self
->GetWidth() * self
->GetHeight();
2408 dataPtr
= (unsigned char*) malloc(len
);
2409 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2410 self
->SetAlpha(dataPtr
);
2411 // wxImage takes ownership of dataPtr...
2413 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2414 unsigned char* data
= self
->GetAlpha();
2415 int len
= self
->GetWidth() * self
->GetHeight();
2417 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2420 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2421 unsigned char* buffer
;
2424 bool blocked
= wxPyBeginBlockThreads();
2425 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2428 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2429 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2432 self
->SetAlpha(buffer
);
2434 wxPyEndBlockThreads(blocked
);
2437 SWIGINTERNSHORT
unsigned long
2438 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2441 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2443 this is needed to make valgrind/purify happier.
2445 memset((void*)&v
, 0, sizeof(unsigned long));
2452 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2454 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2457 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2458 wxBitmap
bitmap(*self
, depth
);
2461 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2462 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2463 wxBitmap
bitmap( mono
, 1 );
2466 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2467 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2468 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2469 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2470 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2471 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2472 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2473 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2474 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2475 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2476 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2477 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2479 #include <wx/quantize.h>
2481 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2482 return wxQuantize::Quantize(src
, dest
,
2485 NULL
, // eightBitData
2488 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2489 if (PyCallable_Check(func
)) {
2490 self
->Connect(id
, lastId
, eventType
,
2491 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2492 new wxPyCallback(func
));
2494 else if (func
== Py_None
) {
2495 self
->Disconnect(id
, lastId
, eventType
,
2496 (wxObjectEventFunction
)
2497 &wxPyCallback::EventThunker
);
2501 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2504 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2505 return self
->Disconnect(id
, lastId
, eventType
,
2506 (wxObjectEventFunction
)
2507 &wxPyCallback::EventThunker
);
2509 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2510 if (_self
&& _self
!= Py_None
) {
2511 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2514 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2516 self
->SetClientObject(NULL
); // This will delete it too
2521 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2523 return self
->GetUnicodeKey();
2529 #if UINT_MAX < LONG_MAX
2530 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2531 #define SWIG_From_unsigned_SS_int SWIG_From_long
2534 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2535 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2540 #if UINT_MAX != ULONG_MAX
2542 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2544 const char* errmsg
= val
? "unsigned int" : (char*)0;
2546 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2547 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2548 if (val
) *val
= (unsigned int)(v
);
2555 SWIG_type_error(errmsg
, obj
);
2560 SWIGINTERNSHORT
unsigned int
2561 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2563 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2568 SWIGINTERNSHORT
unsigned int
2569 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2572 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2574 this is needed to make valgrind/purify happier.
2576 memset((void*)&v
, 0, sizeof(unsigned int));
2583 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2585 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2588 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2589 self
->m_size
= size
;
2591 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2592 int count
= self
->GetNumberOfFiles();
2593 wxString
* files
= self
->GetFiles();
2594 PyObject
* list
= PyList_New(count
);
2597 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2601 for (int i
=0; i
<count
; i
++) {
2602 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2608 static wxPyApp
*new_wxPyApp(){
2609 wxPythonApp
= new wxPyApp();
2612 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2614 void wxApp_CleanUp() {
2619 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2623 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2625 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2630 SWIG_type_error("char *", obj
);
2636 SWIGINTERN PyObject
*
2637 SWIG_FromCharPtr(const char* cptr
)
2640 size_t size
= strlen(cptr
);
2641 if (size
> INT_MAX
) {
2642 return SWIG_NewPointerObj((char*)(cptr
),
2643 SWIG_TypeQuery("char *"), 0);
2646 return PyString_FromStringAndSize(cptr
, size
);
2648 return PyString_FromString(cptr
);
2659 // A dummy class that raises an exception if used...
2663 wxEventLoop() { wxPyRaiseNotImplemented(); }
2664 int Run() { return 0; }
2665 void Exit(int rc
= 0) {}
2666 bool Pending() const { return false; }
2667 bool Dispatch() { return false; }
2668 bool IsRunning() const { return false; }
2669 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2670 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2675 #include <wx/evtloop.h>
2681 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2682 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2683 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2684 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2685 wxWindowList
& list
= self
->GetChildren();
2686 return wxPy_ConvertList(&list
);
2688 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2690 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2695 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2702 static long wxWindow_GetHandle(wxWindow
*self
){
2703 return wxPyGetWinHandle(self
);
2705 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2706 self
->AssociateHandle((WXWidget
)handle
);
2709 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2710 return wxWindow::FindWindowById(id
, parent
);
2713 wxWindow
* wxFindWindowByName( const wxString
& name
,
2714 const wxWindow
*parent
= NULL
) {
2715 return wxWindow::FindWindowByName(name
, parent
);
2718 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2719 const wxWindow
*parent
= NULL
) {
2720 return wxWindow::FindWindowByLabel(label
, parent
);
2725 #include <wx/msw/private.h> // to get wxGetWindowId
2729 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2731 WXHWND hWnd
= (WXHWND
)_hWnd
;
2732 long id
= wxGetWindowId(hWnd
);
2733 wxWindow
* win
= new wxWindow
;
2734 parent
->AddChild(win
);
2735 win
->SetEventHandler(win
);
2738 win
->SubclassWin(hWnd
);
2739 win
->AdoptAttributesFromHWND();
2740 win
->SetupColours();
2743 wxPyRaiseNotImplemented();
2749 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2750 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2751 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2753 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2755 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2756 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2757 wxMenuItemList
& list
= self
->GetMenuItems();
2758 return wxPy_ConvertList(&list
);
2760 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2761 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2762 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2764 wxPyClientData
* data
= new wxPyClientData(clientData
);
2765 return self
->Append(item
, data
);
2767 return self
->Append(item
);
2769 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2771 wxPyClientData
* data
= new wxPyClientData(clientData
);
2772 return self
->Insert(item
, pos
, data
);
2774 return self
->Insert(item
, pos
);
2776 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2777 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2779 Py_INCREF(data
->m_obj
);
2786 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2787 wxPyClientData
* data
= new wxPyClientData(clientData
);
2788 self
->SetClientObject(n
, data
);
2792 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2793 wxPyUserData
* data
= NULL
;
2795 bool blocked
= wxPyBeginBlockThreads();
2796 data
= new wxPyUserData(userData
);
2797 wxPyEndBlockThreads(blocked
);
2799 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2801 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2802 wxPyUserData
* data
= NULL
;
2804 bool blocked
= wxPyBeginBlockThreads();
2805 data
= new wxPyUserData(userData
);
2806 wxPyEndBlockThreads(blocked
);
2808 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2810 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2811 wxPyUserData
* data
= NULL
;
2813 bool blocked
= wxPyBeginBlockThreads();
2814 data
= new wxPyUserData(userData
);
2815 wxPyEndBlockThreads(blocked
);
2817 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2822 SWIG_CheckDoubleInRange(double value
, double min_value
,
2823 double max_value
, const char* errmsg
)
2825 if (value
< min_value
) {
2827 PyErr_Format(PyExc_OverflowError
,
2828 "value %g is less than %s minimum %g",
2829 value
, errmsg
, min_value
);
2832 } else if (value
> max_value
) {
2834 PyErr_Format(PyExc_OverflowError
,
2835 "value %g is greater than %s maximum %g",
2836 value
, errmsg
, max_value
);
2845 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2847 const char* errmsg
= val
? "float" : (char*)0;
2849 if (SWIG_AsVal_double(obj
, &v
)) {
2850 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2851 if (val
) *val
= (float)(v
);
2860 SWIG_type_error(errmsg
, obj
);
2866 SWIGINTERNSHORT
float
2867 SWIG_As_float(PyObject
* obj
)
2870 if (!SWIG_AsVal_float(obj
, &v
)) {
2872 this is needed to make valgrind/purify happier.
2874 memset((void*)&v
, 0, sizeof(float));
2881 SWIG_Check_float(PyObject
* obj
)
2883 return SWIG_AsVal_float(obj
, (float*)0);
2887 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2888 #define SWIG_From_float PyFloat_FromDouble
2891 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2892 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2894 Py_INCREF(data
->m_obj
);
2902 // Figure out the type of the sizer item
2904 struct wxPySizerItemInfo
{
2906 : window(NULL
), sizer(NULL
), gotSize(false),
2907 size(wxDefaultSize
), gotPos(false), pos(-1)
2918 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2920 wxPySizerItemInfo info
;
2922 wxSize
* sizePtr
= &size
;
2924 // Find out what the type of the item is
2926 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2931 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2935 // try wxSize or (w,h)
2936 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2937 info
.size
= *sizePtr
;
2938 info
.gotSize
= true;
2942 if (checkIdx
&& PyInt_Check(item
)) {
2943 info
.pos
= PyInt_AsLong(item
);
2949 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2950 // no expected type, figure out what kind of error message to generate
2951 if ( !checkSize
&& !checkIdx
)
2952 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2953 else if ( checkSize
&& !checkIdx
)
2954 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2955 else if ( !checkSize
&& checkIdx
)
2956 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2958 // can this one happen?
2959 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2965 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2966 if (!self
->GetClientObject())
2967 self
->SetClientObject(new wxPyOORClientData(_self
));
2969 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2971 wxPyUserData
* data
= NULL
;
2972 bool blocked
= wxPyBeginBlockThreads();
2973 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2974 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2975 data
= new wxPyUserData(userData
);
2976 wxPyEndBlockThreads(blocked
);
2978 // Now call the real Add method if a valid item type was found
2980 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2981 else if ( info
.sizer
)
2982 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2983 else if (info
.gotSize
)
2984 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2985 proportion
, flag
, border
, data
);
2989 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2991 wxPyUserData
* data
= NULL
;
2992 bool blocked
= wxPyBeginBlockThreads();
2993 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2994 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2995 data
= new wxPyUserData(userData
);
2996 wxPyEndBlockThreads(blocked
);
2998 // Now call the real Insert method if a valid item type was found
3000 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3001 else if ( info
.sizer
)
3002 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3003 else if (info
.gotSize
)
3004 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3005 proportion
, flag
, border
, data
);
3009 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3011 wxPyUserData
* data
= NULL
;
3012 bool blocked
= wxPyBeginBlockThreads();
3013 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3014 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3015 data
= new wxPyUserData(userData
);
3016 wxPyEndBlockThreads(blocked
);
3018 // Now call the real Prepend method if a valid item type was found
3020 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3021 else if ( info
.sizer
)
3022 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3023 else if (info
.gotSize
)
3024 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3025 proportion
, flag
, border
, data
);
3029 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3030 bool blocked
= wxPyBeginBlockThreads();
3031 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3032 wxPyEndBlockThreads(blocked
);
3034 return self
->Remove(info
.window
);
3035 else if ( info
.sizer
)
3036 return self
->Remove(info
.sizer
);
3037 else if ( info
.gotPos
)
3038 return self
->Remove(info
.pos
);
3042 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3043 bool blocked
= wxPyBeginBlockThreads();
3044 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3045 wxPyEndBlockThreads(blocked
);
3047 return self
->Detach(info
.window
);
3048 else if ( info
.sizer
)
3049 return self
->Detach(info
.sizer
);
3050 else if ( info
.gotPos
)
3051 return self
->Detach(info
.pos
);
3055 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3056 bool blocked
= wxPyBeginBlockThreads();
3057 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3058 wxPyEndBlockThreads(blocked
);
3060 return self
->GetItem(info
.window
);
3061 else if ( info
.sizer
)
3062 return self
->GetItem(info
.sizer
);
3063 else if ( info
.gotPos
)
3064 return self
->GetItem(info
.pos
);
3068 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3069 bool blocked
= wxPyBeginBlockThreads();
3070 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3071 wxPyEndBlockThreads(blocked
);
3073 self
->SetItemMinSize(info
.window
, size
);
3074 else if ( info
.sizer
)
3075 self
->SetItemMinSize(info
.sizer
, size
);
3076 else if ( info
.gotPos
)
3077 self
->SetItemMinSize(info
.pos
, size
);
3079 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3080 wxSizerItemList
& list
= self
->GetChildren();
3081 return wxPy_ConvertList(&list
);
3083 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3084 bool blocked
= wxPyBeginBlockThreads();
3085 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3086 wxPyEndBlockThreads(blocked
);
3088 return self
->Show(info
.window
, show
, recursive
);
3089 else if ( info
.sizer
)
3090 return self
->Show(info
.sizer
, show
, recursive
);
3091 else if ( info
.gotPos
)
3092 return self
->Show(info
.pos
, show
);
3096 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3097 bool blocked
= wxPyBeginBlockThreads();
3098 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3099 wxPyEndBlockThreads(blocked
);
3101 return self
->IsShown(info
.window
);
3102 else if ( info
.sizer
)
3103 return self
->IsShown(info
.sizer
);
3104 else if ( info
.gotPos
)
3105 return self
->IsShown(info
.pos
);
3111 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3112 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3113 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3118 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3120 if (source
== Py_None
) {
3121 **obj
= wxGBPosition(-1,-1);
3124 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3127 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3129 if (source
== Py_None
) {
3130 **obj
= wxGBSpan(-1,-1);
3133 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3137 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3141 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3142 bool blocked
= wxPyBeginBlockThreads();
3143 PyObject
* tup
= PyTuple_New(2);
3144 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3145 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3146 wxPyEndBlockThreads(blocked
);
3149 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3150 self
->SetRowspan(rowspan
);
3151 self
->SetColspan(colspan
);
3153 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3154 bool blocked
= wxPyBeginBlockThreads();
3155 PyObject
* tup
= PyTuple_New(2);
3156 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3157 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3158 wxPyEndBlockThreads(blocked
);
3161 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3162 wxPyUserData
* data
= NULL
;
3164 bool blocked
= wxPyBeginBlockThreads();
3165 data
= new wxPyUserData(userData
);
3166 wxPyEndBlockThreads(blocked
);
3168 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3170 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3171 wxPyUserData
* data
= NULL
;
3173 bool blocked
= wxPyBeginBlockThreads();
3174 data
= new wxPyUserData(userData
);
3175 wxPyEndBlockThreads(blocked
);
3177 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3179 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3180 wxPyUserData
* data
= NULL
;
3182 bool blocked
= wxPyBeginBlockThreads();
3183 data
= new wxPyUserData(userData
);
3184 wxPyEndBlockThreads(blocked
);
3186 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3188 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3190 self
->GetEndPos(row
, col
);
3191 return wxGBPosition(row
, col
);
3193 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3195 wxPyUserData
* data
= NULL
;
3196 bool blocked
= wxPyBeginBlockThreads();
3197 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3198 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3199 data
= new wxPyUserData(userData
);
3200 wxPyEndBlockThreads(blocked
);
3202 // Now call the real Add method if a valid item type was found
3204 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3205 else if ( info
.sizer
)
3206 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3207 else if (info
.gotSize
)
3208 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3209 pos
, span
, flag
, border
, data
);
3217 static int _wrap_EmptyString_set(PyObject
*) {
3218 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3223 static PyObject
*_wrap_EmptyString_get(void) {
3228 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3230 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3237 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxObject
*arg1
= (wxObject
*) 0 ;
3241 PyObject
* obj0
= 0 ;
3243 (char *) "self", NULL
3246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3248 if (SWIG_arg_fail(1)) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 result
= wxObject_GetClassName(arg1
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3269 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
*resultobj
;
3271 wxObject
*arg1
= (wxObject
*) 0 ;
3272 PyObject
* obj0
= 0 ;
3274 (char *) "self", NULL
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3279 if (SWIG_arg_fail(1)) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 wxObject_Destroy(arg1
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3287 Py_INCREF(Py_None
); resultobj
= Py_None
;
3294 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3297 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3299 return Py_BuildValue((char *)"");
3301 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
*resultobj
;
3303 wxSize
*arg1
= (wxSize
*) 0 ;
3305 PyObject
* obj0
= 0 ;
3306 PyObject
* obj1
= 0 ;
3308 (char *) "self",(char *) "x", NULL
3311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail
;
3315 arg2
= (int)(SWIG_As_int(obj1
));
3316 if (SWIG_arg_fail(2)) SWIG_fail
;
3318 if (arg1
) (arg1
)->x
= arg2
;
3320 Py_INCREF(Py_None
); resultobj
= Py_None
;
3327 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxSize
*arg1
= (wxSize
*) 0 ;
3331 PyObject
* obj0
= 0 ;
3333 (char *) "self", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3338 if (SWIG_arg_fail(1)) SWIG_fail
;
3339 result
= (int) ((arg1
)->x
);
3342 resultobj
= SWIG_From_int((int)(result
));
3350 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3351 PyObject
*resultobj
;
3352 wxSize
*arg1
= (wxSize
*) 0 ;
3354 PyObject
* obj0
= 0 ;
3355 PyObject
* obj1
= 0 ;
3357 (char *) "self",(char *) "y", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3362 if (SWIG_arg_fail(1)) SWIG_fail
;
3364 arg2
= (int)(SWIG_As_int(obj1
));
3365 if (SWIG_arg_fail(2)) SWIG_fail
;
3367 if (arg1
) (arg1
)->y
= arg2
;
3369 Py_INCREF(Py_None
); resultobj
= Py_None
;
3376 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxSize
*arg1
= (wxSize
*) 0 ;
3380 PyObject
* obj0
= 0 ;
3382 (char *) "self", NULL
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3387 if (SWIG_arg_fail(1)) SWIG_fail
;
3388 result
= (int) ((arg1
)->y
);
3391 resultobj
= SWIG_From_int((int)(result
));
3399 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 int arg1
= (int) 0 ;
3402 int arg2
= (int) 0 ;
3404 PyObject
* obj0
= 0 ;
3405 PyObject
* obj1
= 0 ;
3407 (char *) "w",(char *) "h", NULL
3410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3413 arg1
= (int)(SWIG_As_int(obj0
));
3414 if (SWIG_arg_fail(1)) SWIG_fail
;
3419 arg2
= (int)(SWIG_As_int(obj1
));
3420 if (SWIG_arg_fail(2)) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3437 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxSize
*arg1
= (wxSize
*) 0 ;
3440 PyObject
* obj0
= 0 ;
3442 (char *) "self", NULL
3445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3447 if (SWIG_arg_fail(1)) SWIG_fail
;
3449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 wxPyEndAllowThreads(__tstate
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3455 Py_INCREF(Py_None
); resultobj
= Py_None
;
3462 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3463 PyObject
*resultobj
;
3464 wxSize
*arg1
= (wxSize
*) 0 ;
3468 PyObject
* obj0
= 0 ;
3469 PyObject
* obj1
= 0 ;
3471 (char *) "self",(char *) "sz", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3476 if (SWIG_arg_fail(1)) SWIG_fail
;
3479 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3497 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
*resultobj
;
3499 wxSize
*arg1
= (wxSize
*) 0 ;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3506 (char *) "self",(char *) "sz", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3511 if (SWIG_arg_fail(1)) SWIG_fail
;
3514 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3532 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxSize
*arg1
= (wxSize
*) 0 ;
3538 PyObject
* obj0
= 0 ;
3539 PyObject
* obj1
= 0 ;
3541 (char *) "self",(char *) "sz", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3546 if (SWIG_arg_fail(1)) SWIG_fail
;
3549 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3560 resultptr
= new wxSize((wxSize
&)(result
));
3561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3569 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3571 wxSize
*arg1
= (wxSize
*) 0 ;
3575 PyObject
* obj0
= 0 ;
3576 PyObject
* obj1
= 0 ;
3578 (char *) "self",(char *) "sz", NULL
3581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3583 if (SWIG_arg_fail(1)) SWIG_fail
;
3586 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3597 resultptr
= new wxSize((wxSize
&)(result
));
3598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3606 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
*resultobj
;
3608 wxSize
*arg1
= (wxSize
*) 0 ;
3611 PyObject
* obj0
= 0 ;
3612 PyObject
* obj1
= 0 ;
3614 (char *) "self",(char *) "sz", NULL
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3619 if (SWIG_arg_fail(1)) SWIG_fail
;
3622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3626 (arg1
)->IncTo((wxSize
const &)*arg2
);
3628 wxPyEndAllowThreads(__tstate
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 Py_INCREF(Py_None
); resultobj
= Py_None
;
3638 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxSize
*arg1
= (wxSize
*) 0 ;
3643 PyObject
* obj0
= 0 ;
3644 PyObject
* obj1
= 0 ;
3646 (char *) "self",(char *) "sz", NULL
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3651 if (SWIG_arg_fail(1)) SWIG_fail
;
3654 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 (arg1
)->DecTo((wxSize
const &)*arg2
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 Py_INCREF(Py_None
); resultobj
= Py_None
;
3670 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxSize
*arg1
= (wxSize
*) 0 ;
3675 PyObject
* obj0
= 0 ;
3676 PyObject
* obj1
= 0 ;
3677 PyObject
* obj2
= 0 ;
3679 (char *) "self",(char *) "w",(char *) "h", NULL
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3684 if (SWIG_arg_fail(1)) SWIG_fail
;
3686 arg2
= (int)(SWIG_As_int(obj1
));
3687 if (SWIG_arg_fail(2)) SWIG_fail
;
3690 arg3
= (int)(SWIG_As_int(obj2
));
3691 if (SWIG_arg_fail(3)) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 (arg1
)->Set(arg2
,arg3
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3700 Py_INCREF(Py_None
); resultobj
= Py_None
;
3707 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3709 wxSize
*arg1
= (wxSize
*) 0 ;
3711 PyObject
* obj0
= 0 ;
3712 PyObject
* obj1
= 0 ;
3714 (char *) "self",(char *) "w", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3719 if (SWIG_arg_fail(1)) SWIG_fail
;
3721 arg2
= (int)(SWIG_As_int(obj1
));
3722 if (SWIG_arg_fail(2)) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 (arg1
)->SetWidth(arg2
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 Py_INCREF(Py_None
); resultobj
= Py_None
;
3738 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxSize
*arg1
= (wxSize
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3743 PyObject
* obj1
= 0 ;
3745 (char *) "self",(char *) "h", NULL
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3750 if (SWIG_arg_fail(1)) SWIG_fail
;
3752 arg2
= (int)(SWIG_As_int(obj1
));
3753 if (SWIG_arg_fail(2)) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 (arg1
)->SetHeight(arg2
);
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3762 Py_INCREF(Py_None
); resultobj
= Py_None
;
3769 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3771 wxSize
*arg1
= (wxSize
*) 0 ;
3773 PyObject
* obj0
= 0 ;
3775 (char *) "self", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3780 if (SWIG_arg_fail(1)) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3789 resultobj
= SWIG_From_int((int)(result
));
3797 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3799 wxSize
*arg1
= (wxSize
*) 0 ;
3801 PyObject
* obj0
= 0 ;
3803 (char *) "self", NULL
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3808 if (SWIG_arg_fail(1)) SWIG_fail
;
3810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3811 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3813 wxPyEndAllowThreads(__tstate
);
3814 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_From_int((int)(result
));
3825 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3827 wxSize
*arg1
= (wxSize
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3831 (char *) "self", NULL
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3836 if (SWIG_arg_fail(1)) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3853 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3855 wxSize
*arg1
= (wxSize
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3861 (char *) "self",(char *) "size", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3866 if (SWIG_arg_fail(1)) SWIG_fail
;
3869 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 Py_INCREF(Py_None
); resultobj
= Py_None
;
3885 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxSize
*arg1
= (wxSize
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3891 (char *) "self", NULL
3894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3896 if (SWIG_arg_fail(1)) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 result
= (PyObject
*)wxSize_Get(arg1
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3911 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3914 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3916 return Py_BuildValue((char *)"");
3918 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3922 PyObject
* obj0
= 0 ;
3923 PyObject
* obj1
= 0 ;
3925 (char *) "self",(char *) "x", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3930 if (SWIG_arg_fail(1)) SWIG_fail
;
3932 arg2
= (double)(SWIG_As_double(obj1
));
3933 if (SWIG_arg_fail(2)) SWIG_fail
;
3935 if (arg1
) (arg1
)->x
= arg2
;
3937 Py_INCREF(Py_None
); resultobj
= Py_None
;
3944 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
;
3946 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3948 PyObject
* obj0
= 0 ;
3950 (char *) "self", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3955 if (SWIG_arg_fail(1)) SWIG_fail
;
3956 result
= (double) ((arg1
)->x
);
3959 resultobj
= SWIG_From_double((double)(result
));
3967 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3974 (char *) "self",(char *) "y", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3979 if (SWIG_arg_fail(1)) SWIG_fail
;
3981 arg2
= (double)(SWIG_As_double(obj1
));
3982 if (SWIG_arg_fail(2)) SWIG_fail
;
3984 if (arg1
) (arg1
)->y
= arg2
;
3986 Py_INCREF(Py_None
); resultobj
= Py_None
;
3993 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3999 (char *) "self", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4004 if (SWIG_arg_fail(1)) SWIG_fail
;
4005 result
= (double) ((arg1
)->y
);
4008 resultobj
= SWIG_From_double((double)(result
));
4016 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 double arg1
= (double) 0.0 ;
4019 double arg2
= (double) 0.0 ;
4020 wxRealPoint
*result
;
4021 PyObject
* obj0
= 0 ;
4022 PyObject
* obj1
= 0 ;
4024 (char *) "x",(char *) "y", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4030 arg1
= (double)(SWIG_As_double(obj0
));
4031 if (SWIG_arg_fail(1)) SWIG_fail
;
4036 arg2
= (double)(SWIG_As_double(obj1
));
4037 if (SWIG_arg_fail(2)) SWIG_fail
;
4041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4042 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4044 wxPyEndAllowThreads(__tstate
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4054 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
*resultobj
;
4056 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4057 PyObject
* obj0
= 0 ;
4059 (char *) "self", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4064 if (SWIG_arg_fail(1)) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4082 wxRealPoint
*arg2
= 0 ;
4085 PyObject
* obj0
= 0 ;
4086 PyObject
* obj1
= 0 ;
4088 (char *) "self",(char *) "pt", NULL
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4093 if (SWIG_arg_fail(1)) SWIG_fail
;
4096 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4114 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
*resultobj
;
4116 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4117 wxRealPoint
*arg2
= 0 ;
4120 PyObject
* obj0
= 0 ;
4121 PyObject
* obj1
= 0 ;
4123 (char *) "self",(char *) "pt", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4128 if (SWIG_arg_fail(1)) SWIG_fail
;
4131 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4149 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4152 wxRealPoint
*arg2
= 0 ;
4155 PyObject
* obj0
= 0 ;
4156 PyObject
* obj1
= 0 ;
4158 (char *) "self",(char *) "pt", NULL
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4163 if (SWIG_arg_fail(1)) SWIG_fail
;
4166 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4176 wxRealPoint
* resultptr
;
4177 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4186 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4189 wxRealPoint
*arg2
= 0 ;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4195 (char *) "self",(char *) "pt", NULL
4198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4200 if (SWIG_arg_fail(1)) SWIG_fail
;
4203 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4213 wxRealPoint
* resultptr
;
4214 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4223 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4228 PyObject
* obj0
= 0 ;
4229 PyObject
* obj1
= 0 ;
4230 PyObject
* obj2
= 0 ;
4232 (char *) "self",(char *) "x",(char *) "y", NULL
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4237 if (SWIG_arg_fail(1)) SWIG_fail
;
4239 arg2
= (double)(SWIG_As_double(obj1
));
4240 if (SWIG_arg_fail(2)) SWIG_fail
;
4243 arg3
= (double)(SWIG_As_double(obj2
));
4244 if (SWIG_arg_fail(3)) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 wxRealPoint_Set(arg1
,arg2
,arg3
);
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 Py_INCREF(Py_None
); resultobj
= Py_None
;
4260 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4264 PyObject
* obj0
= 0 ;
4266 (char *) "self", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4271 if (SWIG_arg_fail(1)) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4286 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4289 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4291 return Py_BuildValue((char *)"");
4293 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
*resultobj
;
4295 wxPoint
*arg1
= (wxPoint
*) 0 ;
4297 PyObject
* obj0
= 0 ;
4298 PyObject
* obj1
= 0 ;
4300 (char *) "self",(char *) "x", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4305 if (SWIG_arg_fail(1)) SWIG_fail
;
4307 arg2
= (int)(SWIG_As_int(obj1
));
4308 if (SWIG_arg_fail(2)) SWIG_fail
;
4310 if (arg1
) (arg1
)->x
= arg2
;
4312 Py_INCREF(Py_None
); resultobj
= Py_None
;
4319 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4321 wxPoint
*arg1
= (wxPoint
*) 0 ;
4323 PyObject
* obj0
= 0 ;
4325 (char *) "self", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4330 if (SWIG_arg_fail(1)) SWIG_fail
;
4331 result
= (int) ((arg1
)->x
);
4334 resultobj
= SWIG_From_int((int)(result
));
4342 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxPoint
*arg1
= (wxPoint
*) 0 ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4349 (char *) "self",(char *) "y", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4354 if (SWIG_arg_fail(1)) SWIG_fail
;
4356 arg2
= (int)(SWIG_As_int(obj1
));
4357 if (SWIG_arg_fail(2)) SWIG_fail
;
4359 if (arg1
) (arg1
)->y
= arg2
;
4361 Py_INCREF(Py_None
); resultobj
= Py_None
;
4368 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4370 wxPoint
*arg1
= (wxPoint
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4374 (char *) "self", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4379 if (SWIG_arg_fail(1)) SWIG_fail
;
4380 result
= (int) ((arg1
)->y
);
4383 resultobj
= SWIG_From_int((int)(result
));
4391 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
;
4393 int arg1
= (int) 0 ;
4394 int arg2
= (int) 0 ;
4396 PyObject
* obj0
= 0 ;
4397 PyObject
* obj1
= 0 ;
4399 (char *) "x",(char *) "y", NULL
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4405 arg1
= (int)(SWIG_As_int(obj0
));
4406 if (SWIG_arg_fail(1)) SWIG_fail
;
4411 arg2
= (int)(SWIG_As_int(obj1
));
4412 if (SWIG_arg_fail(2)) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4429 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
;
4431 wxPoint
*arg1
= (wxPoint
*) 0 ;
4432 PyObject
* obj0
= 0 ;
4434 (char *) "self", NULL
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4439 if (SWIG_arg_fail(1)) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 Py_INCREF(Py_None
); resultobj
= Py_None
;
4454 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxPoint
*arg1
= (wxPoint
*) 0 ;
4460 PyObject
* obj0
= 0 ;
4461 PyObject
* obj1
= 0 ;
4463 (char *) "self",(char *) "pt", NULL
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4468 if (SWIG_arg_fail(1)) SWIG_fail
;
4471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4489 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 wxPoint
*arg1
= (wxPoint
*) 0 ;
4495 PyObject
* obj0
= 0 ;
4496 PyObject
* obj1
= 0 ;
4498 (char *) "self",(char *) "pt", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4503 if (SWIG_arg_fail(1)) SWIG_fail
;
4506 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4524 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxPoint
*arg1
= (wxPoint
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4531 PyObject
* obj1
= 0 ;
4533 (char *) "self",(char *) "pt", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4538 if (SWIG_arg_fail(1)) SWIG_fail
;
4541 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4545 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4551 wxPoint
* resultptr
;
4552 resultptr
= new wxPoint((wxPoint
&)(result
));
4553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4561 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxPoint
*arg1
= (wxPoint
*) 0 ;
4567 PyObject
* obj0
= 0 ;
4568 PyObject
* obj1
= 0 ;
4570 (char *) "self",(char *) "pt", NULL
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4575 if (SWIG_arg_fail(1)) SWIG_fail
;
4578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4588 wxPoint
* resultptr
;
4589 resultptr
= new wxPoint((wxPoint
&)(result
));
4590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4598 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
*resultobj
;
4600 wxPoint
*arg1
= (wxPoint
*) 0 ;
4604 PyObject
* obj0
= 0 ;
4605 PyObject
* obj1
= 0 ;
4607 (char *) "self",(char *) "pt", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4612 if (SWIG_arg_fail(1)) SWIG_fail
;
4615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4621 result
= (wxPoint
*) &_result_ref
;
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4634 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxPoint
*arg1
= (wxPoint
*) 0 ;
4640 PyObject
* obj0
= 0 ;
4641 PyObject
* obj1
= 0 ;
4643 (char *) "self",(char *) "pt", NULL
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4648 if (SWIG_arg_fail(1)) SWIG_fail
;
4651 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4657 result
= (wxPoint
*) &_result_ref
;
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4670 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4671 PyObject
*resultobj
;
4672 wxPoint
*arg1
= (wxPoint
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 PyObject
* obj2
= 0 ;
4679 (char *) "self",(char *) "x",(char *) "y", NULL
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4684 if (SWIG_arg_fail(1)) SWIG_fail
;
4686 arg2
= (long)(SWIG_As_long(obj1
));
4687 if (SWIG_arg_fail(2)) SWIG_fail
;
4690 arg3
= (long)(SWIG_As_long(obj2
));
4691 if (SWIG_arg_fail(3)) SWIG_fail
;
4694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 wxPoint_Set(arg1
,arg2
,arg3
);
4697 wxPyEndAllowThreads(__tstate
);
4698 if (PyErr_Occurred()) SWIG_fail
;
4700 Py_INCREF(Py_None
); resultobj
= Py_None
;
4707 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
*resultobj
;
4709 wxPoint
*arg1
= (wxPoint
*) 0 ;
4711 PyObject
* obj0
= 0 ;
4713 (char *) "self", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4718 if (SWIG_arg_fail(1)) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (PyObject
*)wxPoint_Get(arg1
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4733 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4736 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4738 return Py_BuildValue((char *)"");
4740 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
*resultobj
;
4742 int arg1
= (int) 0 ;
4743 int arg2
= (int) 0 ;
4744 int arg3
= (int) 0 ;
4745 int arg4
= (int) 0 ;
4747 PyObject
* obj0
= 0 ;
4748 PyObject
* obj1
= 0 ;
4749 PyObject
* obj2
= 0 ;
4750 PyObject
* obj3
= 0 ;
4752 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4758 arg1
= (int)(SWIG_As_int(obj0
));
4759 if (SWIG_arg_fail(1)) SWIG_fail
;
4764 arg2
= (int)(SWIG_As_int(obj1
));
4765 if (SWIG_arg_fail(2)) SWIG_fail
;
4770 arg3
= (int)(SWIG_As_int(obj2
));
4771 if (SWIG_arg_fail(3)) SWIG_fail
;
4776 arg4
= (int)(SWIG_As_int(obj3
));
4777 if (SWIG_arg_fail(4)) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4794 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
;
4801 PyObject
* obj0
= 0 ;
4802 PyObject
* obj1
= 0 ;
4804 (char *) "topLeft",(char *) "bottomRight", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4810 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4814 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4818 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4820 wxPyEndAllowThreads(__tstate
);
4821 if (PyErr_Occurred()) SWIG_fail
;
4823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4830 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
*resultobj
;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4840 (char *) "pos",(char *) "size", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4846 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4850 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4866 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4871 PyObject
* obj0
= 0 ;
4873 (char *) "size", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4879 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4895 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxRect
*arg1
= (wxRect
*) 0 ;
4898 PyObject
* obj0
= 0 ;
4900 (char *) "self", NULL
4903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4905 if (SWIG_arg_fail(1)) SWIG_fail
;
4907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 wxPyEndAllowThreads(__tstate
);
4911 if (PyErr_Occurred()) SWIG_fail
;
4913 Py_INCREF(Py_None
); resultobj
= Py_None
;
4920 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4921 PyObject
*resultobj
;
4922 wxRect
*arg1
= (wxRect
*) 0 ;
4924 PyObject
* obj0
= 0 ;
4926 (char *) "self", NULL
4929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4931 if (SWIG_arg_fail(1)) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (int)((wxRect
const *)arg1
)->GetX();
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4940 resultobj
= SWIG_From_int((int)(result
));
4948 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4950 wxRect
*arg1
= (wxRect
*) 0 ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4955 (char *) "self",(char *) "x", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4960 if (SWIG_arg_fail(1)) SWIG_fail
;
4962 arg2
= (int)(SWIG_As_int(obj1
));
4963 if (SWIG_arg_fail(2)) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 Py_INCREF(Py_None
); resultobj
= Py_None
;
4979 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxRect
*arg1
= (wxRect
*) 0 ;
4983 PyObject
* obj0
= 0 ;
4985 (char *) "self", NULL
4988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4990 if (SWIG_arg_fail(1)) SWIG_fail
;
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 result
= (int)(arg1
)->GetY();
4995 wxPyEndAllowThreads(__tstate
);
4996 if (PyErr_Occurred()) SWIG_fail
;
4999 resultobj
= SWIG_From_int((int)(result
));
5007 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
*resultobj
;
5009 wxRect
*arg1
= (wxRect
*) 0 ;
5011 PyObject
* obj0
= 0 ;
5012 PyObject
* obj1
= 0 ;
5014 (char *) "self",(char *) "y", NULL
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5019 if (SWIG_arg_fail(1)) SWIG_fail
;
5021 arg2
= (int)(SWIG_As_int(obj1
));
5022 if (SWIG_arg_fail(2)) SWIG_fail
;
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 wxPyEndAllowThreads(__tstate
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5031 Py_INCREF(Py_None
); resultobj
= Py_None
;
5038 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
;
5040 wxRect
*arg1
= (wxRect
*) 0 ;
5042 PyObject
* obj0
= 0 ;
5044 (char *) "self", NULL
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5049 if (SWIG_arg_fail(1)) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= SWIG_From_int((int)(result
));
5066 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5067 PyObject
*resultobj
;
5068 wxRect
*arg1
= (wxRect
*) 0 ;
5070 PyObject
* obj0
= 0 ;
5071 PyObject
* obj1
= 0 ;
5073 (char *) "self",(char *) "w", NULL
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5078 if (SWIG_arg_fail(1)) SWIG_fail
;
5080 arg2
= (int)(SWIG_As_int(obj1
));
5081 if (SWIG_arg_fail(2)) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 (arg1
)->SetWidth(arg2
);
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 Py_INCREF(Py_None
); resultobj
= Py_None
;
5097 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5099 wxRect
*arg1
= (wxRect
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5103 (char *) "self", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5108 if (SWIG_arg_fail(1)) SWIG_fail
;
5110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5111 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5113 wxPyEndAllowThreads(__tstate
);
5114 if (PyErr_Occurred()) SWIG_fail
;
5117 resultobj
= SWIG_From_int((int)(result
));
5125 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxRect
*arg1
= (wxRect
*) 0 ;
5129 PyObject
* obj0
= 0 ;
5130 PyObject
* obj1
= 0 ;
5132 (char *) "self",(char *) "h", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5137 if (SWIG_arg_fail(1)) SWIG_fail
;
5139 arg2
= (int)(SWIG_As_int(obj1
));
5140 if (SWIG_arg_fail(2)) SWIG_fail
;
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 (arg1
)->SetHeight(arg2
);
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 Py_INCREF(Py_None
); resultobj
= Py_None
;
5156 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxRect
*arg1
= (wxRect
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 (char *) "self", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5167 if (SWIG_arg_fail(1)) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= ((wxRect
const *)arg1
)->GetPosition();
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5176 wxPoint
* resultptr
;
5177 resultptr
= new wxPoint((wxPoint
&)(result
));
5178 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5186 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxRect
*arg1
= (wxRect
*) 0 ;
5191 PyObject
* obj0
= 0 ;
5192 PyObject
* obj1
= 0 ;
5194 (char *) "self",(char *) "p", NULL
5197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5199 if (SWIG_arg_fail(1)) SWIG_fail
;
5202 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 Py_INCREF(Py_None
); resultobj
= Py_None
;
5218 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxRect
*arg1
= (wxRect
*) 0 ;
5222 PyObject
* obj0
= 0 ;
5224 (char *) "self", NULL
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5229 if (SWIG_arg_fail(1)) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= ((wxRect
const *)arg1
)->GetSize();
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5239 resultptr
= new wxSize((wxSize
&)(result
));
5240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5248 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxRect
*arg1
= (wxRect
*) 0 ;
5253 PyObject
* obj0
= 0 ;
5254 PyObject
* obj1
= 0 ;
5256 (char *) "self",(char *) "s", NULL
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5261 if (SWIG_arg_fail(1)) SWIG_fail
;
5264 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 (arg1
)->SetSize((wxSize
const &)*arg2
);
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 Py_INCREF(Py_None
); resultobj
= Py_None
;
5280 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 wxRect
*arg1
= (wxRect
*) 0 ;
5284 PyObject
* obj0
= 0 ;
5286 (char *) "self", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5291 if (SWIG_arg_fail(1)) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5300 wxPoint
* resultptr
;
5301 resultptr
= new wxPoint((wxPoint
&)(result
));
5302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5310 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
*resultobj
;
5312 wxRect
*arg1
= (wxRect
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5316 PyObject
* obj1
= 0 ;
5318 (char *) "self",(char *) "p", NULL
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5323 if (SWIG_arg_fail(1)) SWIG_fail
;
5326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 Py_INCREF(Py_None
); resultobj
= Py_None
;
5342 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxRect
*arg1
= (wxRect
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5348 (char *) "self", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5353 if (SWIG_arg_fail(1)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 wxPoint
* resultptr
;
5363 resultptr
= new wxPoint((wxPoint
&)(result
));
5364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5372 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxRect
*arg1
= (wxRect
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "p", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5385 if (SWIG_arg_fail(1)) SWIG_fail
;
5388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxRect
*arg1
= (wxRect
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5415 if (SWIG_arg_fail(1)) SWIG_fail
;
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5420 wxPyEndAllowThreads(__tstate
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= SWIG_From_int((int)(result
));
5432 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxRect
*arg1
= (wxRect
*) 0 ;
5436 PyObject
* obj0
= 0 ;
5438 (char *) "self", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5443 if (SWIG_arg_fail(1)) SWIG_fail
;
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 result
= (int)((wxRect
const *)arg1
)->GetTop();
5448 wxPyEndAllowThreads(__tstate
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5452 resultobj
= SWIG_From_int((int)(result
));
5460 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxRect
*arg1
= (wxRect
*) 0 ;
5464 PyObject
* obj0
= 0 ;
5466 (char *) "self", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5471 if (SWIG_arg_fail(1)) SWIG_fail
;
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_From_int((int)(result
));
5488 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxRect
*arg1
= (wxRect
*) 0 ;
5492 PyObject
* obj0
= 0 ;
5494 (char *) "self", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5499 if (SWIG_arg_fail(1)) SWIG_fail
;
5501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5502 result
= (int)((wxRect
const *)arg1
)->GetRight();
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5508 resultobj
= SWIG_From_int((int)(result
));
5516 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxRect
*arg1
= (wxRect
*) 0 ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5523 (char *) "self",(char *) "left", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5528 if (SWIG_arg_fail(1)) SWIG_fail
;
5530 arg2
= (int)(SWIG_As_int(obj1
));
5531 if (SWIG_arg_fail(2)) SWIG_fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 (arg1
)->SetLeft(arg2
);
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 Py_INCREF(Py_None
); resultobj
= Py_None
;
5547 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxRect
*arg1
= (wxRect
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5554 (char *) "self",(char *) "right", NULL
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail
;
5561 arg2
= (int)(SWIG_As_int(obj1
));
5562 if (SWIG_arg_fail(2)) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 (arg1
)->SetRight(arg2
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxRect
*arg1
= (wxRect
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "top", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5590 if (SWIG_arg_fail(1)) SWIG_fail
;
5592 arg2
= (int)(SWIG_As_int(obj1
));
5593 if (SWIG_arg_fail(2)) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 (arg1
)->SetTop(arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 Py_INCREF(Py_None
); resultobj
= Py_None
;
5609 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5610 PyObject
*resultobj
;
5611 wxRect
*arg1
= (wxRect
*) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5616 (char *) "self",(char *) "bottom", NULL
5619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5621 if (SWIG_arg_fail(1)) SWIG_fail
;
5623 arg2
= (int)(SWIG_As_int(obj1
));
5624 if (SWIG_arg_fail(2)) SWIG_fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 (arg1
)->SetBottom(arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 Py_INCREF(Py_None
); resultobj
= Py_None
;
5640 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxRect
*arg1
= (wxRect
*) 0 ;
5646 PyObject
* obj0
= 0 ;
5647 PyObject
* obj1
= 0 ;
5648 PyObject
* obj2
= 0 ;
5650 (char *) "self",(char *) "dx",(char *) "dy", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5655 if (SWIG_arg_fail(1)) SWIG_fail
;
5657 arg2
= (int)(SWIG_As_int(obj1
));
5658 if (SWIG_arg_fail(2)) SWIG_fail
;
5661 arg3
= (int)(SWIG_As_int(obj2
));
5662 if (SWIG_arg_fail(3)) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5668 result
= (wxRect
*) &_result_ref
;
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5681 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxRect
*arg1
= (wxRect
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5689 PyObject
* obj2
= 0 ;
5691 (char *) "self",(char *) "dx",(char *) "dy", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5696 if (SWIG_arg_fail(1)) SWIG_fail
;
5698 arg2
= (int)(SWIG_As_int(obj1
));
5699 if (SWIG_arg_fail(2)) SWIG_fail
;
5702 arg3
= (int)(SWIG_As_int(obj2
));
5703 if (SWIG_arg_fail(3)) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5709 result
= (wxRect
*) &_result_ref
;
5712 wxPyEndAllowThreads(__tstate
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5722 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
*resultobj
;
5724 wxRect
*arg1
= (wxRect
*) 0 ;
5727 PyObject
* obj0
= 0 ;
5728 PyObject
* obj1
= 0 ;
5729 PyObject
* obj2
= 0 ;
5731 (char *) "self",(char *) "dx",(char *) "dy", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5736 if (SWIG_arg_fail(1)) SWIG_fail
;
5738 arg2
= (int)(SWIG_As_int(obj1
));
5739 if (SWIG_arg_fail(2)) SWIG_fail
;
5742 arg3
= (int)(SWIG_As_int(obj2
));
5743 if (SWIG_arg_fail(3)) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 (arg1
)->Offset(arg2
,arg3
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 Py_INCREF(Py_None
); resultobj
= Py_None
;
5759 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxRect
*arg1
= (wxRect
*) 0 ;
5764 PyObject
* obj0
= 0 ;
5765 PyObject
* obj1
= 0 ;
5767 (char *) "self",(char *) "pt", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5772 if (SWIG_arg_fail(1)) SWIG_fail
;
5775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 (arg1
)->Offset((wxPoint
const &)*arg2
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5784 Py_INCREF(Py_None
); resultobj
= Py_None
;
5791 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
*resultobj
;
5793 wxRect
*arg1
= (wxRect
*) 0 ;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5800 (char *) "self",(char *) "rect", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5805 if (SWIG_arg_fail(1)) SWIG_fail
;
5808 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5814 wxPyEndAllowThreads(__tstate
);
5815 if (PyErr_Occurred()) SWIG_fail
;
5819 resultptr
= new wxRect((wxRect
&)(result
));
5820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5828 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxRect
*arg1
= (wxRect
*) 0 ;
5834 PyObject
* obj0
= 0 ;
5835 PyObject
* obj1
= 0 ;
5837 (char *) "self",(char *) "rect", NULL
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5842 if (SWIG_arg_fail(1)) SWIG_fail
;
5845 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5851 wxPyEndAllowThreads(__tstate
);
5852 if (PyErr_Occurred()) SWIG_fail
;
5856 resultptr
= new wxRect((wxRect
&)(result
));
5857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5865 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
;
5867 wxRect
*arg1
= (wxRect
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5872 PyObject
* obj1
= 0 ;
5874 (char *) "self",(char *) "rect", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5879 if (SWIG_arg_fail(1)) SWIG_fail
;
5882 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5893 resultptr
= new wxRect((wxRect
&)(result
));
5894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5902 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxRect
*arg1
= (wxRect
*) 0 ;
5908 PyObject
* obj0
= 0 ;
5909 PyObject
* obj1
= 0 ;
5911 (char *) "self",(char *) "rect", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5916 if (SWIG_arg_fail(1)) SWIG_fail
;
5919 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5925 result
= (wxRect
*) &_result_ref
;
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5938 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxRect
*arg1
= (wxRect
*) 0 ;
5944 PyObject
* obj0
= 0 ;
5945 PyObject
* obj1
= 0 ;
5947 (char *) "self",(char *) "rect", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5952 if (SWIG_arg_fail(1)) SWIG_fail
;
5955 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5961 wxPyEndAllowThreads(__tstate
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5973 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
*resultobj
;
5975 wxRect
*arg1
= (wxRect
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5980 PyObject
* obj1
= 0 ;
5982 (char *) "self",(char *) "rect", NULL
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5987 if (SWIG_arg_fail(1)) SWIG_fail
;
5990 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6008 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxRect
*arg1
= (wxRect
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6016 PyObject
* obj2
= 0 ;
6018 (char *) "self",(char *) "x",(char *) "y", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6023 if (SWIG_arg_fail(1)) SWIG_fail
;
6025 arg2
= (int)(SWIG_As_int(obj1
));
6026 if (SWIG_arg_fail(2)) SWIG_fail
;
6029 arg3
= (int)(SWIG_As_int(obj2
));
6030 if (SWIG_arg_fail(3)) SWIG_fail
;
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6048 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxRect
*arg1
= (wxRect
*) 0 ;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6057 (char *) "self",(char *) "pt", NULL
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6062 if (SWIG_arg_fail(1)) SWIG_fail
;
6065 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6083 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6085 wxRect
*arg1
= (wxRect
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6092 (char *) "self",(char *) "rect", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6097 if (SWIG_arg_fail(1)) SWIG_fail
;
6100 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6104 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6118 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
*resultobj
;
6120 wxRect
*arg1
= (wxRect
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6123 PyObject
* obj1
= 0 ;
6125 (char *) "self",(char *) "x", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6130 if (SWIG_arg_fail(1)) SWIG_fail
;
6132 arg2
= (int)(SWIG_As_int(obj1
));
6133 if (SWIG_arg_fail(2)) SWIG_fail
;
6135 if (arg1
) (arg1
)->x
= arg2
;
6137 Py_INCREF(Py_None
); resultobj
= Py_None
;
6144 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxRect
*arg1
= (wxRect
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6150 (char *) "self", NULL
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6155 if (SWIG_arg_fail(1)) SWIG_fail
;
6156 result
= (int) ((arg1
)->x
);
6159 resultobj
= SWIG_From_int((int)(result
));
6167 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxRect
*arg1
= (wxRect
*) 0 ;
6171 PyObject
* obj0
= 0 ;
6172 PyObject
* obj1
= 0 ;
6174 (char *) "self",(char *) "y", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6179 if (SWIG_arg_fail(1)) SWIG_fail
;
6181 arg2
= (int)(SWIG_As_int(obj1
));
6182 if (SWIG_arg_fail(2)) SWIG_fail
;
6184 if (arg1
) (arg1
)->y
= arg2
;
6186 Py_INCREF(Py_None
); resultobj
= Py_None
;
6193 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxRect
*arg1
= (wxRect
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6199 (char *) "self", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6204 if (SWIG_arg_fail(1)) SWIG_fail
;
6205 result
= (int) ((arg1
)->y
);
6208 resultobj
= SWIG_From_int((int)(result
));
6216 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxRect
*arg1
= (wxRect
*) 0 ;
6220 PyObject
* obj0
= 0 ;
6221 PyObject
* obj1
= 0 ;
6223 (char *) "self",(char *) "width", NULL
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6228 if (SWIG_arg_fail(1)) SWIG_fail
;
6230 arg2
= (int)(SWIG_As_int(obj1
));
6231 if (SWIG_arg_fail(2)) SWIG_fail
;
6233 if (arg1
) (arg1
)->width
= arg2
;
6235 Py_INCREF(Py_None
); resultobj
= Py_None
;
6242 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
*resultobj
;
6244 wxRect
*arg1
= (wxRect
*) 0 ;
6246 PyObject
* obj0
= 0 ;
6248 (char *) "self", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6253 if (SWIG_arg_fail(1)) SWIG_fail
;
6254 result
= (int) ((arg1
)->width
);
6257 resultobj
= SWIG_From_int((int)(result
));
6265 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
;
6267 wxRect
*arg1
= (wxRect
*) 0 ;
6269 PyObject
* obj0
= 0 ;
6270 PyObject
* obj1
= 0 ;
6272 (char *) "self",(char *) "height", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6277 if (SWIG_arg_fail(1)) SWIG_fail
;
6279 arg2
= (int)(SWIG_As_int(obj1
));
6280 if (SWIG_arg_fail(2)) SWIG_fail
;
6282 if (arg1
) (arg1
)->height
= arg2
;
6284 Py_INCREF(Py_None
); resultobj
= Py_None
;
6291 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxRect
*arg1
= (wxRect
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6297 (char *) "self", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6302 if (SWIG_arg_fail(1)) SWIG_fail
;
6303 result
= (int) ((arg1
)->height
);
6306 resultobj
= SWIG_From_int((int)(result
));
6314 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxRect
*arg1
= (wxRect
*) 0 ;
6317 int arg2
= (int) 0 ;
6318 int arg3
= (int) 0 ;
6319 int arg4
= (int) 0 ;
6320 int arg5
= (int) 0 ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 PyObject
* obj2
= 0 ;
6324 PyObject
* obj3
= 0 ;
6325 PyObject
* obj4
= 0 ;
6327 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6332 if (SWIG_arg_fail(1)) SWIG_fail
;
6335 arg2
= (int)(SWIG_As_int(obj1
));
6336 if (SWIG_arg_fail(2)) SWIG_fail
;
6341 arg3
= (int)(SWIG_As_int(obj2
));
6342 if (SWIG_arg_fail(3)) SWIG_fail
;
6347 arg4
= (int)(SWIG_As_int(obj3
));
6348 if (SWIG_arg_fail(4)) SWIG_fail
;
6353 arg5
= (int)(SWIG_As_int(obj4
));
6354 if (SWIG_arg_fail(5)) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 Py_INCREF(Py_None
); resultobj
= Py_None
;
6371 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6373 wxRect
*arg1
= (wxRect
*) 0 ;
6375 PyObject
* obj0
= 0 ;
6377 (char *) "self", NULL
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6382 if (SWIG_arg_fail(1)) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 result
= (PyObject
*)wxRect_Get(arg1
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6397 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6400 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6402 return Py_BuildValue((char *)"");
6404 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxRect
*arg1
= (wxRect
*) 0 ;
6407 wxRect
*arg2
= (wxRect
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6412 (char *) "r1",(char *) "r2", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6417 if (SWIG_arg_fail(1)) SWIG_fail
;
6418 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6419 if (SWIG_arg_fail(2)) SWIG_fail
;
6421 if (!wxPyCheckForApp()) SWIG_fail
;
6422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6423 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6435 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 double arg1
= (double) 0.0 ;
6438 double arg2
= (double) 0.0 ;
6440 PyObject
* obj0
= 0 ;
6441 PyObject
* obj1
= 0 ;
6443 (char *) "x",(char *) "y", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6449 arg1
= (double)(SWIG_As_double(obj0
));
6450 if (SWIG_arg_fail(1)) SWIG_fail
;
6455 arg2
= (double)(SWIG_As_double(obj1
));
6456 if (SWIG_arg_fail(2)) SWIG_fail
;
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6473 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxPoint2D
*arg1
= 0 ;
6478 PyObject
* obj0
= 0 ;
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6486 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6490 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6492 wxPyEndAllowThreads(__tstate
);
6493 if (PyErr_Occurred()) SWIG_fail
;
6495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6502 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6507 PyObject
* obj0
= 0 ;
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6515 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6531 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6532 PyObject
*resultobj
;
6533 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6534 int *arg2
= (int *) 0 ;
6535 int *arg3
= (int *) 0 ;
6540 PyObject
* obj0
= 0 ;
6542 (char *) "self", NULL
6545 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6546 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6549 if (SWIG_arg_fail(1)) SWIG_fail
;
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6557 Py_INCREF(Py_None
); resultobj
= Py_None
;
6558 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6559 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6560 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6561 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6568 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6571 int *arg2
= (int *) 0 ;
6572 int *arg3
= (int *) 0 ;
6577 PyObject
* obj0
= 0 ;
6579 (char *) "self", NULL
6582 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6583 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6586 if (SWIG_arg_fail(1)) SWIG_fail
;
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 Py_INCREF(Py_None
); resultobj
= Py_None
;
6595 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6596 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6597 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6598 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6605 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6611 (char *) "self", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6616 if (SWIG_arg_fail(1)) SWIG_fail
;
6618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6619 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= SWIG_From_double((double)(result
));
6633 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6637 PyObject
* obj0
= 0 ;
6639 (char *) "self", NULL
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6644 if (SWIG_arg_fail(1)) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6653 resultobj
= SWIG_From_double((double)(result
));
6661 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6665 PyObject
* obj0
= 0 ;
6666 PyObject
* obj1
= 0 ;
6668 (char *) "self",(char *) "length", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6673 if (SWIG_arg_fail(1)) SWIG_fail
;
6675 arg2
= (double)(SWIG_As_double(obj1
));
6676 if (SWIG_arg_fail(2)) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 (arg1
)->SetVectorLength(arg2
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6692 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6696 PyObject
* obj0
= 0 ;
6697 PyObject
* obj1
= 0 ;
6699 (char *) "self",(char *) "degrees", NULL
6702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6704 if (SWIG_arg_fail(1)) SWIG_fail
;
6706 arg2
= (double)(SWIG_As_double(obj1
));
6707 if (SWIG_arg_fail(2)) SWIG_fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 (arg1
)->SetVectorAngle(arg2
);
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 Py_INCREF(Py_None
); resultobj
= Py_None
;
6723 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6725 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6726 wxPoint2D
*arg2
= 0 ;
6729 PyObject
* obj0
= 0 ;
6730 PyObject
* obj1
= 0 ;
6732 (char *) "self",(char *) "pt", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6737 if (SWIG_arg_fail(1)) SWIG_fail
;
6740 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= SWIG_From_double((double)(result
));
6758 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6759 PyObject
*resultobj
;
6760 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6761 wxPoint2D
*arg2
= 0 ;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6767 (char *) "self",(char *) "pt", NULL
6770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6772 if (SWIG_arg_fail(1)) SWIG_fail
;
6775 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= SWIG_From_double((double)(result
));
6793 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6794 PyObject
*resultobj
;
6795 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6796 wxPoint2D
*arg2
= 0 ;
6799 PyObject
* obj0
= 0 ;
6800 PyObject
* obj1
= 0 ;
6802 (char *) "self",(char *) "vec", NULL
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6807 if (SWIG_arg_fail(1)) SWIG_fail
;
6810 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_From_double((double)(result
));
6828 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6831 wxPoint2D
*arg2
= 0 ;
6834 PyObject
* obj0
= 0 ;
6835 PyObject
* obj1
= 0 ;
6837 (char *) "self",(char *) "vec", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6842 if (SWIG_arg_fail(1)) SWIG_fail
;
6845 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_From_double((double)(result
));
6863 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6865 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6867 PyObject
* obj0
= 0 ;
6869 (char *) "self", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6874 if (SWIG_arg_fail(1)) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= (arg1
)->operator -();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6883 wxPoint2D
* resultptr
;
6884 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6893 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
*resultobj
;
6895 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6896 wxPoint2D
*arg2
= 0 ;
6899 PyObject
* obj0
= 0 ;
6900 PyObject
* obj1
= 0 ;
6902 (char *) "self",(char *) "pt", NULL
6905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6907 if (SWIG_arg_fail(1)) SWIG_fail
;
6910 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6916 result
= (wxPoint2D
*) &_result_ref
;
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6929 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6932 wxPoint2D
*arg2
= 0 ;
6935 PyObject
* obj0
= 0 ;
6936 PyObject
* obj1
= 0 ;
6938 (char *) "self",(char *) "pt", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6943 if (SWIG_arg_fail(1)) SWIG_fail
;
6946 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6952 result
= (wxPoint2D
*) &_result_ref
;
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6965 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6968 wxPoint2D
*arg2
= 0 ;
6971 PyObject
* obj0
= 0 ;
6972 PyObject
* obj1
= 0 ;
6974 (char *) "self",(char *) "pt", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6979 if (SWIG_arg_fail(1)) SWIG_fail
;
6982 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6987 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6988 result
= (wxPoint2D
*) &_result_ref
;
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) SWIG_fail
;
6994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7001 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7004 wxPoint2D
*arg2
= 0 ;
7007 PyObject
* obj0
= 0 ;
7008 PyObject
* obj1
= 0 ;
7010 (char *) "self",(char *) "pt", NULL
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7015 if (SWIG_arg_fail(1)) SWIG_fail
;
7018 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7024 result
= (wxPoint2D
*) &_result_ref
;
7027 wxPyEndAllowThreads(__tstate
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7037 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
;
7039 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7040 wxPoint2D
*arg2
= 0 ;
7043 PyObject
* obj0
= 0 ;
7044 PyObject
* obj1
= 0 ;
7046 (char *) "self",(char *) "pt", NULL
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7051 if (SWIG_arg_fail(1)) SWIG_fail
;
7054 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7072 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
;
7074 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7075 wxPoint2D
*arg2
= 0 ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7081 (char *) "self",(char *) "pt", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7086 if (SWIG_arg_fail(1)) SWIG_fail
;
7089 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7107 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7108 PyObject
*resultobj
;
7109 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7114 (char *) "self",(char *) "m_x", NULL
7117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7119 if (SWIG_arg_fail(1)) SWIG_fail
;
7121 arg2
= (double)(SWIG_As_double(obj1
));
7122 if (SWIG_arg_fail(2)) SWIG_fail
;
7124 if (arg1
) (arg1
)->m_x
= arg2
;
7126 Py_INCREF(Py_None
); resultobj
= Py_None
;
7133 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "self", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7144 if (SWIG_arg_fail(1)) SWIG_fail
;
7145 result
= (double) ((arg1
)->m_x
);
7148 resultobj
= SWIG_From_double((double)(result
));
7156 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7157 PyObject
*resultobj
;
7158 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7160 PyObject
* obj0
= 0 ;
7161 PyObject
* obj1
= 0 ;
7163 (char *) "self",(char *) "m_y", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7168 if (SWIG_arg_fail(1)) SWIG_fail
;
7170 arg2
= (double)(SWIG_As_double(obj1
));
7171 if (SWIG_arg_fail(2)) SWIG_fail
;
7173 if (arg1
) (arg1
)->m_y
= arg2
;
7175 Py_INCREF(Py_None
); resultobj
= Py_None
;
7182 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
*resultobj
;
7184 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7186 PyObject
* obj0
= 0 ;
7188 (char *) "self", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7193 if (SWIG_arg_fail(1)) SWIG_fail
;
7194 result
= (double) ((arg1
)->m_y
);
7197 resultobj
= SWIG_From_double((double)(result
));
7205 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7206 PyObject
*resultobj
;
7207 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7208 double arg2
= (double) 0 ;
7209 double arg3
= (double) 0 ;
7210 PyObject
* obj0
= 0 ;
7211 PyObject
* obj1
= 0 ;
7212 PyObject
* obj2
= 0 ;
7214 (char *) "self",(char *) "x",(char *) "y", NULL
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7219 if (SWIG_arg_fail(1)) SWIG_fail
;
7222 arg2
= (double)(SWIG_As_double(obj1
));
7223 if (SWIG_arg_fail(2)) SWIG_fail
;
7228 arg3
= (double)(SWIG_As_double(obj2
));
7229 if (SWIG_arg_fail(3)) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 wxPoint2D_Set(arg1
,arg2
,arg3
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 Py_INCREF(Py_None
); resultobj
= Py_None
;
7246 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7252 (char *) "self", NULL
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7257 if (SWIG_arg_fail(1)) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7272 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7275 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7277 return Py_BuildValue((char *)"");
7279 static int _wrap_DefaultPosition_set(PyObject
*) {
7280 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7285 static PyObject
*_wrap_DefaultPosition_get(void) {
7288 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7293 static int _wrap_DefaultSize_set(PyObject
*) {
7294 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7299 static PyObject
*_wrap_DefaultSize_get(void) {
7302 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7307 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 PyObject
*arg1
= (PyObject
*) 0 ;
7310 wxPyInputStream
*result
;
7311 PyObject
* obj0
= 0 ;
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7332 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7335 PyObject
* obj0
= 0 ;
7337 (char *) "self", NULL
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7342 if (SWIG_arg_fail(1)) SWIG_fail
;
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 Py_INCREF(Py_None
); resultobj
= Py_None
;
7357 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
;
7359 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7360 PyObject
* obj0
= 0 ;
7362 (char *) "self", NULL
7365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7367 if (SWIG_arg_fail(1)) SWIG_fail
;
7369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 wxPyEndAllowThreads(__tstate
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 Py_INCREF(Py_None
); resultobj
= Py_None
;
7382 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7387 (char *) "self", NULL
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7392 if (SWIG_arg_fail(1)) SWIG_fail
;
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 Py_INCREF(Py_None
); resultobj
= Py_None
;
7407 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7411 PyObject
* obj0
= 0 ;
7413 (char *) "self", NULL
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7418 if (SWIG_arg_fail(1)) SWIG_fail
;
7420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 result
= (bool)(arg1
)->eof();
7423 wxPyEndAllowThreads(__tstate
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7435 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7438 int arg2
= (int) -1 ;
7440 PyObject
* obj0
= 0 ;
7441 PyObject
* obj1
= 0 ;
7443 (char *) "self",(char *) "size", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7448 if (SWIG_arg_fail(1)) SWIG_fail
;
7451 arg2
= (int)(SWIG_As_int(obj1
));
7452 if (SWIG_arg_fail(2)) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 result
= (PyObject
*)(arg1
)->read(arg2
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7469 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7472 int arg2
= (int) -1 ;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7477 (char *) "self",(char *) "size", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7482 if (SWIG_arg_fail(1)) SWIG_fail
;
7485 arg2
= (int)(SWIG_As_int(obj1
));
7486 if (SWIG_arg_fail(2)) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 result
= (PyObject
*)(arg1
)->readline(arg2
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7503 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7505 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7506 int arg2
= (int) -1 ;
7508 PyObject
* obj0
= 0 ;
7509 PyObject
* obj1
= 0 ;
7511 (char *) "self",(char *) "sizehint", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7516 if (SWIG_arg_fail(1)) SWIG_fail
;
7519 arg2
= (int)(SWIG_As_int(obj1
));
7520 if (SWIG_arg_fail(2)) SWIG_fail
;
7524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7525 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7527 wxPyEndAllowThreads(__tstate
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7537 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
;
7539 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7541 int arg3
= (int) 0 ;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7544 PyObject
* obj2
= 0 ;
7546 (char *) "self",(char *) "offset",(char *) "whence", NULL
7549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7551 if (SWIG_arg_fail(1)) SWIG_fail
;
7553 arg2
= (int)(SWIG_As_int(obj1
));
7554 if (SWIG_arg_fail(2)) SWIG_fail
;
7558 arg3
= (int)(SWIG_As_int(obj2
));
7559 if (SWIG_arg_fail(3)) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 (arg1
)->seek(arg2
,arg3
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 Py_INCREF(Py_None
); resultobj
= Py_None
;
7576 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7582 (char *) "self", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7587 if (SWIG_arg_fail(1)) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (int)(arg1
)->tell();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_From_int((int)(result
));
7604 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7610 (char *) "self", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7615 if (SWIG_arg_fail(1)) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (char)(arg1
)->Peek();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_From_char((char)(result
));
7632 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7638 (char *) "self", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7643 if (SWIG_arg_fail(1)) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 result
= (char)(arg1
)->GetC();
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7652 resultobj
= SWIG_From_char((char)(result
));
7660 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7666 (char *) "self", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7671 if (SWIG_arg_fail(1)) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 result
= (size_t)(arg1
)->LastRead();
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7688 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7689 PyObject
*resultobj
;
7690 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7692 PyObject
* obj0
= 0 ;
7694 (char *) "self", NULL
7697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7699 if (SWIG_arg_fail(1)) SWIG_fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (bool)(arg1
)->CanRead();
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7716 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7717 PyObject
*resultobj
;
7718 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7720 PyObject
* obj0
= 0 ;
7722 (char *) "self", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7727 if (SWIG_arg_fail(1)) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 result
= (bool)(arg1
)->Eof();
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7744 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7749 PyObject
* obj0
= 0 ;
7750 PyObject
* obj1
= 0 ;
7752 (char *) "self",(char *) "c", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7757 if (SWIG_arg_fail(1)) SWIG_fail
;
7759 arg2
= (char)(SWIG_As_char(obj1
));
7760 if (SWIG_arg_fail(2)) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 result
= (bool)(arg1
)->Ungetch(arg2
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7778 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7779 PyObject
*resultobj
;
7780 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7782 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7784 PyObject
* obj0
= 0 ;
7785 PyObject
* obj1
= 0 ;
7786 PyObject
* obj2
= 0 ;
7788 (char *) "self",(char *) "pos",(char *) "mode", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7793 if (SWIG_arg_fail(1)) SWIG_fail
;
7795 arg2
= (long)(SWIG_As_long(obj1
));
7796 if (SWIG_arg_fail(2)) SWIG_fail
;
7800 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7801 if (SWIG_arg_fail(3)) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7806 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_From_long((long)(result
));
7820 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7821 PyObject
*resultobj
;
7822 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7824 PyObject
* obj0
= 0 ;
7826 (char *) "self", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7831 if (SWIG_arg_fail(1)) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (long)(arg1
)->TellI();
7836 wxPyEndAllowThreads(__tstate
);
7837 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= SWIG_From_long((long)(result
));
7848 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7851 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7853 return Py_BuildValue((char *)"");
7855 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7856 PyObject
*resultobj
;
7857 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7858 PyObject
*arg2
= (PyObject
*) 0 ;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7862 (char *) "self",(char *) "obj", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7867 if (SWIG_arg_fail(1)) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 wxOutputStream_write(arg1
,arg2
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 Py_INCREF(Py_None
); resultobj
= Py_None
;
7883 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7886 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7888 return Py_BuildValue((char *)"");
7890 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7893 wxString
*arg2
= 0 ;
7894 wxString
*arg3
= 0 ;
7895 wxString
*arg4
= 0 ;
7898 wxPyInputStream
*temp1
;
7900 bool temp2
= false ;
7901 bool temp3
= false ;
7902 bool temp4
= false ;
7903 PyObject
* obj0
= 0 ;
7904 PyObject
* obj1
= 0 ;
7905 PyObject
* obj2
= 0 ;
7906 PyObject
* obj3
= 0 ;
7907 PyObject
* obj4
= 0 ;
7909 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7914 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7915 arg1
= temp1
->m_wxis
;
7918 PyErr_Clear(); // clear the failure of the wxPyConvert above
7919 arg1
= wxPyCBInputStream_create(obj0
, false);
7921 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7928 arg2
= wxString_in_helper(obj1
);
7929 if (arg2
== NULL
) SWIG_fail
;
7933 arg3
= wxString_in_helper(obj2
);
7934 if (arg3
== NULL
) SWIG_fail
;
7938 arg4
= wxString_in_helper(obj3
);
7939 if (arg4
== NULL
) SWIG_fail
;
7944 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7945 if (SWIG_arg_fail(5)) SWIG_fail
;
7947 SWIG_null_ref("wxDateTime");
7949 if (SWIG_arg_fail(5)) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= wxPyMake_wxObject(result
, 1);
8000 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8005 (char *) "self", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8010 if (SWIG_arg_fail(1)) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 Py_INCREF(Py_None
); resultobj
= Py_None
;
8025 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
*resultobj
;
8027 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8028 wxInputStream
*result
;
8029 PyObject
* obj0
= 0 ;
8031 (char *) "self", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8036 if (SWIG_arg_fail(1)) SWIG_fail
;
8038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8039 result
= (wxInputStream
*)(arg1
)->GetStream();
8041 wxPyEndAllowThreads(__tstate
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8045 wxPyInputStream
* _ptr
= NULL
;
8048 _ptr
= new wxPyInputStream(result
);
8050 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8058 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
;
8060 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8062 PyObject
* obj0
= 0 ;
8064 (char *) "self", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8069 if (SWIG_arg_fail(1)) SWIG_fail
;
8071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8074 result
= (wxString
*) &_result_ref
;
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8084 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8093 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "self", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8104 if (SWIG_arg_fail(1)) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 wxString
const &_result_ref
= (arg1
)->GetLocation();
8109 result
= (wxString
*) &_result_ref
;
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8128 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8134 (char *) "self", NULL
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8139 if (SWIG_arg_fail(1)) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8144 result
= (wxString
*) &_result_ref
;
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8154 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8163 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8167 PyObject
* obj0
= 0 ;
8169 (char *) "self", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8174 if (SWIG_arg_fail(1)) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 result
= (arg1
)->GetModificationTime();
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) SWIG_fail
;
8183 wxDateTime
* resultptr
;
8184 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8193 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8196 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8198 return Py_BuildValue((char *)"");
8200 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8203 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8205 return Py_BuildValue((char *)"");
8207 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxPyFileSystemHandler
*result
;
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8229 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8232 PyObject
*arg2
= (PyObject
*) 0 ;
8233 PyObject
*arg3
= (PyObject
*) 0 ;
8234 PyObject
* obj0
= 0 ;
8235 PyObject
* obj1
= 0 ;
8236 PyObject
* obj2
= 0 ;
8238 (char *) "self",(char *) "self",(char *) "_class", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8243 if (SWIG_arg_fail(1)) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 Py_INCREF(Py_None
); resultobj
= Py_None
;
8260 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8261 PyObject
*resultobj
;
8262 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8263 wxString
*arg2
= 0 ;
8265 bool temp2
= false ;
8266 PyObject
* obj0
= 0 ;
8267 PyObject
* obj1
= 0 ;
8269 (char *) "self",(char *) "location", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8274 if (SWIG_arg_fail(1)) SWIG_fail
;
8276 arg2
= wxString_in_helper(obj1
);
8277 if (arg2
== NULL
) SWIG_fail
;
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8304 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
*resultobj
;
8306 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8307 wxFileSystem
*arg2
= 0 ;
8308 wxString
*arg3
= 0 ;
8310 bool temp3
= false ;
8311 PyObject
* obj0
= 0 ;
8312 PyObject
* obj1
= 0 ;
8313 PyObject
* obj2
= 0 ;
8315 (char *) "self",(char *) "fs",(char *) "location", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8320 if (SWIG_arg_fail(1)) SWIG_fail
;
8322 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8323 if (SWIG_arg_fail(2)) SWIG_fail
;
8325 SWIG_null_ref("wxFileSystem");
8327 if (SWIG_arg_fail(2)) SWIG_fail
;
8330 arg3
= wxString_in_helper(obj2
);
8331 if (arg3
== NULL
) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= wxPyMake_wxObject(result
, 1);
8358 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
;
8360 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8361 wxString
*arg2
= 0 ;
8362 int arg3
= (int) 0 ;
8364 bool temp2
= false ;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8367 PyObject
* obj2
= 0 ;
8369 (char *) "self",(char *) "spec",(char *) "flags", NULL
8372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8374 if (SWIG_arg_fail(1)) SWIG_fail
;
8376 arg2
= wxString_in_helper(obj1
);
8377 if (arg2
== NULL
) SWIG_fail
;
8382 arg3
= (int)(SWIG_As_int(obj2
));
8383 if (SWIG_arg_fail(3)) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8414 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8418 PyObject
* obj0
= 0 ;
8420 (char *) "self", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8425 if (SWIG_arg_fail(1)) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 result
= (arg1
)->FindNext();
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8446 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8449 wxString
*arg2
= 0 ;
8451 bool temp2
= false ;
8452 PyObject
* obj0
= 0 ;
8453 PyObject
* obj1
= 0 ;
8455 (char *) "self",(char *) "location", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8460 if (SWIG_arg_fail(1)) SWIG_fail
;
8462 arg2
= wxString_in_helper(obj1
);
8463 if (arg2
== NULL
) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8494 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8496 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8497 wxString
*arg2
= 0 ;
8499 bool temp2
= false ;
8500 PyObject
* obj0
= 0 ;
8501 PyObject
* obj1
= 0 ;
8503 (char *) "self",(char *) "location", NULL
8506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8508 if (SWIG_arg_fail(1)) SWIG_fail
;
8510 arg2
= wxString_in_helper(obj1
);
8511 if (arg2
== NULL
) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8523 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8525 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8542 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8545 wxString
*arg2
= 0 ;
8547 bool temp2
= false ;
8548 PyObject
* obj0
= 0 ;
8549 PyObject
* obj1
= 0 ;
8551 (char *) "self",(char *) "location", NULL
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8556 if (SWIG_arg_fail(1)) SWIG_fail
;
8558 arg2
= wxString_in_helper(obj1
);
8559 if (arg2
== NULL
) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8590 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8593 wxString
*arg2
= 0 ;
8595 bool temp2
= false ;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8599 (char *) "self",(char *) "location", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8604 if (SWIG_arg_fail(1)) SWIG_fail
;
8606 arg2
= wxString_in_helper(obj1
);
8607 if (arg2
== NULL
) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8638 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8641 wxString
*arg2
= 0 ;
8643 bool temp2
= false ;
8644 PyObject
* obj0
= 0 ;
8645 PyObject
* obj1
= 0 ;
8647 (char *) "self",(char *) "location", NULL
8650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8652 if (SWIG_arg_fail(1)) SWIG_fail
;
8654 arg2
= wxString_in_helper(obj1
);
8655 if (arg2
== NULL
) SWIG_fail
;
8659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8660 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8662 wxPyEndAllowThreads(__tstate
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8686 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8689 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8691 return Py_BuildValue((char *)"");
8693 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxFileSystem
*result
;
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (wxFileSystem
*)new wxFileSystem();
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8709 resultobj
= wxPyMake_wxObject(result
, 1);
8717 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8720 PyObject
* obj0
= 0 ;
8722 (char *) "self", NULL
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8727 if (SWIG_arg_fail(1)) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 Py_INCREF(Py_None
); resultobj
= Py_None
;
8742 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8745 wxString
*arg2
= 0 ;
8746 bool arg3
= (bool) false ;
8747 bool temp2
= false ;
8748 PyObject
* obj0
= 0 ;
8749 PyObject
* obj1
= 0 ;
8750 PyObject
* obj2
= 0 ;
8752 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8757 if (SWIG_arg_fail(1)) SWIG_fail
;
8759 arg2
= wxString_in_helper(obj1
);
8760 if (arg2
== NULL
) SWIG_fail
;
8765 arg3
= (bool)(SWIG_As_bool(obj2
));
8766 if (SWIG_arg_fail(3)) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "self", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8802 if (SWIG_arg_fail(1)) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (arg1
)->GetPath();
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8823 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8826 wxString
*arg2
= 0 ;
8828 bool temp2
= false ;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8832 (char *) "self",(char *) "location", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail
;
8839 arg2
= wxString_in_helper(obj1
);
8840 if (arg2
== NULL
) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8851 resultobj
= wxPyMake_wxObject(result
, 1);
8867 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8870 wxString
*arg2
= 0 ;
8871 int arg3
= (int) 0 ;
8873 bool temp2
= false ;
8874 PyObject
* obj0
= 0 ;
8875 PyObject
* obj1
= 0 ;
8876 PyObject
* obj2
= 0 ;
8878 (char *) "self",(char *) "spec",(char *) "flags", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8883 if (SWIG_arg_fail(1)) SWIG_fail
;
8885 arg2
= wxString_in_helper(obj1
);
8886 if (arg2
== NULL
) SWIG_fail
;
8891 arg3
= (int)(SWIG_As_int(obj2
));
8892 if (SWIG_arg_fail(3)) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8899 wxPyEndAllowThreads(__tstate
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8923 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8929 (char *) "self", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8934 if (SWIG_arg_fail(1)) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (arg1
)->FindNext();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8955 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8958 PyObject
* obj0
= 0 ;
8960 (char *) "handler", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8965 if (SWIG_arg_fail(1)) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 wxFileSystem::AddHandler(arg1
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 wxFileSystem::CleanUpHandlers();
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxString
*arg1
= 0 ;
9005 bool temp1
= false ;
9006 PyObject
* obj0
= 0 ;
9008 (char *) "filename", NULL
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9013 arg1
= wxString_in_helper(obj0
);
9014 if (arg1
== NULL
) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9045 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxString
*arg1
= 0 ;
9049 bool temp1
= false ;
9050 PyObject
* obj0
= 0 ;
9052 (char *) "url", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9057 arg1
= wxString_in_helper(obj0
);
9058 if (arg1
== NULL
) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9072 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9089 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9092 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9094 return Py_BuildValue((char *)"");
9096 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxInternetFSHandler
*result
;
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9118 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9121 wxString
*arg2
= 0 ;
9123 bool temp2
= false ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9127 (char *) "self",(char *) "location", NULL
9130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9132 if (SWIG_arg_fail(1)) SWIG_fail
;
9134 arg2
= wxString_in_helper(obj1
);
9135 if (arg2
== NULL
) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9140 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9162 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9165 wxFileSystem
*arg2
= 0 ;
9166 wxString
*arg3
= 0 ;
9168 bool temp3
= false ;
9169 PyObject
* obj0
= 0 ;
9170 PyObject
* obj1
= 0 ;
9171 PyObject
* obj2
= 0 ;
9173 (char *) "self",(char *) "fs",(char *) "location", NULL
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9178 if (SWIG_arg_fail(1)) SWIG_fail
;
9180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9181 if (SWIG_arg_fail(2)) SWIG_fail
;
9183 SWIG_null_ref("wxFileSystem");
9185 if (SWIG_arg_fail(2)) SWIG_fail
;
9188 arg3
= wxString_in_helper(obj2
);
9189 if (arg3
== NULL
) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= wxPyMake_wxObject(result
, 1);
9216 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9219 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9221 return Py_BuildValue((char *)"");
9223 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxZipFSHandler
*result
;
9230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9245 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9248 wxString
*arg2
= 0 ;
9250 bool temp2
= false ;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9254 (char *) "self",(char *) "location", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9259 if (SWIG_arg_fail(1)) SWIG_fail
;
9261 arg2
= wxString_in_helper(obj1
);
9262 if (arg2
== NULL
) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9289 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9292 wxFileSystem
*arg2
= 0 ;
9293 wxString
*arg3
= 0 ;
9295 bool temp3
= false ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 PyObject
* obj2
= 0 ;
9300 (char *) "self",(char *) "fs",(char *) "location", NULL
9303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9305 if (SWIG_arg_fail(1)) SWIG_fail
;
9307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9308 if (SWIG_arg_fail(2)) SWIG_fail
;
9310 SWIG_null_ref("wxFileSystem");
9312 if (SWIG_arg_fail(2)) SWIG_fail
;
9315 arg3
= wxString_in_helper(obj2
);
9316 if (arg3
== NULL
) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= wxPyMake_wxObject(result
, 1);
9343 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9344 PyObject
*resultobj
;
9345 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9346 wxString
*arg2
= 0 ;
9347 int arg3
= (int) 0 ;
9349 bool temp2
= false ;
9350 PyObject
* obj0
= 0 ;
9351 PyObject
* obj1
= 0 ;
9352 PyObject
* obj2
= 0 ;
9354 (char *) "self",(char *) "spec",(char *) "flags", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9359 if (SWIG_arg_fail(1)) SWIG_fail
;
9361 arg2
= wxString_in_helper(obj1
);
9362 if (arg2
== NULL
) SWIG_fail
;
9367 arg3
= (int)(SWIG_As_int(obj2
));
9368 if (SWIG_arg_fail(3)) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9399 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9401 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9403 PyObject
* obj0
= 0 ;
9405 (char *) "self", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9410 if (SWIG_arg_fail(1)) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (arg1
)->FindNext();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9431 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9434 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9436 return Py_BuildValue((char *)"");
9438 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxString
*arg1
= 0 ;
9443 bool temp1
= false ;
9444 PyObject
* obj0
= 0 ;
9445 PyObject
* obj1
= 0 ;
9446 PyObject
* obj2
= 0 ;
9448 (char *) "filename",(char *) "image",(char *) "type", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9453 arg1
= wxString_in_helper(obj0
);
9454 if (arg1
== NULL
) SWIG_fail
;
9458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9459 if (SWIG_arg_fail(2)) SWIG_fail
;
9461 SWIG_null_ref("wxImage");
9463 if (SWIG_arg_fail(2)) SWIG_fail
;
9466 arg3
= (long)(SWIG_As_long(obj2
));
9467 if (SWIG_arg_fail(3)) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 Py_INCREF(Py_None
); resultobj
= Py_None
;
9491 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9492 PyObject
*resultobj
;
9493 wxString
*arg1
= 0 ;
9494 wxBitmap
*arg2
= 0 ;
9496 bool temp1
= false ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9499 PyObject
* obj2
= 0 ;
9501 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9506 arg1
= wxString_in_helper(obj0
);
9507 if (arg1
== NULL
) SWIG_fail
;
9511 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9512 if (SWIG_arg_fail(2)) SWIG_fail
;
9514 SWIG_null_ref("wxBitmap");
9516 if (SWIG_arg_fail(2)) SWIG_fail
;
9519 arg3
= (long)(SWIG_As_long(obj2
));
9520 if (SWIG_arg_fail(3)) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 Py_INCREF(Py_None
); resultobj
= Py_None
;
9544 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxString
*arg1
= 0 ;
9547 PyObject
*arg2
= (PyObject
*) 0 ;
9548 bool temp1
= false ;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9552 (char *) "filename",(char *) "data", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9557 arg1
= wxString_in_helper(obj0
);
9558 if (arg1
== NULL
) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 Py_INCREF(Py_None
); resultobj
= Py_None
;
9584 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxMemoryFSHandler
*result
;
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9606 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
;
9608 wxString
*arg1
= 0 ;
9609 bool temp1
= false ;
9610 PyObject
* obj0
= 0 ;
9612 (char *) "filename", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9617 arg1
= wxString_in_helper(obj0
);
9618 if (arg1
== NULL
) SWIG_fail
;
9622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9623 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9625 wxPyEndAllowThreads(__tstate
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9628 Py_INCREF(Py_None
); resultobj
= Py_None
;
9643 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9646 wxString
*arg2
= 0 ;
9648 bool temp2
= false ;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9652 (char *) "self",(char *) "location", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9657 if (SWIG_arg_fail(1)) SWIG_fail
;
9659 arg2
= wxString_in_helper(obj1
);
9660 if (arg2
== NULL
) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9687 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9690 wxFileSystem
*arg2
= 0 ;
9691 wxString
*arg3
= 0 ;
9693 bool temp3
= false ;
9694 PyObject
* obj0
= 0 ;
9695 PyObject
* obj1
= 0 ;
9696 PyObject
* obj2
= 0 ;
9698 (char *) "self",(char *) "fs",(char *) "location", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9703 if (SWIG_arg_fail(1)) SWIG_fail
;
9705 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9706 if (SWIG_arg_fail(2)) SWIG_fail
;
9708 SWIG_null_ref("wxFileSystem");
9710 if (SWIG_arg_fail(2)) SWIG_fail
;
9713 arg3
= wxString_in_helper(obj2
);
9714 if (arg3
== NULL
) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9725 resultobj
= wxPyMake_wxObject(result
, 1);
9741 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9744 wxString
*arg2
= 0 ;
9745 int arg3
= (int) 0 ;
9747 bool temp2
= false ;
9748 PyObject
* obj0
= 0 ;
9749 PyObject
* obj1
= 0 ;
9750 PyObject
* obj2
= 0 ;
9752 (char *) "self",(char *) "spec",(char *) "flags", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9757 if (SWIG_arg_fail(1)) SWIG_fail
;
9759 arg2
= wxString_in_helper(obj1
);
9760 if (arg2
== NULL
) SWIG_fail
;
9765 arg3
= (int)(SWIG_As_int(obj2
));
9766 if (SWIG_arg_fail(3)) SWIG_fail
;
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) SWIG_fail
;
9778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9797 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9808 if (SWIG_arg_fail(1)) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (arg1
)->FindNext();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9829 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9832 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9834 return Py_BuildValue((char *)"");
9836 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
;
9838 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9840 PyObject
* obj0
= 0 ;
9842 (char *) "self", NULL
9845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9847 if (SWIG_arg_fail(1)) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 result
= (arg1
)->GetName();
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9868 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9874 (char *) "self", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9879 if (SWIG_arg_fail(1)) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (arg1
)->GetExtension();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9900 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9901 PyObject
*resultobj
;
9902 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9904 PyObject
* obj0
= 0 ;
9906 (char *) "self", NULL
9909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9911 if (SWIG_arg_fail(1)) SWIG_fail
;
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (long)(arg1
)->GetType();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= SWIG_From_long((long)(result
));
9928 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9934 (char *) "self", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9939 if (SWIG_arg_fail(1)) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (arg1
)->GetMimeType();
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9960 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9963 wxString
*arg2
= 0 ;
9965 bool temp2
= false ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9969 (char *) "self",(char *) "name", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9974 if (SWIG_arg_fail(1)) SWIG_fail
;
9976 arg2
= wxString_in_helper(obj1
);
9977 if (arg2
== NULL
) SWIG_fail
;
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9984 wxPyEndAllowThreads(__tstate
);
9985 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10004 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10007 wxString
*arg2
= 0 ;
10008 bool temp2
= false ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self",(char *) "name", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10017 if (SWIG_arg_fail(1)) SWIG_fail
;
10019 arg2
= wxString_in_helper(obj1
);
10020 if (arg2
== NULL
) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 (arg1
)->SetName((wxString
const &)*arg2
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 Py_INCREF(Py_None
); resultobj
= Py_None
;
10045 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10048 wxString
*arg2
= 0 ;
10049 bool temp2
= false ;
10050 PyObject
* obj0
= 0 ;
10051 PyObject
* obj1
= 0 ;
10052 char *kwnames
[] = {
10053 (char *) "self",(char *) "extension", NULL
10056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10058 if (SWIG_arg_fail(1)) SWIG_fail
;
10060 arg2
= wxString_in_helper(obj1
);
10061 if (arg2
== NULL
) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 (arg1
)->SetExtension((wxString
const &)*arg2
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 Py_INCREF(Py_None
); resultobj
= Py_None
;
10086 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10087 PyObject
*resultobj
;
10088 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10090 PyObject
* obj0
= 0 ;
10091 PyObject
* obj1
= 0 ;
10092 char *kwnames
[] = {
10093 (char *) "self",(char *) "type", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10098 if (SWIG_arg_fail(1)) SWIG_fail
;
10100 arg2
= (long)(SWIG_As_long(obj1
));
10101 if (SWIG_arg_fail(2)) SWIG_fail
;
10104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10105 (arg1
)->SetType(arg2
);
10107 wxPyEndAllowThreads(__tstate
);
10108 if (PyErr_Occurred()) SWIG_fail
;
10110 Py_INCREF(Py_None
); resultobj
= Py_None
;
10117 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10118 PyObject
*resultobj
;
10119 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10120 wxString
*arg2
= 0 ;
10121 bool temp2
= false ;
10122 PyObject
* obj0
= 0 ;
10123 PyObject
* obj1
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self",(char *) "mimetype", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10130 if (SWIG_arg_fail(1)) SWIG_fail
;
10132 arg2
= wxString_in_helper(obj1
);
10133 if (arg2
== NULL
) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10143 Py_INCREF(Py_None
); resultobj
= Py_None
;
10158 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10161 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10163 return Py_BuildValue((char *)"");
10165 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxImageHistogram
*result
;
10168 char *kwnames
[] = {
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 result
= (wxImageHistogram
*)new wxImageHistogram();
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10187 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 unsigned char arg1
;
10190 unsigned char arg2
;
10191 unsigned char arg3
;
10192 unsigned long result
;
10193 PyObject
* obj0
= 0 ;
10194 PyObject
* obj1
= 0 ;
10195 PyObject
* obj2
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "r",(char *) "g",(char *) "b", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10202 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10203 if (SWIG_arg_fail(1)) SWIG_fail
;
10206 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10207 if (SWIG_arg_fail(2)) SWIG_fail
;
10210 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10211 if (SWIG_arg_fail(3)) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10229 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10232 unsigned char *arg2
= (unsigned char *) 0 ;
10233 unsigned char *arg3
= (unsigned char *) 0 ;
10234 unsigned char *arg4
= (unsigned char *) 0 ;
10235 unsigned char arg5
= (unsigned char) 1 ;
10236 unsigned char arg6
= (unsigned char) 0 ;
10237 unsigned char arg7
= (unsigned char) 0 ;
10239 unsigned char temp2
;
10241 unsigned char temp3
;
10243 unsigned char temp4
;
10245 PyObject
* obj0
= 0 ;
10246 PyObject
* obj1
= 0 ;
10247 PyObject
* obj2
= 0 ;
10248 PyObject
* obj3
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10253 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10254 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10255 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10258 if (SWIG_arg_fail(1)) SWIG_fail
;
10261 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10262 if (SWIG_arg_fail(5)) SWIG_fail
;
10267 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10268 if (SWIG_arg_fail(6)) SWIG_fail
;
10273 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10274 if (SWIG_arg_fail(7)) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10287 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10288 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10289 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10290 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10291 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10292 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10299 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10302 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10304 return Py_BuildValue((char *)"");
10306 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxString
*arg1
= 0 ;
10309 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10310 int arg3
= (int) -1 ;
10312 bool temp1
= false ;
10313 PyObject
* obj0
= 0 ;
10314 PyObject
* obj1
= 0 ;
10315 PyObject
* obj2
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "name",(char *) "type",(char *) "index", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10322 arg1
= wxString_in_helper(obj0
);
10323 if (arg1
== NULL
) SWIG_fail
;
10328 arg2
= (long)(SWIG_As_long(obj1
));
10329 if (SWIG_arg_fail(2)) SWIG_fail
;
10334 arg3
= (int)(SWIG_As_int(obj2
));
10335 if (SWIG_arg_fail(3)) SWIG_fail
;
10339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10340 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10360 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxImage
*arg1
= (wxImage
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10370 if (SWIG_arg_fail(1)) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 Py_INCREF(Py_None
); resultobj
= Py_None
;
10385 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxString
*arg1
= 0 ;
10388 wxString
*arg2
= 0 ;
10389 int arg3
= (int) -1 ;
10391 bool temp1
= false ;
10392 bool temp2
= false ;
10393 PyObject
* obj0
= 0 ;
10394 PyObject
* obj1
= 0 ;
10395 PyObject
* obj2
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10402 arg1
= wxString_in_helper(obj0
);
10403 if (arg1
== NULL
) SWIG_fail
;
10407 arg2
= wxString_in_helper(obj1
);
10408 if (arg2
== NULL
) SWIG_fail
;
10413 arg3
= (int)(SWIG_As_int(obj2
));
10414 if (SWIG_arg_fail(3)) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10447 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxInputStream
*arg1
= 0 ;
10450 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10451 int arg3
= (int) -1 ;
10453 wxPyInputStream
*temp1
;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 PyObject
* obj2
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "stream",(char *) "type",(char *) "index", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10464 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10465 arg1
= temp1
->m_wxis
;
10468 PyErr_Clear(); // clear the failure of the wxPyConvert above
10469 arg1
= wxPyCBInputStream_create(obj0
, false);
10470 if (arg1
== NULL
) {
10471 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10479 arg2
= (long)(SWIG_As_long(obj1
));
10480 if (SWIG_arg_fail(2)) SWIG_fail
;
10485 arg3
= (int)(SWIG_As_int(obj2
));
10486 if (SWIG_arg_fail(3)) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10511 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
;
10513 wxInputStream
*arg1
= 0 ;
10514 wxString
*arg2
= 0 ;
10515 int arg3
= (int) -1 ;
10517 wxPyInputStream
*temp1
;
10519 bool temp2
= false ;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10522 PyObject
* obj2
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10529 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10530 arg1
= temp1
->m_wxis
;
10533 PyErr_Clear(); // clear the failure of the wxPyConvert above
10534 arg1
= wxPyCBInputStream_create(obj0
, false);
10535 if (arg1
== NULL
) {
10536 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10543 arg2
= wxString_in_helper(obj1
);
10544 if (arg2
== NULL
) SWIG_fail
;
10549 arg3
= (int)(SWIG_As_int(obj2
));
10550 if (SWIG_arg_fail(3)) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10583 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 int arg1
= (int) 0 ;
10586 int arg2
= (int) 0 ;
10587 bool arg3
= (bool) true ;
10589 PyObject
* obj0
= 0 ;
10590 PyObject
* obj1
= 0 ;
10591 PyObject
* obj2
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "width",(char *) "height",(char *) "clear", NULL
10596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10599 arg1
= (int)(SWIG_As_int(obj0
));
10600 if (SWIG_arg_fail(1)) SWIG_fail
;
10605 arg2
= (int)(SWIG_As_int(obj1
));
10606 if (SWIG_arg_fail(2)) SWIG_fail
;
10611 arg3
= (bool)(SWIG_As_bool(obj2
));
10612 if (SWIG_arg_fail(3)) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10629 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10630 PyObject
*resultobj
;
10631 wxBitmap
*arg1
= 0 ;
10633 PyObject
* obj0
= 0 ;
10634 char *kwnames
[] = {
10635 (char *) "bitmap", NULL
10638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10641 if (SWIG_arg_fail(1)) SWIG_fail
;
10642 if (arg1
== NULL
) {
10643 SWIG_null_ref("wxBitmap");
10645 if (SWIG_arg_fail(1)) SWIG_fail
;
10648 if (!wxPyCheckForApp()) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10662 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10666 unsigned char *arg3
= (unsigned char *) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 PyObject
* obj1
= 0 ;
10670 PyObject
* obj2
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "width",(char *) "height",(char *) "data", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10677 arg1
= (int)(SWIG_As_int(obj0
));
10678 if (SWIG_arg_fail(1)) SWIG_fail
;
10681 arg2
= (int)(SWIG_As_int(obj1
));
10682 if (SWIG_arg_fail(2)) SWIG_fail
;
10684 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10685 if (SWIG_arg_fail(3)) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10700 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10704 unsigned char *arg3
= (unsigned char *) 0 ;
10705 unsigned char *arg4
= (unsigned char *) 0 ;
10707 PyObject
* obj0
= 0 ;
10708 PyObject
* obj1
= 0 ;
10709 PyObject
* obj2
= 0 ;
10710 PyObject
* obj3
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10717 arg1
= (int)(SWIG_As_int(obj0
));
10718 if (SWIG_arg_fail(1)) SWIG_fail
;
10721 arg2
= (int)(SWIG_As_int(obj1
));
10722 if (SWIG_arg_fail(2)) SWIG_fail
;
10724 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10725 if (SWIG_arg_fail(3)) SWIG_fail
;
10726 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10727 if (SWIG_arg_fail(4)) SWIG_fail
;
10729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10730 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10732 wxPyEndAllowThreads(__tstate
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10742 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10743 PyObject
*resultobj
;
10744 wxImage
*arg1
= (wxImage
*) 0 ;
10747 PyObject
* obj0
= 0 ;
10748 PyObject
* obj1
= 0 ;
10749 PyObject
* obj2
= 0 ;
10750 char *kwnames
[] = {
10751 (char *) "self",(char *) "width",(char *) "height", NULL
10754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10756 if (SWIG_arg_fail(1)) SWIG_fail
;
10758 arg2
= (int)(SWIG_As_int(obj1
));
10759 if (SWIG_arg_fail(2)) SWIG_fail
;
10762 arg3
= (int)(SWIG_As_int(obj2
));
10763 if (SWIG_arg_fail(3)) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 (arg1
)->Create(arg2
,arg3
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 Py_INCREF(Py_None
); resultobj
= Py_None
;
10779 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxImage
*arg1
= (wxImage
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10789 if (SWIG_arg_fail(1)) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 Py_INCREF(Py_None
); resultobj
= Py_None
;
10804 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxImage
*arg1
= (wxImage
*) 0 ;
10809 SwigValueWrapper
<wxImage
> result
;
10810 PyObject
* obj0
= 0 ;
10811 PyObject
* obj1
= 0 ;
10812 PyObject
* obj2
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "width",(char *) "height", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10819 if (SWIG_arg_fail(1)) SWIG_fail
;
10821 arg2
= (int)(SWIG_As_int(obj1
));
10822 if (SWIG_arg_fail(2)) SWIG_fail
;
10825 arg3
= (int)(SWIG_As_int(obj2
));
10826 if (SWIG_arg_fail(3)) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 result
= (arg1
)->Scale(arg2
,arg3
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10836 wxImage
* resultptr
;
10837 resultptr
= new wxImage((wxImage
&)(result
));
10838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10846 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxImage
*arg1
= (wxImage
*) 0 ;
10851 SwigValueWrapper
<wxImage
> result
;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 PyObject
* obj2
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10861 if (SWIG_arg_fail(1)) SWIG_fail
;
10863 arg2
= (int)(SWIG_As_int(obj1
));
10864 if (SWIG_arg_fail(2)) SWIG_fail
;
10867 arg3
= (int)(SWIG_As_int(obj2
));
10868 if (SWIG_arg_fail(3)) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10878 wxImage
* resultptr
;
10879 resultptr
= new wxImage((wxImage
&)(result
));
10880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10888 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10889 PyObject
*resultobj
;
10890 wxImage
*arg1
= (wxImage
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 PyObject
* obj1
= 0 ;
10896 PyObject
* obj2
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "self",(char *) "width",(char *) "height", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10903 if (SWIG_arg_fail(1)) SWIG_fail
;
10905 arg2
= (int)(SWIG_As_int(obj1
));
10906 if (SWIG_arg_fail(2)) SWIG_fail
;
10909 arg3
= (int)(SWIG_As_int(obj2
));
10910 if (SWIG_arg_fail(3)) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10916 result
= (wxImage
*) &_result_ref
;
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10929 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxImage
*arg1
= (wxImage
*) 0 ;
10934 unsigned char arg4
;
10935 unsigned char arg5
;
10936 unsigned char arg6
;
10937 PyObject
* obj0
= 0 ;
10938 PyObject
* obj1
= 0 ;
10939 PyObject
* obj2
= 0 ;
10940 PyObject
* obj3
= 0 ;
10941 PyObject
* obj4
= 0 ;
10942 PyObject
* obj5
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10949 if (SWIG_arg_fail(1)) SWIG_fail
;
10951 arg2
= (int)(SWIG_As_int(obj1
));
10952 if (SWIG_arg_fail(2)) SWIG_fail
;
10955 arg3
= (int)(SWIG_As_int(obj2
));
10956 if (SWIG_arg_fail(3)) SWIG_fail
;
10959 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10960 if (SWIG_arg_fail(4)) SWIG_fail
;
10963 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10964 if (SWIG_arg_fail(5)) SWIG_fail
;
10967 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10968 if (SWIG_arg_fail(6)) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 Py_INCREF(Py_None
); resultobj
= Py_None
;
10984 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxImage
*arg1
= (wxImage
*) 0 ;
10989 unsigned char result
;
10990 PyObject
* obj0
= 0 ;
10991 PyObject
* obj1
= 0 ;
10992 PyObject
* obj2
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "self",(char *) "x",(char *) "y", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10999 if (SWIG_arg_fail(1)) SWIG_fail
;
11001 arg2
= (int)(SWIG_As_int(obj1
));
11002 if (SWIG_arg_fail(2)) SWIG_fail
;
11005 arg3
= (int)(SWIG_As_int(obj2
));
11006 if (SWIG_arg_fail(3)) SWIG_fail
;
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11016 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11024 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxImage
*arg1
= (wxImage
*) 0 ;
11029 unsigned char result
;
11030 PyObject
* obj0
= 0 ;
11031 PyObject
* obj1
= 0 ;
11032 PyObject
* obj2
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self",(char *) "x",(char *) "y", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11039 if (SWIG_arg_fail(1)) SWIG_fail
;
11041 arg2
= (int)(SWIG_As_int(obj1
));
11042 if (SWIG_arg_fail(2)) SWIG_fail
;
11045 arg3
= (int)(SWIG_As_int(obj2
));
11046 if (SWIG_arg_fail(3)) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11050 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11064 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxImage
*arg1
= (wxImage
*) 0 ;
11069 unsigned char result
;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 PyObject
* obj2
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self",(char *) "x",(char *) "y", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11079 if (SWIG_arg_fail(1)) SWIG_fail
;
11081 arg2
= (int)(SWIG_As_int(obj1
));
11082 if (SWIG_arg_fail(2)) SWIG_fail
;
11085 arg3
= (int)(SWIG_As_int(obj2
));
11086 if (SWIG_arg_fail(3)) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11104 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11105 PyObject
*resultobj
;
11106 wxImage
*arg1
= (wxImage
*) 0 ;
11109 unsigned char arg4
;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 PyObject
* obj2
= 0 ;
11113 PyObject
* obj3
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11120 if (SWIG_arg_fail(1)) SWIG_fail
;
11122 arg2
= (int)(SWIG_As_int(obj1
));
11123 if (SWIG_arg_fail(2)) SWIG_fail
;
11126 arg3
= (int)(SWIG_As_int(obj2
));
11127 if (SWIG_arg_fail(3)) SWIG_fail
;
11130 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11131 if (SWIG_arg_fail(4)) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 Py_INCREF(Py_None
); resultobj
= Py_None
;
11147 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxImage
*arg1
= (wxImage
*) 0 ;
11152 unsigned char result
;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 PyObject
* obj2
= 0 ;
11156 char *kwnames
[] = {
11157 (char *) "self",(char *) "x",(char *) "y", NULL
11160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11162 if (SWIG_arg_fail(1)) SWIG_fail
;
11164 arg2
= (int)(SWIG_As_int(obj1
));
11165 if (SWIG_arg_fail(2)) SWIG_fail
;
11168 arg3
= (int)(SWIG_As_int(obj2
));
11169 if (SWIG_arg_fail(3)) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11187 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxImage
*arg1
= (wxImage
*) 0 ;
11191 PyObject
* obj0
= 0 ;
11192 char *kwnames
[] = {
11193 (char *) "self", NULL
11196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (bool)(arg1
)->HasAlpha();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11215 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxImage
*arg1
= (wxImage
*) 0 ;
11218 PyObject
* obj0
= 0 ;
11219 char *kwnames
[] = {
11220 (char *) "self", NULL
11223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11225 if (SWIG_arg_fail(1)) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 (arg1
)->InitAlpha();
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 Py_INCREF(Py_None
); resultobj
= Py_None
;
11240 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxImage
*arg1
= (wxImage
*) 0 ;
11243 byte
*arg2
= (byte
*) 0 ;
11244 byte
*arg3
= (byte
*) 0 ;
11245 byte
*arg4
= (byte
*) 0 ;
11246 byte arg5
= (byte
) 0 ;
11247 byte arg6
= (byte
) 0 ;
11248 byte arg7
= (byte
) 0 ;
11256 PyObject
* obj0
= 0 ;
11257 PyObject
* obj1
= 0 ;
11258 PyObject
* obj2
= 0 ;
11259 PyObject
* obj3
= 0 ;
11260 char *kwnames
[] = {
11261 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11264 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11265 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11266 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11269 if (SWIG_arg_fail(1)) SWIG_fail
;
11272 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11273 if (SWIG_arg_fail(5)) SWIG_fail
;
11278 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11279 if (SWIG_arg_fail(6)) SWIG_fail
;
11284 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11285 if (SWIG_arg_fail(7)) SWIG_fail
;
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11292 wxPyEndAllowThreads(__tstate
);
11293 if (PyErr_Occurred()) SWIG_fail
;
11296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11298 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11299 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11300 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11301 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11302 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11303 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11310 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxImage
*arg1
= (wxImage
*) 0 ;
11313 byte arg2
= (byte
) 128 ;
11315 PyObject
* obj0
= 0 ;
11316 PyObject
* obj1
= 0 ;
11317 char *kwnames
[] = {
11318 (char *) "self",(char *) "threshold", NULL
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11323 if (SWIG_arg_fail(1)) SWIG_fail
;
11326 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11327 if (SWIG_arg_fail(2)) SWIG_fail
;
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11334 wxPyEndAllowThreads(__tstate
);
11335 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11346 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11347 PyObject
*resultobj
;
11348 wxImage
*arg1
= (wxImage
*) 0 ;
11349 unsigned char arg2
;
11350 unsigned char arg3
;
11351 unsigned char arg4
;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 PyObject
* obj2
= 0 ;
11356 PyObject
* obj3
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11363 if (SWIG_arg_fail(1)) SWIG_fail
;
11365 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11366 if (SWIG_arg_fail(2)) SWIG_fail
;
11369 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11370 if (SWIG_arg_fail(3)) SWIG_fail
;
11373 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11374 if (SWIG_arg_fail(4)) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11392 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxImage
*arg1
= (wxImage
*) 0 ;
11395 wxImage
*arg2
= 0 ;
11400 PyObject
* obj0
= 0 ;
11401 PyObject
* obj1
= 0 ;
11402 PyObject
* obj2
= 0 ;
11403 PyObject
* obj3
= 0 ;
11404 PyObject
* obj4
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11411 if (SWIG_arg_fail(1)) SWIG_fail
;
11413 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11414 if (SWIG_arg_fail(2)) SWIG_fail
;
11415 if (arg2
== NULL
) {
11416 SWIG_null_ref("wxImage");
11418 if (SWIG_arg_fail(2)) SWIG_fail
;
11421 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11422 if (SWIG_arg_fail(3)) SWIG_fail
;
11425 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11426 if (SWIG_arg_fail(4)) SWIG_fail
;
11429 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11430 if (SWIG_arg_fail(5)) SWIG_fail
;
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11436 wxPyEndAllowThreads(__tstate
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11448 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
;
11450 wxString
*arg1
= 0 ;
11452 bool temp1
= false ;
11453 PyObject
* obj0
= 0 ;
11454 char *kwnames
[] = {
11455 (char *) "name", NULL
11458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11460 arg1
= wxString_in_helper(obj0
);
11461 if (arg1
== NULL
) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11488 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
;
11490 wxString
*arg1
= 0 ;
11491 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11493 bool temp1
= false ;
11494 PyObject
* obj0
= 0 ;
11495 PyObject
* obj1
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "name",(char *) "type", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11502 arg1
= wxString_in_helper(obj0
);
11503 if (arg1
== NULL
) SWIG_fail
;
11508 arg2
= (long)(SWIG_As_long(obj1
));
11509 if (SWIG_arg_fail(2)) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= SWIG_From_int((int)(result
));
11536 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11537 PyObject
*resultobj
;
11538 wxImage
*arg1
= (wxImage
*) 0 ;
11539 wxString
*arg2
= 0 ;
11540 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11541 int arg4
= (int) -1 ;
11543 bool temp2
= false ;
11544 PyObject
* obj0
= 0 ;
11545 PyObject
* obj1
= 0 ;
11546 PyObject
* obj2
= 0 ;
11547 PyObject
* obj3
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11554 if (SWIG_arg_fail(1)) SWIG_fail
;
11556 arg2
= wxString_in_helper(obj1
);
11557 if (arg2
== NULL
) SWIG_fail
;
11562 arg3
= (long)(SWIG_As_long(obj2
));
11563 if (SWIG_arg_fail(3)) SWIG_fail
;
11568 arg4
= (int)(SWIG_As_int(obj3
));
11569 if (SWIG_arg_fail(4)) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11596 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxImage
*arg1
= (wxImage
*) 0 ;
11599 wxString
*arg2
= 0 ;
11600 wxString
*arg3
= 0 ;
11601 int arg4
= (int) -1 ;
11603 bool temp2
= false ;
11604 bool temp3
= false ;
11605 PyObject
* obj0
= 0 ;
11606 PyObject
* obj1
= 0 ;
11607 PyObject
* obj2
= 0 ;
11608 PyObject
* obj3
= 0 ;
11609 char *kwnames
[] = {
11610 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11615 if (SWIG_arg_fail(1)) SWIG_fail
;
11617 arg2
= wxString_in_helper(obj1
);
11618 if (arg2
== NULL
) SWIG_fail
;
11622 arg3
= wxString_in_helper(obj2
);
11623 if (arg3
== NULL
) SWIG_fail
;
11628 arg4
= (int)(SWIG_As_int(obj3
));
11629 if (SWIG_arg_fail(4)) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11664 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxImage
*arg1
= (wxImage
*) 0 ;
11667 wxString
*arg2
= 0 ;
11670 bool temp2
= false ;
11671 PyObject
* obj0
= 0 ;
11672 PyObject
* obj1
= 0 ;
11673 PyObject
* obj2
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self",(char *) "name",(char *) "type", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11680 if (SWIG_arg_fail(1)) SWIG_fail
;
11682 arg2
= wxString_in_helper(obj1
);
11683 if (arg2
== NULL
) SWIG_fail
;
11687 arg3
= (int)(SWIG_As_int(obj2
));
11688 if (SWIG_arg_fail(3)) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11714 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11715 PyObject
*resultobj
;
11716 wxImage
*arg1
= (wxImage
*) 0 ;
11717 wxString
*arg2
= 0 ;
11718 wxString
*arg3
= 0 ;
11720 bool temp2
= false ;
11721 bool temp3
= false ;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 PyObject
* obj2
= 0 ;
11725 char *kwnames
[] = {
11726 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11731 if (SWIG_arg_fail(1)) SWIG_fail
;
11733 arg2
= wxString_in_helper(obj1
);
11734 if (arg2
== NULL
) SWIG_fail
;
11738 arg3
= wxString_in_helper(obj2
);
11739 if (arg3
== NULL
) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11774 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11775 PyObject
*resultobj
;
11776 wxInputStream
*arg1
= 0 ;
11778 wxPyInputStream
*temp1
;
11780 PyObject
* obj0
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "stream", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11787 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11788 arg1
= temp1
->m_wxis
;
11791 PyErr_Clear(); // clear the failure of the wxPyConvert above
11792 arg1
= wxPyCBInputStream_create(obj0
, false);
11793 if (arg1
== NULL
) {
11794 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (bool)wxImage::CanRead(*arg1
);
11804 wxPyEndAllowThreads(__tstate
);
11805 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11824 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
;
11826 wxImage
*arg1
= (wxImage
*) 0 ;
11827 wxInputStream
*arg2
= 0 ;
11828 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11829 int arg4
= (int) -1 ;
11831 wxPyInputStream
*temp2
;
11833 PyObject
* obj0
= 0 ;
11834 PyObject
* obj1
= 0 ;
11835 PyObject
* obj2
= 0 ;
11836 PyObject
* obj3
= 0 ;
11837 char *kwnames
[] = {
11838 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11843 if (SWIG_arg_fail(1)) SWIG_fail
;
11845 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11846 arg2
= temp2
->m_wxis
;
11849 PyErr_Clear(); // clear the failure of the wxPyConvert above
11850 arg2
= wxPyCBInputStream_create(obj1
, false);
11851 if (arg2
== NULL
) {
11852 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11860 arg3
= (long)(SWIG_As_long(obj2
));
11861 if (SWIG_arg_fail(3)) SWIG_fail
;
11866 arg4
= (int)(SWIG_As_int(obj3
));
11867 if (SWIG_arg_fail(4)) SWIG_fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11894 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxImage
*arg1
= (wxImage
*) 0 ;
11897 wxInputStream
*arg2
= 0 ;
11898 wxString
*arg3
= 0 ;
11899 int arg4
= (int) -1 ;
11901 wxPyInputStream
*temp2
;
11903 bool temp3
= false ;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 PyObject
* obj2
= 0 ;
11907 PyObject
* obj3
= 0 ;
11908 char *kwnames
[] = {
11909 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11914 if (SWIG_arg_fail(1)) SWIG_fail
;
11916 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11917 arg2
= temp2
->m_wxis
;
11920 PyErr_Clear(); // clear the failure of the wxPyConvert above
11921 arg2
= wxPyCBInputStream_create(obj1
, false);
11922 if (arg2
== NULL
) {
11923 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11930 arg3
= wxString_in_helper(obj2
);
11931 if (arg3
== NULL
) SWIG_fail
;
11936 arg4
= (int)(SWIG_As_int(obj3
));
11937 if (SWIG_arg_fail(4)) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11972 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxImage
*arg1
= (wxImage
*) 0 ;
11976 PyObject
* obj0
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "self", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11983 if (SWIG_arg_fail(1)) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (bool)(arg1
)->Ok();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12000 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
;
12002 wxImage
*arg1
= (wxImage
*) 0 ;
12004 PyObject
* obj0
= 0 ;
12005 char *kwnames
[] = {
12006 (char *) "self", NULL
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12011 if (SWIG_arg_fail(1)) SWIG_fail
;
12013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12014 result
= (int)(arg1
)->GetWidth();
12016 wxPyEndAllowThreads(__tstate
);
12017 if (PyErr_Occurred()) SWIG_fail
;
12020 resultobj
= SWIG_From_int((int)(result
));
12028 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12029 PyObject
*resultobj
;
12030 wxImage
*arg1
= (wxImage
*) 0 ;
12032 PyObject
* obj0
= 0 ;
12033 char *kwnames
[] = {
12034 (char *) "self", NULL
12037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12039 if (SWIG_arg_fail(1)) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (int)(arg1
)->GetHeight();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= SWIG_From_int((int)(result
));
12056 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxImage
*arg1
= (wxImage
*) 0 ;
12060 PyObject
* obj0
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12067 if (SWIG_arg_fail(1)) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 result
= wxImage_GetSize(arg1
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12076 wxSize
* resultptr
;
12077 resultptr
= new wxSize((wxSize
&)(result
));
12078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12086 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12087 PyObject
*resultobj
;
12088 wxImage
*arg1
= (wxImage
*) 0 ;
12090 SwigValueWrapper
<wxImage
> result
;
12092 PyObject
* obj0
= 0 ;
12093 PyObject
* obj1
= 0 ;
12094 char *kwnames
[] = {
12095 (char *) "self",(char *) "rect", NULL
12098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12100 if (SWIG_arg_fail(1)) SWIG_fail
;
12103 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12113 wxImage
* resultptr
;
12114 resultptr
= new wxImage((wxImage
&)(result
));
12115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12123 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
;
12125 wxImage
*arg1
= (wxImage
*) 0 ;
12126 SwigValueWrapper
<wxImage
> result
;
12127 PyObject
* obj0
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12134 if (SWIG_arg_fail(1)) SWIG_fail
;
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 result
= (arg1
)->Copy();
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12143 wxImage
* resultptr
;
12144 resultptr
= new wxImage((wxImage
&)(result
));
12145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12153 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12154 PyObject
*resultobj
;
12155 wxImage
*arg1
= (wxImage
*) 0 ;
12156 wxImage
*arg2
= 0 ;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 PyObject
* obj2
= 0 ;
12162 PyObject
* obj3
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12169 if (SWIG_arg_fail(1)) SWIG_fail
;
12171 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12172 if (SWIG_arg_fail(2)) SWIG_fail
;
12173 if (arg2
== NULL
) {
12174 SWIG_null_ref("wxImage");
12176 if (SWIG_arg_fail(2)) SWIG_fail
;
12179 arg3
= (int)(SWIG_As_int(obj2
));
12180 if (SWIG_arg_fail(3)) SWIG_fail
;
12183 arg4
= (int)(SWIG_As_int(obj3
));
12184 if (SWIG_arg_fail(4)) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 Py_INCREF(Py_None
); resultobj
= Py_None
;
12200 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12201 PyObject
*resultobj
;
12202 wxImage
*arg1
= (wxImage
*) 0 ;
12204 PyObject
* obj0
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12211 if (SWIG_arg_fail(1)) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12214 result
= (PyObject
*)wxImage_GetData(arg1
);
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 resultobj
= result
;
12226 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxImage
*arg1
= (wxImage
*) 0 ;
12229 PyObject
*arg2
= (PyObject
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self",(char *) "data", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12238 if (SWIG_arg_fail(1)) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 wxImage_SetData(arg1
,arg2
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 Py_INCREF(Py_None
); resultobj
= Py_None
;
12254 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxImage
*arg1
= (wxImage
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12265 if (SWIG_arg_fail(1)) SWIG_fail
;
12267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12268 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12270 wxPyEndAllowThreads(__tstate
);
12271 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= result
;
12280 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12281 PyObject
*resultobj
;
12282 wxImage
*arg1
= (wxImage
*) 0 ;
12283 PyObject
*arg2
= (PyObject
*) 0 ;
12284 PyObject
* obj0
= 0 ;
12285 PyObject
* obj1
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self",(char *) "data", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12292 if (SWIG_arg_fail(1)) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 wxImage_SetDataBuffer(arg1
,arg2
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 Py_INCREF(Py_None
); resultobj
= Py_None
;
12308 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxImage
*arg1
= (wxImage
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12319 if (SWIG_arg_fail(1)) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12322 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12324 wxPyEndAllowThreads(__tstate
);
12325 if (PyErr_Occurred()) SWIG_fail
;
12327 resultobj
= result
;
12334 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12335 PyObject
*resultobj
;
12336 wxImage
*arg1
= (wxImage
*) 0 ;
12337 PyObject
*arg2
= (PyObject
*) 0 ;
12338 PyObject
* obj0
= 0 ;
12339 PyObject
* obj1
= 0 ;
12340 char *kwnames
[] = {
12341 (char *) "self",(char *) "data", NULL
12344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12346 if (SWIG_arg_fail(1)) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 wxImage_SetAlphaData(arg1
,arg2
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 Py_INCREF(Py_None
); resultobj
= Py_None
;
12362 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxImage
*arg1
= (wxImage
*) 0 ;
12366 PyObject
* obj0
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12373 if (SWIG_arg_fail(1)) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= result
;
12388 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxImage
*arg1
= (wxImage
*) 0 ;
12391 PyObject
*arg2
= (PyObject
*) 0 ;
12392 PyObject
* obj0
= 0 ;
12393 PyObject
* obj1
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self",(char *) "data", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12400 if (SWIG_arg_fail(1)) SWIG_fail
;
12403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12404 wxImage_SetAlphaBuffer(arg1
,arg2
);
12406 wxPyEndAllowThreads(__tstate
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12409 Py_INCREF(Py_None
); resultobj
= Py_None
;
12416 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
;
12418 wxImage
*arg1
= (wxImage
*) 0 ;
12419 unsigned char arg2
;
12420 unsigned char arg3
;
12421 unsigned char arg4
;
12422 PyObject
* obj0
= 0 ;
12423 PyObject
* obj1
= 0 ;
12424 PyObject
* obj2
= 0 ;
12425 PyObject
* obj3
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12432 if (SWIG_arg_fail(1)) SWIG_fail
;
12434 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12435 if (SWIG_arg_fail(2)) SWIG_fail
;
12438 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12439 if (SWIG_arg_fail(3)) SWIG_fail
;
12442 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12443 if (SWIG_arg_fail(4)) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 Py_INCREF(Py_None
); resultobj
= Py_None
;
12459 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxImage
*arg1
= (wxImage
*) 0 ;
12462 unsigned char result
;
12463 PyObject
* obj0
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "self", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12470 if (SWIG_arg_fail(1)) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 result
= (unsigned char)(arg1
)->GetMaskRed();
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12487 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxImage
*arg1
= (wxImage
*) 0 ;
12490 unsigned char result
;
12491 PyObject
* obj0
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "self", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12498 if (SWIG_arg_fail(1)) SWIG_fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (unsigned char)(arg1
)->GetMaskGreen();
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12507 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12515 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxImage
*arg1
= (wxImage
*) 0 ;
12518 unsigned char result
;
12519 PyObject
* obj0
= 0 ;
12520 char *kwnames
[] = {
12521 (char *) "self", NULL
12524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12526 if (SWIG_arg_fail(1)) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= (unsigned char)(arg1
)->GetMaskBlue();
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12543 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxImage
*arg1
= (wxImage
*) 0 ;
12546 bool arg2
= (bool) true ;
12547 PyObject
* obj0
= 0 ;
12548 PyObject
* obj1
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self",(char *) "mask", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12555 if (SWIG_arg_fail(1)) SWIG_fail
;
12558 arg2
= (bool)(SWIG_As_bool(obj1
));
12559 if (SWIG_arg_fail(2)) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 (arg1
)->SetMask(arg2
);
12566 wxPyEndAllowThreads(__tstate
);
12567 if (PyErr_Occurred()) SWIG_fail
;
12569 Py_INCREF(Py_None
); resultobj
= Py_None
;
12576 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12577 PyObject
*resultobj
;
12578 wxImage
*arg1
= (wxImage
*) 0 ;
12580 PyObject
* obj0
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12590 result
= (bool)(arg1
)->HasMask();
12592 wxPyEndAllowThreads(__tstate
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12604 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12605 PyObject
*resultobj
;
12606 wxImage
*arg1
= (wxImage
*) 0 ;
12608 wxPoint
*arg3
= 0 ;
12609 bool arg4
= (bool) true ;
12610 wxPoint
*arg5
= (wxPoint
*) NULL
;
12611 SwigValueWrapper
<wxImage
> result
;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 PyObject
* obj2
= 0 ;
12616 PyObject
* obj3
= 0 ;
12617 PyObject
* obj4
= 0 ;
12618 char *kwnames
[] = {
12619 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12624 if (SWIG_arg_fail(1)) SWIG_fail
;
12626 arg2
= (double)(SWIG_As_double(obj1
));
12627 if (SWIG_arg_fail(2)) SWIG_fail
;
12631 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12635 arg4
= (bool)(SWIG_As_bool(obj3
));
12636 if (SWIG_arg_fail(4)) SWIG_fail
;
12640 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12641 if (SWIG_arg_fail(5)) SWIG_fail
;
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12645 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12651 wxImage
* resultptr
;
12652 resultptr
= new wxImage((wxImage
&)(result
));
12653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12661 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxImage
*arg1
= (wxImage
*) 0 ;
12664 bool arg2
= (bool) true ;
12665 SwigValueWrapper
<wxImage
> result
;
12666 PyObject
* obj0
= 0 ;
12667 PyObject
* obj1
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self",(char *) "clockwise", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12674 if (SWIG_arg_fail(1)) SWIG_fail
;
12677 arg2
= (bool)(SWIG_As_bool(obj1
));
12678 if (SWIG_arg_fail(2)) SWIG_fail
;
12682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12683 result
= (arg1
)->Rotate90(arg2
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12689 wxImage
* resultptr
;
12690 resultptr
= new wxImage((wxImage
&)(result
));
12691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12699 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxImage
*arg1
= (wxImage
*) 0 ;
12702 bool arg2
= (bool) true ;
12703 SwigValueWrapper
<wxImage
> result
;
12704 PyObject
* obj0
= 0 ;
12705 PyObject
* obj1
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self",(char *) "horizontally", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12712 if (SWIG_arg_fail(1)) SWIG_fail
;
12715 arg2
= (bool)(SWIG_As_bool(obj1
));
12716 if (SWIG_arg_fail(2)) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (arg1
)->Mirror(arg2
);
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12727 wxImage
* resultptr
;
12728 resultptr
= new wxImage((wxImage
&)(result
));
12729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12737 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12738 PyObject
*resultobj
;
12739 wxImage
*arg1
= (wxImage
*) 0 ;
12740 unsigned char arg2
;
12741 unsigned char arg3
;
12742 unsigned char arg4
;
12743 unsigned char arg5
;
12744 unsigned char arg6
;
12745 unsigned char arg7
;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 PyObject
* obj2
= 0 ;
12749 PyObject
* obj3
= 0 ;
12750 PyObject
* obj4
= 0 ;
12751 PyObject
* obj5
= 0 ;
12752 PyObject
* obj6
= 0 ;
12753 char *kwnames
[] = {
12754 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12759 if (SWIG_arg_fail(1)) SWIG_fail
;
12761 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12762 if (SWIG_arg_fail(2)) SWIG_fail
;
12765 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12766 if (SWIG_arg_fail(3)) SWIG_fail
;
12769 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12770 if (SWIG_arg_fail(4)) SWIG_fail
;
12773 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12774 if (SWIG_arg_fail(5)) SWIG_fail
;
12777 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12778 if (SWIG_arg_fail(6)) SWIG_fail
;
12781 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12782 if (SWIG_arg_fail(7)) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 Py_INCREF(Py_None
); resultobj
= Py_None
;
12798 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxImage
*arg1
= (wxImage
*) 0 ;
12801 unsigned char arg2
;
12802 unsigned char arg3
;
12803 unsigned char arg4
;
12804 SwigValueWrapper
<wxImage
> result
;
12805 PyObject
* obj0
= 0 ;
12806 PyObject
* obj1
= 0 ;
12807 PyObject
* obj2
= 0 ;
12808 PyObject
* obj3
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12815 if (SWIG_arg_fail(1)) SWIG_fail
;
12817 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12818 if (SWIG_arg_fail(2)) SWIG_fail
;
12821 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12822 if (SWIG_arg_fail(3)) SWIG_fail
;
12825 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12826 if (SWIG_arg_fail(4)) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12836 wxImage
* resultptr
;
12837 resultptr
= new wxImage((wxImage
&)(result
));
12838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12846 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxImage
*arg1
= (wxImage
*) 0 ;
12849 wxString
*arg2
= 0 ;
12850 wxString
*arg3
= 0 ;
12851 bool temp2
= false ;
12852 bool temp3
= false ;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self",(char *) "name",(char *) "value", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12862 if (SWIG_arg_fail(1)) SWIG_fail
;
12864 arg2
= wxString_in_helper(obj1
);
12865 if (arg2
== NULL
) SWIG_fail
;
12869 arg3
= wxString_in_helper(obj2
);
12870 if (arg3
== NULL
) SWIG_fail
;
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12877 wxPyEndAllowThreads(__tstate
);
12878 if (PyErr_Occurred()) SWIG_fail
;
12880 Py_INCREF(Py_None
); resultobj
= Py_None
;
12903 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12904 PyObject
*resultobj
;
12905 wxImage
*arg1
= (wxImage
*) 0 ;
12906 wxString
*arg2
= 0 ;
12908 bool temp2
= false ;
12909 PyObject
* obj0
= 0 ;
12910 PyObject
* obj1
= 0 ;
12911 PyObject
* obj2
= 0 ;
12912 char *kwnames
[] = {
12913 (char *) "self",(char *) "name",(char *) "value", NULL
12916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12918 if (SWIG_arg_fail(1)) SWIG_fail
;
12920 arg2
= wxString_in_helper(obj1
);
12921 if (arg2
== NULL
) SWIG_fail
;
12925 arg3
= (int)(SWIG_As_int(obj2
));
12926 if (SWIG_arg_fail(3)) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 Py_INCREF(Py_None
); resultobj
= Py_None
;
12950 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
;
12952 wxImage
*arg1
= (wxImage
*) 0 ;
12953 wxString
*arg2
= 0 ;
12955 bool temp2
= false ;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self",(char *) "name", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12964 if (SWIG_arg_fail(1)) SWIG_fail
;
12966 arg2
= wxString_in_helper(obj1
);
12967 if (arg2
== NULL
) SWIG_fail
;
12971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12972 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12998 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxImage
*arg1
= (wxImage
*) 0 ;
13001 wxString
*arg2
= 0 ;
13003 bool temp2
= false ;
13004 PyObject
* obj0
= 0 ;
13005 PyObject
* obj1
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self",(char *) "name", NULL
13010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13012 if (SWIG_arg_fail(1)) SWIG_fail
;
13014 arg2
= wxString_in_helper(obj1
);
13015 if (arg2
== NULL
) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= SWIG_From_int((int)(result
));
13042 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxImage
*arg1
= (wxImage
*) 0 ;
13045 wxString
*arg2
= 0 ;
13047 bool temp2
= false ;
13048 PyObject
* obj0
= 0 ;
13049 PyObject
* obj1
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self",(char *) "name", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13056 if (SWIG_arg_fail(1)) SWIG_fail
;
13058 arg2
= wxString_in_helper(obj1
);
13059 if (arg2
== NULL
) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13086 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxImage
*arg1
= (wxImage
*) 0 ;
13089 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13090 unsigned long result
;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self",(char *) "stopafter", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13099 if (SWIG_arg_fail(1)) SWIG_fail
;
13102 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13103 if (SWIG_arg_fail(2)) SWIG_fail
;
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13122 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13123 PyObject
*resultobj
;
13124 wxImage
*arg1
= (wxImage
*) 0 ;
13125 wxImageHistogram
*arg2
= 0 ;
13126 unsigned long result
;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "self",(char *) "h", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13135 if (SWIG_arg_fail(1)) SWIG_fail
;
13137 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13138 if (SWIG_arg_fail(2)) SWIG_fail
;
13139 if (arg2
== NULL
) {
13140 SWIG_null_ref("wxImageHistogram");
13142 if (SWIG_arg_fail(2)) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13152 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13160 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13161 PyObject
*resultobj
;
13162 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13163 PyObject
* obj0
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "handler", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13170 if (SWIG_arg_fail(1)) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 wxImage::AddHandler(arg1
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 Py_INCREF(Py_None
); resultobj
= Py_None
;
13185 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13188 PyObject
* obj0
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "handler", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13195 if (SWIG_arg_fail(1)) SWIG_fail
;
13197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13198 wxImage::InsertHandler(arg1
);
13200 wxPyEndAllowThreads(__tstate
);
13201 if (PyErr_Occurred()) SWIG_fail
;
13203 Py_INCREF(Py_None
); resultobj
= Py_None
;
13210 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13211 PyObject
*resultobj
;
13212 wxString
*arg1
= 0 ;
13214 bool temp1
= false ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "name", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13222 arg1
= wxString_in_helper(obj0
);
13223 if (arg1
== NULL
) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13230 wxPyEndAllowThreads(__tstate
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13250 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13253 char *kwnames
[] = {
13257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= wxImage::GetImageExtWildcard();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13278 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxImage
*arg1
= (wxImage
*) 0 ;
13281 int arg2
= (int) -1 ;
13283 PyObject
* obj0
= 0 ;
13284 PyObject
* obj1
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self",(char *) "depth", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13291 if (SWIG_arg_fail(1)) SWIG_fail
;
13294 arg2
= (int)(SWIG_As_int(obj1
));
13295 if (SWIG_arg_fail(2)) SWIG_fail
;
13299 if (!wxPyCheckForApp()) SWIG_fail
;
13300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13301 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13303 wxPyEndAllowThreads(__tstate
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 wxBitmap
* resultptr
;
13308 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13317 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxImage
*arg1
= (wxImage
*) 0 ;
13320 unsigned char arg2
;
13321 unsigned char arg3
;
13322 unsigned char arg4
;
13324 PyObject
* obj0
= 0 ;
13325 PyObject
* obj1
= 0 ;
13326 PyObject
* obj2
= 0 ;
13327 PyObject
* obj3
= 0 ;
13328 char *kwnames
[] = {
13329 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13334 if (SWIG_arg_fail(1)) SWIG_fail
;
13336 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13337 if (SWIG_arg_fail(2)) SWIG_fail
;
13340 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13341 if (SWIG_arg_fail(3)) SWIG_fail
;
13344 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13345 if (SWIG_arg_fail(4)) SWIG_fail
;
13348 if (!wxPyCheckForApp()) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 wxBitmap
* resultptr
;
13357 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13366 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13369 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13371 return Py_BuildValue((char *)"");
13373 static int _wrap_NullImage_set(PyObject
*) {
13374 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13379 static PyObject
*_wrap_NullImage_get(void) {
13382 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13387 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13388 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13393 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13398 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13400 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13407 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13408 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13413 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13418 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13420 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13427 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13428 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13433 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13438 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13440 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13447 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13448 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13453 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13458 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13460 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13467 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13468 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13473 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13478 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13480 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13487 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13488 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13493 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13498 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13500 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13507 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13508 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13513 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13518 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13520 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13527 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13528 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13533 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13538 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13540 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13547 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13548 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13553 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13558 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13560 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13567 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13568 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13573 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13578 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13580 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13587 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13588 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13593 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13598 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13600 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13607 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13608 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13613 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13618 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13620 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13627 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxBMPHandler
*result
;
13630 char *kwnames
[] = {
13634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (wxBMPHandler
*)new wxBMPHandler();
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13649 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13652 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13654 return Py_BuildValue((char *)"");
13656 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxICOHandler
*result
;
13659 char *kwnames
[] = {
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (wxICOHandler
*)new wxICOHandler();
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13678 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13681 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13683 return Py_BuildValue((char *)"");
13685 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxCURHandler
*result
;
13688 char *kwnames
[] = {
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13695 result
= (wxCURHandler
*)new wxCURHandler();
13697 wxPyEndAllowThreads(__tstate
);
13698 if (PyErr_Occurred()) SWIG_fail
;
13700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13707 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13710 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13712 return Py_BuildValue((char *)"");
13714 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxANIHandler
*result
;
13717 char *kwnames
[] = {
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (wxANIHandler
*)new wxANIHandler();
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13736 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13739 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13741 return Py_BuildValue((char *)"");
13743 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13744 PyObject
*resultobj
;
13745 wxPNGHandler
*result
;
13746 char *kwnames
[] = {
13750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13753 result
= (wxPNGHandler
*)new wxPNGHandler();
13755 wxPyEndAllowThreads(__tstate
);
13756 if (PyErr_Occurred()) SWIG_fail
;
13758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13765 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13768 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13770 return Py_BuildValue((char *)"");
13772 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13773 PyObject
*resultobj
;
13774 wxGIFHandler
*result
;
13775 char *kwnames
[] = {
13779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13782 result
= (wxGIFHandler
*)new wxGIFHandler();
13784 wxPyEndAllowThreads(__tstate
);
13785 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13794 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13796 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13797 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13799 return Py_BuildValue((char *)"");
13801 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13802 PyObject
*resultobj
;
13803 wxPCXHandler
*result
;
13804 char *kwnames
[] = {
13808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (wxPCXHandler
*)new wxPCXHandler();
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13823 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13826 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13828 return Py_BuildValue((char *)"");
13830 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxJPEGHandler
*result
;
13833 char *kwnames
[] = {
13837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13852 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13855 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13857 return Py_BuildValue((char *)"");
13859 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13860 PyObject
*resultobj
;
13861 wxPNMHandler
*result
;
13862 char *kwnames
[] = {
13866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (wxPNMHandler
*)new wxPNMHandler();
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13881 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13884 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13886 return Py_BuildValue((char *)"");
13888 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxXPMHandler
*result
;
13891 char *kwnames
[] = {
13895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (wxXPMHandler
*)new wxXPMHandler();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13910 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13913 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13915 return Py_BuildValue((char *)"");
13917 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
;
13919 wxTIFFHandler
*result
;
13920 char *kwnames
[] = {
13924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13929 wxPyEndAllowThreads(__tstate
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13939 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13942 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13944 return Py_BuildValue((char *)"");
13946 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxImage
*arg1
= 0 ;
13949 wxImage
*arg2
= 0 ;
13950 int arg3
= (int) 236 ;
13951 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13953 PyObject
* obj0
= 0 ;
13954 PyObject
* obj1
= 0 ;
13955 PyObject
* obj2
= 0 ;
13956 PyObject
* obj3
= 0 ;
13957 char *kwnames
[] = {
13958 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
13961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13964 if (SWIG_arg_fail(1)) SWIG_fail
;
13965 if (arg1
== NULL
) {
13966 SWIG_null_ref("wxImage");
13968 if (SWIG_arg_fail(1)) SWIG_fail
;
13971 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13972 if (SWIG_arg_fail(2)) SWIG_fail
;
13973 if (arg2
== NULL
) {
13974 SWIG_null_ref("wxImage");
13976 if (SWIG_arg_fail(2)) SWIG_fail
;
13980 arg3
= (int)(SWIG_As_int(obj2
));
13981 if (SWIG_arg_fail(3)) SWIG_fail
;
13986 arg4
= (int)(SWIG_As_int(obj3
));
13987 if (SWIG_arg_fail(4)) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14006 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14009 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14011 return Py_BuildValue((char *)"");
14013 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
;
14015 wxEvtHandler
*result
;
14016 char *kwnames
[] = {
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (wxEvtHandler
*)new wxEvtHandler();
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14035 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14038 wxEvtHandler
*result
;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14046 if (SWIG_arg_fail(1)) SWIG_fail
;
14048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14049 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= wxPyMake_wxObject(result
, 0);
14063 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14066 wxEvtHandler
*result
;
14067 PyObject
* obj0
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "self", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14074 if (SWIG_arg_fail(1)) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14083 resultobj
= wxPyMake_wxObject(result
, 0);
14091 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14094 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14095 PyObject
* obj0
= 0 ;
14096 PyObject
* obj1
= 0 ;
14097 char *kwnames
[] = {
14098 (char *) "self",(char *) "handler", NULL
14101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14103 if (SWIG_arg_fail(1)) SWIG_fail
;
14104 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14105 if (SWIG_arg_fail(2)) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 (arg1
)->SetNextHandler(arg2
);
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 Py_INCREF(Py_None
); resultobj
= Py_None
;
14120 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14123 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self",(char *) "handler", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14132 if (SWIG_arg_fail(1)) SWIG_fail
;
14133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14134 if (SWIG_arg_fail(2)) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 (arg1
)->SetPreviousHandler(arg2
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14142 Py_INCREF(Py_None
); resultobj
= Py_None
;
14149 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14151 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14160 if (SWIG_arg_fail(1)) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14177 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self",(char *) "enabled", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14189 if (SWIG_arg_fail(1)) SWIG_fail
;
14191 arg2
= (bool)(SWIG_As_bool(obj1
));
14192 if (SWIG_arg_fail(2)) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 (arg1
)->SetEvtHandlerEnabled(arg2
);
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 Py_INCREF(Py_None
); resultobj
= Py_None
;
14208 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14211 wxEvent
*arg2
= 0 ;
14213 PyObject
* obj0
= 0 ;
14214 PyObject
* obj1
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self",(char *) "event", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14221 if (SWIG_arg_fail(1)) SWIG_fail
;
14223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14224 if (SWIG_arg_fail(2)) SWIG_fail
;
14225 if (arg2
== NULL
) {
14226 SWIG_null_ref("wxEvent");
14228 if (SWIG_arg_fail(2)) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14246 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14249 wxEvent
*arg2
= 0 ;
14250 PyObject
* obj0
= 0 ;
14251 PyObject
* obj1
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self",(char *) "event", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14258 if (SWIG_arg_fail(1)) SWIG_fail
;
14260 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14261 if (SWIG_arg_fail(2)) SWIG_fail
;
14262 if (arg2
== NULL
) {
14263 SWIG_null_ref("wxEvent");
14265 if (SWIG_arg_fail(2)) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 (arg1
)->AddPendingEvent(*arg2
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 Py_INCREF(Py_None
); resultobj
= Py_None
;
14281 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14284 PyObject
* obj0
= 0 ;
14285 char *kwnames
[] = {
14286 (char *) "self", NULL
14289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14291 if (SWIG_arg_fail(1)) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 (arg1
)->ProcessPendingEvents();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 Py_INCREF(Py_None
); resultobj
= Py_None
;
14306 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14312 PyObject
*arg5
= (PyObject
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 PyObject
* obj2
= 0 ;
14316 PyObject
* obj3
= 0 ;
14317 PyObject
* obj4
= 0 ;
14318 char *kwnames
[] = {
14319 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14324 if (SWIG_arg_fail(1)) SWIG_fail
;
14326 arg2
= (int)(SWIG_As_int(obj1
));
14327 if (SWIG_arg_fail(2)) SWIG_fail
;
14330 arg3
= (int)(SWIG_As_int(obj2
));
14331 if (SWIG_arg_fail(3)) SWIG_fail
;
14334 arg4
= (int)(SWIG_As_int(obj3
));
14335 if (SWIG_arg_fail(4)) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 Py_INCREF(Py_None
); resultobj
= Py_None
;
14352 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14356 int arg3
= (int) -1 ;
14357 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14359 PyObject
* obj0
= 0 ;
14360 PyObject
* obj1
= 0 ;
14361 PyObject
* obj2
= 0 ;
14362 PyObject
* obj3
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14369 if (SWIG_arg_fail(1)) SWIG_fail
;
14371 arg2
= (int)(SWIG_As_int(obj1
));
14372 if (SWIG_arg_fail(2)) SWIG_fail
;
14376 arg3
= (int)(SWIG_As_int(obj2
));
14377 if (SWIG_arg_fail(3)) SWIG_fail
;
14382 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14383 if (SWIG_arg_fail(4)) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14402 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14403 PyObject
*resultobj
;
14404 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14405 PyObject
*arg2
= (PyObject
*) 0 ;
14406 bool arg3
= (bool) true ;
14407 PyObject
* obj0
= 0 ;
14408 PyObject
* obj1
= 0 ;
14409 PyObject
* obj2
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self",(char *) "_self",(char *) "incref", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail
;
14420 arg3
= (bool)(SWIG_As_bool(obj2
));
14421 if (SWIG_arg_fail(3)) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 Py_INCREF(Py_None
); resultobj
= Py_None
;
14438 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14441 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14443 return Py_BuildValue((char *)"");
14445 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxEventType result
;
14448 char *kwnames
[] = {
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (wxEventType
)wxNewEventType();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_From_int((int)(result
));
14469 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14470 PyObject
*resultobj
;
14471 wxEvent
*arg1
= (wxEvent
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14479 if (SWIG_arg_fail(1)) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 wxPyEndAllowThreads(__tstate
);
14485 if (PyErr_Occurred()) SWIG_fail
;
14487 Py_INCREF(Py_None
); resultobj
= Py_None
;
14494 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxEvent
*arg1
= (wxEvent
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self",(char *) "typ", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14506 if (SWIG_arg_fail(1)) SWIG_fail
;
14508 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14509 if (SWIG_arg_fail(2)) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 (arg1
)->SetEventType(arg2
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 Py_INCREF(Py_None
); resultobj
= Py_None
;
14525 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxEvent
*arg1
= (wxEvent
*) 0 ;
14528 wxEventType result
;
14529 PyObject
* obj0
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14536 if (SWIG_arg_fail(1)) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= SWIG_From_int((int)(result
));
14553 static PyObject
*_wrap_Event_GetEventObject(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_GetEventObject",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
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= wxPyMake_wxObject(result
, 0);
14581 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxEvent
*arg1
= (wxEvent
*) 0 ;
14584 wxObject
*arg2
= (wxObject
*) 0 ;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self",(char *) "obj", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",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
;
14594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14595 if (SWIG_arg_fail(2)) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 (arg1
)->SetEventObject(arg2
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 Py_INCREF(Py_None
); resultobj
= Py_None
;
14610 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxEvent
*arg1
= (wxEvent
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14621 if (SWIG_arg_fail(1)) SWIG_fail
;
14623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14624 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14626 wxPyEndAllowThreads(__tstate
);
14627 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_From_long((long)(result
));
14638 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxEvent
*arg1
= (wxEvent
*) 0 ;
14641 long arg2
= (long) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 PyObject
* obj1
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "self",(char *) "ts", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14650 if (SWIG_arg_fail(1)) SWIG_fail
;
14653 arg2
= (long)(SWIG_As_long(obj1
));
14654 if (SWIG_arg_fail(2)) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 (arg1
)->SetTimestamp(arg2
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 Py_INCREF(Py_None
); resultobj
= Py_None
;
14671 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxEvent
*arg1
= (wxEvent
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14682 if (SWIG_arg_fail(1)) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (int)((wxEvent
const *)arg1
)->GetId();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_From_int((int)(result
));
14699 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxEvent
*arg1
= (wxEvent
*) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 PyObject
* obj1
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "Id", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14711 if (SWIG_arg_fail(1)) SWIG_fail
;
14713 arg2
= (int)(SWIG_As_int(obj1
));
14714 if (SWIG_arg_fail(2)) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 (arg1
)->SetId(arg2
);
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 Py_INCREF(Py_None
); resultobj
= Py_None
;
14730 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxEvent
*arg1
= (wxEvent
*) 0 ;
14734 PyObject
* obj0
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "self", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14741 if (SWIG_arg_fail(1)) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14758 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxEvent
*arg1
= (wxEvent
*) 0 ;
14761 bool arg2
= (bool) true ;
14762 PyObject
* obj0
= 0 ;
14763 PyObject
* obj1
= 0 ;
14764 char *kwnames
[] = {
14765 (char *) "self",(char *) "skip", NULL
14768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14770 if (SWIG_arg_fail(1)) SWIG_fail
;
14773 arg2
= (bool)(SWIG_As_bool(obj1
));
14774 if (SWIG_arg_fail(2)) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->Skip(arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14791 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxEvent
*arg1
= (wxEvent
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14802 if (SWIG_arg_fail(1)) SWIG_fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14819 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14820 PyObject
*resultobj
;
14821 wxEvent
*arg1
= (wxEvent
*) 0 ;
14823 PyObject
* obj0
= 0 ;
14824 char *kwnames
[] = {
14825 (char *) "self", NULL
14828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14830 if (SWIG_arg_fail(1)) SWIG_fail
;
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14835 wxPyEndAllowThreads(__tstate
);
14836 if (PyErr_Occurred()) SWIG_fail
;
14839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14847 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxEvent
*arg1
= (wxEvent
*) 0 ;
14851 PyObject
* obj0
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14858 if (SWIG_arg_fail(1)) SWIG_fail
;
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (int)(arg1
)->StopPropagation();
14863 wxPyEndAllowThreads(__tstate
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= SWIG_From_int((int)(result
));
14875 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxEvent
*arg1
= (wxEvent
*) 0 ;
14879 PyObject
* obj0
= 0 ;
14880 PyObject
* obj1
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "self",(char *) "propagationLevel", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14887 if (SWIG_arg_fail(1)) SWIG_fail
;
14889 arg2
= (int)(SWIG_As_int(obj1
));
14890 if (SWIG_arg_fail(2)) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 (arg1
)->ResumePropagation(arg2
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 Py_INCREF(Py_None
); resultobj
= Py_None
;
14906 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14907 PyObject
*resultobj
;
14908 wxEvent
*arg1
= (wxEvent
*) 0 ;
14910 PyObject
* obj0
= 0 ;
14911 char *kwnames
[] = {
14912 (char *) "self", NULL
14915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14917 if (SWIG_arg_fail(1)) SWIG_fail
;
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (wxEvent
*)(arg1
)->Clone();
14922 wxPyEndAllowThreads(__tstate
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14932 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14935 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14937 return Py_BuildValue((char *)"");
14939 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
;
14941 wxEvent
*arg1
= 0 ;
14942 wxPropagationDisabler
*result
;
14943 PyObject
* obj0
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "event", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14951 if (SWIG_arg_fail(1)) SWIG_fail
;
14952 if (arg1
== NULL
) {
14953 SWIG_null_ref("wxEvent");
14955 if (SWIG_arg_fail(1)) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
14971 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "self", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
14981 if (SWIG_arg_fail(1)) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 Py_INCREF(Py_None
); resultobj
= Py_None
;
14996 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
14998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14999 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15001 return Py_BuildValue((char *)"");
15003 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxEvent
*arg1
= 0 ;
15006 wxPropagateOnce
*result
;
15007 PyObject
* obj0
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "event", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15015 if (SWIG_arg_fail(1)) SWIG_fail
;
15016 if (arg1
== NULL
) {
15017 SWIG_null_ref("wxEvent");
15019 if (SWIG_arg_fail(1)) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15035 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15038 PyObject
* obj0
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15045 if (SWIG_arg_fail(1)) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15063 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15065 return Py_BuildValue((char *)"");
15067 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15070 int arg2
= (int) 0 ;
15071 wxCommandEvent
*result
;
15072 PyObject
* obj0
= 0 ;
15073 PyObject
* obj1
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "commandType",(char *) "winid", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15081 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15082 if (SWIG_arg_fail(1)) SWIG_fail
;
15087 arg2
= (int)(SWIG_As_int(obj1
));
15088 if (SWIG_arg_fail(2)) SWIG_fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15105 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15107 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 char *kwnames
[] = {
15111 (char *) "self", NULL
15114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15116 if (SWIG_arg_fail(1)) SWIG_fail
;
15118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15119 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= SWIG_From_int((int)(result
));
15133 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15136 wxString
*arg2
= 0 ;
15137 bool temp2
= false ;
15138 PyObject
* obj0
= 0 ;
15139 PyObject
* obj1
= 0 ;
15140 char *kwnames
[] = {
15141 (char *) "self",(char *) "s", NULL
15144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15146 if (SWIG_arg_fail(1)) SWIG_fail
;
15148 arg2
= wxString_in_helper(obj1
);
15149 if (arg2
== NULL
) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 (arg1
)->SetString((wxString
const &)*arg2
);
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15159 Py_INCREF(Py_None
); resultobj
= Py_None
;
15174 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
;
15176 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15185 if (SWIG_arg_fail(1)) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15188 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15206 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15217 if (SWIG_arg_fail(1)) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15234 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
;
15236 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15238 PyObject
* obj0
= 0 ;
15239 char *kwnames
[] = {
15240 (char *) "self", NULL
15243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15245 if (SWIG_arg_fail(1)) SWIG_fail
;
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15262 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15264 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15266 PyObject
* obj0
= 0 ;
15267 PyObject
* obj1
= 0 ;
15268 char *kwnames
[] = {
15269 (char *) "self",(char *) "extraLong", NULL
15272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15274 if (SWIG_arg_fail(1)) SWIG_fail
;
15276 arg2
= (long)(SWIG_As_long(obj1
));
15277 if (SWIG_arg_fail(2)) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 (arg1
)->SetExtraLong(arg2
);
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 Py_INCREF(Py_None
); resultobj
= Py_None
;
15293 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15304 if (SWIG_arg_fail(1)) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_From_long((long)(result
));
15321 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self",(char *) "i", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail
;
15335 arg2
= (int)(SWIG_As_int(obj1
));
15336 if (SWIG_arg_fail(2)) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 (arg1
)->SetInt(arg2
);
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15345 Py_INCREF(Py_None
); resultobj
= Py_None
;
15352 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 char *kwnames
[] = {
15358 (char *) "self", NULL
15361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15363 if (SWIG_arg_fail(1)) SWIG_fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 resultobj
= SWIG_From_long((long)(result
));
15380 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15391 if (SWIG_arg_fail(1)) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15406 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15409 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15411 return Py_BuildValue((char *)"");
15413 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15416 int arg2
= (int) 0 ;
15417 wxNotifyEvent
*result
;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "commandType",(char *) "winid", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15427 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15428 if (SWIG_arg_fail(1)) SWIG_fail
;
15433 arg2
= (int)(SWIG_As_int(obj1
));
15434 if (SWIG_arg_fail(2)) SWIG_fail
;
15438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15439 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15441 wxPyEndAllowThreads(__tstate
);
15442 if (PyErr_Occurred()) SWIG_fail
;
15444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15451 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15454 PyObject
* obj0
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 Py_INCREF(Py_None
); resultobj
= Py_None
;
15476 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
;
15478 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15486 if (SWIG_arg_fail(1)) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 Py_INCREF(Py_None
); resultobj
= Py_None
;
15501 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15512 if (SWIG_arg_fail(1)) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (bool)(arg1
)->IsAllowed();
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15529 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15532 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15534 return Py_BuildValue((char *)"");
15536 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15539 int arg2
= (int) 0 ;
15540 int arg3
= (int) 0 ;
15541 int arg4
= (int) 0 ;
15542 wxScrollEvent
*result
;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 PyObject
* obj2
= 0 ;
15546 PyObject
* obj3
= 0 ;
15547 char *kwnames
[] = {
15548 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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
;
15572 arg4
= (int)(SWIG_As_int(obj3
));
15573 if (SWIG_arg_fail(4)) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15578 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15590 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15601 if (SWIG_arg_fail(1)) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= SWIG_From_int((int)(result
));
15618 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15629 if (SWIG_arg_fail(1)) SWIG_fail
;
15631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15632 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15634 wxPyEndAllowThreads(__tstate
);
15635 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= SWIG_From_int((int)(result
));
15646 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15647 PyObject
*resultobj
;
15648 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15650 PyObject
* obj0
= 0 ;
15651 PyObject
* obj1
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self",(char *) "orient", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15658 if (SWIG_arg_fail(1)) SWIG_fail
;
15660 arg2
= (int)(SWIG_As_int(obj1
));
15661 if (SWIG_arg_fail(2)) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->SetOrientation(arg2
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 Py_INCREF(Py_None
); resultobj
= Py_None
;
15677 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "pos", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15689 if (SWIG_arg_fail(1)) SWIG_fail
;
15691 arg2
= (int)(SWIG_As_int(obj1
));
15692 if (SWIG_arg_fail(2)) SWIG_fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 (arg1
)->SetPosition(arg2
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 Py_INCREF(Py_None
); resultobj
= Py_None
;
15708 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15711 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15713 return Py_BuildValue((char *)"");
15715 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15718 int arg2
= (int) 0 ;
15719 int arg3
= (int) 0 ;
15720 wxScrollWinEvent
*result
;
15721 PyObject
* obj0
= 0 ;
15722 PyObject
* obj1
= 0 ;
15723 PyObject
* obj2
= 0 ;
15724 char *kwnames
[] = {
15725 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15731 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15732 if (SWIG_arg_fail(1)) SWIG_fail
;
15737 arg2
= (int)(SWIG_As_int(obj1
));
15738 if (SWIG_arg_fail(2)) SWIG_fail
;
15743 arg3
= (int)(SWIG_As_int(obj2
));
15744 if (SWIG_arg_fail(3)) SWIG_fail
;
15748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15749 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15761 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15765 PyObject
* obj0
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15772 if (SWIG_arg_fail(1)) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15775 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15781 resultobj
= SWIG_From_int((int)(result
));
15789 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15793 PyObject
* obj0
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "self", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15800 if (SWIG_arg_fail(1)) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15809 resultobj
= SWIG_From_int((int)(result
));
15817 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 PyObject
* obj1
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self",(char *) "orient", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15829 if (SWIG_arg_fail(1)) SWIG_fail
;
15831 arg2
= (int)(SWIG_As_int(obj1
));
15832 if (SWIG_arg_fail(2)) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 (arg1
)->SetOrientation(arg2
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 Py_INCREF(Py_None
); resultobj
= Py_None
;
15848 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15849 PyObject
*resultobj
;
15850 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15852 PyObject
* obj0
= 0 ;
15853 PyObject
* obj1
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self",(char *) "pos", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15860 if (SWIG_arg_fail(1)) SWIG_fail
;
15862 arg2
= (int)(SWIG_As_int(obj1
));
15863 if (SWIG_arg_fail(2)) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 (arg1
)->SetPosition(arg2
);
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 Py_INCREF(Py_None
); resultobj
= Py_None
;
15879 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15882 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15884 return Py_BuildValue((char *)"");
15886 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15889 wxMouseEvent
*result
;
15890 PyObject
* obj0
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "mouseType", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15898 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15899 if (SWIG_arg_fail(1)) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= wxPyMake_wxObject(result
, 1);
15918 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15929 if (SWIG_arg_fail(1)) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15946 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
;
15948 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15949 int arg2
= (int) wxMOUSE_BTN_ANY
;
15951 PyObject
* obj0
= 0 ;
15952 PyObject
* obj1
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self",(char *) "but", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15959 if (SWIG_arg_fail(1)) SWIG_fail
;
15962 arg2
= (int)(SWIG_As_int(obj1
));
15963 if (SWIG_arg_fail(2)) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15982 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15985 int arg2
= (int) wxMOUSE_BTN_ANY
;
15987 PyObject
* obj0
= 0 ;
15988 PyObject
* obj1
= 0 ;
15989 char *kwnames
[] = {
15990 (char *) "self",(char *) "but", NULL
15993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
15994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15995 if (SWIG_arg_fail(1)) SWIG_fail
;
15998 arg2
= (int)(SWIG_As_int(obj1
));
15999 if (SWIG_arg_fail(2)) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16018 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16021 int arg2
= (int) wxMOUSE_BTN_ANY
;
16023 PyObject
* obj0
= 0 ;
16024 PyObject
* obj1
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self",(char *) "but", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16031 if (SWIG_arg_fail(1)) SWIG_fail
;
16034 arg2
= (int)(SWIG_As_int(obj1
));
16035 if (SWIG_arg_fail(2)) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16054 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 PyObject
* obj1
= 0 ;
16061 char *kwnames
[] = {
16062 (char *) "self",(char *) "but", NULL
16065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16067 if (SWIG_arg_fail(1)) SWIG_fail
;
16069 arg2
= (int)(SWIG_As_int(obj1
));
16070 if (SWIG_arg_fail(2)) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16088 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16093 PyObject
* obj0
= 0 ;
16094 PyObject
* obj1
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self",(char *) "but", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16101 if (SWIG_arg_fail(1)) SWIG_fail
;
16103 arg2
= (int)(SWIG_As_int(obj1
));
16104 if (SWIG_arg_fail(2)) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16122 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16126 PyObject
* obj0
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16133 if (SWIG_arg_fail(1)) SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16142 resultobj
= SWIG_From_int((int)(result
));
16150 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16154 PyObject
* obj0
= 0 ;
16155 char *kwnames
[] = {
16156 (char *) "self", NULL
16159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16161 if (SWIG_arg_fail(1)) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16178 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16189 if (SWIG_arg_fail(1)) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16206 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16207 PyObject
*resultobj
;
16208 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16217 if (SWIG_arg_fail(1)) SWIG_fail
;
16219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16220 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16222 wxPyEndAllowThreads(__tstate
);
16223 if (PyErr_Occurred()) SWIG_fail
;
16226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16234 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16238 PyObject
* obj0
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "self", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16245 if (SWIG_arg_fail(1)) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16262 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16263 PyObject
*resultobj
;
16264 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16266 PyObject
* obj0
= 0 ;
16267 char *kwnames
[] = {
16268 (char *) "self", NULL
16271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16273 if (SWIG_arg_fail(1)) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16290 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16301 if (SWIG_arg_fail(1)) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16318 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16319 PyObject
*resultobj
;
16320 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16322 PyObject
* obj0
= 0 ;
16323 char *kwnames
[] = {
16324 (char *) "self", NULL
16327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16329 if (SWIG_arg_fail(1)) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16346 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16347 PyObject
*resultobj
;
16348 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16350 PyObject
* obj0
= 0 ;
16351 char *kwnames
[] = {
16352 (char *) "self", NULL
16355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16357 if (SWIG_arg_fail(1)) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16374 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16385 if (SWIG_arg_fail(1)) SWIG_fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16402 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16413 if (SWIG_arg_fail(1)) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16430 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16431 PyObject
*resultobj
;
16432 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16434 PyObject
* obj0
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "self", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16441 if (SWIG_arg_fail(1)) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16458 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
;
16460 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "self", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16469 if (SWIG_arg_fail(1)) SWIG_fail
;
16471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16472 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16474 wxPyEndAllowThreads(__tstate
);
16475 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16486 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16490 PyObject
* obj0
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16497 if (SWIG_arg_fail(1)) SWIG_fail
;
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16500 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16502 wxPyEndAllowThreads(__tstate
);
16503 if (PyErr_Occurred()) SWIG_fail
;
16506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16514 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16516 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16518 PyObject
* obj0
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16525 if (SWIG_arg_fail(1)) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16542 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16553 if (SWIG_arg_fail(1)) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (bool)(arg1
)->LeftIsDown();
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16570 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16581 if (SWIG_arg_fail(1)) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 result
= (bool)(arg1
)->MiddleIsDown();
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16598 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16599 PyObject
*resultobj
;
16600 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16602 PyObject
* obj0
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self", NULL
16607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",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 result
= (bool)(arg1
)->RightIsDown();
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16626 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16627 PyObject
*resultobj
;
16628 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self", NULL
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16637 if (SWIG_arg_fail(1)) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16654 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 char *kwnames
[] = {
16660 (char *) "self", NULL
16663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16665 if (SWIG_arg_fail(1)) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16682 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16684 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "self", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16693 if (SWIG_arg_fail(1)) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16710 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16712 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16714 PyObject
* obj0
= 0 ;
16715 char *kwnames
[] = {
16716 (char *) "self", NULL
16719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16721 if (SWIG_arg_fail(1)) SWIG_fail
;
16723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16724 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16738 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16739 PyObject
*resultobj
;
16740 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16742 PyObject
* obj0
= 0 ;
16743 char *kwnames
[] = {
16744 (char *) "self", NULL
16747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16749 if (SWIG_arg_fail(1)) SWIG_fail
;
16751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16752 result
= (arg1
)->GetPosition();
16754 wxPyEndAllowThreads(__tstate
);
16755 if (PyErr_Occurred()) SWIG_fail
;
16758 wxPoint
* resultptr
;
16759 resultptr
= new wxPoint((wxPoint
&)(result
));
16760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16768 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
;
16770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16771 long *arg2
= (long *) 0 ;
16772 long *arg3
= (long *) 0 ;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self", NULL
16782 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16783 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16785 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16786 if (SWIG_arg_fail(1)) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 (arg1
)->GetPosition(arg2
,arg3
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 Py_INCREF(Py_None
); resultobj
= Py_None
;
16795 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16796 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16797 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16798 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16805 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self",(char *) "dc", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16818 if (SWIG_arg_fail(1)) SWIG_fail
;
16820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16821 if (SWIG_arg_fail(2)) SWIG_fail
;
16822 if (arg2
== NULL
) {
16823 SWIG_null_ref("wxDC");
16825 if (SWIG_arg_fail(2)) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 wxPoint
* resultptr
;
16836 resultptr
= new wxPoint((wxPoint
&)(result
));
16837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16845 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16849 PyObject
* obj0
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "self", NULL
16854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16856 if (SWIG_arg_fail(1)) SWIG_fail
;
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= SWIG_From_int((int)(result
));
16873 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16884 if (SWIG_arg_fail(1)) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= SWIG_From_int((int)(result
));
16901 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16905 PyObject
* obj0
= 0 ;
16906 char *kwnames
[] = {
16907 (char *) "self", NULL
16910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16912 if (SWIG_arg_fail(1)) SWIG_fail
;
16914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16915 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16917 wxPyEndAllowThreads(__tstate
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= SWIG_From_int((int)(result
));
16929 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16931 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16933 PyObject
* obj0
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "self", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16940 if (SWIG_arg_fail(1)) SWIG_fail
;
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= SWIG_From_int((int)(result
));
16957 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16961 PyObject
* obj0
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
16967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16968 if (SWIG_arg_fail(1)) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16977 resultobj
= SWIG_From_int((int)(result
));
16985 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
16995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16996 if (SWIG_arg_fail(1)) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17013 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self",(char *) "m_x", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17025 if (SWIG_arg_fail(1)) SWIG_fail
;
17027 arg2
= (int)(SWIG_As_int(obj1
));
17028 if (SWIG_arg_fail(2)) SWIG_fail
;
17030 if (arg1
) (arg1
)->m_x
= arg2
;
17032 Py_INCREF(Py_None
); resultobj
= Py_None
;
17039 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17040 PyObject
*resultobj
;
17041 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17050 if (SWIG_arg_fail(1)) SWIG_fail
;
17051 result
= (int) ((arg1
)->m_x
);
17054 resultobj
= SWIG_From_int((int)(result
));
17062 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 PyObject
* obj1
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "self",(char *) "m_y", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17074 if (SWIG_arg_fail(1)) SWIG_fail
;
17076 arg2
= (int)(SWIG_As_int(obj1
));
17077 if (SWIG_arg_fail(2)) SWIG_fail
;
17079 if (arg1
) (arg1
)->m_y
= arg2
;
17081 Py_INCREF(Py_None
); resultobj
= Py_None
;
17088 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
;
17090 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17092 PyObject
* obj0
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17099 if (SWIG_arg_fail(1)) SWIG_fail
;
17100 result
= (int) ((arg1
)->m_y
);
17103 resultobj
= SWIG_From_int((int)(result
));
17111 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17115 PyObject
* obj0
= 0 ;
17116 PyObject
* obj1
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "self",(char *) "m_leftDown", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17123 if (SWIG_arg_fail(1)) SWIG_fail
;
17125 arg2
= (bool)(SWIG_As_bool(obj1
));
17126 if (SWIG_arg_fail(2)) SWIG_fail
;
17128 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17130 Py_INCREF(Py_None
); resultobj
= Py_None
;
17137 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
;
17139 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17141 PyObject
* obj0
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "self", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17148 if (SWIG_arg_fail(1)) SWIG_fail
;
17149 result
= (bool) ((arg1
)->m_leftDown
);
17152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17160 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17161 PyObject
*resultobj
;
17162 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17164 PyObject
* obj0
= 0 ;
17165 PyObject
* obj1
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self",(char *) "m_middleDown", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17172 if (SWIG_arg_fail(1)) SWIG_fail
;
17174 arg2
= (bool)(SWIG_As_bool(obj1
));
17175 if (SWIG_arg_fail(2)) SWIG_fail
;
17177 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17179 Py_INCREF(Py_None
); resultobj
= Py_None
;
17186 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17190 PyObject
* obj0
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17197 if (SWIG_arg_fail(1)) SWIG_fail
;
17198 result
= (bool) ((arg1
)->m_middleDown
);
17201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17209 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self",(char *) "m_rightDown", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17221 if (SWIG_arg_fail(1)) SWIG_fail
;
17223 arg2
= (bool)(SWIG_As_bool(obj1
));
17224 if (SWIG_arg_fail(2)) SWIG_fail
;
17226 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17228 Py_INCREF(Py_None
); resultobj
= Py_None
;
17235 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17246 if (SWIG_arg_fail(1)) SWIG_fail
;
17247 result
= (bool) ((arg1
)->m_rightDown
);
17250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17258 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 PyObject
* obj1
= 0 ;
17264 char *kwnames
[] = {
17265 (char *) "self",(char *) "m_controlDown", NULL
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17270 if (SWIG_arg_fail(1)) SWIG_fail
;
17272 arg2
= (bool)(SWIG_As_bool(obj1
));
17273 if (SWIG_arg_fail(2)) SWIG_fail
;
17275 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17277 Py_INCREF(Py_None
); resultobj
= Py_None
;
17284 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17295 if (SWIG_arg_fail(1)) SWIG_fail
;
17296 result
= (bool) ((arg1
)->m_controlDown
);
17299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17307 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17308 PyObject
*resultobj
;
17309 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17311 PyObject
* obj0
= 0 ;
17312 PyObject
* obj1
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self",(char *) "m_shiftDown", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17319 if (SWIG_arg_fail(1)) SWIG_fail
;
17321 arg2
= (bool)(SWIG_As_bool(obj1
));
17322 if (SWIG_arg_fail(2)) SWIG_fail
;
17324 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17326 Py_INCREF(Py_None
); resultobj
= Py_None
;
17333 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17337 PyObject
* obj0
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17344 if (SWIG_arg_fail(1)) SWIG_fail
;
17345 result
= (bool) ((arg1
)->m_shiftDown
);
17348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17356 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 char *kwnames
[] = {
17363 (char *) "self",(char *) "m_altDown", NULL
17366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17368 if (SWIG_arg_fail(1)) SWIG_fail
;
17370 arg2
= (bool)(SWIG_As_bool(obj1
));
17371 if (SWIG_arg_fail(2)) SWIG_fail
;
17373 if (arg1
) (arg1
)->m_altDown
= arg2
;
17375 Py_INCREF(Py_None
); resultobj
= Py_None
;
17382 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17386 PyObject
* obj0
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17393 if (SWIG_arg_fail(1)) SWIG_fail
;
17394 result
= (bool) ((arg1
)->m_altDown
);
17397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17405 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "m_metaDown", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17417 if (SWIG_arg_fail(1)) SWIG_fail
;
17419 arg2
= (bool)(SWIG_As_bool(obj1
));
17420 if (SWIG_arg_fail(2)) SWIG_fail
;
17422 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17424 Py_INCREF(Py_None
); resultobj
= Py_None
;
17431 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17442 if (SWIG_arg_fail(1)) SWIG_fail
;
17443 result
= (bool) ((arg1
)->m_metaDown
);
17446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17454 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17458 PyObject
* obj0
= 0 ;
17459 PyObject
* obj1
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self",(char *) "m_wheelRotation", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17466 if (SWIG_arg_fail(1)) SWIG_fail
;
17468 arg2
= (int)(SWIG_As_int(obj1
));
17469 if (SWIG_arg_fail(2)) SWIG_fail
;
17471 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17473 Py_INCREF(Py_None
); resultobj
= Py_None
;
17480 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17484 PyObject
* obj0
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17491 if (SWIG_arg_fail(1)) SWIG_fail
;
17492 result
= (int) ((arg1
)->m_wheelRotation
);
17495 resultobj
= SWIG_From_int((int)(result
));
17503 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17504 PyObject
*resultobj
;
17505 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self",(char *) "m_wheelDelta", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17515 if (SWIG_arg_fail(1)) SWIG_fail
;
17517 arg2
= (int)(SWIG_As_int(obj1
));
17518 if (SWIG_arg_fail(2)) SWIG_fail
;
17520 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17522 Py_INCREF(Py_None
); resultobj
= Py_None
;
17529 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17533 PyObject
* obj0
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17540 if (SWIG_arg_fail(1)) SWIG_fail
;
17541 result
= (int) ((arg1
)->m_wheelDelta
);
17544 resultobj
= SWIG_From_int((int)(result
));
17552 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17553 PyObject
*resultobj
;
17554 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17556 PyObject
* obj0
= 0 ;
17557 PyObject
* obj1
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "self",(char *) "m_linesPerAction", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17564 if (SWIG_arg_fail(1)) SWIG_fail
;
17566 arg2
= (int)(SWIG_As_int(obj1
));
17567 if (SWIG_arg_fail(2)) SWIG_fail
;
17569 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17571 Py_INCREF(Py_None
); resultobj
= Py_None
;
17578 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17579 PyObject
*resultobj
;
17580 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17582 PyObject
* obj0
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17589 if (SWIG_arg_fail(1)) SWIG_fail
;
17590 result
= (int) ((arg1
)->m_linesPerAction
);
17593 resultobj
= SWIG_From_int((int)(result
));
17601 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17604 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17606 return Py_BuildValue((char *)"");
17608 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 int arg1
= (int) 0 ;
17611 int arg2
= (int) 0 ;
17612 wxSetCursorEvent
*result
;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "x",(char *) "y", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17622 arg1
= (int)(SWIG_As_int(obj0
));
17623 if (SWIG_arg_fail(1)) SWIG_fail
;
17628 arg2
= (int)(SWIG_As_int(obj1
));
17629 if (SWIG_arg_fail(2)) SWIG_fail
;
17633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17636 wxPyEndAllowThreads(__tstate
);
17637 if (PyErr_Occurred()) SWIG_fail
;
17639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17646 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17650 PyObject
* obj0
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17657 if (SWIG_arg_fail(1)) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= SWIG_From_int((int)(result
));
17674 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 char *kwnames
[] = {
17680 (char *) "self", NULL
17683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17685 if (SWIG_arg_fail(1)) SWIG_fail
;
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17690 wxPyEndAllowThreads(__tstate
);
17691 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= SWIG_From_int((int)(result
));
17702 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17703 PyObject
*resultobj
;
17704 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17705 wxCursor
*arg2
= 0 ;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self",(char *) "cursor", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17714 if (SWIG_arg_fail(1)) SWIG_fail
;
17716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17717 if (SWIG_arg_fail(2)) SWIG_fail
;
17718 if (arg2
== NULL
) {
17719 SWIG_null_ref("wxCursor");
17721 if (SWIG_arg_fail(2)) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 Py_INCREF(Py_None
); resultobj
= Py_None
;
17737 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17748 if (SWIG_arg_fail(1)) SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17753 result
= (wxCursor
*) &_result_ref
;
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17760 wxCursor
* resultptr
= new wxCursor(*result
);
17761 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17769 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17780 if (SWIG_arg_fail(1)) SWIG_fail
;
17782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17783 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17785 wxPyEndAllowThreads(__tstate
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17797 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17800 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17802 return Py_BuildValue((char *)"");
17804 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17807 wxKeyEvent
*result
;
17808 PyObject
* obj0
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "keyType", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17816 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17817 if (SWIG_arg_fail(1)) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17834 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17845 if (SWIG_arg_fail(1)) SWIG_fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17862 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17873 if (SWIG_arg_fail(1)) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17890 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17894 PyObject
* obj0
= 0 ;
17895 char *kwnames
[] = {
17896 (char *) "self", NULL
17899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17901 if (SWIG_arg_fail(1)) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17918 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
;
17920 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17922 PyObject
* obj0
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17929 if (SWIG_arg_fail(1)) SWIG_fail
;
17931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17932 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17946 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17950 PyObject
* obj0
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17957 if (SWIG_arg_fail(1)) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17974 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",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 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18002 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18013 if (SWIG_arg_fail(1)) SWIG_fail
;
18015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18018 wxPyEndAllowThreads(__tstate
);
18019 if (PyErr_Occurred()) SWIG_fail
;
18022 resultobj
= SWIG_From_int((int)(result
));
18030 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18041 if (SWIG_arg_fail(1)) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= SWIG_From_int((int)(result
));
18058 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18061 unsigned int result
;
18062 PyObject
* obj0
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18069 if (SWIG_arg_fail(1)) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18086 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18089 unsigned int result
;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",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
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18114 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18118 PyObject
* obj0
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "self", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18125 if (SWIG_arg_fail(1)) SWIG_fail
;
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 result
= (arg1
)->GetPosition();
18130 wxPyEndAllowThreads(__tstate
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18134 wxPoint
* resultptr
;
18135 resultptr
= new wxPoint((wxPoint
&)(result
));
18136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18144 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18147 long *arg2
= (long *) 0 ;
18148 long *arg3
= (long *) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self", NULL
18158 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18159 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18162 if (SWIG_arg_fail(1)) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 (arg1
)->GetPosition(arg2
,arg3
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 Py_INCREF(Py_None
); resultobj
= Py_None
;
18171 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18172 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18173 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18174 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18181 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18185 PyObject
* obj0
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18192 if (SWIG_arg_fail(1)) SWIG_fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= SWIG_From_int((int)(result
));
18209 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 char *kwnames
[] = {
18215 (char *) "self", NULL
18218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18220 if (SWIG_arg_fail(1)) SWIG_fail
;
18222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18223 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18225 wxPyEndAllowThreads(__tstate
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18229 resultobj
= SWIG_From_int((int)(result
));
18237 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18241 PyObject
* obj0
= 0 ;
18242 PyObject
* obj1
= 0 ;
18243 char *kwnames
[] = {
18244 (char *) "self",(char *) "m_x", NULL
18247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18249 if (SWIG_arg_fail(1)) SWIG_fail
;
18251 arg2
= (int)(SWIG_As_int(obj1
));
18252 if (SWIG_arg_fail(2)) SWIG_fail
;
18254 if (arg1
) (arg1
)->m_x
= arg2
;
18256 Py_INCREF(Py_None
); resultobj
= Py_None
;
18263 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18267 PyObject
* obj0
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "self", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18274 if (SWIG_arg_fail(1)) SWIG_fail
;
18275 result
= (int) ((arg1
)->m_x
);
18278 resultobj
= SWIG_From_int((int)(result
));
18286 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 PyObject
* obj1
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self",(char *) "m_y", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18298 if (SWIG_arg_fail(1)) SWIG_fail
;
18300 arg2
= (int)(SWIG_As_int(obj1
));
18301 if (SWIG_arg_fail(2)) SWIG_fail
;
18303 if (arg1
) (arg1
)->m_y
= arg2
;
18305 Py_INCREF(Py_None
); resultobj
= Py_None
;
18312 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18316 PyObject
* obj0
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18323 if (SWIG_arg_fail(1)) SWIG_fail
;
18324 result
= (int) ((arg1
)->m_y
);
18327 resultobj
= SWIG_From_int((int)(result
));
18335 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
;
18337 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18339 PyObject
* obj0
= 0 ;
18340 PyObject
* obj1
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self",(char *) "m_keyCode", NULL
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18347 if (SWIG_arg_fail(1)) SWIG_fail
;
18349 arg2
= (long)(SWIG_As_long(obj1
));
18350 if (SWIG_arg_fail(2)) SWIG_fail
;
18352 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18354 Py_INCREF(Py_None
); resultobj
= Py_None
;
18361 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18372 if (SWIG_arg_fail(1)) SWIG_fail
;
18373 result
= (long) ((arg1
)->m_keyCode
);
18376 resultobj
= SWIG_From_long((long)(result
));
18384 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18388 PyObject
* obj0
= 0 ;
18389 PyObject
* obj1
= 0 ;
18390 char *kwnames
[] = {
18391 (char *) "self",(char *) "m_controlDown", NULL
18394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18396 if (SWIG_arg_fail(1)) SWIG_fail
;
18398 arg2
= (bool)(SWIG_As_bool(obj1
));
18399 if (SWIG_arg_fail(2)) SWIG_fail
;
18401 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18403 Py_INCREF(Py_None
); resultobj
= Py_None
;
18410 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18411 PyObject
*resultobj
;
18412 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18414 PyObject
* obj0
= 0 ;
18415 char *kwnames
[] = {
18416 (char *) "self", NULL
18419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18421 if (SWIG_arg_fail(1)) SWIG_fail
;
18422 result
= (bool) ((arg1
)->m_controlDown
);
18425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18433 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 PyObject
* obj1
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "self",(char *) "m_shiftDown", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18445 if (SWIG_arg_fail(1)) SWIG_fail
;
18447 arg2
= (bool)(SWIG_As_bool(obj1
));
18448 if (SWIG_arg_fail(2)) SWIG_fail
;
18450 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18452 Py_INCREF(Py_None
); resultobj
= Py_None
;
18459 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18470 if (SWIG_arg_fail(1)) SWIG_fail
;
18471 result
= (bool) ((arg1
)->m_shiftDown
);
18474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18482 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self",(char *) "m_altDown", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18494 if (SWIG_arg_fail(1)) SWIG_fail
;
18496 arg2
= (bool)(SWIG_As_bool(obj1
));
18497 if (SWIG_arg_fail(2)) SWIG_fail
;
18499 if (arg1
) (arg1
)->m_altDown
= arg2
;
18501 Py_INCREF(Py_None
); resultobj
= Py_None
;
18508 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18510 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18512 PyObject
* obj0
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "self", NULL
18517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18519 if (SWIG_arg_fail(1)) SWIG_fail
;
18520 result
= (bool) ((arg1
)->m_altDown
);
18523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18531 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18535 PyObject
* obj0
= 0 ;
18536 PyObject
* obj1
= 0 ;
18537 char *kwnames
[] = {
18538 (char *) "self",(char *) "m_metaDown", NULL
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18543 if (SWIG_arg_fail(1)) SWIG_fail
;
18545 arg2
= (bool)(SWIG_As_bool(obj1
));
18546 if (SWIG_arg_fail(2)) SWIG_fail
;
18548 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18550 Py_INCREF(Py_None
); resultobj
= Py_None
;
18557 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18568 if (SWIG_arg_fail(1)) SWIG_fail
;
18569 result
= (bool) ((arg1
)->m_metaDown
);
18572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18580 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "m_scanCode", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18592 if (SWIG_arg_fail(1)) SWIG_fail
;
18594 arg2
= (bool)(SWIG_As_bool(obj1
));
18595 if (SWIG_arg_fail(2)) SWIG_fail
;
18597 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18599 Py_INCREF(Py_None
); resultobj
= Py_None
;
18606 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18610 PyObject
* obj0
= 0 ;
18611 char *kwnames
[] = {
18612 (char *) "self", NULL
18615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18617 if (SWIG_arg_fail(1)) SWIG_fail
;
18618 result
= (bool) ((arg1
)->m_scanCode
);
18621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18629 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18632 unsigned int arg2
;
18633 PyObject
* obj0
= 0 ;
18634 PyObject
* obj1
= 0 ;
18635 char *kwnames
[] = {
18636 (char *) "self",(char *) "m_rawCode", NULL
18639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18641 if (SWIG_arg_fail(1)) SWIG_fail
;
18643 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18644 if (SWIG_arg_fail(2)) SWIG_fail
;
18646 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18648 Py_INCREF(Py_None
); resultobj
= Py_None
;
18655 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18658 unsigned int result
;
18659 PyObject
* obj0
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18666 if (SWIG_arg_fail(1)) SWIG_fail
;
18667 result
= (unsigned int) ((arg1
)->m_rawCode
);
18670 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18678 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18681 unsigned int arg2
;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "self",(char *) "m_rawFlags", NULL
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18690 if (SWIG_arg_fail(1)) SWIG_fail
;
18692 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18693 if (SWIG_arg_fail(2)) SWIG_fail
;
18695 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18697 Py_INCREF(Py_None
); resultobj
= Py_None
;
18704 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18705 PyObject
*resultobj
;
18706 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18707 unsigned int result
;
18708 PyObject
* obj0
= 0 ;
18709 char *kwnames
[] = {
18710 (char *) "self", NULL
18713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18715 if (SWIG_arg_fail(1)) SWIG_fail
;
18716 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18719 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18727 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18730 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18732 return Py_BuildValue((char *)"");
18734 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18737 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18738 int arg2
= (int) 0 ;
18739 wxSizeEvent
*result
;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "sz",(char *) "winid", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18751 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18756 arg2
= (int)(SWIG_As_int(obj1
));
18757 if (SWIG_arg_fail(2)) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18774 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18785 if (SWIG_arg_fail(1)) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18794 wxSize
* resultptr
;
18795 resultptr
= new wxSize((wxSize
&)(result
));
18796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18804 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18815 if (SWIG_arg_fail(1)) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18824 wxRect
* resultptr
;
18825 resultptr
= new wxRect((wxRect
&)(result
));
18826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18834 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self",(char *) "rect", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18846 if (SWIG_arg_fail(1)) SWIG_fail
;
18849 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18850 if (SWIG_arg_fail(2)) SWIG_fail
;
18851 if (argp
== NULL
) {
18852 SWIG_null_ref("wxRect");
18854 if (SWIG_arg_fail(2)) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 (arg1
)->SetRect(arg2
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 Py_INCREF(Py_None
); resultobj
= Py_None
;
18871 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18872 PyObject
*resultobj
;
18873 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 PyObject
* obj1
= 0 ;
18877 char *kwnames
[] = {
18878 (char *) "self",(char *) "size", NULL
18881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18883 if (SWIG_arg_fail(1)) SWIG_fail
;
18886 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18887 if (SWIG_arg_fail(2)) SWIG_fail
;
18888 if (argp
== NULL
) {
18889 SWIG_null_ref("wxSize");
18891 if (SWIG_arg_fail(2)) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 wxSizeEvent_SetSize(arg1
,arg2
);
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 Py_INCREF(Py_None
); resultobj
= Py_None
;
18908 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18911 wxSize
*arg2
= (wxSize
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self",(char *) "m_size", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18920 if (SWIG_arg_fail(1)) SWIG_fail
;
18921 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18922 if (SWIG_arg_fail(2)) SWIG_fail
;
18923 if (arg1
) (arg1
)->m_size
= *arg2
;
18925 Py_INCREF(Py_None
); resultobj
= Py_None
;
18932 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18943 if (SWIG_arg_fail(1)) SWIG_fail
;
18944 result
= (wxSize
*)& ((arg1
)->m_size
);
18946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18953 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18955 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18956 wxRect
*arg2
= (wxRect
*) 0 ;
18957 PyObject
* obj0
= 0 ;
18958 PyObject
* obj1
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self",(char *) "m_rect", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18965 if (SWIG_arg_fail(1)) SWIG_fail
;
18966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18967 if (SWIG_arg_fail(2)) SWIG_fail
;
18968 if (arg1
) (arg1
)->m_rect
= *arg2
;
18970 Py_INCREF(Py_None
); resultobj
= Py_None
;
18977 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
18987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18988 if (SWIG_arg_fail(1)) SWIG_fail
;
18989 result
= (wxRect
*)& ((arg1
)->m_rect
);
18991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
18998 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19001 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19003 return Py_BuildValue((char *)"");
19005 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19008 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19009 int arg2
= (int) 0 ;
19010 wxMoveEvent
*result
;
19012 PyObject
* obj0
= 0 ;
19013 PyObject
* obj1
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "pos",(char *) "winid", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19022 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19027 arg2
= (int)(SWIG_As_int(obj1
));
19028 if (SWIG_arg_fail(2)) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19045 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19049 PyObject
* obj0
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19056 if (SWIG_arg_fail(1)) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19065 wxPoint
* resultptr
;
19066 resultptr
= new wxPoint((wxPoint
&)(result
));
19067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19075 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19079 PyObject
* obj0
= 0 ;
19080 char *kwnames
[] = {
19081 (char *) "self", NULL
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19086 if (SWIG_arg_fail(1)) SWIG_fail
;
19088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19089 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19091 wxPyEndAllowThreads(__tstate
);
19092 if (PyErr_Occurred()) SWIG_fail
;
19095 wxRect
* resultptr
;
19096 resultptr
= new wxRect((wxRect
&)(result
));
19097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19105 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 PyObject
* obj1
= 0 ;
19112 char *kwnames
[] = {
19113 (char *) "self",(char *) "rect", NULL
19116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19118 if (SWIG_arg_fail(1)) SWIG_fail
;
19121 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 (arg1
)->SetRect((wxRect
const &)*arg2
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 Py_INCREF(Py_None
); resultobj
= Py_None
;
19137 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19140 wxPoint
*arg2
= 0 ;
19142 PyObject
* obj0
= 0 ;
19143 PyObject
* obj1
= 0 ;
19144 char *kwnames
[] = {
19145 (char *) "self",(char *) "pos", NULL
19148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19150 if (SWIG_arg_fail(1)) SWIG_fail
;
19153 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19157 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19159 wxPyEndAllowThreads(__tstate
);
19160 if (PyErr_Occurred()) SWIG_fail
;
19162 Py_INCREF(Py_None
); resultobj
= Py_None
;
19169 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19172 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19174 return Py_BuildValue((char *)"");
19176 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 int arg1
= (int) 0 ;
19179 wxPaintEvent
*result
;
19180 PyObject
* obj0
= 0 ;
19181 char *kwnames
[] = {
19182 (char *) "Id", NULL
19185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19188 arg1
= (int)(SWIG_As_int(obj0
));
19189 if (SWIG_arg_fail(1)) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19206 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19209 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19211 return Py_BuildValue((char *)"");
19213 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 int arg1
= (int) 0 ;
19216 wxNcPaintEvent
*result
;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "winid", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19225 arg1
= (int)(SWIG_As_int(obj0
));
19226 if (SWIG_arg_fail(1)) SWIG_fail
;
19230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19233 wxPyEndAllowThreads(__tstate
);
19234 if (PyErr_Occurred()) SWIG_fail
;
19236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19243 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19246 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19248 return Py_BuildValue((char *)"");
19250 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19251 PyObject
*resultobj
;
19252 int arg1
= (int) 0 ;
19253 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19254 wxEraseEvent
*result
;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "Id",(char *) "dc", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19264 arg1
= (int)(SWIG_As_int(obj0
));
19265 if (SWIG_arg_fail(1)) SWIG_fail
;
19269 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19270 if (SWIG_arg_fail(2)) SWIG_fail
;
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19286 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19290 PyObject
* obj0
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19297 if (SWIG_arg_fail(1)) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= wxPyMake_wxObject(result
, 0);
19314 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19317 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19319 return Py_BuildValue((char *)"");
19321 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19324 int arg2
= (int) 0 ;
19325 wxFocusEvent
*result
;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "type",(char *) "winid", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19335 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19336 if (SWIG_arg_fail(1)) SWIG_fail
;
19341 arg2
= (int)(SWIG_As_int(obj1
));
19342 if (SWIG_arg_fail(2)) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19359 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19370 if (SWIG_arg_fail(1)) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= wxPyMake_wxObject(result
, 0);
19387 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19388 PyObject
*resultobj
;
19389 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19390 wxWindow
*arg2
= (wxWindow
*) 0 ;
19391 PyObject
* obj0
= 0 ;
19392 PyObject
* obj1
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self",(char *) "win", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19399 if (SWIG_arg_fail(1)) SWIG_fail
;
19400 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19401 if (SWIG_arg_fail(2)) SWIG_fail
;
19403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19404 (arg1
)->SetWindow(arg2
);
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19409 Py_INCREF(Py_None
); resultobj
= Py_None
;
19416 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19419 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19421 return Py_BuildValue((char *)"");
19423 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxWindow
*arg1
= (wxWindow
*) NULL
;
19426 wxChildFocusEvent
*result
;
19427 PyObject
* obj0
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "win", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19435 if (SWIG_arg_fail(1)) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19451 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19455 PyObject
* obj0
= 0 ;
19456 char *kwnames
[] = {
19457 (char *) "self", NULL
19460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19462 if (SWIG_arg_fail(1)) SWIG_fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19471 resultobj
= wxPyMake_wxObject(result
, 0);
19479 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19482 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19484 return Py_BuildValue((char *)"");
19486 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19489 bool arg2
= (bool) true ;
19490 int arg3
= (int) 0 ;
19491 wxActivateEvent
*result
;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 PyObject
* obj2
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "type",(char *) "active",(char *) "Id", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19502 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19503 if (SWIG_arg_fail(1)) SWIG_fail
;
19508 arg2
= (bool)(SWIG_As_bool(obj1
));
19509 if (SWIG_arg_fail(2)) SWIG_fail
;
19514 arg3
= (int)(SWIG_As_int(obj2
));
19515 if (SWIG_arg_fail(3)) SWIG_fail
;
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19532 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19534 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19536 PyObject
* obj0
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19543 if (SWIG_arg_fail(1)) SWIG_fail
;
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19560 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19563 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19565 return Py_BuildValue((char *)"");
19567 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 int arg1
= (int) 0 ;
19570 wxInitDialogEvent
*result
;
19571 PyObject
* obj0
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "Id", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19579 arg1
= (int)(SWIG_As_int(obj0
));
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19597 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19600 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19602 return Py_BuildValue((char *)"");
19604 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19607 int arg2
= (int) 0 ;
19608 wxMenu
*arg3
= (wxMenu
*) NULL
;
19609 wxMenuEvent
*result
;
19610 PyObject
* obj0
= 0 ;
19611 PyObject
* obj1
= 0 ;
19612 PyObject
* obj2
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "type",(char *) "winid",(char *) "menu", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19620 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19621 if (SWIG_arg_fail(1)) SWIG_fail
;
19626 arg2
= (int)(SWIG_As_int(obj1
));
19627 if (SWIG_arg_fail(2)) SWIG_fail
;
19631 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19632 if (SWIG_arg_fail(3)) SWIG_fail
;
19635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19636 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19638 wxPyEndAllowThreads(__tstate
);
19639 if (PyErr_Occurred()) SWIG_fail
;
19641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19648 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19659 if (SWIG_arg_fail(1)) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= SWIG_From_int((int)(result
));
19676 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19687 if (SWIG_arg_fail(1)) SWIG_fail
;
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19704 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19708 PyObject
* obj0
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19715 if (SWIG_arg_fail(1)) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= wxPyMake_wxObject(result
, 0);
19732 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19735 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19737 return Py_BuildValue((char *)"");
19739 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19742 int arg2
= (int) 0 ;
19743 wxCloseEvent
*result
;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "type",(char *) "winid", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19753 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19754 if (SWIG_arg_fail(1)) SWIG_fail
;
19759 arg2
= (int)(SWIG_As_int(obj1
));
19760 if (SWIG_arg_fail(2)) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19777 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self",(char *) "logOff", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19789 if (SWIG_arg_fail(1)) SWIG_fail
;
19791 arg2
= (bool)(SWIG_As_bool(obj1
));
19792 if (SWIG_arg_fail(2)) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 (arg1
)->SetLoggingOff(arg2
);
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 Py_INCREF(Py_None
); resultobj
= Py_None
;
19808 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19812 PyObject
* obj0
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19819 if (SWIG_arg_fail(1)) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19836 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19839 bool arg2
= (bool) true ;
19840 PyObject
* obj0
= 0 ;
19841 PyObject
* obj1
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self",(char *) "veto", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19848 if (SWIG_arg_fail(1)) SWIG_fail
;
19851 arg2
= (bool)(SWIG_As_bool(obj1
));
19852 if (SWIG_arg_fail(2)) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 (arg1
)->Veto(arg2
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 Py_INCREF(Py_None
); resultobj
= Py_None
;
19869 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19870 PyObject
*resultobj
;
19871 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19873 PyObject
* obj0
= 0 ;
19874 PyObject
* obj1
= 0 ;
19875 char *kwnames
[] = {
19876 (char *) "self",(char *) "canVeto", NULL
19879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19881 if (SWIG_arg_fail(1)) SWIG_fail
;
19883 arg2
= (bool)(SWIG_As_bool(obj1
));
19884 if (SWIG_arg_fail(2)) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 (arg1
)->SetCanVeto(arg2
);
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 Py_INCREF(Py_None
); resultobj
= Py_None
;
19900 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19911 if (SWIG_arg_fail(1)) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19928 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
;
19930 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self", NULL
19937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19939 if (SWIG_arg_fail(1)) SWIG_fail
;
19941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19942 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19944 wxPyEndAllowThreads(__tstate
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19956 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19959 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
19961 return Py_BuildValue((char *)"");
19963 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 int arg1
= (int) 0 ;
19966 bool arg2
= (bool) false ;
19967 wxShowEvent
*result
;
19968 PyObject
* obj0
= 0 ;
19969 PyObject
* obj1
= 0 ;
19970 char *kwnames
[] = {
19971 (char *) "winid",(char *) "show", NULL
19974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19977 arg1
= (int)(SWIG_As_int(obj0
));
19978 if (SWIG_arg_fail(1)) SWIG_fail
;
19983 arg2
= (bool)(SWIG_As_bool(obj1
));
19984 if (SWIG_arg_fail(2)) SWIG_fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20001 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20005 PyObject
* obj0
= 0 ;
20006 PyObject
* obj1
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self",(char *) "show", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20013 if (SWIG_arg_fail(1)) SWIG_fail
;
20015 arg2
= (bool)(SWIG_As_bool(obj1
));
20016 if (SWIG_arg_fail(2)) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 (arg1
)->SetShow(arg2
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 Py_INCREF(Py_None
); resultobj
= Py_None
;
20032 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20043 if (SWIG_arg_fail(1)) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20060 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20063 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20065 return Py_BuildValue((char *)"");
20067 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20068 PyObject
*resultobj
;
20069 int arg1
= (int) 0 ;
20070 bool arg2
= (bool) true ;
20071 wxIconizeEvent
*result
;
20072 PyObject
* obj0
= 0 ;
20073 PyObject
* obj1
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "id",(char *) "iconized", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20081 arg1
= (int)(SWIG_As_int(obj0
));
20082 if (SWIG_arg_fail(1)) SWIG_fail
;
20087 arg2
= (bool)(SWIG_As_bool(obj1
));
20088 if (SWIG_arg_fail(2)) SWIG_fail
;
20092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20093 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20105 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20106 PyObject
*resultobj
;
20107 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20109 PyObject
* obj0
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "self", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20116 if (SWIG_arg_fail(1)) SWIG_fail
;
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 result
= (bool)(arg1
)->Iconized();
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20133 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20136 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20138 return Py_BuildValue((char *)"");
20140 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 int arg1
= (int) 0 ;
20143 wxMaximizeEvent
*result
;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "id", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20152 arg1
= (int)(SWIG_As_int(obj0
));
20153 if (SWIG_arg_fail(1)) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20170 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20173 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20175 return Py_BuildValue((char *)"");
20177 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20181 PyObject
* obj0
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20188 if (SWIG_arg_fail(1)) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= (arg1
)->GetPosition();
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20197 wxPoint
* resultptr
;
20198 resultptr
= new wxPoint((wxPoint
&)(result
));
20199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20207 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20218 if (SWIG_arg_fail(1)) SWIG_fail
;
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= (int)(arg1
)->GetNumberOfFiles();
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= SWIG_From_int((int)(result
));
20235 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20246 if (SWIG_arg_fail(1)) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= result
;
20261 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20264 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20266 return Py_BuildValue((char *)"");
20268 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20269 PyObject
*resultobj
;
20270 int arg1
= (int) 0 ;
20271 wxUpdateUIEvent
*result
;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "commandId", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20280 arg1
= (int)(SWIG_As_int(obj0
));
20281 if (SWIG_arg_fail(1)) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20298 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20300 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20302 PyObject
* obj0
= 0 ;
20303 char *kwnames
[] = {
20304 (char *) "self", NULL
20307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20309 if (SWIG_arg_fail(1)) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20326 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20327 PyObject
*resultobj
;
20328 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20330 PyObject
* obj0
= 0 ;
20331 char *kwnames
[] = {
20332 (char *) "self", NULL
20335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20337 if (SWIG_arg_fail(1)) SWIG_fail
;
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20354 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
;
20356 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20358 PyObject
* obj0
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20365 if (SWIG_arg_fail(1)) SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20386 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
;
20388 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20390 PyObject
* obj0
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20397 if (SWIG_arg_fail(1)) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20414 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
;
20416 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20418 PyObject
* obj0
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "self", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20425 if (SWIG_arg_fail(1)) SWIG_fail
;
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20442 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
;
20444 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20453 if (SWIG_arg_fail(1)) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20470 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 char *kwnames
[] = {
20477 (char *) "self",(char *) "check", NULL
20480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20482 if (SWIG_arg_fail(1)) SWIG_fail
;
20484 arg2
= (bool)(SWIG_As_bool(obj1
));
20485 if (SWIG_arg_fail(2)) SWIG_fail
;
20488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20489 (arg1
)->Check(arg2
);
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 Py_INCREF(Py_None
); resultobj
= Py_None
;
20501 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20505 PyObject
* obj0
= 0 ;
20506 PyObject
* obj1
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self",(char *) "enable", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20513 if (SWIG_arg_fail(1)) SWIG_fail
;
20515 arg2
= (bool)(SWIG_As_bool(obj1
));
20516 if (SWIG_arg_fail(2)) SWIG_fail
;
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 (arg1
)->Enable(arg2
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 Py_INCREF(Py_None
); resultobj
= Py_None
;
20532 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20533 PyObject
*resultobj
;
20534 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20535 wxString
*arg2
= 0 ;
20536 bool temp2
= false ;
20537 PyObject
* obj0
= 0 ;
20538 PyObject
* obj1
= 0 ;
20539 char *kwnames
[] = {
20540 (char *) "self",(char *) "text", NULL
20543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20545 if (SWIG_arg_fail(1)) SWIG_fail
;
20547 arg2
= wxString_in_helper(obj1
);
20548 if (arg2
== NULL
) SWIG_fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 (arg1
)->SetText((wxString
const &)*arg2
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 Py_INCREF(Py_None
); resultobj
= Py_None
;
20573 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20576 PyObject
* obj0
= 0 ;
20577 char *kwnames
[] = {
20578 (char *) "updateInterval", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20583 arg1
= (long)(SWIG_As_long(obj0
));
20584 if (SWIG_arg_fail(1)) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 Py_INCREF(Py_None
); resultobj
= Py_None
;
20600 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20603 char *kwnames
[] = {
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20616 resultobj
= SWIG_From_long((long)(result
));
20624 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 wxWindow
*arg1
= (wxWindow
*) 0 ;
20628 PyObject
* obj0
= 0 ;
20629 char *kwnames
[] = {
20630 (char *) "win", NULL
20633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20635 if (SWIG_arg_fail(1)) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20652 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20653 PyObject
*resultobj
;
20654 char *kwnames
[] = {
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 wxUpdateUIEvent::ResetUpdateTime();
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 Py_INCREF(Py_None
); resultobj
= Py_None
;
20673 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxUpdateUIMode arg1
;
20676 PyObject
* obj0
= 0 ;
20677 char *kwnames
[] = {
20678 (char *) "mode", NULL
20681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20683 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20684 if (SWIG_arg_fail(1)) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 Py_INCREF(Py_None
); resultobj
= Py_None
;
20700 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
;
20702 wxUpdateUIMode result
;
20703 char *kwnames
[] = {
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_From_int((result
));
20722 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20725 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20727 return Py_BuildValue((char *)"");
20729 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 wxSysColourChangedEvent
*result
;
20732 char *kwnames
[] = {
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20751 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20754 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20756 return Py_BuildValue((char *)"");
20758 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 int arg1
= (int) 0 ;
20761 wxWindow
*arg2
= (wxWindow
*) NULL
;
20762 wxMouseCaptureChangedEvent
*result
;
20763 PyObject
* obj0
= 0 ;
20764 PyObject
* obj1
= 0 ;
20765 char *kwnames
[] = {
20766 (char *) "winid",(char *) "gainedCapture", NULL
20769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20772 arg1
= (int)(SWIG_As_int(obj0
));
20773 if (SWIG_arg_fail(1)) SWIG_fail
;
20777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20778 if (SWIG_arg_fail(2)) SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20794 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20798 PyObject
* obj0
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20805 if (SWIG_arg_fail(1)) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= wxPyMake_wxObject(result
, 0);
20822 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20825 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20827 return Py_BuildValue((char *)"");
20829 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20830 PyObject
*resultobj
;
20831 wxDisplayChangedEvent
*result
;
20832 char *kwnames
[] = {
20836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20851 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20854 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20856 return Py_BuildValue((char *)"");
20858 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 int arg1
= (int) 0 ;
20861 wxPaletteChangedEvent
*result
;
20862 PyObject
* obj0
= 0 ;
20863 char *kwnames
[] = {
20864 (char *) "id", NULL
20867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20870 arg1
= (int)(SWIG_As_int(obj0
));
20871 if (SWIG_arg_fail(1)) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20888 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20891 wxWindow
*arg2
= (wxWindow
*) 0 ;
20892 PyObject
* obj0
= 0 ;
20893 PyObject
* obj1
= 0 ;
20894 char *kwnames
[] = {
20895 (char *) "self",(char *) "win", NULL
20898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20900 if (SWIG_arg_fail(1)) SWIG_fail
;
20901 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20902 if (SWIG_arg_fail(2)) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 (arg1
)->SetChangedWindow(arg2
);
20907 wxPyEndAllowThreads(__tstate
);
20908 if (PyErr_Occurred()) SWIG_fail
;
20910 Py_INCREF(Py_None
); resultobj
= Py_None
;
20917 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20918 PyObject
*resultobj
;
20919 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20921 PyObject
* obj0
= 0 ;
20922 char *kwnames
[] = {
20923 (char *) "self", NULL
20926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20928 if (SWIG_arg_fail(1)) SWIG_fail
;
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= wxPyMake_wxObject(result
, 0);
20945 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20948 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20950 return Py_BuildValue((char *)"");
20952 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20953 PyObject
*resultobj
;
20954 int arg1
= (int) 0 ;
20955 wxQueryNewPaletteEvent
*result
;
20956 PyObject
* obj0
= 0 ;
20957 char *kwnames
[] = {
20958 (char *) "winid", NULL
20961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
20964 arg1
= (int)(SWIG_As_int(obj0
));
20965 if (SWIG_arg_fail(1)) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
20982 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 PyObject
* obj1
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self",(char *) "realized", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
20993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20994 if (SWIG_arg_fail(1)) SWIG_fail
;
20996 arg2
= (bool)(SWIG_As_bool(obj1
));
20997 if (SWIG_arg_fail(2)) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 (arg1
)->SetPaletteRealized(arg2
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 Py_INCREF(Py_None
); resultobj
= Py_None
;
21013 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21017 PyObject
* obj0
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21024 if (SWIG_arg_fail(1)) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21041 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21044 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21046 return Py_BuildValue((char *)"");
21048 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxNavigationKeyEvent
*result
;
21051 char *kwnames
[] = {
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21060 wxPyEndAllowThreads(__tstate
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21070 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
;
21072 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21074 PyObject
* obj0
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21081 if (SWIG_arg_fail(1)) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21098 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21099 PyObject
*resultobj
;
21100 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 char *kwnames
[] = {
21105 (char *) "self",(char *) "forward", NULL
21108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21110 if (SWIG_arg_fail(1)) SWIG_fail
;
21112 arg2
= (bool)(SWIG_As_bool(obj1
));
21113 if (SWIG_arg_fail(2)) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 (arg1
)->SetDirection(arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 Py_INCREF(Py_None
); resultobj
= Py_None
;
21129 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21140 if (SWIG_arg_fail(1)) SWIG_fail
;
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21157 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
;
21159 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21161 PyObject
* obj0
= 0 ;
21162 PyObject
* obj1
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "self",(char *) "ischange", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21169 if (SWIG_arg_fail(1)) SWIG_fail
;
21171 arg2
= (bool)(SWIG_As_bool(obj1
));
21172 if (SWIG_arg_fail(2)) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 (arg1
)->SetWindowChange(arg2
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 Py_INCREF(Py_None
); resultobj
= Py_None
;
21188 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21192 PyObject
* obj0
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "self", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21199 if (SWIG_arg_fail(1)) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21216 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21220 PyObject
* obj0
= 0 ;
21221 PyObject
* obj1
= 0 ;
21222 char *kwnames
[] = {
21223 (char *) "self",(char *) "bIs", NULL
21226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21228 if (SWIG_arg_fail(1)) SWIG_fail
;
21230 arg2
= (bool)(SWIG_As_bool(obj1
));
21231 if (SWIG_arg_fail(2)) SWIG_fail
;
21234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 (arg1
)->SetFromTab(arg2
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 Py_INCREF(Py_None
); resultobj
= Py_None
;
21247 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21251 PyObject
* obj0
= 0 ;
21252 PyObject
* obj1
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self",(char *) "flags", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21259 if (SWIG_arg_fail(1)) SWIG_fail
;
21261 arg2
= (long)(SWIG_As_long(obj1
));
21262 if (SWIG_arg_fail(2)) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 (arg1
)->SetFlags(arg2
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 Py_INCREF(Py_None
); resultobj
= Py_None
;
21278 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21289 if (SWIG_arg_fail(1)) SWIG_fail
;
21291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21292 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21294 wxPyEndAllowThreads(__tstate
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= wxPyMake_wxObject(result
, 0);
21306 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21307 PyObject
*resultobj
;
21308 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21309 wxWindow
*arg2
= (wxWindow
*) 0 ;
21310 PyObject
* obj0
= 0 ;
21311 PyObject
* obj1
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self",(char *) "win", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21318 if (SWIG_arg_fail(1)) SWIG_fail
;
21319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21320 if (SWIG_arg_fail(2)) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 (arg1
)->SetCurrentFocus(arg2
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 Py_INCREF(Py_None
); resultobj
= Py_None
;
21335 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21338 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21340 return Py_BuildValue((char *)"");
21342 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21343 PyObject
*resultobj
;
21344 wxWindow
*arg1
= (wxWindow
*) NULL
;
21345 wxWindowCreateEvent
*result
;
21346 PyObject
* obj0
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "win", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21354 if (SWIG_arg_fail(1)) SWIG_fail
;
21357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21358 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21360 wxPyEndAllowThreads(__tstate
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21370 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21371 PyObject
*resultobj
;
21372 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21374 PyObject
* obj0
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21381 if (SWIG_arg_fail(1)) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21390 resultobj
= wxPyMake_wxObject(result
, 0);
21398 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21401 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21403 return Py_BuildValue((char *)"");
21405 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxWindow
*arg1
= (wxWindow
*) NULL
;
21408 wxWindowDestroyEvent
*result
;
21409 PyObject
* obj0
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "win", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21417 if (SWIG_arg_fail(1)) SWIG_fail
;
21420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21421 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21423 wxPyEndAllowThreads(__tstate
);
21424 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21433 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21434 PyObject
*resultobj
;
21435 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21437 PyObject
* obj0
= 0 ;
21438 char *kwnames
[] = {
21439 (char *) "self", NULL
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21444 if (SWIG_arg_fail(1)) SWIG_fail
;
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21449 wxPyEndAllowThreads(__tstate
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= wxPyMake_wxObject(result
, 0);
21461 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21464 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21466 return Py_BuildValue((char *)"");
21468 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21471 int arg2
= (int) 0 ;
21472 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21473 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21474 wxContextMenuEvent
*result
;
21476 PyObject
* obj0
= 0 ;
21477 PyObject
* obj1
= 0 ;
21478 PyObject
* obj2
= 0 ;
21479 char *kwnames
[] = {
21480 (char *) "type",(char *) "winid",(char *) "pt", NULL
21483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21486 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21487 if (SWIG_arg_fail(1)) SWIG_fail
;
21492 arg2
= (int)(SWIG_As_int(obj1
));
21493 if (SWIG_arg_fail(2)) SWIG_fail
;
21499 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21504 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21516 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
;
21518 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21527 if (SWIG_arg_fail(1)) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21532 result
= (wxPoint
*) &_result_ref
;
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21545 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21548 wxPoint
*arg2
= 0 ;
21550 PyObject
* obj0
= 0 ;
21551 PyObject
* obj1
= 0 ;
21552 char *kwnames
[] = {
21553 (char *) "self",(char *) "pos", NULL
21556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21558 if (SWIG_arg_fail(1)) SWIG_fail
;
21561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 Py_INCREF(Py_None
); resultobj
= Py_None
;
21577 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21580 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21582 return Py_BuildValue((char *)"");
21584 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21585 PyObject
*resultobj
;
21586 wxIdleEvent
*result
;
21587 char *kwnames
[] = {
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= (wxIdleEvent
*)new wxIdleEvent();
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21606 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21607 PyObject
*resultobj
;
21608 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21609 bool arg2
= (bool) true ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self",(char *) "needMore", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21618 if (SWIG_arg_fail(1)) SWIG_fail
;
21621 arg2
= (bool)(SWIG_As_bool(obj1
));
21622 if (SWIG_arg_fail(2)) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 (arg1
)->RequestMore(arg2
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 Py_INCREF(Py_None
); resultobj
= Py_None
;
21639 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21643 PyObject
* obj0
= 0 ;
21644 char *kwnames
[] = {
21645 (char *) "self", NULL
21648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21650 if (SWIG_arg_fail(1)) SWIG_fail
;
21652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21653 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21655 wxPyEndAllowThreads(__tstate
);
21656 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21667 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
;
21670 PyObject
* obj0
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "mode", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21677 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21678 if (SWIG_arg_fail(1)) SWIG_fail
;
21681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 Py_INCREF(Py_None
); resultobj
= Py_None
;
21694 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21697 char *kwnames
[] = {
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= SWIG_From_int((result
));
21716 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxWindow
*arg1
= (wxWindow
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "win", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (bool)wxIdleEvent::CanSend(arg1
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21744 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21747 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21749 return Py_BuildValue((char *)"");
21751 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 int arg1
= (int) 0 ;
21754 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "winid",(char *) "commandType", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21765 arg1
= (int)(SWIG_As_int(obj0
));
21766 if (SWIG_arg_fail(1)) SWIG_fail
;
21771 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21772 if (SWIG_arg_fail(2)) SWIG_fail
;
21776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21789 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21790 PyObject
*resultobj
;
21791 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21792 PyObject
* obj0
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21799 if (SWIG_arg_fail(1)) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 Py_INCREF(Py_None
); resultobj
= Py_None
;
21814 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21817 PyObject
*arg2
= (PyObject
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 PyObject
* obj1
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self",(char *) "self", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21826 if (SWIG_arg_fail(1)) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 (arg1
)->SetSelf(arg2
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 Py_INCREF(Py_None
); resultobj
= Py_None
;
21842 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21853 if (SWIG_arg_fail(1)) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 result
= (PyObject
*)(arg1
)->GetSelf();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 resultobj
= result
;
21868 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21871 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21873 return Py_BuildValue((char *)"");
21875 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21878 int arg2
= (int) 0 ;
21879 wxPyCommandEvent
*result
;
21880 PyObject
* obj0
= 0 ;
21881 PyObject
* obj1
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "commandType",(char *) "id", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21889 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21890 if (SWIG_arg_fail(1)) SWIG_fail
;
21895 arg2
= (int)(SWIG_As_int(obj1
));
21896 if (SWIG_arg_fail(2)) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21913 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21923 if (SWIG_arg_fail(1)) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 Py_INCREF(Py_None
); resultobj
= Py_None
;
21938 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
;
21940 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21941 PyObject
*arg2
= (PyObject
*) 0 ;
21942 PyObject
* obj0
= 0 ;
21943 PyObject
* obj1
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self",(char *) "self", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21950 if (SWIG_arg_fail(1)) SWIG_fail
;
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 (arg1
)->SetSelf(arg2
);
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 Py_INCREF(Py_None
); resultobj
= Py_None
;
21966 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21977 if (SWIG_arg_fail(1)) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 result
= (PyObject
*)(arg1
)->GetSelf();
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 resultobj
= result
;
21992 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
21994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21995 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
21997 return Py_BuildValue((char *)"");
21999 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxWindow
*arg1
= (wxWindow
*) 0 ;
22002 wxDateTime
*arg2
= 0 ;
22004 wxDateEvent
*result
;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 PyObject
* obj2
= 0 ;
22008 char *kwnames
[] = {
22009 (char *) "win",(char *) "dt",(char *) "type", NULL
22012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22014 if (SWIG_arg_fail(1)) SWIG_fail
;
22016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22017 if (SWIG_arg_fail(2)) SWIG_fail
;
22018 if (arg2
== NULL
) {
22019 SWIG_null_ref("wxDateTime");
22021 if (SWIG_arg_fail(2)) SWIG_fail
;
22024 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22025 if (SWIG_arg_fail(3)) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22041 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22042 PyObject
*resultobj
;
22043 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22044 wxDateTime
*result
;
22045 PyObject
* obj0
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self", NULL
22050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22052 if (SWIG_arg_fail(1)) SWIG_fail
;
22054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22057 result
= (wxDateTime
*) &_result_ref
;
22060 wxPyEndAllowThreads(__tstate
);
22061 if (PyErr_Occurred()) SWIG_fail
;
22063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22070 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22071 PyObject
*resultobj
;
22072 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22073 wxDateTime
*arg2
= 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 char *kwnames
[] = {
22077 (char *) "self",(char *) "date", NULL
22080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22082 if (SWIG_arg_fail(1)) SWIG_fail
;
22084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22085 if (SWIG_arg_fail(2)) SWIG_fail
;
22086 if (arg2
== NULL
) {
22087 SWIG_null_ref("wxDateTime");
22089 if (SWIG_arg_fail(2)) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22108 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22110 return Py_BuildValue((char *)"");
22112 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
;
22115 char *kwnames
[] = {
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (wxPyApp
*)new_wxPyApp();
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22134 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22137 PyObject
* obj0
= 0 ;
22138 char *kwnames
[] = {
22139 (char *) "self", NULL
22142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22144 if (SWIG_arg_fail(1)) SWIG_fail
;
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22149 wxPyEndAllowThreads(__tstate
);
22150 if (PyErr_Occurred()) SWIG_fail
;
22152 Py_INCREF(Py_None
); resultobj
= Py_None
;
22159 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22160 PyObject
*resultobj
;
22161 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22162 PyObject
*arg2
= (PyObject
*) 0 ;
22163 PyObject
*arg3
= (PyObject
*) 0 ;
22164 PyObject
* obj0
= 0 ;
22165 PyObject
* obj1
= 0 ;
22166 PyObject
* obj2
= 0 ;
22167 char *kwnames
[] = {
22168 (char *) "self",(char *) "self",(char *) "_class", NULL
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22173 if (SWIG_arg_fail(1)) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 Py_INCREF(Py_None
); resultobj
= Py_None
;
22190 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22201 if (SWIG_arg_fail(1)) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22222 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22225 wxString
*arg2
= 0 ;
22226 bool temp2
= false ;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 char *kwnames
[] = {
22230 (char *) "self",(char *) "name", NULL
22233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22235 if (SWIG_arg_fail(1)) SWIG_fail
;
22237 arg2
= wxString_in_helper(obj1
);
22238 if (arg2
== NULL
) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 (arg1
)->SetAppName((wxString
const &)*arg2
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 Py_INCREF(Py_None
); resultobj
= Py_None
;
22263 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22267 PyObject
* obj0
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "self", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22274 if (SWIG_arg_fail(1)) SWIG_fail
;
22276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22277 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22279 wxPyEndAllowThreads(__tstate
);
22280 if (PyErr_Occurred()) SWIG_fail
;
22284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22295 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22298 wxString
*arg2
= 0 ;
22299 bool temp2
= false ;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self",(char *) "name", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22308 if (SWIG_arg_fail(1)) SWIG_fail
;
22310 arg2
= wxString_in_helper(obj1
);
22311 if (arg2
== NULL
) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 (arg1
)->SetClassName((wxString
const &)*arg2
);
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 Py_INCREF(Py_None
); resultobj
= Py_None
;
22336 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 char *kwnames
[] = {
22342 (char *) "self", NULL
22345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22347 if (SWIG_arg_fail(1)) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22352 result
= (wxString
*) &_result_ref
;
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22360 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22362 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22371 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22374 wxString
*arg2
= 0 ;
22375 bool temp2
= false ;
22376 PyObject
* obj0
= 0 ;
22377 PyObject
* obj1
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self",(char *) "name", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22384 if (SWIG_arg_fail(1)) SWIG_fail
;
22386 arg2
= wxString_in_helper(obj1
);
22387 if (arg2
== NULL
) SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 Py_INCREF(Py_None
); resultobj
= Py_None
;
22412 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22413 PyObject
*resultobj
;
22414 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22415 wxAppTraits
*result
;
22416 PyObject
* obj0
= 0 ;
22417 char *kwnames
[] = {
22418 (char *) "self", NULL
22421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22423 if (SWIG_arg_fail(1)) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22438 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22441 PyObject
* obj0
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22448 if (SWIG_arg_fail(1)) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 (arg1
)->ProcessPendingEvents();
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 Py_INCREF(Py_None
); resultobj
= Py_None
;
22463 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22466 bool arg2
= (bool) false ;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "onlyIfNeeded", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22476 if (SWIG_arg_fail(1)) SWIG_fail
;
22479 arg2
= (bool)(SWIG_As_bool(obj1
));
22480 if (SWIG_arg_fail(2)) SWIG_fail
;
22484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22485 result
= (bool)(arg1
)->Yield(arg2
);
22487 wxPyEndAllowThreads(__tstate
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22499 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22502 PyObject
* obj0
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22509 if (SWIG_arg_fail(1)) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 (arg1
)->WakeUpIdle();
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 Py_INCREF(Py_None
); resultobj
= Py_None
;
22524 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22527 char *kwnames
[] = {
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 result
= (bool)wxPyApp::IsMainLoopRunning();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22548 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22552 PyObject
* obj0
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22559 if (SWIG_arg_fail(1)) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= (int)(arg1
)->MainLoop();
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_From_int((int)(result
));
22576 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22586 if (SWIG_arg_fail(1)) SWIG_fail
;
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 Py_INCREF(Py_None
); resultobj
= Py_None
;
22601 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22604 PyObject
* obj0
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22611 if (SWIG_arg_fail(1)) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 (arg1
)->ExitMainLoop();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 Py_INCREF(Py_None
); resultobj
= Py_None
;
22626 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22627 PyObject
*resultobj
;
22628 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22630 PyObject
* obj0
= 0 ;
22631 char *kwnames
[] = {
22632 (char *) "self", NULL
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22637 if (SWIG_arg_fail(1)) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= (bool)(arg1
)->Pending();
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22654 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22658 PyObject
* obj0
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22665 if (SWIG_arg_fail(1)) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= (bool)(arg1
)->Dispatch();
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22682 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22686 PyObject
* obj0
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22693 if (SWIG_arg_fail(1)) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 result
= (bool)(arg1
)->ProcessIdle();
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22710 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
;
22712 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22713 wxWindow
*arg2
= (wxWindow
*) 0 ;
22714 wxIdleEvent
*arg3
= 0 ;
22716 PyObject
* obj0
= 0 ;
22717 PyObject
* obj1
= 0 ;
22718 PyObject
* obj2
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self",(char *) "win",(char *) "event", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22725 if (SWIG_arg_fail(1)) SWIG_fail
;
22726 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22727 if (SWIG_arg_fail(2)) SWIG_fail
;
22729 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22730 if (SWIG_arg_fail(3)) SWIG_fail
;
22731 if (arg3
== NULL
) {
22732 SWIG_null_ref("wxIdleEvent");
22734 if (SWIG_arg_fail(3)) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22752 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22756 PyObject
* obj0
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22763 if (SWIG_arg_fail(1)) SWIG_fail
;
22765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22780 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22783 wxWindow
*arg2
= (wxWindow
*) 0 ;
22784 PyObject
* obj0
= 0 ;
22785 PyObject
* obj1
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self",(char *) "win", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22792 if (SWIG_arg_fail(1)) SWIG_fail
;
22793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22794 if (SWIG_arg_fail(2)) SWIG_fail
;
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 (arg1
)->SetTopWindow(arg2
);
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 Py_INCREF(Py_None
); resultobj
= Py_None
;
22809 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
;
22811 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22813 PyObject
* obj0
= 0 ;
22814 char *kwnames
[] = {
22815 (char *) "self", NULL
22818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22820 if (SWIG_arg_fail(1)) SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22829 resultobj
= wxPyMake_wxObject(result
, 0);
22837 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self",(char *) "flag", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22849 if (SWIG_arg_fail(1)) SWIG_fail
;
22851 arg2
= (bool)(SWIG_As_bool(obj1
));
22852 if (SWIG_arg_fail(2)) SWIG_fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 (arg1
)->SetExitOnFrameDelete(arg2
);
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 Py_INCREF(Py_None
); resultobj
= Py_None
;
22868 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22869 PyObject
*resultobj
;
22870 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22879 if (SWIG_arg_fail(1)) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22896 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 PyObject
* obj1
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self",(char *) "flag", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22908 if (SWIG_arg_fail(1)) SWIG_fail
;
22910 arg2
= (bool)(SWIG_As_bool(obj1
));
22911 if (SWIG_arg_fail(2)) SWIG_fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 (arg1
)->SetUseBestVisual(arg2
);
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 Py_INCREF(Py_None
); resultobj
= Py_None
;
22927 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
;
22929 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22931 PyObject
* obj0
= 0 ;
22932 char *kwnames
[] = {
22933 (char *) "self", NULL
22936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22938 if (SWIG_arg_fail(1)) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22955 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22956 PyObject
*resultobj
;
22957 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22959 PyObject
* obj0
= 0 ;
22960 PyObject
* obj1
= 0 ;
22961 char *kwnames
[] = {
22962 (char *) "self",(char *) "mode", NULL
22965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22966 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22967 if (SWIG_arg_fail(1)) SWIG_fail
;
22969 arg2
= (int)(SWIG_As_int(obj1
));
22970 if (SWIG_arg_fail(2)) SWIG_fail
;
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22974 (arg1
)->SetPrintMode(arg2
);
22976 wxPyEndAllowThreads(__tstate
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 Py_INCREF(Py_None
); resultobj
= Py_None
;
22986 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22987 PyObject
*resultobj
;
22988 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22990 PyObject
* obj0
= 0 ;
22991 char *kwnames
[] = {
22992 (char *) "self", NULL
22995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
22996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22997 if (SWIG_arg_fail(1)) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= SWIG_From_int((int)(result
));
23014 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23015 PyObject
*resultobj
;
23016 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23018 PyObject
* obj0
= 0 ;
23019 PyObject
* obj1
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self",(char *) "mode", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23026 if (SWIG_arg_fail(1)) SWIG_fail
;
23028 arg2
= (int)(SWIG_As_int(obj1
));
23029 if (SWIG_arg_fail(2)) SWIG_fail
;
23032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23033 (arg1
)->SetAssertMode(arg2
);
23035 wxPyEndAllowThreads(__tstate
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 Py_INCREF(Py_None
); resultobj
= Py_None
;
23045 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23046 PyObject
*resultobj
;
23047 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23049 PyObject
* obj0
= 0 ;
23050 char *kwnames
[] = {
23051 (char *) "self", NULL
23054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23056 if (SWIG_arg_fail(1)) SWIG_fail
;
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 result
= (int)(arg1
)->GetAssertMode();
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= SWIG_From_int((int)(result
));
23073 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23076 char *kwnames
[] = {
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23097 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23100 char *kwnames
[] = {
23104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23107 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23109 wxPyEndAllowThreads(__tstate
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 resultobj
= SWIG_From_long((long)(result
));
23121 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23124 char *kwnames
[] = {
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23137 resultobj
= SWIG_From_long((long)(result
));
23145 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23148 char *kwnames
[] = {
23152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23155 result
= (long)wxPyApp::GetMacExitMenuItemId();
23157 wxPyEndAllowThreads(__tstate
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= SWIG_From_long((long)(result
));
23169 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23172 char *kwnames
[] = {
23176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 result
= wxPyApp::GetMacHelpMenuTitleName();
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23197 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
;
23200 PyObject
* obj0
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "val", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23207 arg1
= (bool)(SWIG_As_bool(obj0
));
23208 if (SWIG_arg_fail(1)) SWIG_fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23217 Py_INCREF(Py_None
); resultobj
= Py_None
;
23224 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23225 PyObject
*resultobj
;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "val", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23234 arg1
= (long)(SWIG_As_long(obj0
));
23235 if (SWIG_arg_fail(1)) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 wxPyApp::SetMacAboutMenuItemId(arg1
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 Py_INCREF(Py_None
); resultobj
= Py_None
;
23251 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23254 PyObject
* obj0
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "val", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23261 arg1
= (long)(SWIG_As_long(obj0
));
23262 if (SWIG_arg_fail(1)) SWIG_fail
;
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 Py_INCREF(Py_None
); resultobj
= Py_None
;
23278 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
;
23281 PyObject
* obj0
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "val", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23288 arg1
= (long)(SWIG_As_long(obj0
));
23289 if (SWIG_arg_fail(1)) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 wxPyApp::SetMacExitMenuItemId(arg1
);
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 Py_INCREF(Py_None
); resultobj
= Py_None
;
23305 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxString
*arg1
= 0 ;
23308 bool temp1
= false ;
23309 PyObject
* obj0
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "val", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23316 arg1
= wxString_in_helper(obj0
);
23317 if (arg1
== NULL
) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 Py_INCREF(Py_None
); resultobj
= Py_None
;
23342 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
;
23344 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23345 PyObject
* obj0
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23352 if (SWIG_arg_fail(1)) SWIG_fail
;
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 (arg1
)->_BootstrapApp();
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 Py_INCREF(Py_None
); resultobj
= Py_None
;
23367 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
;
23370 char *kwnames
[] = {
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (int)PyApp_GetComCtl32Version();
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_From_int((int)(result
));
23391 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23394 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23396 return Py_BuildValue((char *)"");
23398 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23399 PyObject
*resultobj
;
23400 char *kwnames
[] = {
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 Py_INCREF(Py_None
); resultobj
= Py_None
;
23419 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23422 char *kwnames
[] = {
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (bool)wxYield();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23443 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23446 char *kwnames
[] = {
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 result
= (bool)wxYieldIfNeeded();
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23467 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxWindow
*arg1
= (wxWindow
*) NULL
;
23470 bool arg2
= (bool) false ;
23472 PyObject
* obj0
= 0 ;
23473 PyObject
* obj1
= 0 ;
23474 char *kwnames
[] = {
23475 (char *) "win",(char *) "onlyIfNeeded", NULL
23478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23481 if (SWIG_arg_fail(1)) SWIG_fail
;
23485 arg2
= (bool)(SWIG_As_bool(obj1
));
23486 if (SWIG_arg_fail(2)) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (bool)wxSafeYield(arg1
,arg2
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23505 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 char *kwnames
[] = {
23511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23519 Py_INCREF(Py_None
); resultobj
= Py_None
;
23526 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23528 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23529 wxEvent
*arg2
= 0 ;
23530 PyObject
* obj0
= 0 ;
23531 PyObject
* obj1
= 0 ;
23532 char *kwnames
[] = {
23533 (char *) "dest",(char *) "event", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23538 if (SWIG_arg_fail(1)) SWIG_fail
;
23540 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23541 if (SWIG_arg_fail(2)) SWIG_fail
;
23542 if (arg2
== NULL
) {
23543 SWIG_null_ref("wxEvent");
23545 if (SWIG_arg_fail(2)) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 wxPostEvent(arg1
,*arg2
);
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 Py_INCREF(Py_None
); resultobj
= Py_None
;
23561 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 char *kwnames
[] = {
23567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23575 Py_INCREF(Py_None
); resultobj
= Py_None
;
23582 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23585 char *kwnames
[] = {
23589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 result
= (wxPyApp
*)wxPyGetApp();
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= wxPyMake_wxObject(result
, 0);
23606 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23607 PyObject
*resultobj
;
23608 char *arg1
= (char *) 0 ;
23609 PyObject
* obj0
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "encoding", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23615 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23616 SWIG_arg_fail(1);SWIG_fail
;
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 wxSetDefaultPyEncoding((char const *)arg1
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 Py_INCREF(Py_None
); resultobj
= Py_None
;
23632 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
;
23635 char *kwnames
[] = {
23639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 result
= (char *)wxGetDefaultPyEncoding();
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_FromCharPtr(result
);
23654 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxEventLoop
*result
;
23657 char *kwnames
[] = {
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (wxEventLoop
*)new wxEventLoop();
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23676 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23677 PyObject
*resultobj
;
23678 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23679 PyObject
* obj0
= 0 ;
23680 char *kwnames
[] = {
23681 (char *) "self", NULL
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23686 if (SWIG_arg_fail(1)) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23694 Py_INCREF(Py_None
); resultobj
= Py_None
;
23701 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23703 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23705 PyObject
* obj0
= 0 ;
23706 char *kwnames
[] = {
23707 (char *) "self", NULL
23710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23712 if (SWIG_arg_fail(1)) SWIG_fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= (int)(arg1
)->Run();
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_From_int((int)(result
));
23729 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23732 int arg2
= (int) 0 ;
23733 PyObject
* obj0
= 0 ;
23734 PyObject
* obj1
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "self",(char *) "rc", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23741 if (SWIG_arg_fail(1)) SWIG_fail
;
23744 arg2
= (int)(SWIG_As_int(obj1
));
23745 if (SWIG_arg_fail(2)) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 (arg1
)->Exit(arg2
);
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 Py_INCREF(Py_None
); resultobj
= Py_None
;
23762 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23773 if (SWIG_arg_fail(1)) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23790 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23794 PyObject
* obj0
= 0 ;
23795 char *kwnames
[] = {
23796 (char *) "self", NULL
23799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23801 if (SWIG_arg_fail(1)) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 result
= (bool)(arg1
)->Dispatch();
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23818 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23822 PyObject
* obj0
= 0 ;
23823 char *kwnames
[] = {
23824 (char *) "self", NULL
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23829 if (SWIG_arg_fail(1)) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23846 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23847 PyObject
*resultobj
;
23848 wxEventLoop
*result
;
23849 char *kwnames
[] = {
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23868 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "loop", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23878 if (SWIG_arg_fail(1)) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 wxEventLoop::SetActive(arg1
);
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 Py_INCREF(Py_None
); resultobj
= Py_None
;
23893 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23896 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23898 return Py_BuildValue((char *)"");
23900 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 int arg1
= (int) 0 ;
23903 int arg2
= (int) 0 ;
23904 int arg3
= (int) 0 ;
23905 wxAcceleratorEntry
*result
;
23906 PyObject
* obj0
= 0 ;
23907 PyObject
* obj1
= 0 ;
23908 PyObject
* obj2
= 0 ;
23909 char *kwnames
[] = {
23910 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23916 arg1
= (int)(SWIG_As_int(obj0
));
23917 if (SWIG_arg_fail(1)) SWIG_fail
;
23922 arg2
= (int)(SWIG_As_int(obj1
));
23923 if (SWIG_arg_fail(2)) SWIG_fail
;
23928 arg3
= (int)(SWIG_As_int(obj2
));
23929 if (SWIG_arg_fail(3)) SWIG_fail
;
23933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23934 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23946 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
;
23948 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23949 PyObject
* obj0
= 0 ;
23950 char *kwnames
[] = {
23951 (char *) "self", NULL
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23956 if (SWIG_arg_fail(1)) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 Py_INCREF(Py_None
); resultobj
= Py_None
;
23971 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
;
23973 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 PyObject
* obj2
= 0 ;
23980 PyObject
* obj3
= 0 ;
23981 char *kwnames
[] = {
23982 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
23985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23987 if (SWIG_arg_fail(1)) SWIG_fail
;
23989 arg2
= (int)(SWIG_As_int(obj1
));
23990 if (SWIG_arg_fail(2)) SWIG_fail
;
23993 arg3
= (int)(SWIG_As_int(obj2
));
23994 if (SWIG_arg_fail(3)) SWIG_fail
;
23997 arg4
= (int)(SWIG_As_int(obj3
));
23998 if (SWIG_arg_fail(4)) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 (arg1
)->Set(arg2
,arg3
,arg4
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 Py_INCREF(Py_None
); resultobj
= Py_None
;
24014 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
;
24016 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24025 if (SWIG_arg_fail(1)) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (int)(arg1
)->GetFlags();
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24034 resultobj
= SWIG_From_int((int)(result
));
24042 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
;
24044 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24053 if (SWIG_arg_fail(1)) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (int)(arg1
)->GetKeyCode();
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= SWIG_From_int((int)(result
));
24070 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24074 PyObject
* obj0
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24081 if (SWIG_arg_fail(1)) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (int)(arg1
)->GetCommand();
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24090 resultobj
= SWIG_From_int((int)(result
));
24098 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24101 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24103 return Py_BuildValue((char *)"");
24105 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24106 PyObject
*resultobj
;
24108 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24109 wxAcceleratorTable
*result
;
24110 PyObject
* obj0
= 0 ;
24111 char *kwnames
[] = {
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24117 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24118 if (arg2
) arg1
= PyList_Size(obj0
);
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24141 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24144 PyObject
* obj0
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24151 if (SWIG_arg_fail(1)) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 Py_INCREF(Py_None
); resultobj
= Py_None
;
24166 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24167 PyObject
*resultobj
;
24168 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24170 PyObject
* obj0
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24177 if (SWIG_arg_fail(1)) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24194 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24197 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24199 return Py_BuildValue((char *)"");
24201 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24202 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24207 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24210 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24215 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxString
*arg1
= 0 ;
24218 wxAcceleratorEntry
*result
;
24219 bool temp1
= false ;
24220 PyObject
* obj0
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "label", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24227 arg1
= wxString_in_helper(obj0
);
24228 if (arg1
== NULL
) SWIG_fail
;
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24235 wxPyEndAllowThreads(__tstate
);
24236 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24253 static int _wrap_PanelNameStr_set(PyObject
*) {
24254 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24259 static PyObject
*_wrap_PanelNameStr_get(void) {
24264 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24266 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24273 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxVisualAttributes
*result
;
24276 char *kwnames
[] = {
24280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24295 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24297 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24305 if (SWIG_arg_fail(1)) SWIG_fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 delete_wxVisualAttributes(arg1
);
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 Py_INCREF(Py_None
); resultobj
= Py_None
;
24320 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24323 wxFont
*arg2
= (wxFont
*) 0 ;
24324 PyObject
* obj0
= 0 ;
24325 PyObject
* obj1
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self",(char *) "font", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24332 if (SWIG_arg_fail(1)) SWIG_fail
;
24333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24334 if (SWIG_arg_fail(2)) SWIG_fail
;
24335 if (arg1
) (arg1
)->font
= *arg2
;
24337 Py_INCREF(Py_None
); resultobj
= Py_None
;
24344 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
;
24346 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24348 PyObject
* obj0
= 0 ;
24349 char *kwnames
[] = {
24350 (char *) "self", NULL
24353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24355 if (SWIG_arg_fail(1)) SWIG_fail
;
24356 result
= (wxFont
*)& ((arg1
)->font
);
24358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24365 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
;
24367 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24368 wxColour
*arg2
= (wxColour
*) 0 ;
24369 PyObject
* obj0
= 0 ;
24370 PyObject
* obj1
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self",(char *) "colFg", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24377 if (SWIG_arg_fail(1)) SWIG_fail
;
24378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24379 if (SWIG_arg_fail(2)) SWIG_fail
;
24380 if (arg1
) (arg1
)->colFg
= *arg2
;
24382 Py_INCREF(Py_None
); resultobj
= Py_None
;
24389 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24393 PyObject
* obj0
= 0 ;
24394 char *kwnames
[] = {
24395 (char *) "self", NULL
24398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24400 if (SWIG_arg_fail(1)) SWIG_fail
;
24401 result
= (wxColour
*)& ((arg1
)->colFg
);
24403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24410 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
;
24412 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24413 wxColour
*arg2
= (wxColour
*) 0 ;
24414 PyObject
* obj0
= 0 ;
24415 PyObject
* obj1
= 0 ;
24416 char *kwnames
[] = {
24417 (char *) "self",(char *) "colBg", NULL
24420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24422 if (SWIG_arg_fail(1)) SWIG_fail
;
24423 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24424 if (SWIG_arg_fail(2)) SWIG_fail
;
24425 if (arg1
) (arg1
)->colBg
= *arg2
;
24427 Py_INCREF(Py_None
); resultobj
= Py_None
;
24434 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
;
24436 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24445 if (SWIG_arg_fail(1)) SWIG_fail
;
24446 result
= (wxColour
*)& ((arg1
)->colBg
);
24448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24455 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24458 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24460 return Py_BuildValue((char *)"");
24462 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxWindow
*arg1
= (wxWindow
*) 0 ;
24465 int arg2
= (int) (int)-1 ;
24466 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24467 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24468 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24469 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24470 long arg5
= (long) 0 ;
24471 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24472 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24476 bool temp6
= false ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 PyObject
* obj2
= 0 ;
24480 PyObject
* obj3
= 0 ;
24481 PyObject
* obj4
= 0 ;
24482 PyObject
* obj5
= 0 ;
24483 char *kwnames
[] = {
24484 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24489 if (SWIG_arg_fail(1)) SWIG_fail
;
24492 arg2
= (int const)(SWIG_As_int(obj1
));
24493 if (SWIG_arg_fail(2)) SWIG_fail
;
24499 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24505 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24510 arg5
= (long)(SWIG_As_long(obj4
));
24511 if (SWIG_arg_fail(5)) SWIG_fail
;
24516 arg6
= wxString_in_helper(obj5
);
24517 if (arg6
== NULL
) SWIG_fail
;
24522 if (!wxPyCheckForApp()) SWIG_fail
;
24523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24524 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24544 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24547 char *kwnames
[] = {
24551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24553 if (!wxPyCheckForApp()) SWIG_fail
;
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (wxWindow
*)new wxWindow();
24557 wxPyEndAllowThreads(__tstate
);
24558 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24567 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24568 PyObject
*resultobj
;
24569 wxWindow
*arg1
= (wxWindow
*) 0 ;
24570 wxWindow
*arg2
= (wxWindow
*) 0 ;
24571 int arg3
= (int) (int)-1 ;
24572 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24573 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24574 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24575 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24576 long arg6
= (long) 0 ;
24577 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24578 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24582 bool temp7
= false ;
24583 PyObject
* obj0
= 0 ;
24584 PyObject
* obj1
= 0 ;
24585 PyObject
* obj2
= 0 ;
24586 PyObject
* obj3
= 0 ;
24587 PyObject
* obj4
= 0 ;
24588 PyObject
* obj5
= 0 ;
24589 PyObject
* obj6
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24596 if (SWIG_arg_fail(1)) SWIG_fail
;
24597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24598 if (SWIG_arg_fail(2)) SWIG_fail
;
24601 arg3
= (int const)(SWIG_As_int(obj2
));
24602 if (SWIG_arg_fail(3)) SWIG_fail
;
24608 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24614 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24619 arg6
= (long)(SWIG_As_long(obj5
));
24620 if (SWIG_arg_fail(6)) SWIG_fail
;
24625 arg7
= wxString_in_helper(obj6
);
24626 if (arg7
== NULL
) SWIG_fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24654 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
;
24656 wxWindow
*arg1
= (wxWindow
*) 0 ;
24657 bool arg2
= (bool) false ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self",(char *) "force", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24667 if (SWIG_arg_fail(1)) SWIG_fail
;
24670 arg2
= (bool)(SWIG_As_bool(obj1
));
24671 if (SWIG_arg_fail(2)) SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= (bool)(arg1
)->Close(arg2
);
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24690 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
;
24692 wxWindow
*arg1
= (wxWindow
*) 0 ;
24694 PyObject
* obj0
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24701 if (SWIG_arg_fail(1)) SWIG_fail
;
24703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24704 result
= (bool)(arg1
)->Destroy();
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24718 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24719 PyObject
*resultobj
;
24720 wxWindow
*arg1
= (wxWindow
*) 0 ;
24722 PyObject
* obj0
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24729 if (SWIG_arg_fail(1)) SWIG_fail
;
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 result
= (bool)(arg1
)->DestroyChildren();
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24746 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxWindow
*arg1
= (wxWindow
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24757 if (SWIG_arg_fail(1)) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24774 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxWindow
*arg1
= (wxWindow
*) 0 ;
24777 wxString
*arg2
= 0 ;
24778 bool temp2
= false ;
24779 PyObject
* obj0
= 0 ;
24780 PyObject
* obj1
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self",(char *) "title", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24787 if (SWIG_arg_fail(1)) SWIG_fail
;
24789 arg2
= wxString_in_helper(obj1
);
24790 if (arg2
== NULL
) SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 (arg1
)->SetTitle((wxString
const &)*arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 Py_INCREF(Py_None
); resultobj
= Py_None
;
24815 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
;
24817 wxWindow
*arg1
= (wxWindow
*) 0 ;
24819 PyObject
* obj0
= 0 ;
24820 char *kwnames
[] = {
24821 (char *) "self", NULL
24824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24826 if (SWIG_arg_fail(1)) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= ((wxWindow
const *)arg1
)->GetTitle();
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24847 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
;
24849 wxWindow
*arg1
= (wxWindow
*) 0 ;
24850 wxString
*arg2
= 0 ;
24851 bool temp2
= false ;
24852 PyObject
* obj0
= 0 ;
24853 PyObject
* obj1
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self",(char *) "label", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24860 if (SWIG_arg_fail(1)) SWIG_fail
;
24862 arg2
= wxString_in_helper(obj1
);
24863 if (arg2
== NULL
) SWIG_fail
;
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 (arg1
)->SetLabel((wxString
const &)*arg2
);
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 Py_INCREF(Py_None
); resultobj
= Py_None
;
24888 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxWindow
*arg1
= (wxWindow
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 char *kwnames
[] = {
24894 (char *) "self", NULL
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24899 if (SWIG_arg_fail(1)) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= ((wxWindow
const *)arg1
)->GetLabel();
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24920 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24921 PyObject
*resultobj
;
24922 wxWindow
*arg1
= (wxWindow
*) 0 ;
24923 wxString
*arg2
= 0 ;
24924 bool temp2
= false ;
24925 PyObject
* obj0
= 0 ;
24926 PyObject
* obj1
= 0 ;
24927 char *kwnames
[] = {
24928 (char *) "self",(char *) "name", NULL
24931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24933 if (SWIG_arg_fail(1)) SWIG_fail
;
24935 arg2
= wxString_in_helper(obj1
);
24936 if (arg2
== NULL
) SWIG_fail
;
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 (arg1
)->SetName((wxString
const &)*arg2
);
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 Py_INCREF(Py_None
); resultobj
= Py_None
;
24961 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
;
24963 wxWindow
*arg1
= (wxWindow
*) 0 ;
24965 PyObject
* obj0
= 0 ;
24966 char *kwnames
[] = {
24967 (char *) "self", NULL
24970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
24971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24972 if (SWIG_arg_fail(1)) SWIG_fail
;
24974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24975 result
= ((wxWindow
const *)arg1
)->GetName();
24977 wxPyEndAllowThreads(__tstate
);
24978 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24993 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
;
24995 wxWindow
*arg1
= (wxWindow
*) 0 ;
24996 wxWindowVariant arg2
;
24997 PyObject
* obj0
= 0 ;
24998 PyObject
* obj1
= 0 ;
24999 char *kwnames
[] = {
25000 (char *) "self",(char *) "variant", NULL
25003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25005 if (SWIG_arg_fail(1)) SWIG_fail
;
25007 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25008 if (SWIG_arg_fail(2)) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 Py_INCREF(Py_None
); resultobj
= Py_None
;
25024 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25025 PyObject
*resultobj
;
25026 wxWindow
*arg1
= (wxWindow
*) 0 ;
25027 wxWindowVariant result
;
25028 PyObject
* obj0
= 0 ;
25029 char *kwnames
[] = {
25030 (char *) "self", NULL
25033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25035 if (SWIG_arg_fail(1)) SWIG_fail
;
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= SWIG_From_int((result
));
25050 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
;
25052 wxWindow
*arg1
= (wxWindow
*) 0 ;
25054 PyObject
* obj0
= 0 ;
25055 PyObject
* obj1
= 0 ;
25056 char *kwnames
[] = {
25057 (char *) "self",(char *) "winid", NULL
25060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25062 if (SWIG_arg_fail(1)) SWIG_fail
;
25064 arg2
= (int)(SWIG_As_int(obj1
));
25065 if (SWIG_arg_fail(2)) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 (arg1
)->SetId(arg2
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 Py_INCREF(Py_None
); resultobj
= Py_None
;
25081 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxWindow
*arg1
= (wxWindow
*) 0 ;
25085 PyObject
* obj0
= 0 ;
25086 char *kwnames
[] = {
25087 (char *) "self", NULL
25090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25092 if (SWIG_arg_fail(1)) SWIG_fail
;
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 result
= (int)((wxWindow
const *)arg1
)->GetId();
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25101 resultobj
= SWIG_From_int((int)(result
));
25109 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
;
25112 char *kwnames
[] = {
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (int)wxWindow::NewControlId();
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= SWIG_From_int((int)(result
));
25133 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25137 PyObject
* obj0
= 0 ;
25138 char *kwnames
[] = {
25139 (char *) "winid", NULL
25142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25144 arg1
= (int)(SWIG_As_int(obj0
));
25145 if (SWIG_arg_fail(1)) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 result
= (int)wxWindow::NextControlId(arg1
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= SWIG_From_int((int)(result
));
25163 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25167 PyObject
* obj0
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "winid", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25174 arg1
= (int)(SWIG_As_int(obj0
));
25175 if (SWIG_arg_fail(1)) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 result
= (int)wxWindow::PrevControlId(arg1
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_From_int((int)(result
));
25193 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxWindow
*arg1
= (wxWindow
*) 0 ;
25198 PyObject
* obj0
= 0 ;
25199 PyObject
* obj1
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self",(char *) "size", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25206 if (SWIG_arg_fail(1)) SWIG_fail
;
25209 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25213 (arg1
)->SetSize((wxSize
const &)*arg2
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 Py_INCREF(Py_None
); resultobj
= Py_None
;
25225 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxWindow
*arg1
= (wxWindow
*) 0 ;
25232 int arg6
= (int) wxSIZE_AUTO
;
25233 PyObject
* obj0
= 0 ;
25234 PyObject
* obj1
= 0 ;
25235 PyObject
* obj2
= 0 ;
25236 PyObject
* obj3
= 0 ;
25237 PyObject
* obj4
= 0 ;
25238 PyObject
* obj5
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25245 if (SWIG_arg_fail(1)) SWIG_fail
;
25247 arg2
= (int)(SWIG_As_int(obj1
));
25248 if (SWIG_arg_fail(2)) SWIG_fail
;
25251 arg3
= (int)(SWIG_As_int(obj2
));
25252 if (SWIG_arg_fail(3)) SWIG_fail
;
25255 arg4
= (int)(SWIG_As_int(obj3
));
25256 if (SWIG_arg_fail(4)) SWIG_fail
;
25259 arg5
= (int)(SWIG_As_int(obj4
));
25260 if (SWIG_arg_fail(5)) SWIG_fail
;
25264 arg6
= (int)(SWIG_As_int(obj5
));
25265 if (SWIG_arg_fail(6)) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxWindow
*arg1
= (wxWindow
*) 0 ;
25286 int arg3
= (int) wxSIZE_AUTO
;
25288 PyObject
* obj0
= 0 ;
25289 PyObject
* obj1
= 0 ;
25290 PyObject
* obj2
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25297 if (SWIG_arg_fail(1)) SWIG_fail
;
25300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25304 arg3
= (int)(SWIG_As_int(obj2
));
25305 if (SWIG_arg_fail(3)) SWIG_fail
;
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25312 wxPyEndAllowThreads(__tstate
);
25313 if (PyErr_Occurred()) SWIG_fail
;
25315 Py_INCREF(Py_None
); resultobj
= Py_None
;
25322 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25324 wxWindow
*arg1
= (wxWindow
*) 0 ;
25327 PyObject
* obj0
= 0 ;
25328 PyObject
* obj1
= 0 ;
25329 PyObject
* obj2
= 0 ;
25330 char *kwnames
[] = {
25331 (char *) "self",(char *) "width",(char *) "height", NULL
25334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25336 if (SWIG_arg_fail(1)) SWIG_fail
;
25338 arg2
= (int)(SWIG_As_int(obj1
));
25339 if (SWIG_arg_fail(2)) SWIG_fail
;
25342 arg3
= (int)(SWIG_As_int(obj2
));
25343 if (SWIG_arg_fail(3)) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 (arg1
)->SetSize(arg2
,arg3
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 Py_INCREF(Py_None
); resultobj
= Py_None
;
25359 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxWindow
*arg1
= (wxWindow
*) 0 ;
25362 wxPoint
*arg2
= 0 ;
25363 int arg3
= (int) wxSIZE_USE_EXISTING
;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 PyObject
* obj2
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self",(char *) "pt",(char *) "flags", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25374 if (SWIG_arg_fail(1)) SWIG_fail
;
25377 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25381 arg3
= (int)(SWIG_As_int(obj2
));
25382 if (SWIG_arg_fail(3)) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 Py_INCREF(Py_None
); resultobj
= Py_None
;
25399 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 int arg4
= (int) wxSIZE_USE_EXISTING
;
25405 PyObject
* obj0
= 0 ;
25406 PyObject
* obj1
= 0 ;
25407 PyObject
* obj2
= 0 ;
25408 PyObject
* obj3
= 0 ;
25409 char *kwnames
[] = {
25410 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25415 if (SWIG_arg_fail(1)) SWIG_fail
;
25417 arg2
= (int)(SWIG_As_int(obj1
));
25418 if (SWIG_arg_fail(2)) SWIG_fail
;
25421 arg3
= (int)(SWIG_As_int(obj2
));
25422 if (SWIG_arg_fail(3)) SWIG_fail
;
25426 arg4
= (int)(SWIG_As_int(obj3
));
25427 if (SWIG_arg_fail(4)) SWIG_fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 (arg1
)->Move(arg2
,arg3
,arg4
);
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 Py_INCREF(Py_None
); resultobj
= Py_None
;
25444 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
;
25446 wxWindow
*arg1
= (wxWindow
*) 0 ;
25447 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25448 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "size", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25458 if (SWIG_arg_fail(1)) SWIG_fail
;
25462 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25467 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25472 Py_INCREF(Py_None
); resultobj
= Py_None
;
25479 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25480 PyObject
*resultobj
;
25481 wxWindow
*arg1
= (wxWindow
*) 0 ;
25482 PyObject
* obj0
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25489 if (SWIG_arg_fail(1)) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 Py_INCREF(Py_None
); resultobj
= Py_None
;
25504 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
;
25506 wxWindow
*arg1
= (wxWindow
*) 0 ;
25507 PyObject
* obj0
= 0 ;
25508 char *kwnames
[] = {
25509 (char *) "self", NULL
25512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25514 if (SWIG_arg_fail(1)) SWIG_fail
;
25516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 Py_INCREF(Py_None
); resultobj
= Py_None
;
25529 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxWindow
*arg1
= (wxWindow
*) 0 ;
25534 PyObject
* obj0
= 0 ;
25535 PyObject
* obj1
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self",(char *) "size", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25542 if (SWIG_arg_fail(1)) SWIG_fail
;
25545 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 Py_INCREF(Py_None
); resultobj
= Py_None
;
25561 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxWindow
*arg1
= (wxWindow
*) 0 ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 PyObject
* obj2
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self",(char *) "width",(char *) "height", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25575 if (SWIG_arg_fail(1)) SWIG_fail
;
25577 arg2
= (int)(SWIG_As_int(obj1
));
25578 if (SWIG_arg_fail(2)) SWIG_fail
;
25581 arg3
= (int)(SWIG_As_int(obj2
));
25582 if (SWIG_arg_fail(3)) SWIG_fail
;
25585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25586 (arg1
)->SetClientSize(arg2
,arg3
);
25588 wxPyEndAllowThreads(__tstate
);
25589 if (PyErr_Occurred()) SWIG_fail
;
25591 Py_INCREF(Py_None
); resultobj
= Py_None
;
25598 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25599 PyObject
*resultobj
;
25600 wxWindow
*arg1
= (wxWindow
*) 0 ;
25603 PyObject
* obj0
= 0 ;
25604 PyObject
* obj1
= 0 ;
25605 char *kwnames
[] = {
25606 (char *) "self",(char *) "rect", NULL
25609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25611 if (SWIG_arg_fail(1)) SWIG_fail
;
25614 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25623 Py_INCREF(Py_None
); resultobj
= Py_None
;
25630 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
;
25632 wxWindow
*arg1
= (wxWindow
*) 0 ;
25634 PyObject
* obj0
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "self", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25641 if (SWIG_arg_fail(1)) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (arg1
)->GetPosition();
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25650 wxPoint
* resultptr
;
25651 resultptr
= new wxPoint((wxPoint
&)(result
));
25652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25660 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
;
25662 wxWindow
*arg1
= (wxWindow
*) 0 ;
25663 int *arg2
= (int *) 0 ;
25664 int *arg3
= (int *) 0 ;
25669 PyObject
* obj0
= 0 ;
25670 char *kwnames
[] = {
25671 (char *) "self", NULL
25674 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25675 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25678 if (SWIG_arg_fail(1)) SWIG_fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 (arg1
)->GetPosition(arg2
,arg3
);
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 Py_INCREF(Py_None
); resultobj
= Py_None
;
25687 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25688 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25689 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25690 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25697 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25698 PyObject
*resultobj
;
25699 wxWindow
*arg1
= (wxWindow
*) 0 ;
25701 PyObject
* obj0
= 0 ;
25702 char *kwnames
[] = {
25703 (char *) "self", NULL
25706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25708 if (SWIG_arg_fail(1)) SWIG_fail
;
25710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25711 result
= ((wxWindow
const *)arg1
)->GetSize();
25713 wxPyEndAllowThreads(__tstate
);
25714 if (PyErr_Occurred()) SWIG_fail
;
25717 wxSize
* resultptr
;
25718 resultptr
= new wxSize((wxSize
&)(result
));
25719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25727 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25728 PyObject
*resultobj
;
25729 wxWindow
*arg1
= (wxWindow
*) 0 ;
25730 int *arg2
= (int *) 0 ;
25731 int *arg3
= (int *) 0 ;
25736 PyObject
* obj0
= 0 ;
25737 char *kwnames
[] = {
25738 (char *) "self", NULL
25741 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25742 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25745 if (SWIG_arg_fail(1)) SWIG_fail
;
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25750 wxPyEndAllowThreads(__tstate
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 Py_INCREF(Py_None
); resultobj
= Py_None
;
25754 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25755 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25756 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25757 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25764 static PyObject
*_wrap_Window_GetRect(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_GetRect",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
)->GetRect();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25784 wxRect
* resultptr
;
25785 resultptr
= new wxRect((wxRect
&)(result
));
25786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25794 static PyObject
*_wrap_Window_GetClientSize(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_GetClientSize",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
)->GetClientSize();
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_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxWindow
*arg1
= (wxWindow
*) 0 ;
25827 int *arg2
= (int *) 0 ;
25828 int *arg3
= (int *) 0 ;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self", NULL
25838 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25839 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25842 if (SWIG_arg_fail(1)) SWIG_fail
;
25844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25845 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25847 wxPyEndAllowThreads(__tstate
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 Py_INCREF(Py_None
); resultobj
= Py_None
;
25851 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25852 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25853 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25854 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25861 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25863 wxWindow
*arg1
= (wxWindow
*) 0 ;
25865 PyObject
* obj0
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25872 if (SWIG_arg_fail(1)) SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25881 wxPoint
* resultptr
;
25882 resultptr
= new wxPoint((wxPoint
&)(result
));
25883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25891 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxWindow
*arg1
= (wxWindow
*) 0 ;
25895 PyObject
* obj0
= 0 ;
25896 char *kwnames
[] = {
25897 (char *) "self", NULL
25900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25902 if (SWIG_arg_fail(1)) SWIG_fail
;
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25911 wxRect
* resultptr
;
25912 resultptr
= new wxRect((wxRect
&)(result
));
25913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25921 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxWindow
*arg1
= (wxWindow
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25932 if (SWIG_arg_fail(1)) SWIG_fail
;
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25937 wxPyEndAllowThreads(__tstate
);
25938 if (PyErr_Occurred()) SWIG_fail
;
25941 wxSize
* resultptr
;
25942 resultptr
= new wxSize((wxSize
&)(result
));
25943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25951 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
;
25953 wxWindow
*arg1
= (wxWindow
*) 0 ;
25954 int *arg2
= (int *) 0 ;
25955 int *arg3
= (int *) 0 ;
25960 PyObject
* obj0
= 0 ;
25961 char *kwnames
[] = {
25962 (char *) "self", NULL
25965 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25966 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
25968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25969 if (SWIG_arg_fail(1)) SWIG_fail
;
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 Py_INCREF(Py_None
); resultobj
= Py_None
;
25978 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25979 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25980 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25981 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25988 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxWindow
*arg1
= (wxWindow
*) 0 ;
25991 PyObject
* obj0
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
25997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25998 if (SWIG_arg_fail(1)) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 (arg1
)->InvalidateBestSize();
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 Py_INCREF(Py_None
); resultobj
= Py_None
;
26013 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26014 PyObject
*resultobj
;
26015 wxWindow
*arg1
= (wxWindow
*) 0 ;
26017 PyObject
* obj0
= 0 ;
26018 char *kwnames
[] = {
26019 (char *) "self", NULL
26022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26024 if (SWIG_arg_fail(1)) SWIG_fail
;
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26033 wxSize
* resultptr
;
26034 resultptr
= new wxSize((wxSize
&)(result
));
26035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26043 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxWindow
*arg1
= (wxWindow
*) 0 ;
26047 PyObject
* obj0
= 0 ;
26048 char *kwnames
[] = {
26049 (char *) "self", NULL
26052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26054 if (SWIG_arg_fail(1)) SWIG_fail
;
26056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26057 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26063 wxSize
* resultptr
;
26064 resultptr
= new wxSize((wxSize
&)(result
));
26065 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26073 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
;
26075 wxWindow
*arg1
= (wxWindow
*) 0 ;
26076 int arg2
= (int) wxBOTH
;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self",(char *) "direction", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26085 if (SWIG_arg_fail(1)) SWIG_fail
;
26088 arg2
= (int)(SWIG_As_int(obj1
));
26089 if (SWIG_arg_fail(2)) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 (arg1
)->Center(arg2
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 Py_INCREF(Py_None
); resultobj
= Py_None
;
26106 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxWindow
*arg1
= (wxWindow
*) 0 ;
26109 int arg2
= (int) wxBOTH
;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "dir", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26118 if (SWIG_arg_fail(1)) SWIG_fail
;
26121 arg2
= (int)(SWIG_As_int(obj1
));
26122 if (SWIG_arg_fail(2)) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 (arg1
)->CenterOnScreen(arg2
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 Py_INCREF(Py_None
); resultobj
= Py_None
;
26139 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
;
26141 wxWindow
*arg1
= (wxWindow
*) 0 ;
26142 int arg2
= (int) wxBOTH
;
26143 PyObject
* obj0
= 0 ;
26144 PyObject
* obj1
= 0 ;
26145 char *kwnames
[] = {
26146 (char *) "self",(char *) "dir", NULL
26149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26151 if (SWIG_arg_fail(1)) SWIG_fail
;
26154 arg2
= (int)(SWIG_As_int(obj1
));
26155 if (SWIG_arg_fail(2)) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 (arg1
)->CenterOnParent(arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 Py_INCREF(Py_None
); resultobj
= Py_None
;
26172 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
;
26174 wxWindow
*arg1
= (wxWindow
*) 0 ;
26175 PyObject
* obj0
= 0 ;
26176 char *kwnames
[] = {
26177 (char *) "self", NULL
26180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26182 if (SWIG_arg_fail(1)) SWIG_fail
;
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 wxPyEndAllowThreads(__tstate
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 Py_INCREF(Py_None
); resultobj
= Py_None
;
26197 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxWindow
*arg1
= (wxWindow
*) 0 ;
26200 PyObject
* obj0
= 0 ;
26201 char *kwnames
[] = {
26202 (char *) "self", NULL
26205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26207 if (SWIG_arg_fail(1)) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 (arg1
)->FitInside();
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 Py_INCREF(Py_None
); resultobj
= Py_None
;
26222 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxWindow
*arg1
= (wxWindow
*) 0 ;
26227 int arg4
= (int) -1 ;
26228 int arg5
= (int) -1 ;
26229 int arg6
= (int) -1 ;
26230 int arg7
= (int) -1 ;
26231 PyObject
* obj0
= 0 ;
26232 PyObject
* obj1
= 0 ;
26233 PyObject
* obj2
= 0 ;
26234 PyObject
* obj3
= 0 ;
26235 PyObject
* obj4
= 0 ;
26236 PyObject
* obj5
= 0 ;
26237 PyObject
* obj6
= 0 ;
26238 char *kwnames
[] = {
26239 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26244 if (SWIG_arg_fail(1)) SWIG_fail
;
26246 arg2
= (int)(SWIG_As_int(obj1
));
26247 if (SWIG_arg_fail(2)) SWIG_fail
;
26250 arg3
= (int)(SWIG_As_int(obj2
));
26251 if (SWIG_arg_fail(3)) SWIG_fail
;
26255 arg4
= (int)(SWIG_As_int(obj3
));
26256 if (SWIG_arg_fail(4)) SWIG_fail
;
26261 arg5
= (int)(SWIG_As_int(obj4
));
26262 if (SWIG_arg_fail(5)) SWIG_fail
;
26267 arg6
= (int)(SWIG_As_int(obj5
));
26268 if (SWIG_arg_fail(6)) SWIG_fail
;
26273 arg7
= (int)(SWIG_As_int(obj6
));
26274 if (SWIG_arg_fail(7)) SWIG_fail
;
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26281 wxPyEndAllowThreads(__tstate
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 Py_INCREF(Py_None
); resultobj
= Py_None
;
26291 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26292 PyObject
*resultobj
;
26293 wxWindow
*arg1
= (wxWindow
*) 0 ;
26295 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26296 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26297 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26298 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 PyObject
* obj2
= 0 ;
26305 PyObject
* obj3
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26312 if (SWIG_arg_fail(1)) SWIG_fail
;
26315 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26320 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26326 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 Py_INCREF(Py_None
); resultobj
= Py_None
;
26343 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxWindow
*arg1
= (wxWindow
*) 0 ;
26348 int arg4
= (int) -1 ;
26349 int arg5
= (int) -1 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 PyObject
* obj2
= 0 ;
26353 PyObject
* obj3
= 0 ;
26354 PyObject
* obj4
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26361 if (SWIG_arg_fail(1)) SWIG_fail
;
26363 arg2
= (int)(SWIG_As_int(obj1
));
26364 if (SWIG_arg_fail(2)) SWIG_fail
;
26367 arg3
= (int)(SWIG_As_int(obj2
));
26368 if (SWIG_arg_fail(3)) SWIG_fail
;
26372 arg4
= (int)(SWIG_As_int(obj3
));
26373 if (SWIG_arg_fail(4)) SWIG_fail
;
26378 arg5
= (int)(SWIG_As_int(obj4
));
26379 if (SWIG_arg_fail(5)) SWIG_fail
;
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26389 Py_INCREF(Py_None
); resultobj
= Py_None
;
26396 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxWindow
*arg1
= (wxWindow
*) 0 ;
26400 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26401 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26404 PyObject
* obj0
= 0 ;
26405 PyObject
* obj1
= 0 ;
26406 PyObject
* obj2
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26413 if (SWIG_arg_fail(1)) SWIG_fail
;
26416 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26421 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26426 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 Py_INCREF(Py_None
); resultobj
= Py_None
;
26438 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26439 PyObject
*resultobj
;
26440 wxWindow
*arg1
= (wxWindow
*) 0 ;
26442 PyObject
* obj0
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26449 if (SWIG_arg_fail(1)) SWIG_fail
;
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26452 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26458 wxSize
* resultptr
;
26459 resultptr
= new wxSize((wxSize
&)(result
));
26460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26468 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxWindow
*arg1
= (wxWindow
*) 0 ;
26472 PyObject
* obj0
= 0 ;
26473 char *kwnames
[] = {
26474 (char *) "self", NULL
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26479 if (SWIG_arg_fail(1)) SWIG_fail
;
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26488 wxSize
* resultptr
;
26489 resultptr
= new wxSize((wxSize
&)(result
));
26490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26498 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxWindow
*arg1
= (wxWindow
*) 0 ;
26503 PyObject
* obj0
= 0 ;
26504 PyObject
* obj1
= 0 ;
26505 char *kwnames
[] = {
26506 (char *) "self",(char *) "minSize", NULL
26509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26511 if (SWIG_arg_fail(1)) SWIG_fail
;
26514 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 Py_INCREF(Py_None
); resultobj
= Py_None
;
26530 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxWindow
*arg1
= (wxWindow
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 PyObject
* obj1
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "self",(char *) "maxSize", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26543 if (SWIG_arg_fail(1)) SWIG_fail
;
26546 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26555 Py_INCREF(Py_None
); resultobj
= Py_None
;
26562 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
;
26564 wxWindow
*arg1
= (wxWindow
*) 0 ;
26566 PyObject
* obj0
= 0 ;
26567 char *kwnames
[] = {
26568 (char *) "self", NULL
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26573 if (SWIG_arg_fail(1)) SWIG_fail
;
26575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26576 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= SWIG_From_int((int)(result
));
26590 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxWindow
*arg1
= (wxWindow
*) 0 ;
26594 PyObject
* obj0
= 0 ;
26595 char *kwnames
[] = {
26596 (char *) "self", NULL
26599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26601 if (SWIG_arg_fail(1)) SWIG_fail
;
26603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26604 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26610 resultobj
= SWIG_From_int((int)(result
));
26618 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxWindow
*arg1
= (wxWindow
*) 0 ;
26622 PyObject
* obj0
= 0 ;
26623 char *kwnames
[] = {
26624 (char *) "self", NULL
26627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26629 if (SWIG_arg_fail(1)) SWIG_fail
;
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= SWIG_From_int((int)(result
));
26646 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26647 PyObject
*resultobj
;
26648 wxWindow
*arg1
= (wxWindow
*) 0 ;
26650 PyObject
* obj0
= 0 ;
26651 char *kwnames
[] = {
26652 (char *) "self", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26657 if (SWIG_arg_fail(1)) SWIG_fail
;
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26666 resultobj
= SWIG_From_int((int)(result
));
26674 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxWindow
*arg1
= (wxWindow
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 char *kwnames
[] = {
26682 (char *) "self",(char *) "size", NULL
26685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26687 if (SWIG_arg_fail(1)) SWIG_fail
;
26690 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26696 wxPyEndAllowThreads(__tstate
);
26697 if (PyErr_Occurred()) SWIG_fail
;
26699 Py_INCREF(Py_None
); resultobj
= Py_None
;
26706 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26707 PyObject
*resultobj
;
26708 wxWindow
*arg1
= (wxWindow
*) 0 ;
26711 PyObject
* obj0
= 0 ;
26712 PyObject
* obj1
= 0 ;
26713 PyObject
* obj2
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self",(char *) "w",(char *) "h", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26720 if (SWIG_arg_fail(1)) SWIG_fail
;
26722 arg2
= (int)(SWIG_As_int(obj1
));
26723 if (SWIG_arg_fail(2)) SWIG_fail
;
26726 arg3
= (int)(SWIG_As_int(obj2
));
26727 if (SWIG_arg_fail(3)) SWIG_fail
;
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 (arg1
)->SetVirtualSize(arg2
,arg3
);
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 Py_INCREF(Py_None
); resultobj
= Py_None
;
26743 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxWindow
*arg1
= (wxWindow
*) 0 ;
26747 PyObject
* obj0
= 0 ;
26748 char *kwnames
[] = {
26749 (char *) "self", NULL
26752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26754 if (SWIG_arg_fail(1)) SWIG_fail
;
26756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26763 wxSize
* resultptr
;
26764 resultptr
= new wxSize((wxSize
&)(result
));
26765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26773 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26774 PyObject
*resultobj
;
26775 wxWindow
*arg1
= (wxWindow
*) 0 ;
26776 int *arg2
= (int *) 0 ;
26777 int *arg3
= (int *) 0 ;
26782 PyObject
* obj0
= 0 ;
26783 char *kwnames
[] = {
26784 (char *) "self", NULL
26787 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26788 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26791 if (SWIG_arg_fail(1)) SWIG_fail
;
26793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26794 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 Py_INCREF(Py_None
); resultobj
= Py_None
;
26800 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26801 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26802 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26803 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26810 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
;
26812 wxWindow
*arg1
= (wxWindow
*) 0 ;
26814 PyObject
* obj0
= 0 ;
26815 char *kwnames
[] = {
26816 (char *) "self", NULL
26819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26821 if (SWIG_arg_fail(1)) SWIG_fail
;
26823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26824 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26826 wxPyEndAllowThreads(__tstate
);
26827 if (PyErr_Occurred()) SWIG_fail
;
26830 wxSize
* resultptr
;
26831 resultptr
= new wxSize((wxSize
&)(result
));
26832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26840 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26841 PyObject
*resultobj
;
26842 wxWindow
*arg1
= (wxWindow
*) 0 ;
26843 bool arg2
= (bool) true ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 char *kwnames
[] = {
26848 (char *) "self",(char *) "show", NULL
26851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26853 if (SWIG_arg_fail(1)) SWIG_fail
;
26856 arg2
= (bool)(SWIG_As_bool(obj1
));
26857 if (SWIG_arg_fail(2)) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= (bool)(arg1
)->Show(arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26876 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
;
26878 wxWindow
*arg1
= (wxWindow
*) 0 ;
26880 PyObject
* obj0
= 0 ;
26881 char *kwnames
[] = {
26882 (char *) "self", NULL
26885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26887 if (SWIG_arg_fail(1)) SWIG_fail
;
26889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26890 result
= (bool)(arg1
)->Hide();
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26904 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
;
26906 wxWindow
*arg1
= (wxWindow
*) 0 ;
26907 bool arg2
= (bool) true ;
26909 PyObject
* obj0
= 0 ;
26910 PyObject
* obj1
= 0 ;
26911 char *kwnames
[] = {
26912 (char *) "self",(char *) "enable", NULL
26915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26917 if (SWIG_arg_fail(1)) SWIG_fail
;
26920 arg2
= (bool)(SWIG_As_bool(obj1
));
26921 if (SWIG_arg_fail(2)) SWIG_fail
;
26925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 result
= (bool)(arg1
)->Enable(arg2
);
26928 wxPyEndAllowThreads(__tstate
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26940 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxWindow
*arg1
= (wxWindow
*) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 char *kwnames
[] = {
26946 (char *) "self", NULL
26949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26951 if (SWIG_arg_fail(1)) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (bool)(arg1
)->Disable();
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26968 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxWindow
*arg1
= (wxWindow
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
26978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26979 if (SWIG_arg_fail(1)) SWIG_fail
;
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26996 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26997 PyObject
*resultobj
;
26998 wxWindow
*arg1
= (wxWindow
*) 0 ;
27000 PyObject
* obj0
= 0 ;
27001 char *kwnames
[] = {
27002 (char *) "self", NULL
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27007 if (SWIG_arg_fail(1)) SWIG_fail
;
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27024 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
;
27026 wxWindow
*arg1
= (wxWindow
*) 0 ;
27028 PyObject
* obj0
= 0 ;
27029 PyObject
* obj1
= 0 ;
27030 char *kwnames
[] = {
27031 (char *) "self",(char *) "style", NULL
27034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27036 if (SWIG_arg_fail(1)) SWIG_fail
;
27038 arg2
= (long)(SWIG_As_long(obj1
));
27039 if (SWIG_arg_fail(2)) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 (arg1
)->SetWindowStyleFlag(arg2
);
27045 wxPyEndAllowThreads(__tstate
);
27046 if (PyErr_Occurred()) SWIG_fail
;
27048 Py_INCREF(Py_None
); resultobj
= Py_None
;
27055 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27056 PyObject
*resultobj
;
27057 wxWindow
*arg1
= (wxWindow
*) 0 ;
27059 PyObject
* obj0
= 0 ;
27060 char *kwnames
[] = {
27061 (char *) "self", NULL
27064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27066 if (SWIG_arg_fail(1)) SWIG_fail
;
27068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27069 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27075 resultobj
= SWIG_From_long((long)(result
));
27083 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27084 PyObject
*resultobj
;
27085 wxWindow
*arg1
= (wxWindow
*) 0 ;
27088 PyObject
* obj0
= 0 ;
27089 PyObject
* obj1
= 0 ;
27090 char *kwnames
[] = {
27091 (char *) "self",(char *) "flag", NULL
27094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27096 if (SWIG_arg_fail(1)) SWIG_fail
;
27098 arg2
= (int)(SWIG_As_int(obj1
));
27099 if (SWIG_arg_fail(2)) SWIG_fail
;
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27105 wxPyEndAllowThreads(__tstate
);
27106 if (PyErr_Occurred()) SWIG_fail
;
27109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27117 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27118 PyObject
*resultobj
;
27119 wxWindow
*arg1
= (wxWindow
*) 0 ;
27121 PyObject
* obj0
= 0 ;
27122 char *kwnames
[] = {
27123 (char *) "self", NULL
27126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27128 if (SWIG_arg_fail(1)) SWIG_fail
;
27130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27131 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27145 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27146 PyObject
*resultobj
;
27147 wxWindow
*arg1
= (wxWindow
*) 0 ;
27149 PyObject
* obj0
= 0 ;
27150 PyObject
* obj1
= 0 ;
27151 char *kwnames
[] = {
27152 (char *) "self",(char *) "exStyle", NULL
27155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27157 if (SWIG_arg_fail(1)) SWIG_fail
;
27159 arg2
= (long)(SWIG_As_long(obj1
));
27160 if (SWIG_arg_fail(2)) SWIG_fail
;
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 (arg1
)->SetExtraStyle(arg2
);
27166 wxPyEndAllowThreads(__tstate
);
27167 if (PyErr_Occurred()) SWIG_fail
;
27169 Py_INCREF(Py_None
); resultobj
= Py_None
;
27176 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxWindow
*arg1
= (wxWindow
*) 0 ;
27180 PyObject
* obj0
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "self", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27187 if (SWIG_arg_fail(1)) SWIG_fail
;
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= SWIG_From_long((long)(result
));
27204 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxWindow
*arg1
= (wxWindow
*) 0 ;
27207 bool arg2
= (bool) true ;
27208 PyObject
* obj0
= 0 ;
27209 PyObject
* obj1
= 0 ;
27210 char *kwnames
[] = {
27211 (char *) "self",(char *) "modal", NULL
27214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27216 if (SWIG_arg_fail(1)) SWIG_fail
;
27219 arg2
= (bool)(SWIG_As_bool(obj1
));
27220 if (SWIG_arg_fail(2)) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 (arg1
)->MakeModal(arg2
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27230 Py_INCREF(Py_None
); resultobj
= Py_None
;
27237 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27238 PyObject
*resultobj
;
27239 wxWindow
*arg1
= (wxWindow
*) 0 ;
27241 PyObject
* obj0
= 0 ;
27242 PyObject
* obj1
= 0 ;
27243 char *kwnames
[] = {
27244 (char *) "self",(char *) "enableTheme", NULL
27247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27249 if (SWIG_arg_fail(1)) SWIG_fail
;
27251 arg2
= (bool)(SWIG_As_bool(obj1
));
27252 if (SWIG_arg_fail(2)) SWIG_fail
;
27255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27256 (arg1
)->SetThemeEnabled(arg2
);
27258 wxPyEndAllowThreads(__tstate
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 Py_INCREF(Py_None
); resultobj
= Py_None
;
27268 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27269 PyObject
*resultobj
;
27270 wxWindow
*arg1
= (wxWindow
*) 0 ;
27272 PyObject
* obj0
= 0 ;
27273 char *kwnames
[] = {
27274 (char *) "self", NULL
27277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27279 if (SWIG_arg_fail(1)) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27296 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27297 PyObject
*resultobj
;
27298 wxWindow
*arg1
= (wxWindow
*) 0 ;
27299 PyObject
* obj0
= 0 ;
27300 char *kwnames
[] = {
27301 (char *) "self", NULL
27304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27306 if (SWIG_arg_fail(1)) SWIG_fail
;
27308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27309 (arg1
)->SetFocus();
27311 wxPyEndAllowThreads(__tstate
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 Py_INCREF(Py_None
); resultobj
= Py_None
;
27321 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27322 PyObject
*resultobj
;
27323 wxWindow
*arg1
= (wxWindow
*) 0 ;
27324 PyObject
* obj0
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27331 if (SWIG_arg_fail(1)) SWIG_fail
;
27333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 (arg1
)->SetFocusFromKbd();
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27339 Py_INCREF(Py_None
); resultobj
= Py_None
;
27346 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
;
27349 char *kwnames
[] = {
27353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27355 if (!wxPyCheckForApp()) SWIG_fail
;
27356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27357 result
= (wxWindow
*)wxWindow::FindFocus();
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27363 resultobj
= wxPyMake_wxObject(result
, 0);
27371 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27372 PyObject
*resultobj
;
27373 wxWindow
*arg1
= (wxWindow
*) 0 ;
27375 PyObject
* obj0
= 0 ;
27376 char *kwnames
[] = {
27377 (char *) "self", NULL
27380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27382 if (SWIG_arg_fail(1)) SWIG_fail
;
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27399 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxWindow
*arg1
= (wxWindow
*) 0 ;
27403 PyObject
* obj0
= 0 ;
27404 char *kwnames
[] = {
27405 (char *) "self", NULL
27408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27410 if (SWIG_arg_fail(1)) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27427 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
;
27429 wxWindow
*arg1
= (wxWindow
*) 0 ;
27431 PyObject
* obj0
= 0 ;
27432 char *kwnames
[] = {
27433 (char *) "self", NULL
27436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27438 if (SWIG_arg_fail(1)) SWIG_fail
;
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27443 wxPyEndAllowThreads(__tstate
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= wxPyMake_wxObject(result
, 0);
27455 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27456 PyObject
*resultobj
;
27457 wxWindow
*arg1
= (wxWindow
*) 0 ;
27458 wxWindow
*arg2
= (wxWindow
*) 0 ;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 char *kwnames
[] = {
27463 (char *) "self",(char *) "child", NULL
27466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27468 if (SWIG_arg_fail(1)) SWIG_fail
;
27469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27470 if (SWIG_arg_fail(2)) SWIG_fail
;
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27479 resultobj
= wxPyMake_wxObject(result
, 0);
27487 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
;
27489 wxWindow
*arg1
= (wxWindow
*) 0 ;
27490 wxWindow
*arg2
= (wxWindow
*) 0 ;
27491 PyObject
* obj0
= 0 ;
27492 PyObject
* obj1
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self",(char *) "win", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27499 if (SWIG_arg_fail(1)) SWIG_fail
;
27500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27501 if (SWIG_arg_fail(2)) SWIG_fail
;
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 (arg1
)->SetTmpDefaultItem(arg2
);
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 Py_INCREF(Py_None
); resultobj
= Py_None
;
27516 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxWindow
*arg1
= (wxWindow
*) 0 ;
27519 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self",(char *) "flags", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27529 if (SWIG_arg_fail(1)) SWIG_fail
;
27532 arg2
= (int)(SWIG_As_int(obj1
));
27533 if (SWIG_arg_fail(2)) SWIG_fail
;
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 result
= (bool)(arg1
)->Navigate(arg2
);
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27552 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27553 PyObject
*resultobj
;
27554 wxWindow
*arg1
= (wxWindow
*) 0 ;
27555 wxWindow
*arg2
= (wxWindow
*) 0 ;
27556 PyObject
* obj0
= 0 ;
27557 PyObject
* obj1
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self",(char *) "win", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27564 if (SWIG_arg_fail(1)) SWIG_fail
;
27565 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27566 if (SWIG_arg_fail(2)) SWIG_fail
;
27568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27569 (arg1
)->MoveAfterInTabOrder(arg2
);
27571 wxPyEndAllowThreads(__tstate
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27574 Py_INCREF(Py_None
); resultobj
= Py_None
;
27581 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxWindow
*arg1
= (wxWindow
*) 0 ;
27584 wxWindow
*arg2
= (wxWindow
*) 0 ;
27585 PyObject
* obj0
= 0 ;
27586 PyObject
* obj1
= 0 ;
27587 char *kwnames
[] = {
27588 (char *) "self",(char *) "win", NULL
27591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27593 if (SWIG_arg_fail(1)) SWIG_fail
;
27594 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27595 if (SWIG_arg_fail(2)) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 (arg1
)->MoveBeforeInTabOrder(arg2
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 Py_INCREF(Py_None
); resultobj
= Py_None
;
27610 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27611 PyObject
*resultobj
;
27612 wxWindow
*arg1
= (wxWindow
*) 0 ;
27614 PyObject
* obj0
= 0 ;
27615 char *kwnames
[] = {
27616 (char *) "self", NULL
27619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27621 if (SWIG_arg_fail(1)) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= result
;
27636 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
;
27638 wxWindow
*arg1
= (wxWindow
*) 0 ;
27640 PyObject
* obj0
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27647 if (SWIG_arg_fail(1)) SWIG_fail
;
27649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27650 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= wxPyMake_wxObject(result
, 0);
27664 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxWindow
*arg1
= (wxWindow
*) 0 ;
27668 PyObject
* obj0
= 0 ;
27669 char *kwnames
[] = {
27670 (char *) "self", NULL
27673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27675 if (SWIG_arg_fail(1)) SWIG_fail
;
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27680 wxPyEndAllowThreads(__tstate
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27684 resultobj
= wxPyMake_wxObject(result
, 0);
27692 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27693 PyObject
*resultobj
;
27694 wxWindow
*arg1
= (wxWindow
*) 0 ;
27696 PyObject
* obj0
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27703 if (SWIG_arg_fail(1)) SWIG_fail
;
27705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27706 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27720 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27721 PyObject
*resultobj
;
27722 wxWindow
*arg1
= (wxWindow
*) 0 ;
27723 wxWindow
*arg2
= (wxWindow
*) 0 ;
27725 PyObject
* obj0
= 0 ;
27726 PyObject
* obj1
= 0 ;
27727 char *kwnames
[] = {
27728 (char *) "self",(char *) "newParent", NULL
27731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27733 if (SWIG_arg_fail(1)) SWIG_fail
;
27734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27735 if (SWIG_arg_fail(2)) SWIG_fail
;
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= (bool)(arg1
)->Reparent(arg2
);
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27752 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxWindow
*arg1
= (wxWindow
*) 0 ;
27755 wxWindow
*arg2
= (wxWindow
*) 0 ;
27756 PyObject
* obj0
= 0 ;
27757 PyObject
* obj1
= 0 ;
27758 char *kwnames
[] = {
27759 (char *) "self",(char *) "child", NULL
27762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27764 if (SWIG_arg_fail(1)) SWIG_fail
;
27765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27766 if (SWIG_arg_fail(2)) SWIG_fail
;
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 (arg1
)->AddChild(arg2
);
27771 wxPyEndAllowThreads(__tstate
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27774 Py_INCREF(Py_None
); resultobj
= Py_None
;
27781 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxWindow
*arg1
= (wxWindow
*) 0 ;
27784 wxWindow
*arg2
= (wxWindow
*) 0 ;
27785 PyObject
* obj0
= 0 ;
27786 PyObject
* obj1
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self",(char *) "child", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27793 if (SWIG_arg_fail(1)) SWIG_fail
;
27794 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27795 if (SWIG_arg_fail(2)) SWIG_fail
;
27797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27798 (arg1
)->RemoveChild(arg2
);
27800 wxPyEndAllowThreads(__tstate
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27803 Py_INCREF(Py_None
); resultobj
= Py_None
;
27810 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27811 PyObject
*resultobj
;
27812 wxWindow
*arg1
= (wxWindow
*) 0 ;
27815 PyObject
* obj0
= 0 ;
27816 PyObject
* obj1
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "self",(char *) "winid", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27823 if (SWIG_arg_fail(1)) SWIG_fail
;
27825 arg2
= (long)(SWIG_As_long(obj1
));
27826 if (SWIG_arg_fail(2)) SWIG_fail
;
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27832 wxPyEndAllowThreads(__tstate
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27836 resultobj
= wxPyMake_wxObject(result
, 0);
27844 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
;
27846 wxWindow
*arg1
= (wxWindow
*) 0 ;
27847 wxString
*arg2
= 0 ;
27849 bool temp2
= false ;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self",(char *) "name", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27858 if (SWIG_arg_fail(1)) SWIG_fail
;
27860 arg2
= wxString_in_helper(obj1
);
27861 if (arg2
== NULL
) SWIG_fail
;
27865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27866 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27868 wxPyEndAllowThreads(__tstate
);
27869 if (PyErr_Occurred()) SWIG_fail
;
27872 resultobj
= wxPyMake_wxObject(result
, 0);
27888 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
;
27890 wxWindow
*arg1
= (wxWindow
*) 0 ;
27891 wxEvtHandler
*result
;
27892 PyObject
* obj0
= 0 ;
27893 char *kwnames
[] = {
27894 (char *) "self", NULL
27897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27899 if (SWIG_arg_fail(1)) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= wxPyMake_wxObject(result
, 0);
27916 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
;
27918 wxWindow
*arg1
= (wxWindow
*) 0 ;
27919 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27920 PyObject
* obj0
= 0 ;
27921 PyObject
* obj1
= 0 ;
27922 char *kwnames
[] = {
27923 (char *) "self",(char *) "handler", NULL
27926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27928 if (SWIG_arg_fail(1)) SWIG_fail
;
27929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27930 if (SWIG_arg_fail(2)) SWIG_fail
;
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 (arg1
)->SetEventHandler(arg2
);
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27938 Py_INCREF(Py_None
); resultobj
= Py_None
;
27945 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxWindow
*arg1
= (wxWindow
*) 0 ;
27948 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27949 PyObject
* obj0
= 0 ;
27950 PyObject
* obj1
= 0 ;
27951 char *kwnames
[] = {
27952 (char *) "self",(char *) "handler", NULL
27955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27957 if (SWIG_arg_fail(1)) SWIG_fail
;
27958 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27959 if (SWIG_arg_fail(2)) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 (arg1
)->PushEventHandler(arg2
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27967 Py_INCREF(Py_None
); resultobj
= Py_None
;
27974 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27975 PyObject
*resultobj
;
27976 wxWindow
*arg1
= (wxWindow
*) 0 ;
27977 bool arg2
= (bool) false ;
27978 wxEvtHandler
*result
;
27979 PyObject
* obj0
= 0 ;
27980 PyObject
* obj1
= 0 ;
27981 char *kwnames
[] = {
27982 (char *) "self",(char *) "deleteHandler", NULL
27985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27987 if (SWIG_arg_fail(1)) SWIG_fail
;
27990 arg2
= (bool)(SWIG_As_bool(obj1
));
27991 if (SWIG_arg_fail(2)) SWIG_fail
;
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27996 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= wxPyMake_wxObject(result
, 0);
28010 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28011 PyObject
*resultobj
;
28012 wxWindow
*arg1
= (wxWindow
*) 0 ;
28013 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28015 PyObject
* obj0
= 0 ;
28016 PyObject
* obj1
= 0 ;
28017 char *kwnames
[] = {
28018 (char *) "self",(char *) "handler", NULL
28021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28022 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28023 if (SWIG_arg_fail(1)) SWIG_fail
;
28024 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28025 if (SWIG_arg_fail(2)) SWIG_fail
;
28027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28028 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28030 wxPyEndAllowThreads(__tstate
);
28031 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28042 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28043 PyObject
*resultobj
;
28044 wxWindow
*arg1
= (wxWindow
*) 0 ;
28045 wxValidator
*arg2
= 0 ;
28046 PyObject
* obj0
= 0 ;
28047 PyObject
* obj1
= 0 ;
28048 char *kwnames
[] = {
28049 (char *) "self",(char *) "validator", NULL
28052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28054 if (SWIG_arg_fail(1)) SWIG_fail
;
28056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28057 if (SWIG_arg_fail(2)) SWIG_fail
;
28058 if (arg2
== NULL
) {
28059 SWIG_null_ref("wxValidator");
28061 if (SWIG_arg_fail(2)) SWIG_fail
;
28064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28065 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28067 wxPyEndAllowThreads(__tstate
);
28068 if (PyErr_Occurred()) SWIG_fail
;
28070 Py_INCREF(Py_None
); resultobj
= Py_None
;
28077 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28078 PyObject
*resultobj
;
28079 wxWindow
*arg1
= (wxWindow
*) 0 ;
28080 wxValidator
*result
;
28081 PyObject
* obj0
= 0 ;
28082 char *kwnames
[] = {
28083 (char *) "self", NULL
28086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28088 if (SWIG_arg_fail(1)) SWIG_fail
;
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 result
= (wxValidator
*)(arg1
)->GetValidator();
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= wxPyMake_wxObject(result
, 0);
28105 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28106 PyObject
*resultobj
;
28107 wxWindow
*arg1
= (wxWindow
*) 0 ;
28109 PyObject
* obj0
= 0 ;
28110 char *kwnames
[] = {
28111 (char *) "self", NULL
28114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28116 if (SWIG_arg_fail(1)) SWIG_fail
;
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 result
= (bool)(arg1
)->Validate();
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28133 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28134 PyObject
*resultobj
;
28135 wxWindow
*arg1
= (wxWindow
*) 0 ;
28137 PyObject
* obj0
= 0 ;
28138 char *kwnames
[] = {
28139 (char *) "self", NULL
28142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28144 if (SWIG_arg_fail(1)) SWIG_fail
;
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 result
= (bool)(arg1
)->TransferDataToWindow();
28149 wxPyEndAllowThreads(__tstate
);
28150 if (PyErr_Occurred()) SWIG_fail
;
28153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28161 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28162 PyObject
*resultobj
;
28163 wxWindow
*arg1
= (wxWindow
*) 0 ;
28165 PyObject
* obj0
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28172 if (SWIG_arg_fail(1)) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 result
= (bool)(arg1
)->TransferDataFromWindow();
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28189 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28190 PyObject
*resultobj
;
28191 wxWindow
*arg1
= (wxWindow
*) 0 ;
28192 PyObject
* obj0
= 0 ;
28193 char *kwnames
[] = {
28194 (char *) "self", NULL
28197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28199 if (SWIG_arg_fail(1)) SWIG_fail
;
28201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28202 (arg1
)->InitDialog();
28204 wxPyEndAllowThreads(__tstate
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28207 Py_INCREF(Py_None
); resultobj
= Py_None
;
28214 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28215 PyObject
*resultobj
;
28216 wxWindow
*arg1
= (wxWindow
*) 0 ;
28217 wxAcceleratorTable
*arg2
= 0 ;
28218 PyObject
* obj0
= 0 ;
28219 PyObject
* obj1
= 0 ;
28220 char *kwnames
[] = {
28221 (char *) "self",(char *) "accel", NULL
28224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28226 if (SWIG_arg_fail(1)) SWIG_fail
;
28228 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28229 if (SWIG_arg_fail(2)) SWIG_fail
;
28230 if (arg2
== NULL
) {
28231 SWIG_null_ref("wxAcceleratorTable");
28233 if (SWIG_arg_fail(2)) SWIG_fail
;
28236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28237 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28242 Py_INCREF(Py_None
); resultobj
= Py_None
;
28249 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28250 PyObject
*resultobj
;
28251 wxWindow
*arg1
= (wxWindow
*) 0 ;
28252 wxAcceleratorTable
*result
;
28253 PyObject
* obj0
= 0 ;
28254 char *kwnames
[] = {
28255 (char *) "self", NULL
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28260 if (SWIG_arg_fail(1)) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28275 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
;
28277 wxWindow
*arg1
= (wxWindow
*) 0 ;
28282 PyObject
* obj0
= 0 ;
28283 PyObject
* obj1
= 0 ;
28284 PyObject
* obj2
= 0 ;
28285 PyObject
* obj3
= 0 ;
28286 char *kwnames
[] = {
28287 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28292 if (SWIG_arg_fail(1)) SWIG_fail
;
28294 arg2
= (int)(SWIG_As_int(obj1
));
28295 if (SWIG_arg_fail(2)) SWIG_fail
;
28298 arg3
= (int)(SWIG_As_int(obj2
));
28299 if (SWIG_arg_fail(3)) SWIG_fail
;
28302 arg4
= (int)(SWIG_As_int(obj3
));
28303 if (SWIG_arg_fail(4)) SWIG_fail
;
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28321 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28322 PyObject
*resultobj
;
28323 wxWindow
*arg1
= (wxWindow
*) 0 ;
28326 PyObject
* obj0
= 0 ;
28327 PyObject
* obj1
= 0 ;
28328 char *kwnames
[] = {
28329 (char *) "self",(char *) "hotkeyId", NULL
28332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28334 if (SWIG_arg_fail(1)) SWIG_fail
;
28336 arg2
= (int)(SWIG_As_int(obj1
));
28337 if (SWIG_arg_fail(2)) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28355 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28356 PyObject
*resultobj
;
28357 wxWindow
*arg1
= (wxWindow
*) 0 ;
28358 wxPoint
*arg2
= 0 ;
28361 PyObject
* obj0
= 0 ;
28362 PyObject
* obj1
= 0 ;
28363 char *kwnames
[] = {
28364 (char *) "self",(char *) "pt", NULL
28367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28369 if (SWIG_arg_fail(1)) SWIG_fail
;
28372 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28382 wxPoint
* resultptr
;
28383 resultptr
= new wxPoint((wxPoint
&)(result
));
28384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28392 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28393 PyObject
*resultobj
;
28394 wxWindow
*arg1
= (wxWindow
*) 0 ;
28398 PyObject
* obj0
= 0 ;
28399 PyObject
* obj1
= 0 ;
28400 char *kwnames
[] = {
28401 (char *) "self",(char *) "sz", NULL
28404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28406 if (SWIG_arg_fail(1)) SWIG_fail
;
28409 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28419 wxSize
* resultptr
;
28420 resultptr
= new wxSize((wxSize
&)(result
));
28421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28429 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
;
28431 wxWindow
*arg1
= (wxWindow
*) 0 ;
28432 wxPoint
*arg2
= 0 ;
28435 PyObject
* obj0
= 0 ;
28436 PyObject
* obj1
= 0 ;
28437 char *kwnames
[] = {
28438 (char *) "self",(char *) "pt", NULL
28441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28443 if (SWIG_arg_fail(1)) SWIG_fail
;
28446 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28450 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28456 wxPoint
* resultptr
;
28457 resultptr
= new wxPoint((wxPoint
&)(result
));
28458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28466 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28467 PyObject
*resultobj
;
28468 wxWindow
*arg1
= (wxWindow
*) 0 ;
28472 PyObject
* obj0
= 0 ;
28473 PyObject
* obj1
= 0 ;
28474 char *kwnames
[] = {
28475 (char *) "self",(char *) "sz", NULL
28478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28480 if (SWIG_arg_fail(1)) SWIG_fail
;
28483 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28493 wxSize
* resultptr
;
28494 resultptr
= new wxSize((wxSize
&)(result
));
28495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28503 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
;
28505 wxWindow
*arg1
= (wxWindow
*) 0 ;
28506 wxPoint
*arg2
= 0 ;
28509 PyObject
* obj0
= 0 ;
28510 PyObject
* obj1
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self",(char *) "pt", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28517 if (SWIG_arg_fail(1)) SWIG_fail
;
28520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28524 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28530 wxPoint
* resultptr
;
28531 resultptr
= new wxPoint((wxPoint
&)(result
));
28532 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28540 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxWindow
*arg1
= (wxWindow
*) 0 ;
28546 PyObject
* obj0
= 0 ;
28547 PyObject
* obj1
= 0 ;
28548 char *kwnames
[] = {
28549 (char *) "self",(char *) "sz", NULL
28552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28554 if (SWIG_arg_fail(1)) SWIG_fail
;
28557 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28567 wxSize
* resultptr
;
28568 resultptr
= new wxSize((wxSize
&)(result
));
28569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28577 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28578 PyObject
*resultobj
;
28579 wxWindow
*arg1
= (wxWindow
*) 0 ;
28582 PyObject
* obj0
= 0 ;
28583 PyObject
* obj1
= 0 ;
28584 PyObject
* obj2
= 0 ;
28585 char *kwnames
[] = {
28586 (char *) "self",(char *) "x",(char *) "y", NULL
28589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28591 if (SWIG_arg_fail(1)) SWIG_fail
;
28593 arg2
= (int)(SWIG_As_int(obj1
));
28594 if (SWIG_arg_fail(2)) SWIG_fail
;
28597 arg3
= (int)(SWIG_As_int(obj2
));
28598 if (SWIG_arg_fail(3)) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 (arg1
)->WarpPointer(arg2
,arg3
);
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28607 Py_INCREF(Py_None
); resultobj
= Py_None
;
28614 static PyObject
*_wrap_Window_CaptureMouse(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_CaptureMouse",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();
28627 (arg1
)->CaptureMouse();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 Py_INCREF(Py_None
); resultobj
= Py_None
;
28639 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28640 PyObject
*resultobj
;
28641 wxWindow
*arg1
= (wxWindow
*) 0 ;
28642 PyObject
* obj0
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "self", NULL
28647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28649 if (SWIG_arg_fail(1)) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 (arg1
)->ReleaseMouse();
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 Py_INCREF(Py_None
); resultobj
= Py_None
;
28664 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28665 PyObject
*resultobj
;
28667 char *kwnames
[] = {
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28673 if (!wxPyCheckForApp()) SWIG_fail
;
28674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28675 result
= (wxWindow
*)wxWindow::GetCapture();
28677 wxPyEndAllowThreads(__tstate
);
28678 if (PyErr_Occurred()) SWIG_fail
;
28681 resultobj
= wxPyMake_wxObject(result
, 0);
28689 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28690 PyObject
*resultobj
;
28691 wxWindow
*arg1
= (wxWindow
*) 0 ;
28693 PyObject
* obj0
= 0 ;
28694 char *kwnames
[] = {
28695 (char *) "self", NULL
28698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28700 if (SWIG_arg_fail(1)) SWIG_fail
;
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28717 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28718 PyObject
*resultobj
;
28719 wxWindow
*arg1
= (wxWindow
*) 0 ;
28720 bool arg2
= (bool) true ;
28721 wxRect
*arg3
= (wxRect
*) NULL
;
28722 PyObject
* obj0
= 0 ;
28723 PyObject
* obj1
= 0 ;
28724 PyObject
* obj2
= 0 ;
28725 char *kwnames
[] = {
28726 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28731 if (SWIG_arg_fail(1)) SWIG_fail
;
28734 arg2
= (bool)(SWIG_As_bool(obj1
));
28735 if (SWIG_arg_fail(2)) SWIG_fail
;
28739 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28740 if (SWIG_arg_fail(3)) SWIG_fail
;
28743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28744 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28746 wxPyEndAllowThreads(__tstate
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28749 Py_INCREF(Py_None
); resultobj
= Py_None
;
28756 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28757 PyObject
*resultobj
;
28758 wxWindow
*arg1
= (wxWindow
*) 0 ;
28760 bool arg3
= (bool) true ;
28762 PyObject
* obj0
= 0 ;
28763 PyObject
* obj1
= 0 ;
28764 PyObject
* obj2
= 0 ;
28765 char *kwnames
[] = {
28766 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28771 if (SWIG_arg_fail(1)) SWIG_fail
;
28774 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28778 arg3
= (bool)(SWIG_As_bool(obj2
));
28779 if (SWIG_arg_fail(3)) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 Py_INCREF(Py_None
); resultobj
= Py_None
;
28796 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28797 PyObject
*resultobj
;
28798 wxWindow
*arg1
= (wxWindow
*) 0 ;
28799 PyObject
* obj0
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "self", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28806 if (SWIG_arg_fail(1)) SWIG_fail
;
28808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 Py_INCREF(Py_None
); resultobj
= Py_None
;
28821 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28822 PyObject
*resultobj
;
28823 wxWindow
*arg1
= (wxWindow
*) 0 ;
28824 PyObject
* obj0
= 0 ;
28825 char *kwnames
[] = {
28826 (char *) "self", NULL
28829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28831 if (SWIG_arg_fail(1)) SWIG_fail
;
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 (arg1
)->ClearBackground();
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 Py_INCREF(Py_None
); resultobj
= Py_None
;
28846 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
;
28848 wxWindow
*arg1
= (wxWindow
*) 0 ;
28849 PyObject
* obj0
= 0 ;
28850 char *kwnames
[] = {
28851 (char *) "self", NULL
28854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28856 if (SWIG_arg_fail(1)) SWIG_fail
;
28858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 wxPyEndAllowThreads(__tstate
);
28862 if (PyErr_Occurred()) SWIG_fail
;
28864 Py_INCREF(Py_None
); resultobj
= Py_None
;
28871 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28872 PyObject
*resultobj
;
28873 wxWindow
*arg1
= (wxWindow
*) 0 ;
28874 PyObject
* obj0
= 0 ;
28875 char *kwnames
[] = {
28876 (char *) "self", NULL
28879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28881 if (SWIG_arg_fail(1)) SWIG_fail
;
28883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28886 wxPyEndAllowThreads(__tstate
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28889 Py_INCREF(Py_None
); resultobj
= Py_None
;
28896 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28897 PyObject
*resultobj
;
28898 wxWindow
*arg1
= (wxWindow
*) 0 ;
28900 PyObject
* obj0
= 0 ;
28901 PyObject
* obj1
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "self",(char *) "dc", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28908 if (SWIG_arg_fail(1)) SWIG_fail
;
28910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28911 if (SWIG_arg_fail(2)) SWIG_fail
;
28912 if (arg2
== NULL
) {
28913 SWIG_null_ref("wxDC");
28915 if (SWIG_arg_fail(2)) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 (arg1
)->PrepareDC(*arg2
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 Py_INCREF(Py_None
); resultobj
= Py_None
;
28931 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxWindow
*arg1
= (wxWindow
*) 0 ;
28935 PyObject
* obj0
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28942 if (SWIG_arg_fail(1)) SWIG_fail
;
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28946 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28947 result
= (wxRegion
*) &_result_ref
;
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28960 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28961 PyObject
*resultobj
;
28962 wxWindow
*arg1
= (wxWindow
*) 0 ;
28964 PyObject
* obj0
= 0 ;
28965 char *kwnames
[] = {
28966 (char *) "self", NULL
28969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
28970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28971 if (SWIG_arg_fail(1)) SWIG_fail
;
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
28976 wxPyEndAllowThreads(__tstate
);
28977 if (PyErr_Occurred()) SWIG_fail
;
28980 wxRect
* resultptr
;
28981 resultptr
= new wxRect((wxRect
&)(result
));
28982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28990 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28991 PyObject
*resultobj
;
28992 wxWindow
*arg1
= (wxWindow
*) 0 ;
28995 int arg4
= (int) 1 ;
28996 int arg5
= (int) 1 ;
28998 PyObject
* obj0
= 0 ;
28999 PyObject
* obj1
= 0 ;
29000 PyObject
* obj2
= 0 ;
29001 PyObject
* obj3
= 0 ;
29002 PyObject
* obj4
= 0 ;
29003 char *kwnames
[] = {
29004 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29009 if (SWIG_arg_fail(1)) SWIG_fail
;
29011 arg2
= (int)(SWIG_As_int(obj1
));
29012 if (SWIG_arg_fail(2)) SWIG_fail
;
29015 arg3
= (int)(SWIG_As_int(obj2
));
29016 if (SWIG_arg_fail(3)) SWIG_fail
;
29020 arg4
= (int)(SWIG_As_int(obj3
));
29021 if (SWIG_arg_fail(4)) SWIG_fail
;
29026 arg5
= (int)(SWIG_As_int(obj4
));
29027 if (SWIG_arg_fail(5)) SWIG_fail
;
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29034 wxPyEndAllowThreads(__tstate
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29046 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
;
29048 wxWindow
*arg1
= (wxWindow
*) 0 ;
29049 wxPoint
*arg2
= 0 ;
29052 PyObject
* obj0
= 0 ;
29053 PyObject
* obj1
= 0 ;
29054 char *kwnames
[] = {
29055 (char *) "self",(char *) "pt", NULL
29058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29060 if (SWIG_arg_fail(1)) SWIG_fail
;
29063 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29067 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29081 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29082 PyObject
*resultobj
;
29083 wxWindow
*arg1
= (wxWindow
*) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 char *kwnames
[] = {
29090 (char *) "self",(char *) "rect", NULL
29093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29095 if (SWIG_arg_fail(1)) SWIG_fail
;
29098 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29116 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxWindow
*arg1
= (wxWindow
*) 0 ;
29119 wxVisualAttributes result
;
29120 PyObject
* obj0
= 0 ;
29121 char *kwnames
[] = {
29122 (char *) "self", NULL
29125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29127 if (SWIG_arg_fail(1)) SWIG_fail
;
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29136 wxVisualAttributes
* resultptr
;
29137 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29146 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29147 PyObject
*resultobj
;
29148 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29149 wxVisualAttributes result
;
29150 PyObject
* obj0
= 0 ;
29151 char *kwnames
[] = {
29152 (char *) "variant", NULL
29155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29158 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29159 if (SWIG_arg_fail(1)) SWIG_fail
;
29163 if (!wxPyCheckForApp()) SWIG_fail
;
29164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29165 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29167 wxPyEndAllowThreads(__tstate
);
29168 if (PyErr_Occurred()) SWIG_fail
;
29171 wxVisualAttributes
* resultptr
;
29172 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29181 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
;
29183 wxWindow
*arg1
= (wxWindow
*) 0 ;
29184 wxColour
*arg2
= 0 ;
29187 PyObject
* obj0
= 0 ;
29188 PyObject
* obj1
= 0 ;
29189 char *kwnames
[] = {
29190 (char *) "self",(char *) "colour", NULL
29193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29195 if (SWIG_arg_fail(1)) SWIG_fail
;
29198 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29202 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
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_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxWindow
*arg1
= (wxWindow
*) 0 ;
29219 wxColour
*arg2
= 0 ;
29221 PyObject
* obj0
= 0 ;
29222 PyObject
* obj1
= 0 ;
29223 char *kwnames
[] = {
29224 (char *) "self",(char *) "colour", NULL
29227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29229 if (SWIG_arg_fail(1)) SWIG_fail
;
29232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 Py_INCREF(Py_None
); resultobj
= Py_None
;
29248 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
;
29250 wxWindow
*arg1
= (wxWindow
*) 0 ;
29251 wxColour
*arg2
= 0 ;
29254 PyObject
* obj0
= 0 ;
29255 PyObject
* obj1
= 0 ;
29256 char *kwnames
[] = {
29257 (char *) "self",(char *) "colour", NULL
29260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29262 if (SWIG_arg_fail(1)) SWIG_fail
;
29265 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29283 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29284 PyObject
*resultobj
;
29285 wxWindow
*arg1
= (wxWindow
*) 0 ;
29286 wxColour
*arg2
= 0 ;
29288 PyObject
* obj0
= 0 ;
29289 PyObject
* obj1
= 0 ;
29290 char *kwnames
[] = {
29291 (char *) "self",(char *) "colour", NULL
29294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",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
;
29299 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 Py_INCREF(Py_None
); resultobj
= Py_None
;
29315 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
;
29317 wxWindow
*arg1
= (wxWindow
*) 0 ;
29319 PyObject
* obj0
= 0 ;
29320 char *kwnames
[] = {
29321 (char *) "self", NULL
29324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29326 if (SWIG_arg_fail(1)) SWIG_fail
;
29328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29329 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29331 wxPyEndAllowThreads(__tstate
);
29332 if (PyErr_Occurred()) SWIG_fail
;
29335 wxColour
* resultptr
;
29336 resultptr
= new wxColour((wxColour
&)(result
));
29337 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29345 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
;
29347 wxWindow
*arg1
= (wxWindow
*) 0 ;
29349 PyObject
* obj0
= 0 ;
29350 char *kwnames
[] = {
29351 (char *) "self", NULL
29354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29356 if (SWIG_arg_fail(1)) SWIG_fail
;
29358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29365 wxColour
* resultptr
;
29366 resultptr
= new wxColour((wxColour
&)(result
));
29367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29375 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29376 PyObject
*resultobj
;
29377 wxWindow
*arg1
= (wxWindow
*) 0 ;
29378 wxBackgroundStyle arg2
;
29380 PyObject
* obj0
= 0 ;
29381 PyObject
* obj1
= 0 ;
29382 char *kwnames
[] = {
29383 (char *) "self",(char *) "style", NULL
29386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29388 if (SWIG_arg_fail(1)) SWIG_fail
;
29390 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29391 if (SWIG_arg_fail(2)) SWIG_fail
;
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29409 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
;
29411 wxWindow
*arg1
= (wxWindow
*) 0 ;
29412 wxBackgroundStyle result
;
29413 PyObject
* obj0
= 0 ;
29414 char *kwnames
[] = {
29415 (char *) "self", NULL
29418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29420 if (SWIG_arg_fail(1)) SWIG_fail
;
29422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29423 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 resultobj
= SWIG_From_int((result
));
29435 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
;
29437 wxWindow
*arg1
= (wxWindow
*) 0 ;
29439 PyObject
* obj0
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29446 if (SWIG_arg_fail(1)) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 result
= (bool)(arg1
)->HasTransparentBackground();
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29463 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
;
29465 wxWindow
*arg1
= (wxWindow
*) 0 ;
29466 wxCursor
*arg2
= 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self",(char *) "cursor", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29476 if (SWIG_arg_fail(1)) SWIG_fail
;
29478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29479 if (SWIG_arg_fail(2)) SWIG_fail
;
29480 if (arg2
== NULL
) {
29481 SWIG_null_ref("wxCursor");
29483 if (SWIG_arg_fail(2)) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29501 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29502 PyObject
*resultobj
;
29503 wxWindow
*arg1
= (wxWindow
*) 0 ;
29505 PyObject
* obj0
= 0 ;
29506 char *kwnames
[] = {
29507 (char *) "self", NULL
29510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29512 if (SWIG_arg_fail(1)) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 result
= (arg1
)->GetCursor();
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29521 wxCursor
* resultptr
;
29522 resultptr
= new wxCursor((wxCursor
&)(result
));
29523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29531 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29532 PyObject
*resultobj
;
29533 wxWindow
*arg1
= (wxWindow
*) 0 ;
29536 PyObject
* obj0
= 0 ;
29537 PyObject
* obj1
= 0 ;
29538 char *kwnames
[] = {
29539 (char *) "self",(char *) "font", NULL
29542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29547 if (SWIG_arg_fail(2)) SWIG_fail
;
29548 if (arg2
== NULL
) {
29549 SWIG_null_ref("wxFont");
29551 if (SWIG_arg_fail(2)) SWIG_fail
;
29554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29555 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29557 wxPyEndAllowThreads(__tstate
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29569 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29570 PyObject
*resultobj
;
29571 wxWindow
*arg1
= (wxWindow
*) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 char *kwnames
[] = {
29576 (char *) "self",(char *) "font", NULL
29579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29581 if (SWIG_arg_fail(1)) SWIG_fail
;
29583 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29584 if (SWIG_arg_fail(2)) SWIG_fail
;
29585 if (arg2
== NULL
) {
29586 SWIG_null_ref("wxFont");
29588 if (SWIG_arg_fail(2)) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 Py_INCREF(Py_None
); resultobj
= Py_None
;
29604 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
;
29606 wxWindow
*arg1
= (wxWindow
*) 0 ;
29608 PyObject
* obj0
= 0 ;
29609 char *kwnames
[] = {
29610 (char *) "self", NULL
29613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29615 if (SWIG_arg_fail(1)) SWIG_fail
;
29617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29618 result
= (arg1
)->GetFont();
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29624 wxFont
* resultptr
;
29625 resultptr
= new wxFont((wxFont
&)(result
));
29626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29634 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
;
29636 wxWindow
*arg1
= (wxWindow
*) 0 ;
29637 wxCaret
*arg2
= (wxCaret
*) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 char *kwnames
[] = {
29641 (char *) "self",(char *) "caret", NULL
29644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29646 if (SWIG_arg_fail(1)) SWIG_fail
;
29647 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29648 if (SWIG_arg_fail(2)) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 (arg1
)->SetCaret(arg2
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29656 Py_INCREF(Py_None
); resultobj
= Py_None
;
29663 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
;
29665 wxWindow
*arg1
= (wxWindow
*) 0 ;
29667 PyObject
* obj0
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29674 if (SWIG_arg_fail(1)) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29689 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxWindow
*arg1
= (wxWindow
*) 0 ;
29693 PyObject
* obj0
= 0 ;
29694 char *kwnames
[] = {
29695 (char *) "self", NULL
29698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29700 if (SWIG_arg_fail(1)) SWIG_fail
;
29702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29703 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 resultobj
= SWIG_From_int((int)(result
));
29717 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxWindow
*arg1
= (wxWindow
*) 0 ;
29721 PyObject
* obj0
= 0 ;
29722 char *kwnames
[] = {
29723 (char *) "self", NULL
29726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29728 if (SWIG_arg_fail(1)) SWIG_fail
;
29730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29731 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29733 wxPyEndAllowThreads(__tstate
);
29734 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= SWIG_From_int((int)(result
));
29745 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29746 PyObject
*resultobj
;
29747 wxWindow
*arg1
= (wxWindow
*) 0 ;
29748 wxString
*arg2
= 0 ;
29749 int *arg3
= (int *) 0 ;
29750 int *arg4
= (int *) 0 ;
29751 bool temp2
= false ;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "self",(char *) "string", NULL
29762 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29763 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29766 if (SWIG_arg_fail(1)) SWIG_fail
;
29768 arg2
= wxString_in_helper(obj1
);
29769 if (arg2
== NULL
) SWIG_fail
;
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 Py_INCREF(Py_None
); resultobj
= Py_None
;
29780 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29781 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29782 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29783 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29798 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
;
29800 wxWindow
*arg1
= (wxWindow
*) 0 ;
29801 wxString
*arg2
= 0 ;
29802 int *arg3
= (int *) 0 ;
29803 int *arg4
= (int *) 0 ;
29804 int *arg5
= (int *) 0 ;
29805 int *arg6
= (int *) 0 ;
29806 wxFont
*arg7
= (wxFont
*) NULL
;
29807 bool temp2
= false ;
29816 PyObject
* obj0
= 0 ;
29817 PyObject
* obj1
= 0 ;
29818 PyObject
* obj2
= 0 ;
29819 char *kwnames
[] = {
29820 (char *) "self",(char *) "string",(char *) "font", NULL
29823 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29824 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29825 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29826 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29829 if (SWIG_arg_fail(1)) SWIG_fail
;
29831 arg2
= wxString_in_helper(obj1
);
29832 if (arg2
== NULL
) SWIG_fail
;
29836 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29837 if (SWIG_arg_fail(7)) SWIG_fail
;
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29846 Py_INCREF(Py_None
); resultobj
= Py_None
;
29847 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29848 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29849 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29850 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29851 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29852 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29853 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29854 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29869 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
;
29871 wxWindow
*arg1
= (wxWindow
*) 0 ;
29872 int *arg2
= (int *) 0 ;
29873 int *arg3
= (int *) 0 ;
29878 PyObject
* obj0
= 0 ;
29879 PyObject
* obj1
= 0 ;
29880 PyObject
* obj2
= 0 ;
29881 char *kwnames
[] = {
29882 (char *) "self",(char *) "x",(char *) "y", NULL
29885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29887 if (SWIG_arg_fail(1)) SWIG_fail
;
29889 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29890 temp2
= SWIG_As_int(obj1
);
29891 if (SWIG_arg_fail(2)) SWIG_fail
;
29893 res2
= SWIG_NEWOBJ
;
29897 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29898 temp3
= SWIG_As_int(obj2
);
29899 if (SWIG_arg_fail(3)) SWIG_fail
;
29901 res3
= SWIG_NEWOBJ
;
29905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 Py_INCREF(Py_None
); resultobj
= Py_None
;
29912 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29913 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29914 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29915 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29922 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29923 PyObject
*resultobj
;
29924 wxWindow
*arg1
= (wxWindow
*) 0 ;
29925 int *arg2
= (int *) 0 ;
29926 int *arg3
= (int *) 0 ;
29931 PyObject
* obj0
= 0 ;
29932 PyObject
* obj1
= 0 ;
29933 PyObject
* obj2
= 0 ;
29934 char *kwnames
[] = {
29935 (char *) "self",(char *) "x",(char *) "y", NULL
29938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29940 if (SWIG_arg_fail(1)) SWIG_fail
;
29942 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29943 temp2
= SWIG_As_int(obj1
);
29944 if (SWIG_arg_fail(2)) SWIG_fail
;
29946 res2
= SWIG_NEWOBJ
;
29950 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29951 temp3
= SWIG_As_int(obj2
);
29952 if (SWIG_arg_fail(3)) SWIG_fail
;
29954 res3
= SWIG_NEWOBJ
;
29958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29959 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29964 Py_INCREF(Py_None
); resultobj
= Py_None
;
29965 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29966 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29967 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29968 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29975 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
;
29977 wxWindow
*arg1
= (wxWindow
*) 0 ;
29978 wxPoint
*arg2
= 0 ;
29981 PyObject
* obj0
= 0 ;
29982 PyObject
* obj1
= 0 ;
29983 char *kwnames
[] = {
29984 (char *) "self",(char *) "pt", NULL
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
29988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29989 if (SWIG_arg_fail(1)) SWIG_fail
;
29992 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30002 wxPoint
* resultptr
;
30003 resultptr
= new wxPoint((wxPoint
&)(result
));
30004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30012 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
;
30014 wxWindow
*arg1
= (wxWindow
*) 0 ;
30015 wxPoint
*arg2
= 0 ;
30018 PyObject
* obj0
= 0 ;
30019 PyObject
* obj1
= 0 ;
30020 char *kwnames
[] = {
30021 (char *) "self",(char *) "pt", NULL
30024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30026 if (SWIG_arg_fail(1)) SWIG_fail
;
30029 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30039 wxPoint
* resultptr
;
30040 resultptr
= new wxPoint((wxPoint
&)(result
));
30041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30049 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30050 PyObject
*resultobj
;
30051 wxWindow
*arg1
= (wxWindow
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 PyObject
* obj2
= 0 ;
30058 char *kwnames
[] = {
30059 (char *) "self",(char *) "x",(char *) "y", NULL
30062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30064 if (SWIG_arg_fail(1)) SWIG_fail
;
30066 arg2
= (int)(SWIG_As_int(obj1
));
30067 if (SWIG_arg_fail(2)) SWIG_fail
;
30070 arg3
= (int)(SWIG_As_int(obj2
));
30071 if (SWIG_arg_fail(3)) SWIG_fail
;
30074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30075 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30077 wxPyEndAllowThreads(__tstate
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30080 resultobj
= SWIG_From_int((result
));
30087 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
;
30089 wxWindow
*arg1
= (wxWindow
*) 0 ;
30090 wxPoint
*arg2
= 0 ;
30093 PyObject
* obj0
= 0 ;
30094 PyObject
* obj1
= 0 ;
30095 char *kwnames
[] = {
30096 (char *) "self",(char *) "pt", NULL
30099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30101 if (SWIG_arg_fail(1)) SWIG_fail
;
30104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30110 wxPyEndAllowThreads(__tstate
);
30111 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= SWIG_From_int((result
));
30120 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30121 PyObject
*resultobj
;
30122 wxWindow
*arg1
= (wxWindow
*) 0 ;
30125 PyObject
* obj0
= 0 ;
30126 PyObject
* obj1
= 0 ;
30128 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30130 if (SWIG_arg_fail(1)) SWIG_fail
;
30132 arg2
= (long)(SWIG_As_long(obj1
));
30133 if (SWIG_arg_fail(2)) SWIG_fail
;
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 resultobj
= SWIG_From_int((result
));
30149 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30150 PyObject
*resultobj
;
30151 wxWindow
*arg1
= (wxWindow
*) 0 ;
30153 PyObject
* obj0
= 0 ;
30155 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30157 if (SWIG_arg_fail(1)) SWIG_fail
;
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 resultobj
= SWIG_From_int((result
));
30172 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30177 argc
= PyObject_Length(args
);
30178 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30179 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30185 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30193 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30200 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30208 _v
= SWIG_Check_long(argv
[1]);
30210 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30215 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30220 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
;
30222 wxWindow
*arg1
= (wxWindow
*) 0 ;
30223 long arg2
= (long) wxUPDATE_UI_NONE
;
30224 PyObject
* obj0
= 0 ;
30225 PyObject
* obj1
= 0 ;
30226 char *kwnames
[] = {
30227 (char *) "self",(char *) "flags", NULL
30230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30232 if (SWIG_arg_fail(1)) SWIG_fail
;
30235 arg2
= (long)(SWIG_As_long(obj1
));
30236 if (SWIG_arg_fail(2)) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 (arg1
)->UpdateWindowUI(arg2
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 Py_INCREF(Py_None
); resultobj
= Py_None
;
30253 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
;
30255 wxWindow
*arg1
= (wxWindow
*) 0 ;
30256 wxMenu
*arg2
= (wxMenu
*) 0 ;
30257 int arg3
= (int) -1 ;
30258 int arg4
= (int) -1 ;
30260 PyObject
* obj0
= 0 ;
30261 PyObject
* obj1
= 0 ;
30262 PyObject
* obj2
= 0 ;
30263 PyObject
* obj3
= 0 ;
30264 char *kwnames
[] = {
30265 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30270 if (SWIG_arg_fail(1)) SWIG_fail
;
30271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30272 if (SWIG_arg_fail(2)) SWIG_fail
;
30275 arg3
= (int)(SWIG_As_int(obj2
));
30276 if (SWIG_arg_fail(3)) SWIG_fail
;
30281 arg4
= (int)(SWIG_As_int(obj3
));
30282 if (SWIG_arg_fail(4)) SWIG_fail
;
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30301 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
;
30303 wxWindow
*arg1
= (wxWindow
*) 0 ;
30304 wxMenu
*arg2
= (wxMenu
*) 0 ;
30305 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30306 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30309 PyObject
* obj0
= 0 ;
30310 PyObject
* obj1
= 0 ;
30311 PyObject
* obj2
= 0 ;
30312 char *kwnames
[] = {
30313 (char *) "self",(char *) "menu",(char *) "pos", NULL
30316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30318 if (SWIG_arg_fail(1)) SWIG_fail
;
30319 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30320 if (SWIG_arg_fail(2)) SWIG_fail
;
30324 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30331 wxPyEndAllowThreads(__tstate
);
30332 if (PyErr_Occurred()) SWIG_fail
;
30335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30343 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxWindow
*arg1
= (wxWindow
*) 0 ;
30347 PyObject
* obj0
= 0 ;
30348 char *kwnames
[] = {
30349 (char *) "self", NULL
30352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30354 if (SWIG_arg_fail(1)) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (long)wxWindow_GetHandle(arg1
);
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= SWIG_From_long((long)(result
));
30371 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxWindow
*arg1
= (wxWindow
*) 0 ;
30375 PyObject
* obj0
= 0 ;
30376 PyObject
* obj1
= 0 ;
30377 char *kwnames
[] = {
30378 (char *) "self",(char *) "handle", NULL
30381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30383 if (SWIG_arg_fail(1)) SWIG_fail
;
30385 arg2
= (long)(SWIG_As_long(obj1
));
30386 if (SWIG_arg_fail(2)) SWIG_fail
;
30389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30390 wxWindow_AssociateHandle(arg1
,arg2
);
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 Py_INCREF(Py_None
); resultobj
= Py_None
;
30402 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
;
30404 wxWindow
*arg1
= (wxWindow
*) 0 ;
30405 PyObject
* obj0
= 0 ;
30406 char *kwnames
[] = {
30407 (char *) "self", NULL
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30412 if (SWIG_arg_fail(1)) SWIG_fail
;
30414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30415 (arg1
)->DissociateHandle();
30417 wxPyEndAllowThreads(__tstate
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30420 Py_INCREF(Py_None
); resultobj
= Py_None
;
30427 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30428 PyObject
*resultobj
;
30429 wxWindow
*arg1
= (wxWindow
*) 0 ;
30432 PyObject
* obj0
= 0 ;
30433 PyObject
* obj1
= 0 ;
30434 char *kwnames
[] = {
30435 (char *) "self",(char *) "orient", NULL
30438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30440 if (SWIG_arg_fail(1)) SWIG_fail
;
30442 arg2
= (int)(SWIG_As_int(obj1
));
30443 if (SWIG_arg_fail(2)) SWIG_fail
;
30446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30449 wxPyEndAllowThreads(__tstate
);
30450 if (PyErr_Occurred()) SWIG_fail
;
30453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30461 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30462 PyObject
*resultobj
;
30463 wxWindow
*arg1
= (wxWindow
*) 0 ;
30468 bool arg6
= (bool) true ;
30469 PyObject
* obj0
= 0 ;
30470 PyObject
* obj1
= 0 ;
30471 PyObject
* obj2
= 0 ;
30472 PyObject
* obj3
= 0 ;
30473 PyObject
* obj4
= 0 ;
30474 PyObject
* obj5
= 0 ;
30475 char *kwnames
[] = {
30476 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30481 if (SWIG_arg_fail(1)) SWIG_fail
;
30483 arg2
= (int)(SWIG_As_int(obj1
));
30484 if (SWIG_arg_fail(2)) SWIG_fail
;
30487 arg3
= (int)(SWIG_As_int(obj2
));
30488 if (SWIG_arg_fail(3)) SWIG_fail
;
30491 arg4
= (int)(SWIG_As_int(obj3
));
30492 if (SWIG_arg_fail(4)) SWIG_fail
;
30495 arg5
= (int)(SWIG_As_int(obj4
));
30496 if (SWIG_arg_fail(5)) SWIG_fail
;
30500 arg6
= (bool)(SWIG_As_bool(obj5
));
30501 if (SWIG_arg_fail(6)) SWIG_fail
;
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 Py_INCREF(Py_None
); resultobj
= Py_None
;
30518 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
;
30520 wxWindow
*arg1
= (wxWindow
*) 0 ;
30523 bool arg4
= (bool) true ;
30524 PyObject
* obj0
= 0 ;
30525 PyObject
* obj1
= 0 ;
30526 PyObject
* obj2
= 0 ;
30527 PyObject
* obj3
= 0 ;
30528 char *kwnames
[] = {
30529 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30534 if (SWIG_arg_fail(1)) SWIG_fail
;
30536 arg2
= (int)(SWIG_As_int(obj1
));
30537 if (SWIG_arg_fail(2)) SWIG_fail
;
30540 arg3
= (int)(SWIG_As_int(obj2
));
30541 if (SWIG_arg_fail(3)) SWIG_fail
;
30545 arg4
= (bool)(SWIG_As_bool(obj3
));
30546 if (SWIG_arg_fail(4)) SWIG_fail
;
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30556 Py_INCREF(Py_None
); resultobj
= Py_None
;
30563 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30564 PyObject
*resultobj
;
30565 wxWindow
*arg1
= (wxWindow
*) 0 ;
30568 PyObject
* obj0
= 0 ;
30569 PyObject
* obj1
= 0 ;
30570 char *kwnames
[] = {
30571 (char *) "self",(char *) "orientation", NULL
30574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30576 if (SWIG_arg_fail(1)) SWIG_fail
;
30578 arg2
= (int)(SWIG_As_int(obj1
));
30579 if (SWIG_arg_fail(2)) SWIG_fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= SWIG_From_int((int)(result
));
30597 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30598 PyObject
*resultobj
;
30599 wxWindow
*arg1
= (wxWindow
*) 0 ;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 char *kwnames
[] = {
30605 (char *) "self",(char *) "orientation", NULL
30608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30610 if (SWIG_arg_fail(1)) SWIG_fail
;
30612 arg2
= (int)(SWIG_As_int(obj1
));
30613 if (SWIG_arg_fail(2)) SWIG_fail
;
30616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30617 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30619 wxPyEndAllowThreads(__tstate
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= SWIG_From_int((int)(result
));
30631 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30632 PyObject
*resultobj
;
30633 wxWindow
*arg1
= (wxWindow
*) 0 ;
30636 PyObject
* obj0
= 0 ;
30637 PyObject
* obj1
= 0 ;
30638 char *kwnames
[] = {
30639 (char *) "self",(char *) "orientation", NULL
30642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30644 if (SWIG_arg_fail(1)) SWIG_fail
;
30646 arg2
= (int)(SWIG_As_int(obj1
));
30647 if (SWIG_arg_fail(2)) SWIG_fail
;
30650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30651 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30653 wxPyEndAllowThreads(__tstate
);
30654 if (PyErr_Occurred()) SWIG_fail
;
30657 resultobj
= SWIG_From_int((int)(result
));
30665 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30666 PyObject
*resultobj
;
30667 wxWindow
*arg1
= (wxWindow
*) 0 ;
30670 wxRect
*arg4
= (wxRect
*) NULL
;
30671 PyObject
* obj0
= 0 ;
30672 PyObject
* obj1
= 0 ;
30673 PyObject
* obj2
= 0 ;
30674 PyObject
* obj3
= 0 ;
30675 char *kwnames
[] = {
30676 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30681 if (SWIG_arg_fail(1)) SWIG_fail
;
30683 arg2
= (int)(SWIG_As_int(obj1
));
30684 if (SWIG_arg_fail(2)) SWIG_fail
;
30687 arg3
= (int)(SWIG_As_int(obj2
));
30688 if (SWIG_arg_fail(3)) SWIG_fail
;
30691 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30692 if (SWIG_arg_fail(4)) SWIG_fail
;
30695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30696 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30701 Py_INCREF(Py_None
); resultobj
= Py_None
;
30708 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30709 PyObject
*resultobj
;
30710 wxWindow
*arg1
= (wxWindow
*) 0 ;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 char *kwnames
[] = {
30716 (char *) "self",(char *) "lines", NULL
30719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30721 if (SWIG_arg_fail(1)) SWIG_fail
;
30723 arg2
= (int)(SWIG_As_int(obj1
));
30724 if (SWIG_arg_fail(2)) SWIG_fail
;
30727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30728 result
= (bool)(arg1
)->ScrollLines(arg2
);
30730 wxPyEndAllowThreads(__tstate
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30742 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30743 PyObject
*resultobj
;
30744 wxWindow
*arg1
= (wxWindow
*) 0 ;
30747 PyObject
* obj0
= 0 ;
30748 PyObject
* obj1
= 0 ;
30749 char *kwnames
[] = {
30750 (char *) "self",(char *) "pages", NULL
30753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30755 if (SWIG_arg_fail(1)) SWIG_fail
;
30757 arg2
= (int)(SWIG_As_int(obj1
));
30758 if (SWIG_arg_fail(2)) SWIG_fail
;
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 result
= (bool)(arg1
)->ScrollPages(arg2
);
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30776 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30777 PyObject
*resultobj
;
30778 wxWindow
*arg1
= (wxWindow
*) 0 ;
30780 PyObject
* obj0
= 0 ;
30781 char *kwnames
[] = {
30782 (char *) "self", NULL
30785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30787 if (SWIG_arg_fail(1)) SWIG_fail
;
30789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30790 result
= (bool)(arg1
)->LineUp();
30792 wxPyEndAllowThreads(__tstate
);
30793 if (PyErr_Occurred()) SWIG_fail
;
30796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30804 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxWindow
*arg1
= (wxWindow
*) 0 ;
30808 PyObject
* obj0
= 0 ;
30809 char *kwnames
[] = {
30810 (char *) "self", NULL
30813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30815 if (SWIG_arg_fail(1)) SWIG_fail
;
30817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30818 result
= (bool)(arg1
)->LineDown();
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30832 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
;
30834 wxWindow
*arg1
= (wxWindow
*) 0 ;
30836 PyObject
* obj0
= 0 ;
30837 char *kwnames
[] = {
30838 (char *) "self", NULL
30841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30843 if (SWIG_arg_fail(1)) SWIG_fail
;
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 result
= (bool)(arg1
)->PageUp();
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30860 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
;
30862 wxWindow
*arg1
= (wxWindow
*) 0 ;
30864 PyObject
* obj0
= 0 ;
30865 char *kwnames
[] = {
30866 (char *) "self", NULL
30869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30871 if (SWIG_arg_fail(1)) SWIG_fail
;
30873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30874 result
= (bool)(arg1
)->PageDown();
30876 wxPyEndAllowThreads(__tstate
);
30877 if (PyErr_Occurred()) SWIG_fail
;
30880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30888 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30889 PyObject
*resultobj
;
30890 wxWindow
*arg1
= (wxWindow
*) 0 ;
30891 wxString
*arg2
= 0 ;
30892 bool temp2
= false ;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 char *kwnames
[] = {
30896 (char *) "self",(char *) "text", NULL
30899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30901 if (SWIG_arg_fail(1)) SWIG_fail
;
30903 arg2
= wxString_in_helper(obj1
);
30904 if (arg2
== NULL
) SWIG_fail
;
30908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30909 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30911 wxPyEndAllowThreads(__tstate
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30914 Py_INCREF(Py_None
); resultobj
= Py_None
;
30929 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30930 PyObject
*resultobj
;
30931 wxWindow
*arg1
= (wxWindow
*) 0 ;
30932 wxString
*arg2
= 0 ;
30933 bool temp2
= false ;
30934 PyObject
* obj0
= 0 ;
30935 PyObject
* obj1
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self",(char *) "text", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30942 if (SWIG_arg_fail(1)) SWIG_fail
;
30944 arg2
= wxString_in_helper(obj1
);
30945 if (arg2
== NULL
) SWIG_fail
;
30949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30950 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30955 Py_INCREF(Py_None
); resultobj
= Py_None
;
30970 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30971 PyObject
*resultobj
;
30972 wxWindow
*arg1
= (wxWindow
*) 0 ;
30974 PyObject
* obj0
= 0 ;
30975 char *kwnames
[] = {
30976 (char *) "self", NULL
30979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
30980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30981 if (SWIG_arg_fail(1)) SWIG_fail
;
30983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30984 result
= ((wxWindow
const *)arg1
)->GetHelpText();
30986 wxPyEndAllowThreads(__tstate
);
30987 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31002 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31003 PyObject
*resultobj
;
31004 wxWindow
*arg1
= (wxWindow
*) 0 ;
31005 wxString
*arg2
= 0 ;
31006 bool temp2
= false ;
31007 PyObject
* obj0
= 0 ;
31008 PyObject
* obj1
= 0 ;
31009 char *kwnames
[] = {
31010 (char *) "self",(char *) "tip", NULL
31013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31015 if (SWIG_arg_fail(1)) SWIG_fail
;
31017 arg2
= wxString_in_helper(obj1
);
31018 if (arg2
== NULL
) SWIG_fail
;
31022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31025 wxPyEndAllowThreads(__tstate
);
31026 if (PyErr_Occurred()) SWIG_fail
;
31028 Py_INCREF(Py_None
); resultobj
= Py_None
;
31043 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31044 PyObject
*resultobj
;
31045 wxWindow
*arg1
= (wxWindow
*) 0 ;
31046 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31047 PyObject
* obj0
= 0 ;
31048 PyObject
* obj1
= 0 ;
31049 char *kwnames
[] = {
31050 (char *) "self",(char *) "tip", NULL
31053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31055 if (SWIG_arg_fail(1)) SWIG_fail
;
31056 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31057 if (SWIG_arg_fail(2)) SWIG_fail
;
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 (arg1
)->SetToolTip(arg2
);
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31065 Py_INCREF(Py_None
); resultobj
= Py_None
;
31072 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31073 PyObject
*resultobj
;
31074 wxWindow
*arg1
= (wxWindow
*) 0 ;
31076 PyObject
* obj0
= 0 ;
31077 char *kwnames
[] = {
31078 (char *) "self", NULL
31081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31083 if (SWIG_arg_fail(1)) SWIG_fail
;
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31088 wxPyEndAllowThreads(__tstate
);
31089 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= wxPyMake_wxObject(result
, 0);
31100 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
;
31102 wxWindow
*arg1
= (wxWindow
*) 0 ;
31103 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31104 PyObject
* obj0
= 0 ;
31105 PyObject
* obj1
= 0 ;
31106 char *kwnames
[] = {
31107 (char *) "self",(char *) "dropTarget", NULL
31110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31112 if (SWIG_arg_fail(1)) SWIG_fail
;
31113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31114 if (SWIG_arg_fail(2)) SWIG_fail
;
31116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 (arg1
)->SetDropTarget(arg2
);
31119 wxPyEndAllowThreads(__tstate
);
31120 if (PyErr_Occurred()) SWIG_fail
;
31122 Py_INCREF(Py_None
); resultobj
= Py_None
;
31129 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31130 PyObject
*resultobj
;
31131 wxWindow
*arg1
= (wxWindow
*) 0 ;
31132 wxPyDropTarget
*result
;
31133 PyObject
* obj0
= 0 ;
31134 char *kwnames
[] = {
31135 (char *) "self", NULL
31138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31140 if (SWIG_arg_fail(1)) SWIG_fail
;
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31145 wxPyEndAllowThreads(__tstate
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31155 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
;
31157 wxWindow
*arg1
= (wxWindow
*) 0 ;
31158 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31159 PyObject
* obj0
= 0 ;
31160 PyObject
* obj1
= 0 ;
31161 char *kwnames
[] = {
31162 (char *) "self",(char *) "constraints", NULL
31165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31167 if (SWIG_arg_fail(1)) SWIG_fail
;
31168 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31169 if (SWIG_arg_fail(2)) SWIG_fail
;
31171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31172 (arg1
)->SetConstraints(arg2
);
31174 wxPyEndAllowThreads(__tstate
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 Py_INCREF(Py_None
); resultobj
= Py_None
;
31184 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31185 PyObject
*resultobj
;
31186 wxWindow
*arg1
= (wxWindow
*) 0 ;
31187 wxLayoutConstraints
*result
;
31188 PyObject
* obj0
= 0 ;
31189 char *kwnames
[] = {
31190 (char *) "self", NULL
31193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31195 if (SWIG_arg_fail(1)) SWIG_fail
;
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31198 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31200 wxPyEndAllowThreads(__tstate
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31210 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31211 PyObject
*resultobj
;
31212 wxWindow
*arg1
= (wxWindow
*) 0 ;
31214 PyObject
* obj0
= 0 ;
31215 PyObject
* obj1
= 0 ;
31216 char *kwnames
[] = {
31217 (char *) "self",(char *) "autoLayout", NULL
31220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31222 if (SWIG_arg_fail(1)) SWIG_fail
;
31224 arg2
= (bool)(SWIG_As_bool(obj1
));
31225 if (SWIG_arg_fail(2)) SWIG_fail
;
31228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31229 (arg1
)->SetAutoLayout(arg2
);
31231 wxPyEndAllowThreads(__tstate
);
31232 if (PyErr_Occurred()) SWIG_fail
;
31234 Py_INCREF(Py_None
); resultobj
= Py_None
;
31241 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31242 PyObject
*resultobj
;
31243 wxWindow
*arg1
= (wxWindow
*) 0 ;
31245 PyObject
* obj0
= 0 ;
31246 char *kwnames
[] = {
31247 (char *) "self", NULL
31250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31252 if (SWIG_arg_fail(1)) SWIG_fail
;
31254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31255 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31257 wxPyEndAllowThreads(__tstate
);
31258 if (PyErr_Occurred()) SWIG_fail
;
31261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31269 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
;
31271 wxWindow
*arg1
= (wxWindow
*) 0 ;
31273 PyObject
* obj0
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31280 if (SWIG_arg_fail(1)) SWIG_fail
;
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 result
= (bool)(arg1
)->Layout();
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31297 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31298 PyObject
*resultobj
;
31299 wxWindow
*arg1
= (wxWindow
*) 0 ;
31300 wxSizer
*arg2
= (wxSizer
*) 0 ;
31301 bool arg3
= (bool) true ;
31302 PyObject
* obj0
= 0 ;
31303 PyObject
* obj1
= 0 ;
31304 PyObject
* obj2
= 0 ;
31305 char *kwnames
[] = {
31306 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31311 if (SWIG_arg_fail(1)) SWIG_fail
;
31312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31313 if (SWIG_arg_fail(2)) SWIG_fail
;
31316 arg3
= (bool)(SWIG_As_bool(obj2
));
31317 if (SWIG_arg_fail(3)) SWIG_fail
;
31321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31322 (arg1
)->SetSizer(arg2
,arg3
);
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 Py_INCREF(Py_None
); resultobj
= Py_None
;
31334 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31335 PyObject
*resultobj
;
31336 wxWindow
*arg1
= (wxWindow
*) 0 ;
31337 wxSizer
*arg2
= (wxSizer
*) 0 ;
31338 bool arg3
= (bool) true ;
31339 PyObject
* obj0
= 0 ;
31340 PyObject
* obj1
= 0 ;
31341 PyObject
* obj2
= 0 ;
31342 char *kwnames
[] = {
31343 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31348 if (SWIG_arg_fail(1)) SWIG_fail
;
31349 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31350 if (SWIG_arg_fail(2)) SWIG_fail
;
31353 arg3
= (bool)(SWIG_As_bool(obj2
));
31354 if (SWIG_arg_fail(3)) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31361 wxPyEndAllowThreads(__tstate
);
31362 if (PyErr_Occurred()) SWIG_fail
;
31364 Py_INCREF(Py_None
); resultobj
= Py_None
;
31371 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31372 PyObject
*resultobj
;
31373 wxWindow
*arg1
= (wxWindow
*) 0 ;
31375 PyObject
* obj0
= 0 ;
31376 char *kwnames
[] = {
31377 (char *) "self", NULL
31380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31382 if (SWIG_arg_fail(1)) SWIG_fail
;
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31387 wxPyEndAllowThreads(__tstate
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31391 resultobj
= wxPyMake_wxSizer(result
, 0);
31399 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31400 PyObject
*resultobj
;
31401 wxWindow
*arg1
= (wxWindow
*) 0 ;
31402 wxSizer
*arg2
= (wxSizer
*) 0 ;
31403 PyObject
* obj0
= 0 ;
31404 PyObject
* obj1
= 0 ;
31405 char *kwnames
[] = {
31406 (char *) "self",(char *) "sizer", NULL
31409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31411 if (SWIG_arg_fail(1)) SWIG_fail
;
31412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31413 if (SWIG_arg_fail(2)) SWIG_fail
;
31415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31416 (arg1
)->SetContainingSizer(arg2
);
31418 wxPyEndAllowThreads(__tstate
);
31419 if (PyErr_Occurred()) SWIG_fail
;
31421 Py_INCREF(Py_None
); resultobj
= Py_None
;
31428 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
;
31430 wxWindow
*arg1
= (wxWindow
*) 0 ;
31432 PyObject
* obj0
= 0 ;
31433 char *kwnames
[] = {
31434 (char *) "self", NULL
31437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31439 if (SWIG_arg_fail(1)) SWIG_fail
;
31441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31442 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31444 wxPyEndAllowThreads(__tstate
);
31445 if (PyErr_Occurred()) SWIG_fail
;
31448 resultobj
= wxPyMake_wxSizer(result
, 0);
31456 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
;
31458 wxWindow
*arg1
= (wxWindow
*) 0 ;
31459 PyObject
* obj0
= 0 ;
31460 char *kwnames
[] = {
31461 (char *) "self", NULL
31464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31466 if (SWIG_arg_fail(1)) SWIG_fail
;
31468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31469 (arg1
)->InheritAttributes();
31471 wxPyEndAllowThreads(__tstate
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31474 Py_INCREF(Py_None
); resultobj
= Py_None
;
31481 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31482 PyObject
*resultobj
;
31483 wxWindow
*arg1
= (wxWindow
*) 0 ;
31485 PyObject
* obj0
= 0 ;
31486 char *kwnames
[] = {
31487 (char *) "self", NULL
31490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31492 if (SWIG_arg_fail(1)) SWIG_fail
;
31494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31497 wxPyEndAllowThreads(__tstate
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31509 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31512 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31514 return Py_BuildValue((char *)"");
31516 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31517 PyObject
*resultobj
;
31519 wxWindow
*arg2
= (wxWindow
*) NULL
;
31521 PyObject
* obj0
= 0 ;
31522 PyObject
* obj1
= 0 ;
31523 char *kwnames
[] = {
31524 (char *) "id",(char *) "parent", NULL
31527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31529 arg1
= (long)(SWIG_As_long(obj0
));
31530 if (SWIG_arg_fail(1)) SWIG_fail
;
31533 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31534 if (SWIG_arg_fail(2)) SWIG_fail
;
31537 if (!wxPyCheckForApp()) SWIG_fail
;
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31541 wxPyEndAllowThreads(__tstate
);
31542 if (PyErr_Occurred()) SWIG_fail
;
31545 resultobj
= wxPyMake_wxObject(result
, 0);
31553 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
;
31555 wxString
*arg1
= 0 ;
31556 wxWindow
*arg2
= (wxWindow
*) NULL
;
31558 bool temp1
= false ;
31559 PyObject
* obj0
= 0 ;
31560 PyObject
* obj1
= 0 ;
31561 char *kwnames
[] = {
31562 (char *) "name",(char *) "parent", NULL
31565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31567 arg1
= wxString_in_helper(obj0
);
31568 if (arg1
== NULL
) SWIG_fail
;
31572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31573 if (SWIG_arg_fail(2)) SWIG_fail
;
31576 if (!wxPyCheckForApp()) SWIG_fail
;
31577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31578 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31580 wxPyEndAllowThreads(__tstate
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31584 resultobj
= wxPyMake_wxObject(result
, 0);
31600 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31601 PyObject
*resultobj
;
31602 wxString
*arg1
= 0 ;
31603 wxWindow
*arg2
= (wxWindow
*) NULL
;
31605 bool temp1
= false ;
31606 PyObject
* obj0
= 0 ;
31607 PyObject
* obj1
= 0 ;
31608 char *kwnames
[] = {
31609 (char *) "label",(char *) "parent", NULL
31612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31614 arg1
= wxString_in_helper(obj0
);
31615 if (arg1
== NULL
) SWIG_fail
;
31619 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31620 if (SWIG_arg_fail(2)) SWIG_fail
;
31623 if (!wxPyCheckForApp()) SWIG_fail
;
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31631 resultobj
= wxPyMake_wxObject(result
, 0);
31647 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31648 PyObject
*resultobj
;
31649 wxWindow
*arg1
= (wxWindow
*) 0 ;
31650 unsigned long arg2
;
31652 PyObject
* obj0
= 0 ;
31653 PyObject
* obj1
= 0 ;
31654 char *kwnames
[] = {
31655 (char *) "parent",(char *) "_hWnd", NULL
31658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31660 if (SWIG_arg_fail(1)) SWIG_fail
;
31662 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31663 if (SWIG_arg_fail(2)) SWIG_fail
;
31666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31667 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31673 resultobj
= wxPyMake_wxObject(result
, 0);
31681 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31682 PyObject
*resultobj
;
31683 wxValidator
*result
;
31684 char *kwnames
[] = {
31688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 result
= (wxValidator
*)new wxValidator();
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31703 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31704 PyObject
*resultobj
;
31705 wxValidator
*arg1
= (wxValidator
*) 0 ;
31706 wxValidator
*result
;
31707 PyObject
* obj0
= 0 ;
31708 char *kwnames
[] = {
31709 (char *) "self", NULL
31712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31714 if (SWIG_arg_fail(1)) SWIG_fail
;
31716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31717 result
= (wxValidator
*)(arg1
)->Clone();
31719 wxPyEndAllowThreads(__tstate
);
31720 if (PyErr_Occurred()) SWIG_fail
;
31723 resultobj
= wxPyMake_wxObject(result
, 0);
31731 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31732 PyObject
*resultobj
;
31733 wxValidator
*arg1
= (wxValidator
*) 0 ;
31734 wxWindow
*arg2
= (wxWindow
*) 0 ;
31736 PyObject
* obj0
= 0 ;
31737 PyObject
* obj1
= 0 ;
31738 char *kwnames
[] = {
31739 (char *) "self",(char *) "parent", NULL
31742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31744 if (SWIG_arg_fail(1)) SWIG_fail
;
31745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31746 if (SWIG_arg_fail(2)) SWIG_fail
;
31748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31749 result
= (bool)(arg1
)->Validate(arg2
);
31751 wxPyEndAllowThreads(__tstate
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31763 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31764 PyObject
*resultobj
;
31765 wxValidator
*arg1
= (wxValidator
*) 0 ;
31767 PyObject
* obj0
= 0 ;
31768 char *kwnames
[] = {
31769 (char *) "self", NULL
31772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31774 if (SWIG_arg_fail(1)) SWIG_fail
;
31776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31777 result
= (bool)(arg1
)->TransferToWindow();
31779 wxPyEndAllowThreads(__tstate
);
31780 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31791 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31792 PyObject
*resultobj
;
31793 wxValidator
*arg1
= (wxValidator
*) 0 ;
31795 PyObject
* obj0
= 0 ;
31796 char *kwnames
[] = {
31797 (char *) "self", NULL
31800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31802 if (SWIG_arg_fail(1)) SWIG_fail
;
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 result
= (bool)(arg1
)->TransferFromWindow();
31807 wxPyEndAllowThreads(__tstate
);
31808 if (PyErr_Occurred()) SWIG_fail
;
31811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31819 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
;
31821 wxValidator
*arg1
= (wxValidator
*) 0 ;
31823 PyObject
* obj0
= 0 ;
31824 char *kwnames
[] = {
31825 (char *) "self", NULL
31828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31830 if (SWIG_arg_fail(1)) SWIG_fail
;
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 result
= (wxWindow
*)(arg1
)->GetWindow();
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31839 resultobj
= wxPyMake_wxObject(result
, 0);
31847 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
;
31849 wxValidator
*arg1
= (wxValidator
*) 0 ;
31850 wxWindow
*arg2
= (wxWindow
*) 0 ;
31851 PyObject
* obj0
= 0 ;
31852 PyObject
* obj1
= 0 ;
31853 char *kwnames
[] = {
31854 (char *) "self",(char *) "window", NULL
31857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31859 if (SWIG_arg_fail(1)) SWIG_fail
;
31860 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31861 if (SWIG_arg_fail(2)) SWIG_fail
;
31863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31864 (arg1
)->SetWindow(arg2
);
31866 wxPyEndAllowThreads(__tstate
);
31867 if (PyErr_Occurred()) SWIG_fail
;
31869 Py_INCREF(Py_None
); resultobj
= Py_None
;
31876 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31877 PyObject
*resultobj
;
31879 char *kwnames
[] = {
31883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31886 result
= (bool)wxValidator::IsSilent();
31888 wxPyEndAllowThreads(__tstate
);
31889 if (PyErr_Occurred()) SWIG_fail
;
31892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31900 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31901 PyObject
*resultobj
;
31902 int arg1
= (int) true ;
31903 PyObject
* obj0
= 0 ;
31904 char *kwnames
[] = {
31905 (char *) "doIt", NULL
31908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31911 arg1
= (int)(SWIG_As_int(obj0
));
31912 if (SWIG_arg_fail(1)) SWIG_fail
;
31916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31917 wxValidator::SetBellOnError(arg1
);
31919 wxPyEndAllowThreads(__tstate
);
31920 if (PyErr_Occurred()) SWIG_fail
;
31922 Py_INCREF(Py_None
); resultobj
= Py_None
;
31929 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
31931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31932 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
31934 return Py_BuildValue((char *)"");
31936 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31937 PyObject
*resultobj
;
31938 wxPyValidator
*result
;
31939 char *kwnames
[] = {
31943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 result
= (wxPyValidator
*)new wxPyValidator();
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
31958 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31959 PyObject
*resultobj
;
31960 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
31961 PyObject
*arg2
= (PyObject
*) 0 ;
31962 PyObject
*arg3
= (PyObject
*) 0 ;
31963 int arg4
= (int) true ;
31964 PyObject
* obj0
= 0 ;
31965 PyObject
* obj1
= 0 ;
31966 PyObject
* obj2
= 0 ;
31967 PyObject
* obj3
= 0 ;
31968 char *kwnames
[] = {
31969 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
31972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
31974 if (SWIG_arg_fail(1)) SWIG_fail
;
31979 arg4
= (int)(SWIG_As_int(obj3
));
31980 if (SWIG_arg_fail(4)) SWIG_fail
;
31984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31985 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
31987 wxPyEndAllowThreads(__tstate
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31990 Py_INCREF(Py_None
); resultobj
= Py_None
;
31997 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
31999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32000 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32002 return Py_BuildValue((char *)"");
32004 static int _wrap_DefaultValidator_set(PyObject
*) {
32005 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32010 static PyObject
*_wrap_DefaultValidator_get(void) {
32013 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32018 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32019 PyObject
*resultobj
;
32020 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32021 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32022 long arg2
= (long) 0 ;
32024 bool temp1
= false ;
32025 PyObject
* obj0
= 0 ;
32026 PyObject
* obj1
= 0 ;
32027 char *kwnames
[] = {
32028 (char *) "title",(char *) "style", NULL
32031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32034 arg1
= wxString_in_helper(obj0
);
32035 if (arg1
== NULL
) SWIG_fail
;
32041 arg2
= (long)(SWIG_As_long(obj1
));
32042 if (SWIG_arg_fail(2)) SWIG_fail
;
32046 if (!wxPyCheckForApp()) SWIG_fail
;
32047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32048 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32050 wxPyEndAllowThreads(__tstate
);
32051 if (PyErr_Occurred()) SWIG_fail
;
32053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32068 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32069 PyObject
*resultobj
;
32070 wxMenu
*arg1
= (wxMenu
*) 0 ;
32072 wxString
*arg3
= 0 ;
32073 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32074 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32075 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32076 wxMenuItem
*result
;
32077 bool temp3
= false ;
32078 bool temp4
= false ;
32079 PyObject
* obj0
= 0 ;
32080 PyObject
* obj1
= 0 ;
32081 PyObject
* obj2
= 0 ;
32082 PyObject
* obj3
= 0 ;
32083 PyObject
* obj4
= 0 ;
32084 char *kwnames
[] = {
32085 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32090 if (SWIG_arg_fail(1)) SWIG_fail
;
32092 arg2
= (int)(SWIG_As_int(obj1
));
32093 if (SWIG_arg_fail(2)) SWIG_fail
;
32096 arg3
= wxString_in_helper(obj2
);
32097 if (arg3
== NULL
) SWIG_fail
;
32102 arg4
= wxString_in_helper(obj3
);
32103 if (arg4
== NULL
) SWIG_fail
;
32109 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32110 if (SWIG_arg_fail(5)) SWIG_fail
;
32114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32115 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= wxPyMake_wxObject(result
, 0);
32145 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32146 PyObject
*resultobj
;
32147 wxMenu
*arg1
= (wxMenu
*) 0 ;
32148 wxMenuItem
*result
;
32149 PyObject
* obj0
= 0 ;
32150 char *kwnames
[] = {
32151 (char *) "self", NULL
32154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32156 if (SWIG_arg_fail(1)) SWIG_fail
;
32158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32159 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32161 wxPyEndAllowThreads(__tstate
);
32162 if (PyErr_Occurred()) SWIG_fail
;
32165 resultobj
= wxPyMake_wxObject(result
, 0);
32173 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
;
32175 wxMenu
*arg1
= (wxMenu
*) 0 ;
32177 wxString
*arg3
= 0 ;
32178 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32179 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32180 wxMenuItem
*result
;
32181 bool temp3
= false ;
32182 bool temp4
= false ;
32183 PyObject
* obj0
= 0 ;
32184 PyObject
* obj1
= 0 ;
32185 PyObject
* obj2
= 0 ;
32186 PyObject
* obj3
= 0 ;
32187 char *kwnames
[] = {
32188 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32193 if (SWIG_arg_fail(1)) SWIG_fail
;
32195 arg2
= (int)(SWIG_As_int(obj1
));
32196 if (SWIG_arg_fail(2)) SWIG_fail
;
32199 arg3
= wxString_in_helper(obj2
);
32200 if (arg3
== NULL
) SWIG_fail
;
32205 arg4
= wxString_in_helper(obj3
);
32206 if (arg4
== NULL
) SWIG_fail
;
32211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32212 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32218 resultobj
= wxPyMake_wxObject(result
, 0);
32242 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32243 PyObject
*resultobj
;
32244 wxMenu
*arg1
= (wxMenu
*) 0 ;
32246 wxString
*arg3
= 0 ;
32247 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32248 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32249 wxMenuItem
*result
;
32250 bool temp3
= false ;
32251 bool temp4
= false ;
32252 PyObject
* obj0
= 0 ;
32253 PyObject
* obj1
= 0 ;
32254 PyObject
* obj2
= 0 ;
32255 PyObject
* obj3
= 0 ;
32256 char *kwnames
[] = {
32257 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32262 if (SWIG_arg_fail(1)) SWIG_fail
;
32264 arg2
= (int)(SWIG_As_int(obj1
));
32265 if (SWIG_arg_fail(2)) SWIG_fail
;
32268 arg3
= wxString_in_helper(obj2
);
32269 if (arg3
== NULL
) SWIG_fail
;
32274 arg4
= wxString_in_helper(obj3
);
32275 if (arg4
== NULL
) SWIG_fail
;
32280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32281 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32283 wxPyEndAllowThreads(__tstate
);
32284 if (PyErr_Occurred()) SWIG_fail
;
32287 resultobj
= wxPyMake_wxObject(result
, 0);
32311 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32312 PyObject
*resultobj
;
32313 wxMenu
*arg1
= (wxMenu
*) 0 ;
32315 wxString
*arg3
= 0 ;
32316 wxMenu
*arg4
= (wxMenu
*) 0 ;
32317 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32318 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32319 wxMenuItem
*result
;
32320 bool temp3
= false ;
32321 bool temp5
= false ;
32322 PyObject
* obj0
= 0 ;
32323 PyObject
* obj1
= 0 ;
32324 PyObject
* obj2
= 0 ;
32325 PyObject
* obj3
= 0 ;
32326 PyObject
* obj4
= 0 ;
32327 char *kwnames
[] = {
32328 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32333 if (SWIG_arg_fail(1)) SWIG_fail
;
32335 arg2
= (int)(SWIG_As_int(obj1
));
32336 if (SWIG_arg_fail(2)) SWIG_fail
;
32339 arg3
= wxString_in_helper(obj2
);
32340 if (arg3
== NULL
) SWIG_fail
;
32343 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32344 if (SWIG_arg_fail(4)) SWIG_fail
;
32347 arg5
= wxString_in_helper(obj4
);
32348 if (arg5
== NULL
) SWIG_fail
;
32353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32356 wxPyEndAllowThreads(__tstate
);
32357 if (PyErr_Occurred()) SWIG_fail
;
32360 resultobj
= wxPyMake_wxObject(result
, 0);
32384 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32385 PyObject
*resultobj
;
32386 wxMenu
*arg1
= (wxMenu
*) 0 ;
32387 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32388 wxMenuItem
*result
;
32389 PyObject
* obj0
= 0 ;
32390 PyObject
* obj1
= 0 ;
32391 char *kwnames
[] = {
32392 (char *) "self",(char *) "item", NULL
32395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32397 if (SWIG_arg_fail(1)) SWIG_fail
;
32398 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32399 if (SWIG_arg_fail(2)) SWIG_fail
;
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32404 wxPyEndAllowThreads(__tstate
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32408 resultobj
= wxPyMake_wxObject(result
, 0);
32416 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32417 PyObject
*resultobj
;
32418 wxMenu
*arg1
= (wxMenu
*) 0 ;
32419 PyObject
* obj0
= 0 ;
32420 char *kwnames
[] = {
32421 (char *) "self", NULL
32424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32426 if (SWIG_arg_fail(1)) SWIG_fail
;
32428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32431 wxPyEndAllowThreads(__tstate
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32434 Py_INCREF(Py_None
); resultobj
= Py_None
;
32441 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
;
32443 wxMenu
*arg1
= (wxMenu
*) 0 ;
32445 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32446 wxMenuItem
*result
;
32447 PyObject
* obj0
= 0 ;
32448 PyObject
* obj1
= 0 ;
32449 PyObject
* obj2
= 0 ;
32450 char *kwnames
[] = {
32451 (char *) "self",(char *) "pos",(char *) "item", NULL
32454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32456 if (SWIG_arg_fail(1)) SWIG_fail
;
32458 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32459 if (SWIG_arg_fail(2)) SWIG_fail
;
32461 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32462 if (SWIG_arg_fail(3)) SWIG_fail
;
32464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32465 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32467 wxPyEndAllowThreads(__tstate
);
32468 if (PyErr_Occurred()) SWIG_fail
;
32471 resultobj
= wxPyMake_wxObject(result
, 0);
32479 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32480 PyObject
*resultobj
;
32481 wxMenu
*arg1
= (wxMenu
*) 0 ;
32484 wxString
*arg4
= 0 ;
32485 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32486 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32487 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32488 wxMenuItem
*result
;
32489 bool temp4
= false ;
32490 bool temp5
= false ;
32491 PyObject
* obj0
= 0 ;
32492 PyObject
* obj1
= 0 ;
32493 PyObject
* obj2
= 0 ;
32494 PyObject
* obj3
= 0 ;
32495 PyObject
* obj4
= 0 ;
32496 PyObject
* obj5
= 0 ;
32497 char *kwnames
[] = {
32498 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32503 if (SWIG_arg_fail(1)) SWIG_fail
;
32505 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32506 if (SWIG_arg_fail(2)) SWIG_fail
;
32509 arg3
= (int)(SWIG_As_int(obj2
));
32510 if (SWIG_arg_fail(3)) SWIG_fail
;
32513 arg4
= wxString_in_helper(obj3
);
32514 if (arg4
== NULL
) SWIG_fail
;
32519 arg5
= wxString_in_helper(obj4
);
32520 if (arg5
== NULL
) SWIG_fail
;
32526 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32527 if (SWIG_arg_fail(6)) SWIG_fail
;
32531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32532 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32534 wxPyEndAllowThreads(__tstate
);
32535 if (PyErr_Occurred()) SWIG_fail
;
32538 resultobj
= wxPyMake_wxObject(result
, 0);
32562 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32563 PyObject
*resultobj
;
32564 wxMenu
*arg1
= (wxMenu
*) 0 ;
32566 wxMenuItem
*result
;
32567 PyObject
* obj0
= 0 ;
32568 PyObject
* obj1
= 0 ;
32569 char *kwnames
[] = {
32570 (char *) "self",(char *) "pos", NULL
32573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32575 if (SWIG_arg_fail(1)) SWIG_fail
;
32577 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32578 if (SWIG_arg_fail(2)) SWIG_fail
;
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32584 wxPyEndAllowThreads(__tstate
);
32585 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= wxPyMake_wxObject(result
, 0);
32596 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32597 PyObject
*resultobj
;
32598 wxMenu
*arg1
= (wxMenu
*) 0 ;
32601 wxString
*arg4
= 0 ;
32602 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32603 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32604 wxMenuItem
*result
;
32605 bool temp4
= false ;
32606 bool temp5
= false ;
32607 PyObject
* obj0
= 0 ;
32608 PyObject
* obj1
= 0 ;
32609 PyObject
* obj2
= 0 ;
32610 PyObject
* obj3
= 0 ;
32611 PyObject
* obj4
= 0 ;
32612 char *kwnames
[] = {
32613 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32618 if (SWIG_arg_fail(1)) SWIG_fail
;
32620 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32621 if (SWIG_arg_fail(2)) SWIG_fail
;
32624 arg3
= (int)(SWIG_As_int(obj2
));
32625 if (SWIG_arg_fail(3)) SWIG_fail
;
32628 arg4
= wxString_in_helper(obj3
);
32629 if (arg4
== NULL
) SWIG_fail
;
32634 arg5
= wxString_in_helper(obj4
);
32635 if (arg5
== NULL
) SWIG_fail
;
32640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32641 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32643 wxPyEndAllowThreads(__tstate
);
32644 if (PyErr_Occurred()) SWIG_fail
;
32647 resultobj
= wxPyMake_wxObject(result
, 0);
32671 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32672 PyObject
*resultobj
;
32673 wxMenu
*arg1
= (wxMenu
*) 0 ;
32676 wxString
*arg4
= 0 ;
32677 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32678 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32679 wxMenuItem
*result
;
32680 bool temp4
= false ;
32681 bool temp5
= false ;
32682 PyObject
* obj0
= 0 ;
32683 PyObject
* obj1
= 0 ;
32684 PyObject
* obj2
= 0 ;
32685 PyObject
* obj3
= 0 ;
32686 PyObject
* obj4
= 0 ;
32687 char *kwnames
[] = {
32688 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32693 if (SWIG_arg_fail(1)) SWIG_fail
;
32695 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32696 if (SWIG_arg_fail(2)) SWIG_fail
;
32699 arg3
= (int)(SWIG_As_int(obj2
));
32700 if (SWIG_arg_fail(3)) SWIG_fail
;
32703 arg4
= wxString_in_helper(obj3
);
32704 if (arg4
== NULL
) SWIG_fail
;
32709 arg5
= wxString_in_helper(obj4
);
32710 if (arg5
== NULL
) SWIG_fail
;
32715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32716 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32718 wxPyEndAllowThreads(__tstate
);
32719 if (PyErr_Occurred()) SWIG_fail
;
32722 resultobj
= wxPyMake_wxObject(result
, 0);
32746 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32747 PyObject
*resultobj
;
32748 wxMenu
*arg1
= (wxMenu
*) 0 ;
32751 wxString
*arg4
= 0 ;
32752 wxMenu
*arg5
= (wxMenu
*) 0 ;
32753 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32754 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32755 wxMenuItem
*result
;
32756 bool temp4
= false ;
32757 bool temp6
= false ;
32758 PyObject
* obj0
= 0 ;
32759 PyObject
* obj1
= 0 ;
32760 PyObject
* obj2
= 0 ;
32761 PyObject
* obj3
= 0 ;
32762 PyObject
* obj4
= 0 ;
32763 PyObject
* obj5
= 0 ;
32764 char *kwnames
[] = {
32765 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32770 if (SWIG_arg_fail(1)) SWIG_fail
;
32772 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32773 if (SWIG_arg_fail(2)) SWIG_fail
;
32776 arg3
= (int)(SWIG_As_int(obj2
));
32777 if (SWIG_arg_fail(3)) SWIG_fail
;
32780 arg4
= wxString_in_helper(obj3
);
32781 if (arg4
== NULL
) SWIG_fail
;
32784 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32785 if (SWIG_arg_fail(5)) SWIG_fail
;
32788 arg6
= wxString_in_helper(obj5
);
32789 if (arg6
== NULL
) SWIG_fail
;
32794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32795 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32797 wxPyEndAllowThreads(__tstate
);
32798 if (PyErr_Occurred()) SWIG_fail
;
32801 resultobj
= wxPyMake_wxObject(result
, 0);
32825 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
;
32827 wxMenu
*arg1
= (wxMenu
*) 0 ;
32828 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32829 wxMenuItem
*result
;
32830 PyObject
* obj0
= 0 ;
32831 PyObject
* obj1
= 0 ;
32832 char *kwnames
[] = {
32833 (char *) "self",(char *) "item", NULL
32836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32838 if (SWIG_arg_fail(1)) SWIG_fail
;
32839 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32840 if (SWIG_arg_fail(2)) SWIG_fail
;
32842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32843 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32845 wxPyEndAllowThreads(__tstate
);
32846 if (PyErr_Occurred()) SWIG_fail
;
32849 resultobj
= wxPyMake_wxObject(result
, 0);
32857 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32858 PyObject
*resultobj
;
32859 wxMenu
*arg1
= (wxMenu
*) 0 ;
32861 wxString
*arg3
= 0 ;
32862 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32863 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32864 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32865 wxMenuItem
*result
;
32866 bool temp3
= false ;
32867 bool temp4
= false ;
32868 PyObject
* obj0
= 0 ;
32869 PyObject
* obj1
= 0 ;
32870 PyObject
* obj2
= 0 ;
32871 PyObject
* obj3
= 0 ;
32872 PyObject
* obj4
= 0 ;
32873 char *kwnames
[] = {
32874 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32879 if (SWIG_arg_fail(1)) SWIG_fail
;
32881 arg2
= (int)(SWIG_As_int(obj1
));
32882 if (SWIG_arg_fail(2)) SWIG_fail
;
32885 arg3
= wxString_in_helper(obj2
);
32886 if (arg3
== NULL
) SWIG_fail
;
32891 arg4
= wxString_in_helper(obj3
);
32892 if (arg4
== NULL
) SWIG_fail
;
32898 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32899 if (SWIG_arg_fail(5)) SWIG_fail
;
32903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32904 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32906 wxPyEndAllowThreads(__tstate
);
32907 if (PyErr_Occurred()) SWIG_fail
;
32910 resultobj
= wxPyMake_wxObject(result
, 0);
32934 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32935 PyObject
*resultobj
;
32936 wxMenu
*arg1
= (wxMenu
*) 0 ;
32937 wxMenuItem
*result
;
32938 PyObject
* obj0
= 0 ;
32939 char *kwnames
[] = {
32940 (char *) "self", NULL
32943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
32944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32945 if (SWIG_arg_fail(1)) SWIG_fail
;
32947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32948 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
32950 wxPyEndAllowThreads(__tstate
);
32951 if (PyErr_Occurred()) SWIG_fail
;
32954 resultobj
= wxPyMake_wxObject(result
, 0);
32962 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32963 PyObject
*resultobj
;
32964 wxMenu
*arg1
= (wxMenu
*) 0 ;
32966 wxString
*arg3
= 0 ;
32967 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32968 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32969 wxMenuItem
*result
;
32970 bool temp3
= false ;
32971 bool temp4
= false ;
32972 PyObject
* obj0
= 0 ;
32973 PyObject
* obj1
= 0 ;
32974 PyObject
* obj2
= 0 ;
32975 PyObject
* obj3
= 0 ;
32976 char *kwnames
[] = {
32977 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32982 if (SWIG_arg_fail(1)) SWIG_fail
;
32984 arg2
= (int)(SWIG_As_int(obj1
));
32985 if (SWIG_arg_fail(2)) SWIG_fail
;
32988 arg3
= wxString_in_helper(obj2
);
32989 if (arg3
== NULL
) SWIG_fail
;
32994 arg4
= wxString_in_helper(obj3
);
32995 if (arg4
== NULL
) SWIG_fail
;
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33003 wxPyEndAllowThreads(__tstate
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33007 resultobj
= wxPyMake_wxObject(result
, 0);
33031 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33032 PyObject
*resultobj
;
33033 wxMenu
*arg1
= (wxMenu
*) 0 ;
33035 wxString
*arg3
= 0 ;
33036 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33037 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33038 wxMenuItem
*result
;
33039 bool temp3
= false ;
33040 bool temp4
= false ;
33041 PyObject
* obj0
= 0 ;
33042 PyObject
* obj1
= 0 ;
33043 PyObject
* obj2
= 0 ;
33044 PyObject
* obj3
= 0 ;
33045 char *kwnames
[] = {
33046 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33051 if (SWIG_arg_fail(1)) SWIG_fail
;
33053 arg2
= (int)(SWIG_As_int(obj1
));
33054 if (SWIG_arg_fail(2)) SWIG_fail
;
33057 arg3
= wxString_in_helper(obj2
);
33058 if (arg3
== NULL
) SWIG_fail
;
33063 arg4
= wxString_in_helper(obj3
);
33064 if (arg4
== NULL
) SWIG_fail
;
33069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33072 wxPyEndAllowThreads(__tstate
);
33073 if (PyErr_Occurred()) SWIG_fail
;
33076 resultobj
= wxPyMake_wxObject(result
, 0);
33100 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33101 PyObject
*resultobj
;
33102 wxMenu
*arg1
= (wxMenu
*) 0 ;
33104 wxString
*arg3
= 0 ;
33105 wxMenu
*arg4
= (wxMenu
*) 0 ;
33106 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33107 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33108 wxMenuItem
*result
;
33109 bool temp3
= false ;
33110 bool temp5
= false ;
33111 PyObject
* obj0
= 0 ;
33112 PyObject
* obj1
= 0 ;
33113 PyObject
* obj2
= 0 ;
33114 PyObject
* obj3
= 0 ;
33115 PyObject
* obj4
= 0 ;
33116 char *kwnames
[] = {
33117 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33122 if (SWIG_arg_fail(1)) SWIG_fail
;
33124 arg2
= (int)(SWIG_As_int(obj1
));
33125 if (SWIG_arg_fail(2)) SWIG_fail
;
33128 arg3
= wxString_in_helper(obj2
);
33129 if (arg3
== NULL
) SWIG_fail
;
33132 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33133 if (SWIG_arg_fail(4)) SWIG_fail
;
33136 arg5
= wxString_in_helper(obj4
);
33137 if (arg5
== NULL
) SWIG_fail
;
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33145 wxPyEndAllowThreads(__tstate
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33149 resultobj
= wxPyMake_wxObject(result
, 0);
33173 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
;
33175 wxMenu
*arg1
= (wxMenu
*) 0 ;
33177 wxMenuItem
*result
;
33178 PyObject
* obj0
= 0 ;
33179 PyObject
* obj1
= 0 ;
33180 char *kwnames
[] = {
33181 (char *) "self",(char *) "id", NULL
33184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33186 if (SWIG_arg_fail(1)) SWIG_fail
;
33188 arg2
= (int)(SWIG_As_int(obj1
));
33189 if (SWIG_arg_fail(2)) SWIG_fail
;
33192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33193 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33195 wxPyEndAllowThreads(__tstate
);
33196 if (PyErr_Occurred()) SWIG_fail
;
33199 resultobj
= wxPyMake_wxObject(result
, 0);
33207 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33208 PyObject
*resultobj
;
33209 wxMenu
*arg1
= (wxMenu
*) 0 ;
33210 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33211 wxMenuItem
*result
;
33212 PyObject
* obj0
= 0 ;
33213 PyObject
* obj1
= 0 ;
33214 char *kwnames
[] = {
33215 (char *) "self",(char *) "item", NULL
33218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33220 if (SWIG_arg_fail(1)) SWIG_fail
;
33221 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33222 if (SWIG_arg_fail(2)) SWIG_fail
;
33224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33225 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33227 wxPyEndAllowThreads(__tstate
);
33228 if (PyErr_Occurred()) SWIG_fail
;
33231 resultobj
= wxPyMake_wxObject(result
, 0);
33239 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33240 PyObject
*resultobj
;
33241 wxMenu
*arg1
= (wxMenu
*) 0 ;
33244 PyObject
* obj0
= 0 ;
33245 PyObject
* obj1
= 0 ;
33246 char *kwnames
[] = {
33247 (char *) "self",(char *) "id", NULL
33250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33252 if (SWIG_arg_fail(1)) SWIG_fail
;
33254 arg2
= (int)(SWIG_As_int(obj1
));
33255 if (SWIG_arg_fail(2)) SWIG_fail
;
33258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33259 result
= (bool)(arg1
)->Delete(arg2
);
33261 wxPyEndAllowThreads(__tstate
);
33262 if (PyErr_Occurred()) SWIG_fail
;
33265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33273 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33274 PyObject
*resultobj
;
33275 wxMenu
*arg1
= (wxMenu
*) 0 ;
33276 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33278 PyObject
* obj0
= 0 ;
33279 PyObject
* obj1
= 0 ;
33280 char *kwnames
[] = {
33281 (char *) "self",(char *) "item", NULL
33284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33286 if (SWIG_arg_fail(1)) SWIG_fail
;
33287 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33288 if (SWIG_arg_fail(2)) SWIG_fail
;
33290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33291 result
= (bool)(arg1
)->Delete(arg2
);
33293 wxPyEndAllowThreads(__tstate
);
33294 if (PyErr_Occurred()) SWIG_fail
;
33297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33305 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33306 PyObject
*resultobj
;
33307 wxMenu
*arg1
= (wxMenu
*) 0 ;
33308 PyObject
* obj0
= 0 ;
33309 char *kwnames
[] = {
33310 (char *) "self", NULL
33313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33315 if (SWIG_arg_fail(1)) SWIG_fail
;
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33318 wxMenu_Destroy(arg1
);
33320 wxPyEndAllowThreads(__tstate
);
33321 if (PyErr_Occurred()) SWIG_fail
;
33323 Py_INCREF(Py_None
); resultobj
= Py_None
;
33330 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33331 PyObject
*resultobj
;
33332 wxMenu
*arg1
= (wxMenu
*) 0 ;
33335 PyObject
* obj0
= 0 ;
33336 PyObject
* obj1
= 0 ;
33337 char *kwnames
[] = {
33338 (char *) "self",(char *) "id", NULL
33341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33343 if (SWIG_arg_fail(1)) SWIG_fail
;
33345 arg2
= (int)(SWIG_As_int(obj1
));
33346 if (SWIG_arg_fail(2)) SWIG_fail
;
33349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33350 result
= (bool)(arg1
)->Destroy(arg2
);
33352 wxPyEndAllowThreads(__tstate
);
33353 if (PyErr_Occurred()) SWIG_fail
;
33356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33364 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33365 PyObject
*resultobj
;
33366 wxMenu
*arg1
= (wxMenu
*) 0 ;
33367 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33369 PyObject
* obj0
= 0 ;
33370 PyObject
* obj1
= 0 ;
33371 char *kwnames
[] = {
33372 (char *) "self",(char *) "item", NULL
33375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33377 if (SWIG_arg_fail(1)) SWIG_fail
;
33378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33379 if (SWIG_arg_fail(2)) SWIG_fail
;
33381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33382 result
= (bool)(arg1
)->Destroy(arg2
);
33384 wxPyEndAllowThreads(__tstate
);
33385 if (PyErr_Occurred()) SWIG_fail
;
33388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33396 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33397 PyObject
*resultobj
;
33398 wxMenu
*arg1
= (wxMenu
*) 0 ;
33400 PyObject
* obj0
= 0 ;
33401 char *kwnames
[] = {
33402 (char *) "self", NULL
33405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33407 if (SWIG_arg_fail(1)) SWIG_fail
;
33409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33410 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33412 wxPyEndAllowThreads(__tstate
);
33413 if (PyErr_Occurred()) SWIG_fail
;
33416 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33424 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33425 PyObject
*resultobj
;
33426 wxMenu
*arg1
= (wxMenu
*) 0 ;
33428 PyObject
* obj0
= 0 ;
33429 char *kwnames
[] = {
33430 (char *) "self", NULL
33433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33435 if (SWIG_arg_fail(1)) SWIG_fail
;
33437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33438 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33440 wxPyEndAllowThreads(__tstate
);
33441 if (PyErr_Occurred()) SWIG_fail
;
33443 resultobj
= result
;
33450 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33451 PyObject
*resultobj
;
33452 wxMenu
*arg1
= (wxMenu
*) 0 ;
33453 wxString
*arg2
= 0 ;
33455 bool temp2
= false ;
33456 PyObject
* obj0
= 0 ;
33457 PyObject
* obj1
= 0 ;
33458 char *kwnames
[] = {
33459 (char *) "self",(char *) "item", NULL
33462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",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
= wxString_in_helper(obj1
);
33467 if (arg2
== NULL
) SWIG_fail
;
33471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33472 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33474 wxPyEndAllowThreads(__tstate
);
33475 if (PyErr_Occurred()) SWIG_fail
;
33478 resultobj
= SWIG_From_int((int)(result
));
33494 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33495 PyObject
*resultobj
;
33496 wxMenu
*arg1
= (wxMenu
*) 0 ;
33498 wxMenuItem
*result
;
33499 PyObject
* obj0
= 0 ;
33500 PyObject
* obj1
= 0 ;
33501 char *kwnames
[] = {
33502 (char *) "self",(char *) "id", NULL
33505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33507 if (SWIG_arg_fail(1)) SWIG_fail
;
33509 arg2
= (int)(SWIG_As_int(obj1
));
33510 if (SWIG_arg_fail(2)) SWIG_fail
;
33513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33514 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33516 wxPyEndAllowThreads(__tstate
);
33517 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= wxPyMake_wxObject(result
, 0);
33528 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33529 PyObject
*resultobj
;
33530 wxMenu
*arg1
= (wxMenu
*) 0 ;
33532 wxMenuItem
*result
;
33533 PyObject
* obj0
= 0 ;
33534 PyObject
* obj1
= 0 ;
33535 char *kwnames
[] = {
33536 (char *) "self",(char *) "position", NULL
33539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33541 if (SWIG_arg_fail(1)) SWIG_fail
;
33543 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33544 if (SWIG_arg_fail(2)) SWIG_fail
;
33547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33548 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33550 wxPyEndAllowThreads(__tstate
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33554 resultobj
= wxPyMake_wxObject(result
, 0);
33562 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
;
33564 wxMenu
*arg1
= (wxMenu
*) 0 ;
33567 PyObject
* obj0
= 0 ;
33568 PyObject
* obj1
= 0 ;
33569 PyObject
* obj2
= 0 ;
33570 char *kwnames
[] = {
33571 (char *) "self",(char *) "id",(char *) "enable", NULL
33574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33576 if (SWIG_arg_fail(1)) SWIG_fail
;
33578 arg2
= (int)(SWIG_As_int(obj1
));
33579 if (SWIG_arg_fail(2)) SWIG_fail
;
33582 arg3
= (bool)(SWIG_As_bool(obj2
));
33583 if (SWIG_arg_fail(3)) SWIG_fail
;
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 (arg1
)->Enable(arg2
,arg3
);
33589 wxPyEndAllowThreads(__tstate
);
33590 if (PyErr_Occurred()) SWIG_fail
;
33592 Py_INCREF(Py_None
); resultobj
= Py_None
;
33599 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33600 PyObject
*resultobj
;
33601 wxMenu
*arg1
= (wxMenu
*) 0 ;
33604 PyObject
* obj0
= 0 ;
33605 PyObject
* obj1
= 0 ;
33606 char *kwnames
[] = {
33607 (char *) "self",(char *) "id", NULL
33610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33612 if (SWIG_arg_fail(1)) SWIG_fail
;
33614 arg2
= (int)(SWIG_As_int(obj1
));
33615 if (SWIG_arg_fail(2)) SWIG_fail
;
33618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33619 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33621 wxPyEndAllowThreads(__tstate
);
33622 if (PyErr_Occurred()) SWIG_fail
;
33625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33633 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33634 PyObject
*resultobj
;
33635 wxMenu
*arg1
= (wxMenu
*) 0 ;
33638 PyObject
* obj0
= 0 ;
33639 PyObject
* obj1
= 0 ;
33640 PyObject
* obj2
= 0 ;
33641 char *kwnames
[] = {
33642 (char *) "self",(char *) "id",(char *) "check", NULL
33645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33647 if (SWIG_arg_fail(1)) SWIG_fail
;
33649 arg2
= (int)(SWIG_As_int(obj1
));
33650 if (SWIG_arg_fail(2)) SWIG_fail
;
33653 arg3
= (bool)(SWIG_As_bool(obj2
));
33654 if (SWIG_arg_fail(3)) SWIG_fail
;
33657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33658 (arg1
)->Check(arg2
,arg3
);
33660 wxPyEndAllowThreads(__tstate
);
33661 if (PyErr_Occurred()) SWIG_fail
;
33663 Py_INCREF(Py_None
); resultobj
= Py_None
;
33670 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33671 PyObject
*resultobj
;
33672 wxMenu
*arg1
= (wxMenu
*) 0 ;
33675 PyObject
* obj0
= 0 ;
33676 PyObject
* obj1
= 0 ;
33677 char *kwnames
[] = {
33678 (char *) "self",(char *) "id", NULL
33681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33683 if (SWIG_arg_fail(1)) SWIG_fail
;
33685 arg2
= (int)(SWIG_As_int(obj1
));
33686 if (SWIG_arg_fail(2)) SWIG_fail
;
33689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33690 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33692 wxPyEndAllowThreads(__tstate
);
33693 if (PyErr_Occurred()) SWIG_fail
;
33696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33704 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33705 PyObject
*resultobj
;
33706 wxMenu
*arg1
= (wxMenu
*) 0 ;
33708 wxString
*arg3
= 0 ;
33709 bool temp3
= false ;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 PyObject
* obj2
= 0 ;
33713 char *kwnames
[] = {
33714 (char *) "self",(char *) "id",(char *) "label", NULL
33717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33719 if (SWIG_arg_fail(1)) SWIG_fail
;
33721 arg2
= (int)(SWIG_As_int(obj1
));
33722 if (SWIG_arg_fail(2)) SWIG_fail
;
33725 arg3
= wxString_in_helper(obj2
);
33726 if (arg3
== NULL
) SWIG_fail
;
33730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33731 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33733 wxPyEndAllowThreads(__tstate
);
33734 if (PyErr_Occurred()) SWIG_fail
;
33736 Py_INCREF(Py_None
); resultobj
= Py_None
;
33751 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33752 PyObject
*resultobj
;
33753 wxMenu
*arg1
= (wxMenu
*) 0 ;
33756 PyObject
* obj0
= 0 ;
33757 PyObject
* obj1
= 0 ;
33758 char *kwnames
[] = {
33759 (char *) "self",(char *) "id", NULL
33762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33764 if (SWIG_arg_fail(1)) SWIG_fail
;
33766 arg2
= (int)(SWIG_As_int(obj1
));
33767 if (SWIG_arg_fail(2)) SWIG_fail
;
33770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33771 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33773 wxPyEndAllowThreads(__tstate
);
33774 if (PyErr_Occurred()) SWIG_fail
;
33778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33789 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33790 PyObject
*resultobj
;
33791 wxMenu
*arg1
= (wxMenu
*) 0 ;
33793 wxString
*arg3
= 0 ;
33794 bool temp3
= false ;
33795 PyObject
* obj0
= 0 ;
33796 PyObject
* obj1
= 0 ;
33797 PyObject
* obj2
= 0 ;
33798 char *kwnames
[] = {
33799 (char *) "self",(char *) "id",(char *) "helpString", NULL
33802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33804 if (SWIG_arg_fail(1)) SWIG_fail
;
33806 arg2
= (int)(SWIG_As_int(obj1
));
33807 if (SWIG_arg_fail(2)) SWIG_fail
;
33810 arg3
= wxString_in_helper(obj2
);
33811 if (arg3
== NULL
) SWIG_fail
;
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 Py_INCREF(Py_None
); resultobj
= Py_None
;
33836 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33837 PyObject
*resultobj
;
33838 wxMenu
*arg1
= (wxMenu
*) 0 ;
33841 PyObject
* obj0
= 0 ;
33842 PyObject
* obj1
= 0 ;
33843 char *kwnames
[] = {
33844 (char *) "self",(char *) "id", NULL
33847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33849 if (SWIG_arg_fail(1)) SWIG_fail
;
33851 arg2
= (int)(SWIG_As_int(obj1
));
33852 if (SWIG_arg_fail(2)) SWIG_fail
;
33855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33856 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33858 wxPyEndAllowThreads(__tstate
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33874 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33875 PyObject
*resultobj
;
33876 wxMenu
*arg1
= (wxMenu
*) 0 ;
33877 wxString
*arg2
= 0 ;
33878 bool temp2
= false ;
33879 PyObject
* obj0
= 0 ;
33880 PyObject
* obj1
= 0 ;
33881 char *kwnames
[] = {
33882 (char *) "self",(char *) "title", NULL
33885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33887 if (SWIG_arg_fail(1)) SWIG_fail
;
33889 arg2
= wxString_in_helper(obj1
);
33890 if (arg2
== NULL
) SWIG_fail
;
33894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33895 (arg1
)->SetTitle((wxString
const &)*arg2
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 Py_INCREF(Py_None
); resultobj
= Py_None
;
33915 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33916 PyObject
*resultobj
;
33917 wxMenu
*arg1
= (wxMenu
*) 0 ;
33919 PyObject
* obj0
= 0 ;
33920 char *kwnames
[] = {
33921 (char *) "self", NULL
33924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
33925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33926 if (SWIG_arg_fail(1)) SWIG_fail
;
33928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33929 result
= ((wxMenu
const *)arg1
)->GetTitle();
33931 wxPyEndAllowThreads(__tstate
);
33932 if (PyErr_Occurred()) SWIG_fail
;
33936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33947 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33948 PyObject
*resultobj
;
33949 wxMenu
*arg1
= (wxMenu
*) 0 ;
33950 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33951 PyObject
* obj0
= 0 ;
33952 PyObject
* obj1
= 0 ;
33953 char *kwnames
[] = {
33954 (char *) "self",(char *) "handler", NULL
33957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
33958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33959 if (SWIG_arg_fail(1)) SWIG_fail
;
33960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33961 if (SWIG_arg_fail(2)) SWIG_fail
;
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 (arg1
)->SetEventHandler(arg2
);
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33969 Py_INCREF(Py_None
); resultobj
= Py_None
;
33976 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33977 PyObject
*resultobj
;
33978 wxMenu
*arg1
= (wxMenu
*) 0 ;
33979 wxEvtHandler
*result
;
33980 PyObject
* obj0
= 0 ;
33981 char *kwnames
[] = {
33982 (char *) "self", NULL
33985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
33986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33987 if (SWIG_arg_fail(1)) SWIG_fail
;
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33990 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
33992 wxPyEndAllowThreads(__tstate
);
33993 if (PyErr_Occurred()) SWIG_fail
;
33996 resultobj
= wxPyMake_wxObject(result
, 0);
34004 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
;
34006 wxMenu
*arg1
= (wxMenu
*) 0 ;
34007 wxWindow
*arg2
= (wxWindow
*) 0 ;
34008 PyObject
* obj0
= 0 ;
34009 PyObject
* obj1
= 0 ;
34010 char *kwnames
[] = {
34011 (char *) "self",(char *) "win", NULL
34014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34016 if (SWIG_arg_fail(1)) SWIG_fail
;
34017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34018 if (SWIG_arg_fail(2)) SWIG_fail
;
34020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34021 (arg1
)->SetInvokingWindow(arg2
);
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 Py_INCREF(Py_None
); resultobj
= Py_None
;
34033 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
;
34035 wxMenu
*arg1
= (wxMenu
*) 0 ;
34037 PyObject
* obj0
= 0 ;
34038 char *kwnames
[] = {
34039 (char *) "self", NULL
34042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34044 if (SWIG_arg_fail(1)) SWIG_fail
;
34046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34047 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34049 wxPyEndAllowThreads(__tstate
);
34050 if (PyErr_Occurred()) SWIG_fail
;
34053 resultobj
= wxPyMake_wxObject(result
, 0);
34061 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34062 PyObject
*resultobj
;
34063 wxMenu
*arg1
= (wxMenu
*) 0 ;
34065 PyObject
* obj0
= 0 ;
34066 char *kwnames
[] = {
34067 (char *) "self", NULL
34070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34072 if (SWIG_arg_fail(1)) SWIG_fail
;
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34077 wxPyEndAllowThreads(__tstate
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34081 resultobj
= SWIG_From_long((long)(result
));
34089 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
;
34091 wxMenu
*arg1
= (wxMenu
*) 0 ;
34092 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34093 PyObject
* obj0
= 0 ;
34094 PyObject
* obj1
= 0 ;
34095 char *kwnames
[] = {
34096 (char *) "self",(char *) "source", NULL
34099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34101 if (SWIG_arg_fail(1)) SWIG_fail
;
34103 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34104 if (SWIG_arg_fail(2)) SWIG_fail
;
34107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34108 (arg1
)->UpdateUI(arg2
);
34110 wxPyEndAllowThreads(__tstate
);
34111 if (PyErr_Occurred()) SWIG_fail
;
34113 Py_INCREF(Py_None
); resultobj
= Py_None
;
34120 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34121 PyObject
*resultobj
;
34122 wxMenu
*arg1
= (wxMenu
*) 0 ;
34124 PyObject
* obj0
= 0 ;
34125 char *kwnames
[] = {
34126 (char *) "self", NULL
34129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34131 if (SWIG_arg_fail(1)) SWIG_fail
;
34133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34134 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34136 wxPyEndAllowThreads(__tstate
);
34137 if (PyErr_Occurred()) SWIG_fail
;
34140 resultobj
= wxPyMake_wxObject(result
, 0);
34148 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34149 PyObject
*resultobj
;
34150 wxMenu
*arg1
= (wxMenu
*) 0 ;
34151 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34152 PyObject
* obj0
= 0 ;
34153 PyObject
* obj1
= 0 ;
34154 char *kwnames
[] = {
34155 (char *) "self",(char *) "menubar", NULL
34158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34160 if (SWIG_arg_fail(1)) SWIG_fail
;
34161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34162 if (SWIG_arg_fail(2)) SWIG_fail
;
34164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34165 (arg1
)->Attach(arg2
);
34167 wxPyEndAllowThreads(__tstate
);
34168 if (PyErr_Occurred()) SWIG_fail
;
34170 Py_INCREF(Py_None
); resultobj
= Py_None
;
34177 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34178 PyObject
*resultobj
;
34179 wxMenu
*arg1
= (wxMenu
*) 0 ;
34180 PyObject
* obj0
= 0 ;
34181 char *kwnames
[] = {
34182 (char *) "self", NULL
34185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34187 if (SWIG_arg_fail(1)) SWIG_fail
;
34189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34192 wxPyEndAllowThreads(__tstate
);
34193 if (PyErr_Occurred()) SWIG_fail
;
34195 Py_INCREF(Py_None
); resultobj
= Py_None
;
34202 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34203 PyObject
*resultobj
;
34204 wxMenu
*arg1
= (wxMenu
*) 0 ;
34206 PyObject
* obj0
= 0 ;
34207 char *kwnames
[] = {
34208 (char *) "self", NULL
34211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34213 if (SWIG_arg_fail(1)) SWIG_fail
;
34215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34216 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34218 wxPyEndAllowThreads(__tstate
);
34219 if (PyErr_Occurred()) SWIG_fail
;
34222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34230 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34231 PyObject
*resultobj
;
34232 wxMenu
*arg1
= (wxMenu
*) 0 ;
34233 wxMenu
*arg2
= (wxMenu
*) 0 ;
34234 PyObject
* obj0
= 0 ;
34235 PyObject
* obj1
= 0 ;
34236 char *kwnames
[] = {
34237 (char *) "self",(char *) "parent", NULL
34240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34242 if (SWIG_arg_fail(1)) SWIG_fail
;
34243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34244 if (SWIG_arg_fail(2)) SWIG_fail
;
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 (arg1
)->SetParent(arg2
);
34249 wxPyEndAllowThreads(__tstate
);
34250 if (PyErr_Occurred()) SWIG_fail
;
34252 Py_INCREF(Py_None
); resultobj
= Py_None
;
34259 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34260 PyObject
*resultobj
;
34261 wxMenu
*arg1
= (wxMenu
*) 0 ;
34263 PyObject
* obj0
= 0 ;
34264 char *kwnames
[] = {
34265 (char *) "self", NULL
34268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34270 if (SWIG_arg_fail(1)) SWIG_fail
;
34272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34273 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34275 wxPyEndAllowThreads(__tstate
);
34276 if (PyErr_Occurred()) SWIG_fail
;
34279 resultobj
= wxPyMake_wxObject(result
, 0);
34287 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34290 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34292 return Py_BuildValue((char *)"");
34294 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
;
34296 long arg1
= (long) 0 ;
34298 PyObject
* obj0
= 0 ;
34299 char *kwnames
[] = {
34300 (char *) "style", NULL
34303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34306 arg1
= (long)(SWIG_As_long(obj0
));
34307 if (SWIG_arg_fail(1)) SWIG_fail
;
34311 if (!wxPyCheckForApp()) SWIG_fail
;
34312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34313 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34315 wxPyEndAllowThreads(__tstate
);
34316 if (PyErr_Occurred()) SWIG_fail
;
34318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34325 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34326 PyObject
*resultobj
;
34327 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34328 wxMenu
*arg2
= (wxMenu
*) 0 ;
34329 wxString
*arg3
= 0 ;
34331 bool temp3
= false ;
34332 PyObject
* obj0
= 0 ;
34333 PyObject
* obj1
= 0 ;
34334 PyObject
* obj2
= 0 ;
34335 char *kwnames
[] = {
34336 (char *) "self",(char *) "menu",(char *) "title", NULL
34339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34341 if (SWIG_arg_fail(1)) SWIG_fail
;
34342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34343 if (SWIG_arg_fail(2)) SWIG_fail
;
34345 arg3
= wxString_in_helper(obj2
);
34346 if (arg3
== NULL
) SWIG_fail
;
34350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34351 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34353 wxPyEndAllowThreads(__tstate
);
34354 if (PyErr_Occurred()) SWIG_fail
;
34357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34373 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34374 PyObject
*resultobj
;
34375 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34377 wxMenu
*arg3
= (wxMenu
*) 0 ;
34378 wxString
*arg4
= 0 ;
34380 bool temp4
= false ;
34381 PyObject
* obj0
= 0 ;
34382 PyObject
* obj1
= 0 ;
34383 PyObject
* obj2
= 0 ;
34384 PyObject
* obj3
= 0 ;
34385 char *kwnames
[] = {
34386 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34391 if (SWIG_arg_fail(1)) SWIG_fail
;
34393 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34394 if (SWIG_arg_fail(2)) SWIG_fail
;
34396 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34397 if (SWIG_arg_fail(3)) SWIG_fail
;
34399 arg4
= wxString_in_helper(obj3
);
34400 if (arg4
== NULL
) SWIG_fail
;
34404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34405 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34407 wxPyEndAllowThreads(__tstate
);
34408 if (PyErr_Occurred()) SWIG_fail
;
34411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34427 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34428 PyObject
*resultobj
;
34429 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34431 PyObject
* obj0
= 0 ;
34432 char *kwnames
[] = {
34433 (char *) "self", NULL
34436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34438 if (SWIG_arg_fail(1)) SWIG_fail
;
34440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34441 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34447 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34455 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34456 PyObject
*resultobj
;
34457 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34460 PyObject
* obj0
= 0 ;
34461 PyObject
* obj1
= 0 ;
34462 char *kwnames
[] = {
34463 (char *) "self",(char *) "pos", NULL
34466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34468 if (SWIG_arg_fail(1)) SWIG_fail
;
34470 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34471 if (SWIG_arg_fail(2)) SWIG_fail
;
34474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34475 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34477 wxPyEndAllowThreads(__tstate
);
34478 if (PyErr_Occurred()) SWIG_fail
;
34481 resultobj
= wxPyMake_wxObject(result
, 0);
34489 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34490 PyObject
*resultobj
;
34491 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34493 wxMenu
*arg3
= (wxMenu
*) 0 ;
34494 wxString
*arg4
= 0 ;
34496 bool temp4
= false ;
34497 PyObject
* obj0
= 0 ;
34498 PyObject
* obj1
= 0 ;
34499 PyObject
* obj2
= 0 ;
34500 PyObject
* obj3
= 0 ;
34501 char *kwnames
[] = {
34502 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34507 if (SWIG_arg_fail(1)) SWIG_fail
;
34509 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34510 if (SWIG_arg_fail(2)) SWIG_fail
;
34512 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34513 if (SWIG_arg_fail(3)) SWIG_fail
;
34515 arg4
= wxString_in_helper(obj3
);
34516 if (arg4
== NULL
) SWIG_fail
;
34520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34521 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34523 wxPyEndAllowThreads(__tstate
);
34524 if (PyErr_Occurred()) SWIG_fail
;
34527 resultobj
= wxPyMake_wxObject(result
, 0);
34543 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34544 PyObject
*resultobj
;
34545 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34548 PyObject
* obj0
= 0 ;
34549 PyObject
* obj1
= 0 ;
34550 char *kwnames
[] = {
34551 (char *) "self",(char *) "pos", NULL
34554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34556 if (SWIG_arg_fail(1)) SWIG_fail
;
34558 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34559 if (SWIG_arg_fail(2)) SWIG_fail
;
34562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34563 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34565 wxPyEndAllowThreads(__tstate
);
34566 if (PyErr_Occurred()) SWIG_fail
;
34569 resultobj
= wxPyMake_wxObject(result
, 0);
34577 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34578 PyObject
*resultobj
;
34579 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34582 PyObject
* obj0
= 0 ;
34583 PyObject
* obj1
= 0 ;
34584 PyObject
* obj2
= 0 ;
34585 char *kwnames
[] = {
34586 (char *) "self",(char *) "pos",(char *) "enable", NULL
34589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34591 if (SWIG_arg_fail(1)) SWIG_fail
;
34593 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34594 if (SWIG_arg_fail(2)) SWIG_fail
;
34597 arg3
= (bool)(SWIG_As_bool(obj2
));
34598 if (SWIG_arg_fail(3)) SWIG_fail
;
34601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34602 (arg1
)->EnableTop(arg2
,arg3
);
34604 wxPyEndAllowThreads(__tstate
);
34605 if (PyErr_Occurred()) SWIG_fail
;
34607 Py_INCREF(Py_None
); resultobj
= Py_None
;
34614 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34615 PyObject
*resultobj
;
34616 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34619 PyObject
* obj0
= 0 ;
34620 PyObject
* obj1
= 0 ;
34621 char *kwnames
[] = {
34622 (char *) "self",(char *) "pos", NULL
34625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34627 if (SWIG_arg_fail(1)) SWIG_fail
;
34629 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34630 if (SWIG_arg_fail(2)) SWIG_fail
;
34633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34634 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34648 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34649 PyObject
*resultobj
;
34650 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34652 wxString
*arg3
= 0 ;
34653 bool temp3
= false ;
34654 PyObject
* obj0
= 0 ;
34655 PyObject
* obj1
= 0 ;
34656 PyObject
* obj2
= 0 ;
34657 char *kwnames
[] = {
34658 (char *) "self",(char *) "pos",(char *) "label", NULL
34661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34663 if (SWIG_arg_fail(1)) SWIG_fail
;
34665 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34666 if (SWIG_arg_fail(2)) SWIG_fail
;
34669 arg3
= wxString_in_helper(obj2
);
34670 if (arg3
== NULL
) SWIG_fail
;
34674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34675 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34680 Py_INCREF(Py_None
); resultobj
= Py_None
;
34695 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34696 PyObject
*resultobj
;
34697 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34700 PyObject
* obj0
= 0 ;
34701 PyObject
* obj1
= 0 ;
34702 char *kwnames
[] = {
34703 (char *) "self",(char *) "pos", NULL
34706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34708 if (SWIG_arg_fail(1)) SWIG_fail
;
34710 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34711 if (SWIG_arg_fail(2)) SWIG_fail
;
34714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34715 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34717 wxPyEndAllowThreads(__tstate
);
34718 if (PyErr_Occurred()) SWIG_fail
;
34722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34733 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34734 PyObject
*resultobj
;
34735 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34736 wxString
*arg2
= 0 ;
34737 wxString
*arg3
= 0 ;
34739 bool temp2
= false ;
34740 bool temp3
= false ;
34741 PyObject
* obj0
= 0 ;
34742 PyObject
* obj1
= 0 ;
34743 PyObject
* obj2
= 0 ;
34744 char *kwnames
[] = {
34745 (char *) "self",(char *) "menu",(char *) "item", NULL
34748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34750 if (SWIG_arg_fail(1)) SWIG_fail
;
34752 arg2
= wxString_in_helper(obj1
);
34753 if (arg2
== NULL
) SWIG_fail
;
34757 arg3
= wxString_in_helper(obj2
);
34758 if (arg3
== NULL
) SWIG_fail
;
34762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34763 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34765 wxPyEndAllowThreads(__tstate
);
34766 if (PyErr_Occurred()) SWIG_fail
;
34769 resultobj
= SWIG_From_int((int)(result
));
34793 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34794 PyObject
*resultobj
;
34795 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34797 wxMenuItem
*result
;
34798 PyObject
* obj0
= 0 ;
34799 PyObject
* obj1
= 0 ;
34800 char *kwnames
[] = {
34801 (char *) "self",(char *) "id", NULL
34804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34806 if (SWIG_arg_fail(1)) SWIG_fail
;
34808 arg2
= (int)(SWIG_As_int(obj1
));
34809 if (SWIG_arg_fail(2)) SWIG_fail
;
34812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34813 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34815 wxPyEndAllowThreads(__tstate
);
34816 if (PyErr_Occurred()) SWIG_fail
;
34819 resultobj
= wxPyMake_wxObject(result
, 0);
34827 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
;
34829 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34830 wxString
*arg2
= 0 ;
34832 bool temp2
= false ;
34833 PyObject
* obj0
= 0 ;
34834 PyObject
* obj1
= 0 ;
34835 char *kwnames
[] = {
34836 (char *) "self",(char *) "title", NULL
34839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34841 if (SWIG_arg_fail(1)) SWIG_fail
;
34843 arg2
= wxString_in_helper(obj1
);
34844 if (arg2
== NULL
) SWIG_fail
;
34848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34849 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34851 wxPyEndAllowThreads(__tstate
);
34852 if (PyErr_Occurred()) SWIG_fail
;
34855 resultobj
= SWIG_From_int((int)(result
));
34871 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34872 PyObject
*resultobj
;
34873 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34876 PyObject
* obj0
= 0 ;
34877 PyObject
* obj1
= 0 ;
34878 PyObject
* obj2
= 0 ;
34879 char *kwnames
[] = {
34880 (char *) "self",(char *) "id",(char *) "enable", NULL
34883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34885 if (SWIG_arg_fail(1)) SWIG_fail
;
34887 arg2
= (int)(SWIG_As_int(obj1
));
34888 if (SWIG_arg_fail(2)) SWIG_fail
;
34891 arg3
= (bool)(SWIG_As_bool(obj2
));
34892 if (SWIG_arg_fail(3)) SWIG_fail
;
34895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34896 (arg1
)->Enable(arg2
,arg3
);
34898 wxPyEndAllowThreads(__tstate
);
34899 if (PyErr_Occurred()) SWIG_fail
;
34901 Py_INCREF(Py_None
); resultobj
= Py_None
;
34908 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34909 PyObject
*resultobj
;
34910 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34913 PyObject
* obj0
= 0 ;
34914 PyObject
* obj1
= 0 ;
34915 PyObject
* obj2
= 0 ;
34916 char *kwnames
[] = {
34917 (char *) "self",(char *) "id",(char *) "check", NULL
34920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34922 if (SWIG_arg_fail(1)) SWIG_fail
;
34924 arg2
= (int)(SWIG_As_int(obj1
));
34925 if (SWIG_arg_fail(2)) SWIG_fail
;
34928 arg3
= (bool)(SWIG_As_bool(obj2
));
34929 if (SWIG_arg_fail(3)) SWIG_fail
;
34932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34933 (arg1
)->Check(arg2
,arg3
);
34935 wxPyEndAllowThreads(__tstate
);
34936 if (PyErr_Occurred()) SWIG_fail
;
34938 Py_INCREF(Py_None
); resultobj
= Py_None
;
34945 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34946 PyObject
*resultobj
;
34947 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34950 PyObject
* obj0
= 0 ;
34951 PyObject
* obj1
= 0 ;
34952 char *kwnames
[] = {
34953 (char *) "self",(char *) "id", NULL
34956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34958 if (SWIG_arg_fail(1)) SWIG_fail
;
34960 arg2
= (int)(SWIG_As_int(obj1
));
34961 if (SWIG_arg_fail(2)) SWIG_fail
;
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
34967 wxPyEndAllowThreads(__tstate
);
34968 if (PyErr_Occurred()) SWIG_fail
;
34971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34979 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34980 PyObject
*resultobj
;
34981 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34984 PyObject
* obj0
= 0 ;
34985 PyObject
* obj1
= 0 ;
34986 char *kwnames
[] = {
34987 (char *) "self",(char *) "id", NULL
34990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34992 if (SWIG_arg_fail(1)) SWIG_fail
;
34994 arg2
= (int)(SWIG_As_int(obj1
));
34995 if (SWIG_arg_fail(2)) SWIG_fail
;
34998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34999 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35001 wxPyEndAllowThreads(__tstate
);
35002 if (PyErr_Occurred()) SWIG_fail
;
35005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35013 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35014 PyObject
*resultobj
;
35015 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35017 wxString
*arg3
= 0 ;
35018 bool temp3
= false ;
35019 PyObject
* obj0
= 0 ;
35020 PyObject
* obj1
= 0 ;
35021 PyObject
* obj2
= 0 ;
35022 char *kwnames
[] = {
35023 (char *) "self",(char *) "id",(char *) "label", NULL
35026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35028 if (SWIG_arg_fail(1)) SWIG_fail
;
35030 arg2
= (int)(SWIG_As_int(obj1
));
35031 if (SWIG_arg_fail(2)) SWIG_fail
;
35034 arg3
= wxString_in_helper(obj2
);
35035 if (arg3
== NULL
) SWIG_fail
;
35039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35040 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35042 wxPyEndAllowThreads(__tstate
);
35043 if (PyErr_Occurred()) SWIG_fail
;
35045 Py_INCREF(Py_None
); resultobj
= Py_None
;
35060 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
;
35062 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35065 PyObject
* obj0
= 0 ;
35066 PyObject
* obj1
= 0 ;
35067 char *kwnames
[] = {
35068 (char *) "self",(char *) "id", NULL
35071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35073 if (SWIG_arg_fail(1)) SWIG_fail
;
35075 arg2
= (int)(SWIG_As_int(obj1
));
35076 if (SWIG_arg_fail(2)) SWIG_fail
;
35079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35080 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35082 wxPyEndAllowThreads(__tstate
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35098 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35099 PyObject
*resultobj
;
35100 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35102 wxString
*arg3
= 0 ;
35103 bool temp3
= false ;
35104 PyObject
* obj0
= 0 ;
35105 PyObject
* obj1
= 0 ;
35106 PyObject
* obj2
= 0 ;
35107 char *kwnames
[] = {
35108 (char *) "self",(char *) "id",(char *) "helpString", NULL
35111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35113 if (SWIG_arg_fail(1)) SWIG_fail
;
35115 arg2
= (int)(SWIG_As_int(obj1
));
35116 if (SWIG_arg_fail(2)) SWIG_fail
;
35119 arg3
= wxString_in_helper(obj2
);
35120 if (arg3
== NULL
) SWIG_fail
;
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35127 wxPyEndAllowThreads(__tstate
);
35128 if (PyErr_Occurred()) SWIG_fail
;
35130 Py_INCREF(Py_None
); resultobj
= Py_None
;
35145 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35146 PyObject
*resultobj
;
35147 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35150 PyObject
* obj0
= 0 ;
35151 PyObject
* obj1
= 0 ;
35152 char *kwnames
[] = {
35153 (char *) "self",(char *) "id", NULL
35156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35158 if (SWIG_arg_fail(1)) SWIG_fail
;
35160 arg2
= (int)(SWIG_As_int(obj1
));
35161 if (SWIG_arg_fail(2)) SWIG_fail
;
35164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35167 wxPyEndAllowThreads(__tstate
);
35168 if (PyErr_Occurred()) SWIG_fail
;
35172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35183 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35184 PyObject
*resultobj
;
35185 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35187 PyObject
* obj0
= 0 ;
35188 char *kwnames
[] = {
35189 (char *) "self", NULL
35192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35194 if (SWIG_arg_fail(1)) SWIG_fail
;
35196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35197 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35199 wxPyEndAllowThreads(__tstate
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35203 resultobj
= wxPyMake_wxObject(result
, 0);
35211 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35212 PyObject
*resultobj
;
35213 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35215 PyObject
* obj0
= 0 ;
35216 char *kwnames
[] = {
35217 (char *) "self", NULL
35220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35222 if (SWIG_arg_fail(1)) SWIG_fail
;
35224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35225 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35227 wxPyEndAllowThreads(__tstate
);
35228 if (PyErr_Occurred()) SWIG_fail
;
35231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35239 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35240 PyObject
*resultobj
;
35241 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35242 wxFrame
*arg2
= (wxFrame
*) 0 ;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 char *kwnames
[] = {
35246 (char *) "self",(char *) "frame", NULL
35249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35251 if (SWIG_arg_fail(1)) SWIG_fail
;
35252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35253 if (SWIG_arg_fail(2)) SWIG_fail
;
35255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35256 (arg1
)->Attach(arg2
);
35258 wxPyEndAllowThreads(__tstate
);
35259 if (PyErr_Occurred()) SWIG_fail
;
35261 Py_INCREF(Py_None
); resultobj
= Py_None
;
35268 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35269 PyObject
*resultobj
;
35270 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35271 PyObject
* obj0
= 0 ;
35272 char *kwnames
[] = {
35273 (char *) "self", NULL
35276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35278 if (SWIG_arg_fail(1)) SWIG_fail
;
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35283 wxPyEndAllowThreads(__tstate
);
35284 if (PyErr_Occurred()) SWIG_fail
;
35286 Py_INCREF(Py_None
); resultobj
= Py_None
;
35293 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35296 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35298 return Py_BuildValue((char *)"");
35300 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35301 PyObject
*resultobj
;
35302 wxMenu
*arg1
= (wxMenu
*) NULL
;
35303 int arg2
= (int) wxID_ANY
;
35304 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35305 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35306 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35307 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35308 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35309 wxMenu
*arg6
= (wxMenu
*) NULL
;
35310 wxMenuItem
*result
;
35311 bool temp3
= false ;
35312 bool temp4
= false ;
35313 PyObject
* obj0
= 0 ;
35314 PyObject
* obj1
= 0 ;
35315 PyObject
* obj2
= 0 ;
35316 PyObject
* obj3
= 0 ;
35317 PyObject
* obj4
= 0 ;
35318 PyObject
* obj5
= 0 ;
35319 char *kwnames
[] = {
35320 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35326 if (SWIG_arg_fail(1)) SWIG_fail
;
35330 arg2
= (int)(SWIG_As_int(obj1
));
35331 if (SWIG_arg_fail(2)) SWIG_fail
;
35336 arg3
= wxString_in_helper(obj2
);
35337 if (arg3
== NULL
) SWIG_fail
;
35343 arg4
= wxString_in_helper(obj3
);
35344 if (arg4
== NULL
) SWIG_fail
;
35350 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35351 if (SWIG_arg_fail(5)) SWIG_fail
;
35355 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35356 if (SWIG_arg_fail(6)) SWIG_fail
;
35359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35360 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35362 wxPyEndAllowThreads(__tstate
);
35363 if (PyErr_Occurred()) SWIG_fail
;
35366 resultobj
= wxPyMake_wxObject(result
, 1);
35390 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35391 PyObject
*resultobj
;
35392 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35394 PyObject
* obj0
= 0 ;
35395 char *kwnames
[] = {
35396 (char *) "self", NULL
35399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35401 if (SWIG_arg_fail(1)) SWIG_fail
;
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35406 wxPyEndAllowThreads(__tstate
);
35407 if (PyErr_Occurred()) SWIG_fail
;
35410 resultobj
= wxPyMake_wxObject(result
, 0);
35418 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35419 PyObject
*resultobj
;
35420 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35421 wxMenu
*arg2
= (wxMenu
*) 0 ;
35422 PyObject
* obj0
= 0 ;
35423 PyObject
* obj1
= 0 ;
35424 char *kwnames
[] = {
35425 (char *) "self",(char *) "menu", NULL
35428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35430 if (SWIG_arg_fail(1)) SWIG_fail
;
35431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35432 if (SWIG_arg_fail(2)) SWIG_fail
;
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 (arg1
)->SetMenu(arg2
);
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35440 Py_INCREF(Py_None
); resultobj
= Py_None
;
35447 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35448 PyObject
*resultobj
;
35449 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35451 PyObject
* obj0
= 0 ;
35452 PyObject
* obj1
= 0 ;
35453 char *kwnames
[] = {
35454 (char *) "self",(char *) "id", NULL
35457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35459 if (SWIG_arg_fail(1)) SWIG_fail
;
35461 arg2
= (int)(SWIG_As_int(obj1
));
35462 if (SWIG_arg_fail(2)) SWIG_fail
;
35465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35466 (arg1
)->SetId(arg2
);
35468 wxPyEndAllowThreads(__tstate
);
35469 if (PyErr_Occurred()) SWIG_fail
;
35471 Py_INCREF(Py_None
); resultobj
= Py_None
;
35478 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35479 PyObject
*resultobj
;
35480 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35482 PyObject
* obj0
= 0 ;
35483 char *kwnames
[] = {
35484 (char *) "self", NULL
35487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35489 if (SWIG_arg_fail(1)) SWIG_fail
;
35491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35492 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35494 wxPyEndAllowThreads(__tstate
);
35495 if (PyErr_Occurred()) SWIG_fail
;
35498 resultobj
= SWIG_From_int((int)(result
));
35506 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35507 PyObject
*resultobj
;
35508 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35510 PyObject
* obj0
= 0 ;
35511 char *kwnames
[] = {
35512 (char *) "self", NULL
35515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35517 if (SWIG_arg_fail(1)) SWIG_fail
;
35519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35520 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35522 wxPyEndAllowThreads(__tstate
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35534 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35535 PyObject
*resultobj
;
35536 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35537 wxString
*arg2
= 0 ;
35538 bool temp2
= false ;
35539 PyObject
* obj0
= 0 ;
35540 PyObject
* obj1
= 0 ;
35541 char *kwnames
[] = {
35542 (char *) "self",(char *) "str", NULL
35545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35547 if (SWIG_arg_fail(1)) SWIG_fail
;
35549 arg2
= wxString_in_helper(obj1
);
35550 if (arg2
== NULL
) SWIG_fail
;
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 (arg1
)->SetText((wxString
const &)*arg2
);
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35560 Py_INCREF(Py_None
); resultobj
= Py_None
;
35575 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35576 PyObject
*resultobj
;
35577 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35579 PyObject
* obj0
= 0 ;
35580 char *kwnames
[] = {
35581 (char *) "self", NULL
35584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35586 if (SWIG_arg_fail(1)) SWIG_fail
;
35588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35589 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35591 wxPyEndAllowThreads(__tstate
);
35592 if (PyErr_Occurred()) SWIG_fail
;
35596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35607 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35608 PyObject
*resultobj
;
35609 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35611 PyObject
* obj0
= 0 ;
35612 char *kwnames
[] = {
35613 (char *) "self", NULL
35616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35618 if (SWIG_arg_fail(1)) SWIG_fail
;
35620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35622 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35623 result
= (wxString
*) &_result_ref
;
35626 wxPyEndAllowThreads(__tstate
);
35627 if (PyErr_Occurred()) SWIG_fail
;
35631 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35633 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35642 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35643 PyObject
*resultobj
;
35644 wxString
*arg1
= 0 ;
35646 bool temp1
= false ;
35647 PyObject
* obj0
= 0 ;
35648 char *kwnames
[] = {
35649 (char *) "text", NULL
35652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35654 arg1
= wxString_in_helper(obj0
);
35655 if (arg1
== NULL
) SWIG_fail
;
35659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35660 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35686 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35687 PyObject
*resultobj
;
35688 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35690 PyObject
* obj0
= 0 ;
35691 char *kwnames
[] = {
35692 (char *) "self", NULL
35695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35697 if (SWIG_arg_fail(1)) SWIG_fail
;
35699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35700 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35702 wxPyEndAllowThreads(__tstate
);
35703 if (PyErr_Occurred()) SWIG_fail
;
35705 resultobj
= SWIG_From_int((result
));
35712 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35713 PyObject
*resultobj
;
35714 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35716 PyObject
* obj0
= 0 ;
35717 PyObject
* obj1
= 0 ;
35718 char *kwnames
[] = {
35719 (char *) "self",(char *) "kind", NULL
35722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35724 if (SWIG_arg_fail(1)) SWIG_fail
;
35726 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35727 if (SWIG_arg_fail(2)) SWIG_fail
;
35730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35731 (arg1
)->SetKind((wxItemKind
)arg2
);
35733 wxPyEndAllowThreads(__tstate
);
35734 if (PyErr_Occurred()) SWIG_fail
;
35736 Py_INCREF(Py_None
); resultobj
= Py_None
;
35743 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35744 PyObject
*resultobj
;
35745 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35747 PyObject
* obj0
= 0 ;
35748 PyObject
* obj1
= 0 ;
35749 char *kwnames
[] = {
35750 (char *) "self",(char *) "checkable", NULL
35753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35755 if (SWIG_arg_fail(1)) SWIG_fail
;
35757 arg2
= (bool)(SWIG_As_bool(obj1
));
35758 if (SWIG_arg_fail(2)) SWIG_fail
;
35761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35762 (arg1
)->SetCheckable(arg2
);
35764 wxPyEndAllowThreads(__tstate
);
35765 if (PyErr_Occurred()) SWIG_fail
;
35767 Py_INCREF(Py_None
); resultobj
= Py_None
;
35774 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35775 PyObject
*resultobj
;
35776 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35778 PyObject
* obj0
= 0 ;
35779 char *kwnames
[] = {
35780 (char *) "self", NULL
35783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35785 if (SWIG_arg_fail(1)) SWIG_fail
;
35787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35788 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35790 wxPyEndAllowThreads(__tstate
);
35791 if (PyErr_Occurred()) SWIG_fail
;
35794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35802 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35803 PyObject
*resultobj
;
35804 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35806 PyObject
* obj0
= 0 ;
35807 char *kwnames
[] = {
35808 (char *) "self", NULL
35811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35813 if (SWIG_arg_fail(1)) SWIG_fail
;
35815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35816 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35818 wxPyEndAllowThreads(__tstate
);
35819 if (PyErr_Occurred()) SWIG_fail
;
35822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35830 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35831 PyObject
*resultobj
;
35832 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35833 wxMenu
*arg2
= (wxMenu
*) 0 ;
35834 PyObject
* obj0
= 0 ;
35835 PyObject
* obj1
= 0 ;
35836 char *kwnames
[] = {
35837 (char *) "self",(char *) "menu", NULL
35840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35842 if (SWIG_arg_fail(1)) SWIG_fail
;
35843 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35844 if (SWIG_arg_fail(2)) SWIG_fail
;
35846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35847 (arg1
)->SetSubMenu(arg2
);
35849 wxPyEndAllowThreads(__tstate
);
35850 if (PyErr_Occurred()) SWIG_fail
;
35852 Py_INCREF(Py_None
); resultobj
= Py_None
;
35859 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35860 PyObject
*resultobj
;
35861 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35863 PyObject
* obj0
= 0 ;
35864 char *kwnames
[] = {
35865 (char *) "self", NULL
35868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35870 if (SWIG_arg_fail(1)) SWIG_fail
;
35872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35873 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35875 wxPyEndAllowThreads(__tstate
);
35876 if (PyErr_Occurred()) SWIG_fail
;
35879 resultobj
= wxPyMake_wxObject(result
, 0);
35887 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35888 PyObject
*resultobj
;
35889 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35890 bool arg2
= (bool) true ;
35891 PyObject
* obj0
= 0 ;
35892 PyObject
* obj1
= 0 ;
35893 char *kwnames
[] = {
35894 (char *) "self",(char *) "enable", NULL
35897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35899 if (SWIG_arg_fail(1)) SWIG_fail
;
35902 arg2
= (bool)(SWIG_As_bool(obj1
));
35903 if (SWIG_arg_fail(2)) SWIG_fail
;
35907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35908 (arg1
)->Enable(arg2
);
35910 wxPyEndAllowThreads(__tstate
);
35911 if (PyErr_Occurred()) SWIG_fail
;
35913 Py_INCREF(Py_None
); resultobj
= Py_None
;
35920 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35921 PyObject
*resultobj
;
35922 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35924 PyObject
* obj0
= 0 ;
35925 char *kwnames
[] = {
35926 (char *) "self", NULL
35929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
35930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35931 if (SWIG_arg_fail(1)) SWIG_fail
;
35933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35934 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
35936 wxPyEndAllowThreads(__tstate
);
35937 if (PyErr_Occurred()) SWIG_fail
;
35940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35948 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35949 PyObject
*resultobj
;
35950 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35951 bool arg2
= (bool) true ;
35952 PyObject
* obj0
= 0 ;
35953 PyObject
* obj1
= 0 ;
35954 char *kwnames
[] = {
35955 (char *) "self",(char *) "check", NULL
35958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
35959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35960 if (SWIG_arg_fail(1)) SWIG_fail
;
35963 arg2
= (bool)(SWIG_As_bool(obj1
));
35964 if (SWIG_arg_fail(2)) SWIG_fail
;
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35969 (arg1
)->Check(arg2
);
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 Py_INCREF(Py_None
); resultobj
= Py_None
;
35981 static PyObject
*_wrap_MenuItem_IsChecked(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_IsChecked",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
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
35997 wxPyEndAllowThreads(__tstate
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36009 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36010 PyObject
*resultobj
;
36011 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36012 PyObject
* obj0
= 0 ;
36013 char *kwnames
[] = {
36014 (char *) "self", NULL
36017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36019 if (SWIG_arg_fail(1)) SWIG_fail
;
36021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36024 wxPyEndAllowThreads(__tstate
);
36025 if (PyErr_Occurred()) SWIG_fail
;
36027 Py_INCREF(Py_None
); resultobj
= Py_None
;
36034 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36035 PyObject
*resultobj
;
36036 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36037 wxString
*arg2
= 0 ;
36038 bool temp2
= false ;
36039 PyObject
* obj0
= 0 ;
36040 PyObject
* obj1
= 0 ;
36041 char *kwnames
[] = {
36042 (char *) "self",(char *) "str", NULL
36045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36047 if (SWIG_arg_fail(1)) SWIG_fail
;
36049 arg2
= wxString_in_helper(obj1
);
36050 if (arg2
== NULL
) SWIG_fail
;
36054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36055 (arg1
)->SetHelp((wxString
const &)*arg2
);
36057 wxPyEndAllowThreads(__tstate
);
36058 if (PyErr_Occurred()) SWIG_fail
;
36060 Py_INCREF(Py_None
); resultobj
= Py_None
;
36075 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36076 PyObject
*resultobj
;
36077 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36079 PyObject
* obj0
= 0 ;
36080 char *kwnames
[] = {
36081 (char *) "self", NULL
36084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36086 if (SWIG_arg_fail(1)) SWIG_fail
;
36088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36090 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36091 result
= (wxString
*) &_result_ref
;
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36099 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36101 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36110 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36111 PyObject
*resultobj
;
36112 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36113 wxAcceleratorEntry
*result
;
36114 PyObject
* obj0
= 0 ;
36115 char *kwnames
[] = {
36116 (char *) "self", NULL
36119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36121 if (SWIG_arg_fail(1)) SWIG_fail
;
36123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36124 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36126 wxPyEndAllowThreads(__tstate
);
36127 if (PyErr_Occurred()) SWIG_fail
;
36129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36136 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36137 PyObject
*resultobj
;
36138 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36139 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36140 PyObject
* obj0
= 0 ;
36141 PyObject
* obj1
= 0 ;
36142 char *kwnames
[] = {
36143 (char *) "self",(char *) "accel", NULL
36146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36148 if (SWIG_arg_fail(1)) SWIG_fail
;
36149 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36150 if (SWIG_arg_fail(2)) SWIG_fail
;
36152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36153 (arg1
)->SetAccel(arg2
);
36155 wxPyEndAllowThreads(__tstate
);
36156 if (PyErr_Occurred()) SWIG_fail
;
36158 Py_INCREF(Py_None
); resultobj
= Py_None
;
36165 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36166 PyObject
*resultobj
;
36168 char *kwnames
[] = {
36172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36175 result
= (int)MenuItem_GetDefaultMarginWidth();
36177 wxPyEndAllowThreads(__tstate
);
36178 if (PyErr_Occurred()) SWIG_fail
;
36181 resultobj
= SWIG_From_int((int)(result
));
36189 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36190 PyObject
*resultobj
;
36191 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36192 wxBitmap
*arg2
= 0 ;
36193 PyObject
* obj0
= 0 ;
36194 PyObject
* obj1
= 0 ;
36195 char *kwnames
[] = {
36196 (char *) "self",(char *) "bitmap", NULL
36199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36201 if (SWIG_arg_fail(1)) SWIG_fail
;
36203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36204 if (SWIG_arg_fail(2)) SWIG_fail
;
36205 if (arg2
== NULL
) {
36206 SWIG_null_ref("wxBitmap");
36208 if (SWIG_arg_fail(2)) SWIG_fail
;
36211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36212 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36214 wxPyEndAllowThreads(__tstate
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36217 Py_INCREF(Py_None
); resultobj
= Py_None
;
36224 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36225 PyObject
*resultobj
;
36226 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36228 PyObject
* obj0
= 0 ;
36229 char *kwnames
[] = {
36230 (char *) "self", NULL
36233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36235 if (SWIG_arg_fail(1)) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36239 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36240 result
= (wxBitmap
*) &_result_ref
;
36243 wxPyEndAllowThreads(__tstate
);
36244 if (PyErr_Occurred()) SWIG_fail
;
36247 wxBitmap
* resultptr
= new wxBitmap(*result
);
36248 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36256 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36259 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36261 return Py_BuildValue((char *)"");
36263 static int _wrap_ControlNameStr_set(PyObject
*) {
36264 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36269 static PyObject
*_wrap_ControlNameStr_get(void) {
36274 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36276 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36283 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36284 PyObject
*resultobj
;
36285 wxWindow
*arg1
= (wxWindow
*) 0 ;
36286 int arg2
= (int) -1 ;
36287 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36288 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36289 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36290 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36291 long arg5
= (long) 0 ;
36292 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36293 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36294 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36295 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36299 bool temp7
= false ;
36300 PyObject
* obj0
= 0 ;
36301 PyObject
* obj1
= 0 ;
36302 PyObject
* obj2
= 0 ;
36303 PyObject
* obj3
= 0 ;
36304 PyObject
* obj4
= 0 ;
36305 PyObject
* obj5
= 0 ;
36306 PyObject
* obj6
= 0 ;
36307 char *kwnames
[] = {
36308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36313 if (SWIG_arg_fail(1)) SWIG_fail
;
36316 arg2
= (int)(SWIG_As_int(obj1
));
36317 if (SWIG_arg_fail(2)) SWIG_fail
;
36323 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36329 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36334 arg5
= (long)(SWIG_As_long(obj4
));
36335 if (SWIG_arg_fail(5)) SWIG_fail
;
36340 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36341 if (SWIG_arg_fail(6)) SWIG_fail
;
36342 if (arg6
== NULL
) {
36343 SWIG_null_ref("wxValidator");
36345 if (SWIG_arg_fail(6)) SWIG_fail
;
36350 arg7
= wxString_in_helper(obj6
);
36351 if (arg7
== NULL
) SWIG_fail
;
36356 if (!wxPyCheckForApp()) SWIG_fail
;
36357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36358 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36360 wxPyEndAllowThreads(__tstate
);
36361 if (PyErr_Occurred()) SWIG_fail
;
36363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36378 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36379 PyObject
*resultobj
;
36381 char *kwnames
[] = {
36385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36387 if (!wxPyCheckForApp()) SWIG_fail
;
36388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36389 result
= (wxControl
*)new wxControl();
36391 wxPyEndAllowThreads(__tstate
);
36392 if (PyErr_Occurred()) SWIG_fail
;
36394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36401 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36402 PyObject
*resultobj
;
36403 wxControl
*arg1
= (wxControl
*) 0 ;
36404 wxWindow
*arg2
= (wxWindow
*) 0 ;
36405 int arg3
= (int) -1 ;
36406 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36407 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36408 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36409 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36410 long arg6
= (long) 0 ;
36411 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36412 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36413 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36414 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36418 bool temp8
= false ;
36419 PyObject
* obj0
= 0 ;
36420 PyObject
* obj1
= 0 ;
36421 PyObject
* obj2
= 0 ;
36422 PyObject
* obj3
= 0 ;
36423 PyObject
* obj4
= 0 ;
36424 PyObject
* obj5
= 0 ;
36425 PyObject
* obj6
= 0 ;
36426 PyObject
* obj7
= 0 ;
36427 char *kwnames
[] = {
36428 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36433 if (SWIG_arg_fail(1)) SWIG_fail
;
36434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36435 if (SWIG_arg_fail(2)) SWIG_fail
;
36438 arg3
= (int)(SWIG_As_int(obj2
));
36439 if (SWIG_arg_fail(3)) SWIG_fail
;
36445 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36451 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36456 arg6
= (long)(SWIG_As_long(obj5
));
36457 if (SWIG_arg_fail(6)) SWIG_fail
;
36462 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36463 if (SWIG_arg_fail(7)) SWIG_fail
;
36464 if (arg7
== NULL
) {
36465 SWIG_null_ref("wxValidator");
36467 if (SWIG_arg_fail(7)) SWIG_fail
;
36472 arg8
= wxString_in_helper(obj7
);
36473 if (arg8
== NULL
) SWIG_fail
;
36478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36479 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36481 wxPyEndAllowThreads(__tstate
);
36482 if (PyErr_Occurred()) SWIG_fail
;
36485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36501 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36502 PyObject
*resultobj
;
36503 wxControl
*arg1
= (wxControl
*) 0 ;
36504 wxCommandEvent
*arg2
= 0 ;
36505 PyObject
* obj0
= 0 ;
36506 PyObject
* obj1
= 0 ;
36507 char *kwnames
[] = {
36508 (char *) "self",(char *) "event", NULL
36511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
36512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36513 if (SWIG_arg_fail(1)) SWIG_fail
;
36515 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
36516 if (SWIG_arg_fail(2)) SWIG_fail
;
36517 if (arg2
== NULL
) {
36518 SWIG_null_ref("wxCommandEvent");
36520 if (SWIG_arg_fail(2)) SWIG_fail
;
36523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36524 (arg1
)->Command(*arg2
);
36526 wxPyEndAllowThreads(__tstate
);
36527 if (PyErr_Occurred()) SWIG_fail
;
36529 Py_INCREF(Py_None
); resultobj
= Py_None
;
36536 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36537 PyObject
*resultobj
;
36538 wxControl
*arg1
= (wxControl
*) 0 ;
36540 PyObject
* obj0
= 0 ;
36541 char *kwnames
[] = {
36542 (char *) "self", NULL
36545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
36546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36547 if (SWIG_arg_fail(1)) SWIG_fail
;
36549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36550 result
= (arg1
)->GetLabel();
36552 wxPyEndAllowThreads(__tstate
);
36553 if (PyErr_Occurred()) SWIG_fail
;
36557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36568 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36569 PyObject
*resultobj
;
36570 wxControl
*arg1
= (wxControl
*) 0 ;
36571 wxString
*arg2
= 0 ;
36572 bool temp2
= false ;
36573 PyObject
* obj0
= 0 ;
36574 PyObject
* obj1
= 0 ;
36575 char *kwnames
[] = {
36576 (char *) "self",(char *) "label", NULL
36579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36580 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36581 if (SWIG_arg_fail(1)) SWIG_fail
;
36583 arg2
= wxString_in_helper(obj1
);
36584 if (arg2
== NULL
) SWIG_fail
;
36588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36589 (arg1
)->SetLabel((wxString
const &)*arg2
);
36591 wxPyEndAllowThreads(__tstate
);
36592 if (PyErr_Occurred()) SWIG_fail
;
36594 Py_INCREF(Py_None
); resultobj
= Py_None
;
36609 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36610 PyObject
*resultobj
;
36611 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36612 wxVisualAttributes result
;
36613 PyObject
* obj0
= 0 ;
36614 char *kwnames
[] = {
36615 (char *) "variant", NULL
36618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
36621 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
36622 if (SWIG_arg_fail(1)) SWIG_fail
;
36626 if (!wxPyCheckForApp()) SWIG_fail
;
36627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36628 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
36630 wxPyEndAllowThreads(__tstate
);
36631 if (PyErr_Occurred()) SWIG_fail
;
36634 wxVisualAttributes
* resultptr
;
36635 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
36636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
36644 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
36646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36647 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
36649 return Py_BuildValue((char *)"");
36651 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36652 PyObject
*resultobj
;
36653 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36654 wxString
*arg2
= 0 ;
36655 PyObject
*arg3
= (PyObject
*) NULL
;
36657 bool temp2
= false ;
36658 PyObject
* obj0
= 0 ;
36659 PyObject
* obj1
= 0 ;
36660 PyObject
* obj2
= 0 ;
36661 char *kwnames
[] = {
36662 (char *) "self",(char *) "item",(char *) "clientData", NULL
36665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36667 if (SWIG_arg_fail(1)) SWIG_fail
;
36669 arg2
= wxString_in_helper(obj1
);
36670 if (arg2
== NULL
) SWIG_fail
;
36677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36678 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
36680 wxPyEndAllowThreads(__tstate
);
36681 if (PyErr_Occurred()) SWIG_fail
;
36684 resultobj
= SWIG_From_int((int)(result
));
36700 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36701 PyObject
*resultobj
;
36702 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36703 wxArrayString
*arg2
= 0 ;
36704 bool temp2
= false ;
36705 PyObject
* obj0
= 0 ;
36706 PyObject
* obj1
= 0 ;
36707 char *kwnames
[] = {
36708 (char *) "self",(char *) "strings", NULL
36711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36713 if (SWIG_arg_fail(1)) SWIG_fail
;
36715 if (! PySequence_Check(obj1
)) {
36716 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
36719 arg2
= new wxArrayString
;
36721 int i
, len
=PySequence_Length(obj1
);
36722 for (i
=0; i
<len
; i
++) {
36723 PyObject
* item
= PySequence_GetItem(obj1
, i
);
36725 PyObject
* str
= PyObject_Unicode(item
);
36727 PyObject
* str
= PyObject_Str(item
);
36729 if (PyErr_Occurred()) SWIG_fail
;
36730 arg2
->Add(Py2wxString(str
));
36736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36737 (arg1
)->Append((wxArrayString
const &)*arg2
);
36739 wxPyEndAllowThreads(__tstate
);
36740 if (PyErr_Occurred()) SWIG_fail
;
36742 Py_INCREF(Py_None
); resultobj
= Py_None
;
36744 if (temp2
) delete arg2
;
36749 if (temp2
) delete arg2
;
36755 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36756 PyObject
*resultobj
;
36757 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36758 wxString
*arg2
= 0 ;
36760 PyObject
*arg4
= (PyObject
*) NULL
;
36762 bool temp2
= false ;
36763 PyObject
* obj0
= 0 ;
36764 PyObject
* obj1
= 0 ;
36765 PyObject
* obj2
= 0 ;
36766 PyObject
* obj3
= 0 ;
36767 char *kwnames
[] = {
36768 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
36771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36773 if (SWIG_arg_fail(1)) SWIG_fail
;
36775 arg2
= wxString_in_helper(obj1
);
36776 if (arg2
== NULL
) SWIG_fail
;
36780 arg3
= (int)(SWIG_As_int(obj2
));
36781 if (SWIG_arg_fail(3)) SWIG_fail
;
36787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36788 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
36790 wxPyEndAllowThreads(__tstate
);
36791 if (PyErr_Occurred()) SWIG_fail
;
36794 resultobj
= SWIG_From_int((int)(result
));
36810 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36811 PyObject
*resultobj
;
36812 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36813 PyObject
* obj0
= 0 ;
36814 char *kwnames
[] = {
36815 (char *) "self", NULL
36818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
36819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36820 if (SWIG_arg_fail(1)) SWIG_fail
;
36822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36825 wxPyEndAllowThreads(__tstate
);
36826 if (PyErr_Occurred()) SWIG_fail
;
36828 Py_INCREF(Py_None
); resultobj
= Py_None
;
36835 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36836 PyObject
*resultobj
;
36837 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36839 PyObject
* obj0
= 0 ;
36840 PyObject
* obj1
= 0 ;
36841 char *kwnames
[] = {
36842 (char *) "self",(char *) "n", NULL
36845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
36846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36847 if (SWIG_arg_fail(1)) SWIG_fail
;
36849 arg2
= (int)(SWIG_As_int(obj1
));
36850 if (SWIG_arg_fail(2)) SWIG_fail
;
36853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36854 (arg1
)->Delete(arg2
);
36856 wxPyEndAllowThreads(__tstate
);
36857 if (PyErr_Occurred()) SWIG_fail
;
36859 Py_INCREF(Py_None
); resultobj
= Py_None
;
36866 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36867 PyObject
*resultobj
;
36868 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36871 PyObject
* obj0
= 0 ;
36872 PyObject
* obj1
= 0 ;
36873 char *kwnames
[] = {
36874 (char *) "self",(char *) "n", NULL
36877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
36878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36879 if (SWIG_arg_fail(1)) SWIG_fail
;
36881 arg2
= (int)(SWIG_As_int(obj1
));
36882 if (SWIG_arg_fail(2)) SWIG_fail
;
36885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36886 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
36888 wxPyEndAllowThreads(__tstate
);
36889 if (PyErr_Occurred()) SWIG_fail
;
36891 resultobj
= result
;
36898 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36899 PyObject
*resultobj
;
36900 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36902 PyObject
*arg3
= (PyObject
*) 0 ;
36903 PyObject
* obj0
= 0 ;
36904 PyObject
* obj1
= 0 ;
36905 PyObject
* obj2
= 0 ;
36906 char *kwnames
[] = {
36907 (char *) "self",(char *) "n",(char *) "clientData", NULL
36910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36912 if (SWIG_arg_fail(1)) SWIG_fail
;
36914 arg2
= (int)(SWIG_As_int(obj1
));
36915 if (SWIG_arg_fail(2)) SWIG_fail
;
36919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36920 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
36922 wxPyEndAllowThreads(__tstate
);
36923 if (PyErr_Occurred()) SWIG_fail
;
36925 Py_INCREF(Py_None
); resultobj
= Py_None
;
36932 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36933 PyObject
*resultobj
;
36934 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36936 PyObject
* obj0
= 0 ;
36937 char *kwnames
[] = {
36938 (char *) "self", NULL
36941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36946 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
36948 wxPyEndAllowThreads(__tstate
);
36949 if (PyErr_Occurred()) SWIG_fail
;
36952 resultobj
= SWIG_From_int((int)(result
));
36960 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36961 PyObject
*resultobj
;
36962 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36964 PyObject
* obj0
= 0 ;
36965 char *kwnames
[] = {
36966 (char *) "self", NULL
36969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
36970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36971 if (SWIG_arg_fail(1)) SWIG_fail
;
36973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36974 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
36976 wxPyEndAllowThreads(__tstate
);
36977 if (PyErr_Occurred()) SWIG_fail
;
36980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36988 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36989 PyObject
*resultobj
;
36990 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36993 PyObject
* obj0
= 0 ;
36994 PyObject
* obj1
= 0 ;
36995 char *kwnames
[] = {
36996 (char *) "self",(char *) "n", NULL
36999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37001 if (SWIG_arg_fail(1)) SWIG_fail
;
37003 arg2
= (int)(SWIG_As_int(obj1
));
37004 if (SWIG_arg_fail(2)) SWIG_fail
;
37007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37008 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37010 wxPyEndAllowThreads(__tstate
);
37011 if (PyErr_Occurred()) SWIG_fail
;
37015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37026 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37027 PyObject
*resultobj
;
37028 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37029 wxArrayString result
;
37030 PyObject
* obj0
= 0 ;
37031 char *kwnames
[] = {
37032 (char *) "self", NULL
37035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37037 if (SWIG_arg_fail(1)) SWIG_fail
;
37039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37040 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37042 wxPyEndAllowThreads(__tstate
);
37043 if (PyErr_Occurred()) SWIG_fail
;
37046 resultobj
= wxArrayString2PyList_helper(result
);
37054 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37055 PyObject
*resultobj
;
37056 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37058 wxString
*arg3
= 0 ;
37059 bool temp3
= false ;
37060 PyObject
* obj0
= 0 ;
37061 PyObject
* obj1
= 0 ;
37062 PyObject
* obj2
= 0 ;
37063 char *kwnames
[] = {
37064 (char *) "self",(char *) "n",(char *) "s", NULL
37067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37069 if (SWIG_arg_fail(1)) SWIG_fail
;
37071 arg2
= (int)(SWIG_As_int(obj1
));
37072 if (SWIG_arg_fail(2)) SWIG_fail
;
37075 arg3
= wxString_in_helper(obj2
);
37076 if (arg3
== NULL
) SWIG_fail
;
37080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37081 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37086 Py_INCREF(Py_None
); resultobj
= Py_None
;
37101 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37102 PyObject
*resultobj
;
37103 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37104 wxString
*arg2
= 0 ;
37106 bool temp2
= false ;
37107 PyObject
* obj0
= 0 ;
37108 PyObject
* obj1
= 0 ;
37109 char *kwnames
[] = {
37110 (char *) "self",(char *) "s", NULL
37113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37115 if (SWIG_arg_fail(1)) SWIG_fail
;
37117 arg2
= wxString_in_helper(obj1
);
37118 if (arg2
== NULL
) SWIG_fail
;
37122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37123 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37125 wxPyEndAllowThreads(__tstate
);
37126 if (PyErr_Occurred()) SWIG_fail
;
37129 resultobj
= SWIG_From_int((int)(result
));
37145 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37146 PyObject
*resultobj
;
37147 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37149 PyObject
* obj0
= 0 ;
37150 PyObject
* obj1
= 0 ;
37151 char *kwnames
[] = {
37152 (char *) "self",(char *) "n", NULL
37155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37157 if (SWIG_arg_fail(1)) SWIG_fail
;
37159 arg2
= (int)(SWIG_As_int(obj1
));
37160 if (SWIG_arg_fail(2)) SWIG_fail
;
37163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37164 (arg1
)->SetSelection(arg2
);
37166 wxPyEndAllowThreads(__tstate
);
37167 if (PyErr_Occurred()) SWIG_fail
;
37169 Py_INCREF(Py_None
); resultobj
= Py_None
;
37176 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37177 PyObject
*resultobj
;
37178 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37180 PyObject
* obj0
= 0 ;
37181 char *kwnames
[] = {
37182 (char *) "self", NULL
37185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37187 if (SWIG_arg_fail(1)) SWIG_fail
;
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37192 wxPyEndAllowThreads(__tstate
);
37193 if (PyErr_Occurred()) SWIG_fail
;
37196 resultobj
= SWIG_From_int((int)(result
));
37204 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37205 PyObject
*resultobj
;
37206 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37207 wxString
*arg2
= 0 ;
37209 bool temp2
= false ;
37210 PyObject
* obj0
= 0 ;
37211 PyObject
* obj1
= 0 ;
37212 char *kwnames
[] = {
37213 (char *) "self",(char *) "s", NULL
37216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37218 if (SWIG_arg_fail(1)) SWIG_fail
;
37220 arg2
= wxString_in_helper(obj1
);
37221 if (arg2
== NULL
) SWIG_fail
;
37225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37226 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37228 wxPyEndAllowThreads(__tstate
);
37229 if (PyErr_Occurred()) SWIG_fail
;
37232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37248 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37249 PyObject
*resultobj
;
37250 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37252 PyObject
* obj0
= 0 ;
37253 char *kwnames
[] = {
37254 (char *) "self", NULL
37257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37259 if (SWIG_arg_fail(1)) SWIG_fail
;
37261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37262 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37264 wxPyEndAllowThreads(__tstate
);
37265 if (PyErr_Occurred()) SWIG_fail
;
37269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37280 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37281 PyObject
*resultobj
;
37282 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37284 PyObject
* obj0
= 0 ;
37285 PyObject
* obj1
= 0 ;
37286 char *kwnames
[] = {
37287 (char *) "self",(char *) "n", NULL
37290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37292 if (SWIG_arg_fail(1)) SWIG_fail
;
37294 arg2
= (int)(SWIG_As_int(obj1
));
37295 if (SWIG_arg_fail(2)) SWIG_fail
;
37298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37299 (arg1
)->Select(arg2
);
37301 wxPyEndAllowThreads(__tstate
);
37302 if (PyErr_Occurred()) SWIG_fail
;
37304 Py_INCREF(Py_None
); resultobj
= Py_None
;
37311 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37314 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37316 return Py_BuildValue((char *)"");
37318 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37321 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37323 return Py_BuildValue((char *)"");
37325 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37326 PyObject
*resultobj
;
37327 wxSizerItem
*result
;
37328 char *kwnames
[] = {
37332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37335 result
= (wxSizerItem
*)new wxSizerItem();
37337 wxPyEndAllowThreads(__tstate
);
37338 if (PyErr_Occurred()) SWIG_fail
;
37340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37347 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37348 PyObject
*resultobj
;
37349 wxWindow
*arg1
= (wxWindow
*) 0 ;
37353 PyObject
*arg5
= (PyObject
*) NULL
;
37354 wxSizerItem
*result
;
37355 PyObject
* obj0
= 0 ;
37356 PyObject
* obj1
= 0 ;
37357 PyObject
* obj2
= 0 ;
37358 PyObject
* obj3
= 0 ;
37359 PyObject
* obj4
= 0 ;
37360 char *kwnames
[] = {
37361 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37366 if (SWIG_arg_fail(1)) SWIG_fail
;
37368 arg2
= (int)(SWIG_As_int(obj1
));
37369 if (SWIG_arg_fail(2)) SWIG_fail
;
37372 arg3
= (int)(SWIG_As_int(obj2
));
37373 if (SWIG_arg_fail(3)) SWIG_fail
;
37376 arg4
= (int)(SWIG_As_int(obj3
));
37377 if (SWIG_arg_fail(4)) SWIG_fail
;
37383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37384 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37386 wxPyEndAllowThreads(__tstate
);
37387 if (PyErr_Occurred()) SWIG_fail
;
37389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37396 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37397 PyObject
*resultobj
;
37403 PyObject
*arg6
= (PyObject
*) NULL
;
37404 wxSizerItem
*result
;
37405 PyObject
* obj0
= 0 ;
37406 PyObject
* obj1
= 0 ;
37407 PyObject
* obj2
= 0 ;
37408 PyObject
* obj3
= 0 ;
37409 PyObject
* obj4
= 0 ;
37410 PyObject
* obj5
= 0 ;
37411 char *kwnames
[] = {
37412 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37417 arg1
= (int)(SWIG_As_int(obj0
));
37418 if (SWIG_arg_fail(1)) SWIG_fail
;
37421 arg2
= (int)(SWIG_As_int(obj1
));
37422 if (SWIG_arg_fail(2)) SWIG_fail
;
37425 arg3
= (int)(SWIG_As_int(obj2
));
37426 if (SWIG_arg_fail(3)) SWIG_fail
;
37429 arg4
= (int)(SWIG_As_int(obj3
));
37430 if (SWIG_arg_fail(4)) SWIG_fail
;
37433 arg5
= (int)(SWIG_As_int(obj4
));
37434 if (SWIG_arg_fail(5)) SWIG_fail
;
37440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37441 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37443 wxPyEndAllowThreads(__tstate
);
37444 if (PyErr_Occurred()) SWIG_fail
;
37446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37453 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37454 PyObject
*resultobj
;
37455 wxSizer
*arg1
= (wxSizer
*) 0 ;
37459 PyObject
*arg5
= (PyObject
*) NULL
;
37460 wxSizerItem
*result
;
37461 PyObject
* obj0
= 0 ;
37462 PyObject
* obj1
= 0 ;
37463 PyObject
* obj2
= 0 ;
37464 PyObject
* obj3
= 0 ;
37465 PyObject
* obj4
= 0 ;
37466 char *kwnames
[] = {
37467 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37472 if (SWIG_arg_fail(1)) SWIG_fail
;
37474 arg2
= (int)(SWIG_As_int(obj1
));
37475 if (SWIG_arg_fail(2)) SWIG_fail
;
37478 arg3
= (int)(SWIG_As_int(obj2
));
37479 if (SWIG_arg_fail(3)) SWIG_fail
;
37482 arg4
= (int)(SWIG_As_int(obj3
));
37483 if (SWIG_arg_fail(4)) SWIG_fail
;
37489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37490 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37492 wxPyEndAllowThreads(__tstate
);
37493 if (PyErr_Occurred()) SWIG_fail
;
37495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37502 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37503 PyObject
*resultobj
;
37504 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37505 PyObject
* obj0
= 0 ;
37506 char *kwnames
[] = {
37507 (char *) "self", NULL
37510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37512 if (SWIG_arg_fail(1)) SWIG_fail
;
37514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37515 (arg1
)->DeleteWindows();
37517 wxPyEndAllowThreads(__tstate
);
37518 if (PyErr_Occurred()) SWIG_fail
;
37520 Py_INCREF(Py_None
); resultobj
= Py_None
;
37527 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37528 PyObject
*resultobj
;
37529 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37530 PyObject
* obj0
= 0 ;
37531 char *kwnames
[] = {
37532 (char *) "self", NULL
37535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
37536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37537 if (SWIG_arg_fail(1)) SWIG_fail
;
37539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37540 (arg1
)->DetachSizer();
37542 wxPyEndAllowThreads(__tstate
);
37543 if (PyErr_Occurred()) SWIG_fail
;
37545 Py_INCREF(Py_None
); resultobj
= Py_None
;
37552 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37553 PyObject
*resultobj
;
37554 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37556 PyObject
* obj0
= 0 ;
37557 char *kwnames
[] = {
37558 (char *) "self", NULL
37561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
37562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37563 if (SWIG_arg_fail(1)) SWIG_fail
;
37565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37566 result
= (arg1
)->GetSize();
37568 wxPyEndAllowThreads(__tstate
);
37569 if (PyErr_Occurred()) SWIG_fail
;
37572 wxSize
* resultptr
;
37573 resultptr
= new wxSize((wxSize
&)(result
));
37574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37582 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37583 PyObject
*resultobj
;
37584 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37586 PyObject
* obj0
= 0 ;
37587 char *kwnames
[] = {
37588 (char *) "self", NULL
37591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
37592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37593 if (SWIG_arg_fail(1)) SWIG_fail
;
37595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37596 result
= (arg1
)->CalcMin();
37598 wxPyEndAllowThreads(__tstate
);
37599 if (PyErr_Occurred()) SWIG_fail
;
37602 wxSize
* resultptr
;
37603 resultptr
= new wxSize((wxSize
&)(result
));
37604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37612 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37613 PyObject
*resultobj
;
37614 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37617 PyObject
* obj0
= 0 ;
37618 PyObject
* obj1
= 0 ;
37619 PyObject
* obj2
= 0 ;
37620 char *kwnames
[] = {
37621 (char *) "self",(char *) "pos",(char *) "size", NULL
37624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37626 if (SWIG_arg_fail(1)) SWIG_fail
;
37629 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
37630 if (SWIG_arg_fail(2)) SWIG_fail
;
37631 if (argp
== NULL
) {
37632 SWIG_null_ref("wxPoint");
37634 if (SWIG_arg_fail(2)) SWIG_fail
;
37639 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37640 if (SWIG_arg_fail(3)) SWIG_fail
;
37641 if (argp
== NULL
) {
37642 SWIG_null_ref("wxSize");
37644 if (SWIG_arg_fail(3)) SWIG_fail
;
37648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37649 (arg1
)->SetDimension(arg2
,arg3
);
37651 wxPyEndAllowThreads(__tstate
);
37652 if (PyErr_Occurred()) SWIG_fail
;
37654 Py_INCREF(Py_None
); resultobj
= Py_None
;
37661 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37662 PyObject
*resultobj
;
37663 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37665 PyObject
* obj0
= 0 ;
37666 char *kwnames
[] = {
37667 (char *) "self", NULL
37670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
37671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37672 if (SWIG_arg_fail(1)) SWIG_fail
;
37674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37675 result
= (arg1
)->GetMinSize();
37677 wxPyEndAllowThreads(__tstate
);
37678 if (PyErr_Occurred()) SWIG_fail
;
37681 wxSize
* resultptr
;
37682 resultptr
= new wxSize((wxSize
&)(result
));
37683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37691 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37692 PyObject
*resultobj
;
37693 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37695 PyObject
* obj0
= 0 ;
37696 char *kwnames
[] = {
37697 (char *) "self", NULL
37700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
37701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37702 if (SWIG_arg_fail(1)) SWIG_fail
;
37704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37705 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
37707 wxPyEndAllowThreads(__tstate
);
37708 if (PyErr_Occurred()) SWIG_fail
;
37711 wxSize
* resultptr
;
37712 resultptr
= new wxSize((wxSize
&)(result
));
37713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37721 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37722 PyObject
*resultobj
;
37723 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37726 PyObject
* obj0
= 0 ;
37727 PyObject
* obj1
= 0 ;
37728 PyObject
* obj2
= 0 ;
37729 char *kwnames
[] = {
37730 (char *) "self",(char *) "x",(char *) "y", NULL
37733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37735 if (SWIG_arg_fail(1)) SWIG_fail
;
37737 arg2
= (int)(SWIG_As_int(obj1
));
37738 if (SWIG_arg_fail(2)) SWIG_fail
;
37741 arg3
= (int)(SWIG_As_int(obj2
));
37742 if (SWIG_arg_fail(3)) SWIG_fail
;
37745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37746 (arg1
)->SetInitSize(arg2
,arg3
);
37748 wxPyEndAllowThreads(__tstate
);
37749 if (PyErr_Occurred()) SWIG_fail
;
37751 Py_INCREF(Py_None
); resultobj
= Py_None
;
37758 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37759 PyObject
*resultobj
;
37760 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37763 PyObject
* obj0
= 0 ;
37764 PyObject
* obj1
= 0 ;
37765 PyObject
* obj2
= 0 ;
37766 char *kwnames
[] = {
37767 (char *) "self",(char *) "width",(char *) "height", NULL
37770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37772 if (SWIG_arg_fail(1)) SWIG_fail
;
37774 arg2
= (int)(SWIG_As_int(obj1
));
37775 if (SWIG_arg_fail(2)) SWIG_fail
;
37778 arg3
= (int)(SWIG_As_int(obj2
));
37779 if (SWIG_arg_fail(3)) SWIG_fail
;
37782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37783 (arg1
)->SetRatio(arg2
,arg3
);
37785 wxPyEndAllowThreads(__tstate
);
37786 if (PyErr_Occurred()) SWIG_fail
;
37788 Py_INCREF(Py_None
); resultobj
= Py_None
;
37795 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37796 PyObject
*resultobj
;
37797 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37799 PyObject
* obj0
= 0 ;
37800 PyObject
* obj1
= 0 ;
37801 char *kwnames
[] = {
37802 (char *) "self",(char *) "size", NULL
37805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37807 if (SWIG_arg_fail(1)) SWIG_fail
;
37810 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37811 if (SWIG_arg_fail(2)) SWIG_fail
;
37812 if (argp
== NULL
) {
37813 SWIG_null_ref("wxSize");
37815 if (SWIG_arg_fail(2)) SWIG_fail
;
37819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37820 (arg1
)->SetRatio(arg2
);
37822 wxPyEndAllowThreads(__tstate
);
37823 if (PyErr_Occurred()) SWIG_fail
;
37825 Py_INCREF(Py_None
); resultobj
= Py_None
;
37832 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37833 PyObject
*resultobj
;
37834 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37836 PyObject
* obj0
= 0 ;
37837 PyObject
* obj1
= 0 ;
37838 char *kwnames
[] = {
37839 (char *) "self",(char *) "ratio", NULL
37842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
37843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37844 if (SWIG_arg_fail(1)) SWIG_fail
;
37846 arg2
= (float)(SWIG_As_float(obj1
));
37847 if (SWIG_arg_fail(2)) SWIG_fail
;
37850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37851 (arg1
)->SetRatio(arg2
);
37853 wxPyEndAllowThreads(__tstate
);
37854 if (PyErr_Occurred()) SWIG_fail
;
37856 Py_INCREF(Py_None
); resultobj
= Py_None
;
37863 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37864 PyObject
*resultobj
;
37865 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37867 PyObject
* obj0
= 0 ;
37868 char *kwnames
[] = {
37869 (char *) "self", NULL
37872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
37873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37874 if (SWIG_arg_fail(1)) SWIG_fail
;
37876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37877 result
= (float)(arg1
)->GetRatio();
37879 wxPyEndAllowThreads(__tstate
);
37880 if (PyErr_Occurred()) SWIG_fail
;
37883 resultobj
= SWIG_From_float((float)(result
));
37891 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37892 PyObject
*resultobj
;
37893 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37895 PyObject
* obj0
= 0 ;
37896 char *kwnames
[] = {
37897 (char *) "self", NULL
37900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
37901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37902 if (SWIG_arg_fail(1)) SWIG_fail
;
37904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37905 result
= (arg1
)->GetRect();
37907 wxPyEndAllowThreads(__tstate
);
37908 if (PyErr_Occurred()) SWIG_fail
;
37911 wxRect
* resultptr
;
37912 resultptr
= new wxRect((wxRect
&)(result
));
37913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
37921 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37922 PyObject
*resultobj
;
37923 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37925 PyObject
* obj0
= 0 ;
37926 char *kwnames
[] = {
37927 (char *) "self", NULL
37930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
37931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37932 if (SWIG_arg_fail(1)) SWIG_fail
;
37934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37935 result
= (bool)(arg1
)->IsWindow();
37937 wxPyEndAllowThreads(__tstate
);
37938 if (PyErr_Occurred()) SWIG_fail
;
37941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37949 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37950 PyObject
*resultobj
;
37951 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37953 PyObject
* obj0
= 0 ;
37954 char *kwnames
[] = {
37955 (char *) "self", NULL
37958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
37959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37960 if (SWIG_arg_fail(1)) SWIG_fail
;
37962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37963 result
= (bool)(arg1
)->IsSizer();
37965 wxPyEndAllowThreads(__tstate
);
37966 if (PyErr_Occurred()) SWIG_fail
;
37969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37977 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37978 PyObject
*resultobj
;
37979 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37981 PyObject
* obj0
= 0 ;
37982 char *kwnames
[] = {
37983 (char *) "self", NULL
37986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
37987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37988 if (SWIG_arg_fail(1)) SWIG_fail
;
37990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37991 result
= (bool)(arg1
)->IsSpacer();
37993 wxPyEndAllowThreads(__tstate
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38005 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38006 PyObject
*resultobj
;
38007 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38009 PyObject
* obj0
= 0 ;
38010 PyObject
* obj1
= 0 ;
38011 char *kwnames
[] = {
38012 (char *) "self",(char *) "proportion", NULL
38015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38017 if (SWIG_arg_fail(1)) SWIG_fail
;
38019 arg2
= (int)(SWIG_As_int(obj1
));
38020 if (SWIG_arg_fail(2)) SWIG_fail
;
38023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38024 (arg1
)->SetProportion(arg2
);
38026 wxPyEndAllowThreads(__tstate
);
38027 if (PyErr_Occurred()) SWIG_fail
;
38029 Py_INCREF(Py_None
); resultobj
= Py_None
;
38036 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38037 PyObject
*resultobj
;
38038 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38040 PyObject
* obj0
= 0 ;
38041 char *kwnames
[] = {
38042 (char *) "self", NULL
38045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38047 if (SWIG_arg_fail(1)) SWIG_fail
;
38049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38050 result
= (int)(arg1
)->GetProportion();
38052 wxPyEndAllowThreads(__tstate
);
38053 if (PyErr_Occurred()) SWIG_fail
;
38056 resultobj
= SWIG_From_int((int)(result
));
38064 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38065 PyObject
*resultobj
;
38066 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38068 PyObject
* obj0
= 0 ;
38069 PyObject
* obj1
= 0 ;
38070 char *kwnames
[] = {
38071 (char *) "self",(char *) "flag", NULL
38074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38076 if (SWIG_arg_fail(1)) SWIG_fail
;
38078 arg2
= (int)(SWIG_As_int(obj1
));
38079 if (SWIG_arg_fail(2)) SWIG_fail
;
38082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38083 (arg1
)->SetFlag(arg2
);
38085 wxPyEndAllowThreads(__tstate
);
38086 if (PyErr_Occurred()) SWIG_fail
;
38088 Py_INCREF(Py_None
); resultobj
= Py_None
;
38095 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38096 PyObject
*resultobj
;
38097 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38099 PyObject
* obj0
= 0 ;
38100 char *kwnames
[] = {
38101 (char *) "self", NULL
38104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38106 if (SWIG_arg_fail(1)) SWIG_fail
;
38108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38109 result
= (int)(arg1
)->GetFlag();
38111 wxPyEndAllowThreads(__tstate
);
38112 if (PyErr_Occurred()) SWIG_fail
;
38115 resultobj
= SWIG_From_int((int)(result
));
38123 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38124 PyObject
*resultobj
;
38125 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38127 PyObject
* obj0
= 0 ;
38128 PyObject
* obj1
= 0 ;
38129 char *kwnames
[] = {
38130 (char *) "self",(char *) "border", NULL
38133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38135 if (SWIG_arg_fail(1)) SWIG_fail
;
38137 arg2
= (int)(SWIG_As_int(obj1
));
38138 if (SWIG_arg_fail(2)) SWIG_fail
;
38141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38142 (arg1
)->SetBorder(arg2
);
38144 wxPyEndAllowThreads(__tstate
);
38145 if (PyErr_Occurred()) SWIG_fail
;
38147 Py_INCREF(Py_None
); resultobj
= Py_None
;
38154 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38155 PyObject
*resultobj
;
38156 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38158 PyObject
* obj0
= 0 ;
38159 char *kwnames
[] = {
38160 (char *) "self", NULL
38163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38165 if (SWIG_arg_fail(1)) SWIG_fail
;
38167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38168 result
= (int)(arg1
)->GetBorder();
38170 wxPyEndAllowThreads(__tstate
);
38171 if (PyErr_Occurred()) SWIG_fail
;
38174 resultobj
= SWIG_From_int((int)(result
));
38182 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38183 PyObject
*resultobj
;
38184 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38186 PyObject
* obj0
= 0 ;
38187 char *kwnames
[] = {
38188 (char *) "self", NULL
38191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38193 if (SWIG_arg_fail(1)) SWIG_fail
;
38195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38196 result
= (wxWindow
*)(arg1
)->GetWindow();
38198 wxPyEndAllowThreads(__tstate
);
38199 if (PyErr_Occurred()) SWIG_fail
;
38202 resultobj
= wxPyMake_wxObject(result
, 0);
38210 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38211 PyObject
*resultobj
;
38212 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38213 wxWindow
*arg2
= (wxWindow
*) 0 ;
38214 PyObject
* obj0
= 0 ;
38215 PyObject
* obj1
= 0 ;
38216 char *kwnames
[] = {
38217 (char *) "self",(char *) "window", NULL
38220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38222 if (SWIG_arg_fail(1)) SWIG_fail
;
38223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38224 if (SWIG_arg_fail(2)) SWIG_fail
;
38226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38227 (arg1
)->SetWindow(arg2
);
38229 wxPyEndAllowThreads(__tstate
);
38230 if (PyErr_Occurred()) SWIG_fail
;
38232 Py_INCREF(Py_None
); resultobj
= Py_None
;
38239 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38240 PyObject
*resultobj
;
38241 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38243 PyObject
* obj0
= 0 ;
38244 char *kwnames
[] = {
38245 (char *) "self", NULL
38248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38250 if (SWIG_arg_fail(1)) SWIG_fail
;
38252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38253 result
= (wxSizer
*)(arg1
)->GetSizer();
38255 wxPyEndAllowThreads(__tstate
);
38256 if (PyErr_Occurred()) SWIG_fail
;
38259 resultobj
= wxPyMake_wxSizer(result
, 0);
38267 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38268 PyObject
*resultobj
;
38269 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38270 wxSizer
*arg2
= (wxSizer
*) 0 ;
38271 PyObject
* obj0
= 0 ;
38272 PyObject
* obj1
= 0 ;
38273 char *kwnames
[] = {
38274 (char *) "self",(char *) "sizer", NULL
38277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38279 if (SWIG_arg_fail(1)) SWIG_fail
;
38280 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38281 if (SWIG_arg_fail(2)) SWIG_fail
;
38283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38284 (arg1
)->SetSizer(arg2
);
38286 wxPyEndAllowThreads(__tstate
);
38287 if (PyErr_Occurred()) SWIG_fail
;
38289 Py_INCREF(Py_None
); resultobj
= Py_None
;
38296 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38297 PyObject
*resultobj
;
38298 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38300 PyObject
* obj0
= 0 ;
38301 char *kwnames
[] = {
38302 (char *) "self", NULL
38305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38307 if (SWIG_arg_fail(1)) SWIG_fail
;
38309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38311 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38312 result
= (wxSize
*) &_result_ref
;
38315 wxPyEndAllowThreads(__tstate
);
38316 if (PyErr_Occurred()) SWIG_fail
;
38318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38325 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38326 PyObject
*resultobj
;
38327 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38330 PyObject
* obj0
= 0 ;
38331 PyObject
* obj1
= 0 ;
38332 char *kwnames
[] = {
38333 (char *) "self",(char *) "size", NULL
38336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38338 if (SWIG_arg_fail(1)) SWIG_fail
;
38341 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38345 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38347 wxPyEndAllowThreads(__tstate
);
38348 if (PyErr_Occurred()) SWIG_fail
;
38350 Py_INCREF(Py_None
); resultobj
= Py_None
;
38357 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38358 PyObject
*resultobj
;
38359 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38361 PyObject
* obj0
= 0 ;
38362 PyObject
* obj1
= 0 ;
38363 char *kwnames
[] = {
38364 (char *) "self",(char *) "show", NULL
38367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38369 if (SWIG_arg_fail(1)) SWIG_fail
;
38371 arg2
= (bool)(SWIG_As_bool(obj1
));
38372 if (SWIG_arg_fail(2)) SWIG_fail
;
38375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38376 (arg1
)->Show(arg2
);
38378 wxPyEndAllowThreads(__tstate
);
38379 if (PyErr_Occurred()) SWIG_fail
;
38381 Py_INCREF(Py_None
); resultobj
= Py_None
;
38388 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38389 PyObject
*resultobj
;
38390 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38392 PyObject
* obj0
= 0 ;
38393 char *kwnames
[] = {
38394 (char *) "self", NULL
38397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38399 if (SWIG_arg_fail(1)) SWIG_fail
;
38401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38402 result
= (bool)(arg1
)->IsShown();
38404 wxPyEndAllowThreads(__tstate
);
38405 if (PyErr_Occurred()) SWIG_fail
;
38408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38416 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38417 PyObject
*resultobj
;
38418 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38420 PyObject
* obj0
= 0 ;
38421 char *kwnames
[] = {
38422 (char *) "self", NULL
38425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38427 if (SWIG_arg_fail(1)) SWIG_fail
;
38429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38430 result
= (arg1
)->GetPosition();
38432 wxPyEndAllowThreads(__tstate
);
38433 if (PyErr_Occurred()) SWIG_fail
;
38436 wxPoint
* resultptr
;
38437 resultptr
= new wxPoint((wxPoint
&)(result
));
38438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38446 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38447 PyObject
*resultobj
;
38448 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38450 PyObject
* obj0
= 0 ;
38451 char *kwnames
[] = {
38452 (char *) "self", NULL
38455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38457 if (SWIG_arg_fail(1)) SWIG_fail
;
38459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38460 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38462 wxPyEndAllowThreads(__tstate
);
38463 if (PyErr_Occurred()) SWIG_fail
;
38465 resultobj
= result
;
38472 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
38474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38475 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
38477 return Py_BuildValue((char *)"");
38479 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38480 PyObject
*resultobj
;
38481 wxSizer
*arg1
= (wxSizer
*) 0 ;
38482 PyObject
*arg2
= (PyObject
*) 0 ;
38483 PyObject
* obj0
= 0 ;
38484 PyObject
* obj1
= 0 ;
38485 char *kwnames
[] = {
38486 (char *) "self",(char *) "_self", NULL
38489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
38490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38491 if (SWIG_arg_fail(1)) SWIG_fail
;
38494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38495 wxSizer__setOORInfo(arg1
,arg2
);
38497 wxPyEndAllowThreads(__tstate
);
38498 if (PyErr_Occurred()) SWIG_fail
;
38500 Py_INCREF(Py_None
); resultobj
= Py_None
;
38507 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38508 PyObject
*resultobj
;
38509 wxSizer
*arg1
= (wxSizer
*) 0 ;
38510 PyObject
*arg2
= (PyObject
*) 0 ;
38511 int arg3
= (int) 0 ;
38512 int arg4
= (int) 0 ;
38513 int arg5
= (int) 0 ;
38514 PyObject
*arg6
= (PyObject
*) NULL
;
38515 wxSizerItem
*result
;
38516 PyObject
* obj0
= 0 ;
38517 PyObject
* obj1
= 0 ;
38518 PyObject
* obj2
= 0 ;
38519 PyObject
* obj3
= 0 ;
38520 PyObject
* obj4
= 0 ;
38521 PyObject
* obj5
= 0 ;
38522 char *kwnames
[] = {
38523 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38528 if (SWIG_arg_fail(1)) SWIG_fail
;
38532 arg3
= (int)(SWIG_As_int(obj2
));
38533 if (SWIG_arg_fail(3)) SWIG_fail
;
38538 arg4
= (int)(SWIG_As_int(obj3
));
38539 if (SWIG_arg_fail(4)) SWIG_fail
;
38544 arg5
= (int)(SWIG_As_int(obj4
));
38545 if (SWIG_arg_fail(5)) SWIG_fail
;
38552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38553 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38555 wxPyEndAllowThreads(__tstate
);
38556 if (PyErr_Occurred()) SWIG_fail
;
38558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38565 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38566 PyObject
*resultobj
;
38567 wxSizer
*arg1
= (wxSizer
*) 0 ;
38569 PyObject
*arg3
= (PyObject
*) 0 ;
38570 int arg4
= (int) 0 ;
38571 int arg5
= (int) 0 ;
38572 int arg6
= (int) 0 ;
38573 PyObject
*arg7
= (PyObject
*) NULL
;
38574 wxSizerItem
*result
;
38575 PyObject
* obj0
= 0 ;
38576 PyObject
* obj1
= 0 ;
38577 PyObject
* obj2
= 0 ;
38578 PyObject
* obj3
= 0 ;
38579 PyObject
* obj4
= 0 ;
38580 PyObject
* obj5
= 0 ;
38581 PyObject
* obj6
= 0 ;
38582 char *kwnames
[] = {
38583 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38588 if (SWIG_arg_fail(1)) SWIG_fail
;
38590 arg2
= (int)(SWIG_As_int(obj1
));
38591 if (SWIG_arg_fail(2)) SWIG_fail
;
38596 arg4
= (int)(SWIG_As_int(obj3
));
38597 if (SWIG_arg_fail(4)) SWIG_fail
;
38602 arg5
= (int)(SWIG_As_int(obj4
));
38603 if (SWIG_arg_fail(5)) SWIG_fail
;
38608 arg6
= (int)(SWIG_As_int(obj5
));
38609 if (SWIG_arg_fail(6)) SWIG_fail
;
38616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38617 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
38619 wxPyEndAllowThreads(__tstate
);
38620 if (PyErr_Occurred()) SWIG_fail
;
38622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38629 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38630 PyObject
*resultobj
;
38631 wxSizer
*arg1
= (wxSizer
*) 0 ;
38632 PyObject
*arg2
= (PyObject
*) 0 ;
38633 int arg3
= (int) 0 ;
38634 int arg4
= (int) 0 ;
38635 int arg5
= (int) 0 ;
38636 PyObject
*arg6
= (PyObject
*) NULL
;
38637 wxSizerItem
*result
;
38638 PyObject
* obj0
= 0 ;
38639 PyObject
* obj1
= 0 ;
38640 PyObject
* obj2
= 0 ;
38641 PyObject
* obj3
= 0 ;
38642 PyObject
* obj4
= 0 ;
38643 PyObject
* obj5
= 0 ;
38644 char *kwnames
[] = {
38645 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38650 if (SWIG_arg_fail(1)) SWIG_fail
;
38654 arg3
= (int)(SWIG_As_int(obj2
));
38655 if (SWIG_arg_fail(3)) SWIG_fail
;
38660 arg4
= (int)(SWIG_As_int(obj3
));
38661 if (SWIG_arg_fail(4)) SWIG_fail
;
38666 arg5
= (int)(SWIG_As_int(obj4
));
38667 if (SWIG_arg_fail(5)) SWIG_fail
;
38674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38675 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38677 wxPyEndAllowThreads(__tstate
);
38678 if (PyErr_Occurred()) SWIG_fail
;
38680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38687 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38688 PyObject
*resultobj
;
38689 wxSizer
*arg1
= (wxSizer
*) 0 ;
38690 PyObject
*arg2
= (PyObject
*) 0 ;
38692 PyObject
* obj0
= 0 ;
38693 PyObject
* obj1
= 0 ;
38694 char *kwnames
[] = {
38695 (char *) "self",(char *) "item", NULL
38698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
38699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38700 if (SWIG_arg_fail(1)) SWIG_fail
;
38703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38704 result
= (bool)wxSizer_Remove(arg1
,arg2
);
38706 wxPyEndAllowThreads(__tstate
);
38707 if (PyErr_Occurred()) SWIG_fail
;
38710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38718 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38719 PyObject
*resultobj
;
38720 wxSizer
*arg1
= (wxSizer
*) 0 ;
38721 PyObject
*arg2
= (PyObject
*) 0 ;
38723 PyObject
* obj0
= 0 ;
38724 PyObject
* obj1
= 0 ;
38725 char *kwnames
[] = {
38726 (char *) "self",(char *) "item", NULL
38729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
38730 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38731 if (SWIG_arg_fail(1)) SWIG_fail
;
38734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38735 result
= (bool)wxSizer_Detach(arg1
,arg2
);
38737 wxPyEndAllowThreads(__tstate
);
38738 if (PyErr_Occurred()) SWIG_fail
;
38741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38749 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38750 PyObject
*resultobj
;
38751 wxSizer
*arg1
= (wxSizer
*) 0 ;
38752 PyObject
*arg2
= (PyObject
*) 0 ;
38753 wxSizerItem
*result
;
38754 PyObject
* obj0
= 0 ;
38755 PyObject
* obj1
= 0 ;
38756 char *kwnames
[] = {
38757 (char *) "self",(char *) "item", NULL
38760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38762 if (SWIG_arg_fail(1)) SWIG_fail
;
38765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38766 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
38768 wxPyEndAllowThreads(__tstate
);
38769 if (PyErr_Occurred()) SWIG_fail
;
38771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38778 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38779 PyObject
*resultobj
;
38780 wxSizer
*arg1
= (wxSizer
*) 0 ;
38781 PyObject
*arg2
= (PyObject
*) 0 ;
38784 PyObject
* obj0
= 0 ;
38785 PyObject
* obj1
= 0 ;
38786 PyObject
* obj2
= 0 ;
38787 char *kwnames
[] = {
38788 (char *) "self",(char *) "item",(char *) "size", NULL
38791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38793 if (SWIG_arg_fail(1)) SWIG_fail
;
38797 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38801 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
38803 wxPyEndAllowThreads(__tstate
);
38804 if (PyErr_Occurred()) SWIG_fail
;
38806 Py_INCREF(Py_None
); resultobj
= Py_None
;
38813 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38814 PyObject
*resultobj
;
38815 wxSizer
*arg1
= (wxSizer
*) 0 ;
38816 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38817 wxSizerItem
*result
;
38818 PyObject
* obj0
= 0 ;
38819 PyObject
* obj1
= 0 ;
38820 char *kwnames
[] = {
38821 (char *) "self",(char *) "item", NULL
38824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38826 if (SWIG_arg_fail(1)) SWIG_fail
;
38827 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38828 if (SWIG_arg_fail(2)) SWIG_fail
;
38830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38831 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
38833 wxPyEndAllowThreads(__tstate
);
38834 if (PyErr_Occurred()) SWIG_fail
;
38836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38843 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38844 PyObject
*resultobj
;
38845 wxSizer
*arg1
= (wxSizer
*) 0 ;
38847 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
38848 wxSizerItem
*result
;
38849 PyObject
* obj0
= 0 ;
38850 PyObject
* obj1
= 0 ;
38851 PyObject
* obj2
= 0 ;
38852 char *kwnames
[] = {
38853 (char *) "self",(char *) "index",(char *) "item", NULL
38856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38858 if (SWIG_arg_fail(1)) SWIG_fail
;
38860 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
38861 if (SWIG_arg_fail(2)) SWIG_fail
;
38863 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38864 if (SWIG_arg_fail(3)) SWIG_fail
;
38866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38867 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
38869 wxPyEndAllowThreads(__tstate
);
38870 if (PyErr_Occurred()) SWIG_fail
;
38872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38879 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38880 PyObject
*resultobj
;
38881 wxSizer
*arg1
= (wxSizer
*) 0 ;
38882 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38883 wxSizerItem
*result
;
38884 PyObject
* obj0
= 0 ;
38885 PyObject
* obj1
= 0 ;
38886 char *kwnames
[] = {
38887 (char *) "self",(char *) "item", NULL
38890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38892 if (SWIG_arg_fail(1)) SWIG_fail
;
38893 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38894 if (SWIG_arg_fail(2)) SWIG_fail
;
38896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38897 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
38899 wxPyEndAllowThreads(__tstate
);
38900 if (PyErr_Occurred()) SWIG_fail
;
38902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38909 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38910 PyObject
*resultobj
;
38911 wxSizer
*arg1
= (wxSizer
*) 0 ;
38916 PyObject
* obj0
= 0 ;
38917 PyObject
* obj1
= 0 ;
38918 PyObject
* obj2
= 0 ;
38919 PyObject
* obj3
= 0 ;
38920 PyObject
* obj4
= 0 ;
38921 char *kwnames
[] = {
38922 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38927 if (SWIG_arg_fail(1)) SWIG_fail
;
38929 arg2
= (int)(SWIG_As_int(obj1
));
38930 if (SWIG_arg_fail(2)) SWIG_fail
;
38933 arg3
= (int)(SWIG_As_int(obj2
));
38934 if (SWIG_arg_fail(3)) SWIG_fail
;
38937 arg4
= (int)(SWIG_As_int(obj3
));
38938 if (SWIG_arg_fail(4)) SWIG_fail
;
38941 arg5
= (int)(SWIG_As_int(obj4
));
38942 if (SWIG_arg_fail(5)) SWIG_fail
;
38945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38946 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
38948 wxPyEndAllowThreads(__tstate
);
38949 if (PyErr_Occurred()) SWIG_fail
;
38951 Py_INCREF(Py_None
); resultobj
= Py_None
;
38958 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38959 PyObject
*resultobj
;
38960 wxSizer
*arg1
= (wxSizer
*) 0 ;
38963 PyObject
* obj0
= 0 ;
38964 PyObject
* obj1
= 0 ;
38965 char *kwnames
[] = {
38966 (char *) "self",(char *) "size", NULL
38969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38971 if (SWIG_arg_fail(1)) SWIG_fail
;
38974 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38978 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
38980 wxPyEndAllowThreads(__tstate
);
38981 if (PyErr_Occurred()) SWIG_fail
;
38983 Py_INCREF(Py_None
); resultobj
= Py_None
;
38990 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38991 PyObject
*resultobj
;
38992 wxSizer
*arg1
= (wxSizer
*) 0 ;
38994 PyObject
* obj0
= 0 ;
38995 char *kwnames
[] = {
38996 (char *) "self", NULL
38999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39001 if (SWIG_arg_fail(1)) SWIG_fail
;
39003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39004 result
= (arg1
)->GetSize();
39006 wxPyEndAllowThreads(__tstate
);
39007 if (PyErr_Occurred()) SWIG_fail
;
39010 wxSize
* resultptr
;
39011 resultptr
= new wxSize((wxSize
&)(result
));
39012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39020 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39021 PyObject
*resultobj
;
39022 wxSizer
*arg1
= (wxSizer
*) 0 ;
39024 PyObject
* obj0
= 0 ;
39025 char *kwnames
[] = {
39026 (char *) "self", NULL
39029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39031 if (SWIG_arg_fail(1)) SWIG_fail
;
39033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39034 result
= (arg1
)->GetPosition();
39036 wxPyEndAllowThreads(__tstate
);
39037 if (PyErr_Occurred()) SWIG_fail
;
39040 wxPoint
* resultptr
;
39041 resultptr
= new wxPoint((wxPoint
&)(result
));
39042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39050 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39051 PyObject
*resultobj
;
39052 wxSizer
*arg1
= (wxSizer
*) 0 ;
39054 PyObject
* obj0
= 0 ;
39055 char *kwnames
[] = {
39056 (char *) "self", NULL
39059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39061 if (SWIG_arg_fail(1)) SWIG_fail
;
39063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39064 result
= (arg1
)->GetMinSize();
39066 wxPyEndAllowThreads(__tstate
);
39067 if (PyErr_Occurred()) SWIG_fail
;
39070 wxSize
* resultptr
;
39071 resultptr
= new wxSize((wxSize
&)(result
));
39072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39080 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39081 PyObject
*resultobj
;
39082 wxSizer
*arg1
= (wxSizer
*) 0 ;
39083 PyObject
* obj0
= 0 ;
39084 char *kwnames
[] = {
39085 (char *) "self", NULL
39088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39090 if (SWIG_arg_fail(1)) SWIG_fail
;
39092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39093 (arg1
)->RecalcSizes();
39095 wxPyEndAllowThreads(__tstate
);
39096 if (PyErr_Occurred()) SWIG_fail
;
39098 Py_INCREF(Py_None
); resultobj
= Py_None
;
39105 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39106 PyObject
*resultobj
;
39107 wxSizer
*arg1
= (wxSizer
*) 0 ;
39109 PyObject
* obj0
= 0 ;
39110 char *kwnames
[] = {
39111 (char *) "self", NULL
39114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39116 if (SWIG_arg_fail(1)) SWIG_fail
;
39118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39119 result
= (arg1
)->CalcMin();
39121 wxPyEndAllowThreads(__tstate
);
39122 if (PyErr_Occurred()) SWIG_fail
;
39125 wxSize
* resultptr
;
39126 resultptr
= new wxSize((wxSize
&)(result
));
39127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39135 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39136 PyObject
*resultobj
;
39137 wxSizer
*arg1
= (wxSizer
*) 0 ;
39138 PyObject
* obj0
= 0 ;
39139 char *kwnames
[] = {
39140 (char *) "self", NULL
39143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39145 if (SWIG_arg_fail(1)) SWIG_fail
;
39147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39150 wxPyEndAllowThreads(__tstate
);
39151 if (PyErr_Occurred()) SWIG_fail
;
39153 Py_INCREF(Py_None
); resultobj
= Py_None
;
39160 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39161 PyObject
*resultobj
;
39162 wxSizer
*arg1
= (wxSizer
*) 0 ;
39163 wxWindow
*arg2
= (wxWindow
*) 0 ;
39165 PyObject
* obj0
= 0 ;
39166 PyObject
* obj1
= 0 ;
39167 char *kwnames
[] = {
39168 (char *) "self",(char *) "window", NULL
39171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39173 if (SWIG_arg_fail(1)) SWIG_fail
;
39174 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39175 if (SWIG_arg_fail(2)) SWIG_fail
;
39177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39178 result
= (arg1
)->Fit(arg2
);
39180 wxPyEndAllowThreads(__tstate
);
39181 if (PyErr_Occurred()) SWIG_fail
;
39184 wxSize
* resultptr
;
39185 resultptr
= new wxSize((wxSize
&)(result
));
39186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39194 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39195 PyObject
*resultobj
;
39196 wxSizer
*arg1
= (wxSizer
*) 0 ;
39197 wxWindow
*arg2
= (wxWindow
*) 0 ;
39198 PyObject
* obj0
= 0 ;
39199 PyObject
* obj1
= 0 ;
39200 char *kwnames
[] = {
39201 (char *) "self",(char *) "window", NULL
39204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39206 if (SWIG_arg_fail(1)) SWIG_fail
;
39207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39208 if (SWIG_arg_fail(2)) SWIG_fail
;
39210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39211 (arg1
)->FitInside(arg2
);
39213 wxPyEndAllowThreads(__tstate
);
39214 if (PyErr_Occurred()) SWIG_fail
;
39216 Py_INCREF(Py_None
); resultobj
= Py_None
;
39223 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39224 PyObject
*resultobj
;
39225 wxSizer
*arg1
= (wxSizer
*) 0 ;
39226 wxWindow
*arg2
= (wxWindow
*) 0 ;
39227 PyObject
* obj0
= 0 ;
39228 PyObject
* obj1
= 0 ;
39229 char *kwnames
[] = {
39230 (char *) "self",(char *) "window", NULL
39233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39235 if (SWIG_arg_fail(1)) SWIG_fail
;
39236 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39237 if (SWIG_arg_fail(2)) SWIG_fail
;
39239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39240 (arg1
)->SetSizeHints(arg2
);
39242 wxPyEndAllowThreads(__tstate
);
39243 if (PyErr_Occurred()) SWIG_fail
;
39245 Py_INCREF(Py_None
); resultobj
= Py_None
;
39252 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39253 PyObject
*resultobj
;
39254 wxSizer
*arg1
= (wxSizer
*) 0 ;
39255 wxWindow
*arg2
= (wxWindow
*) 0 ;
39256 PyObject
* obj0
= 0 ;
39257 PyObject
* obj1
= 0 ;
39258 char *kwnames
[] = {
39259 (char *) "self",(char *) "window", NULL
39262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39264 if (SWIG_arg_fail(1)) SWIG_fail
;
39265 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39266 if (SWIG_arg_fail(2)) SWIG_fail
;
39268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39269 (arg1
)->SetVirtualSizeHints(arg2
);
39271 wxPyEndAllowThreads(__tstate
);
39272 if (PyErr_Occurred()) SWIG_fail
;
39274 Py_INCREF(Py_None
); resultobj
= Py_None
;
39281 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39282 PyObject
*resultobj
;
39283 wxSizer
*arg1
= (wxSizer
*) 0 ;
39284 bool arg2
= (bool) false ;
39285 PyObject
* obj0
= 0 ;
39286 PyObject
* obj1
= 0 ;
39287 char *kwnames
[] = {
39288 (char *) "self",(char *) "deleteWindows", NULL
39291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39293 if (SWIG_arg_fail(1)) SWIG_fail
;
39296 arg2
= (bool)(SWIG_As_bool(obj1
));
39297 if (SWIG_arg_fail(2)) SWIG_fail
;
39301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39302 (arg1
)->Clear(arg2
);
39304 wxPyEndAllowThreads(__tstate
);
39305 if (PyErr_Occurred()) SWIG_fail
;
39307 Py_INCREF(Py_None
); resultobj
= Py_None
;
39314 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39315 PyObject
*resultobj
;
39316 wxSizer
*arg1
= (wxSizer
*) 0 ;
39317 PyObject
* obj0
= 0 ;
39318 char *kwnames
[] = {
39319 (char *) "self", NULL
39322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39324 if (SWIG_arg_fail(1)) SWIG_fail
;
39326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39327 (arg1
)->DeleteWindows();
39329 wxPyEndAllowThreads(__tstate
);
39330 if (PyErr_Occurred()) SWIG_fail
;
39332 Py_INCREF(Py_None
); resultobj
= Py_None
;
39339 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39340 PyObject
*resultobj
;
39341 wxSizer
*arg1
= (wxSizer
*) 0 ;
39343 PyObject
* obj0
= 0 ;
39344 char *kwnames
[] = {
39345 (char *) "self", NULL
39348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39350 if (SWIG_arg_fail(1)) SWIG_fail
;
39352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39353 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39355 wxPyEndAllowThreads(__tstate
);
39356 if (PyErr_Occurred()) SWIG_fail
;
39358 resultobj
= result
;
39365 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39366 PyObject
*resultobj
;
39367 wxSizer
*arg1
= (wxSizer
*) 0 ;
39368 PyObject
*arg2
= (PyObject
*) 0 ;
39369 bool arg3
= (bool) true ;
39370 bool arg4
= (bool) false ;
39372 PyObject
* obj0
= 0 ;
39373 PyObject
* obj1
= 0 ;
39374 PyObject
* obj2
= 0 ;
39375 PyObject
* obj3
= 0 ;
39376 char *kwnames
[] = {
39377 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39382 if (SWIG_arg_fail(1)) SWIG_fail
;
39386 arg3
= (bool)(SWIG_As_bool(obj2
));
39387 if (SWIG_arg_fail(3)) SWIG_fail
;
39392 arg4
= (bool)(SWIG_As_bool(obj3
));
39393 if (SWIG_arg_fail(4)) SWIG_fail
;
39397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39398 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39400 wxPyEndAllowThreads(__tstate
);
39401 if (PyErr_Occurred()) SWIG_fail
;
39404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39412 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39413 PyObject
*resultobj
;
39414 wxSizer
*arg1
= (wxSizer
*) 0 ;
39415 PyObject
*arg2
= (PyObject
*) 0 ;
39417 PyObject
* obj0
= 0 ;
39418 PyObject
* obj1
= 0 ;
39419 char *kwnames
[] = {
39420 (char *) "self",(char *) "item", NULL
39423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39425 if (SWIG_arg_fail(1)) SWIG_fail
;
39428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39429 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39431 wxPyEndAllowThreads(__tstate
);
39432 if (PyErr_Occurred()) SWIG_fail
;
39435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39443 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39444 PyObject
*resultobj
;
39445 wxSizer
*arg1
= (wxSizer
*) 0 ;
39447 PyObject
* obj0
= 0 ;
39448 PyObject
* obj1
= 0 ;
39449 char *kwnames
[] = {
39450 (char *) "self",(char *) "show", NULL
39453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39455 if (SWIG_arg_fail(1)) SWIG_fail
;
39457 arg2
= (bool)(SWIG_As_bool(obj1
));
39458 if (SWIG_arg_fail(2)) SWIG_fail
;
39461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39462 (arg1
)->ShowItems(arg2
);
39464 wxPyEndAllowThreads(__tstate
);
39465 if (PyErr_Occurred()) SWIG_fail
;
39467 Py_INCREF(Py_None
); resultobj
= Py_None
;
39474 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
39476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39477 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
39479 return Py_BuildValue((char *)"");
39481 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39482 PyObject
*resultobj
;
39484 char *kwnames
[] = {
39488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
39490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39491 result
= (wxPySizer
*)new wxPySizer();
39493 wxPyEndAllowThreads(__tstate
);
39494 if (PyErr_Occurred()) SWIG_fail
;
39496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
39503 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39504 PyObject
*resultobj
;
39505 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
39506 PyObject
*arg2
= (PyObject
*) 0 ;
39507 PyObject
*arg3
= (PyObject
*) 0 ;
39508 PyObject
* obj0
= 0 ;
39509 PyObject
* obj1
= 0 ;
39510 PyObject
* obj2
= 0 ;
39511 char *kwnames
[] = {
39512 (char *) "self",(char *) "self",(char *) "_class", NULL
39515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
39517 if (SWIG_arg_fail(1)) SWIG_fail
;
39521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39522 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39524 wxPyEndAllowThreads(__tstate
);
39525 if (PyErr_Occurred()) SWIG_fail
;
39527 Py_INCREF(Py_None
); resultobj
= Py_None
;
39534 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
39536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39537 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
39539 return Py_BuildValue((char *)"");
39541 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39542 PyObject
*resultobj
;
39543 int arg1
= (int) wxHORIZONTAL
;
39544 wxBoxSizer
*result
;
39545 PyObject
* obj0
= 0 ;
39546 char *kwnames
[] = {
39547 (char *) "orient", NULL
39550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
39553 arg1
= (int)(SWIG_As_int(obj0
));
39554 if (SWIG_arg_fail(1)) SWIG_fail
;
39558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39559 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
39561 wxPyEndAllowThreads(__tstate
);
39562 if (PyErr_Occurred()) SWIG_fail
;
39564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
39571 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39572 PyObject
*resultobj
;
39573 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39575 PyObject
* obj0
= 0 ;
39576 char *kwnames
[] = {
39577 (char *) "self", NULL
39580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
39581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39582 if (SWIG_arg_fail(1)) SWIG_fail
;
39584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39585 result
= (int)(arg1
)->GetOrientation();
39587 wxPyEndAllowThreads(__tstate
);
39588 if (PyErr_Occurred()) SWIG_fail
;
39591 resultobj
= SWIG_From_int((int)(result
));
39599 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39600 PyObject
*resultobj
;
39601 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39603 PyObject
* obj0
= 0 ;
39604 PyObject
* obj1
= 0 ;
39605 char *kwnames
[] = {
39606 (char *) "self",(char *) "orient", NULL
39609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
39610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39611 if (SWIG_arg_fail(1)) SWIG_fail
;
39613 arg2
= (int)(SWIG_As_int(obj1
));
39614 if (SWIG_arg_fail(2)) SWIG_fail
;
39617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39618 (arg1
)->SetOrientation(arg2
);
39620 wxPyEndAllowThreads(__tstate
);
39621 if (PyErr_Occurred()) SWIG_fail
;
39623 Py_INCREF(Py_None
); resultobj
= Py_None
;
39630 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39633 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
39635 return Py_BuildValue((char *)"");
39637 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39638 PyObject
*resultobj
;
39639 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
39640 int arg2
= (int) wxHORIZONTAL
;
39641 wxStaticBoxSizer
*result
;
39642 PyObject
* obj0
= 0 ;
39643 PyObject
* obj1
= 0 ;
39644 char *kwnames
[] = {
39645 (char *) "box",(char *) "orient", NULL
39648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
39650 if (SWIG_arg_fail(1)) SWIG_fail
;
39653 arg2
= (int)(SWIG_As_int(obj1
));
39654 if (SWIG_arg_fail(2)) SWIG_fail
;
39658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39659 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
39661 wxPyEndAllowThreads(__tstate
);
39662 if (PyErr_Occurred()) SWIG_fail
;
39664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
39671 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39672 PyObject
*resultobj
;
39673 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
39674 wxStaticBox
*result
;
39675 PyObject
* obj0
= 0 ;
39676 char *kwnames
[] = {
39677 (char *) "self", NULL
39680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
39681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39682 if (SWIG_arg_fail(1)) SWIG_fail
;
39684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39685 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
39687 wxPyEndAllowThreads(__tstate
);
39688 if (PyErr_Occurred()) SWIG_fail
;
39691 resultobj
= wxPyMake_wxObject(result
, 0);
39699 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39702 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
39704 return Py_BuildValue((char *)"");
39706 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39707 PyObject
*resultobj
;
39708 int arg1
= (int) 1 ;
39709 int arg2
= (int) 0 ;
39710 int arg3
= (int) 0 ;
39711 int arg4
= (int) 0 ;
39712 wxGridSizer
*result
;
39713 PyObject
* obj0
= 0 ;
39714 PyObject
* obj1
= 0 ;
39715 PyObject
* obj2
= 0 ;
39716 PyObject
* obj3
= 0 ;
39717 char *kwnames
[] = {
39718 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
39721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39724 arg1
= (int)(SWIG_As_int(obj0
));
39725 if (SWIG_arg_fail(1)) SWIG_fail
;
39730 arg2
= (int)(SWIG_As_int(obj1
));
39731 if (SWIG_arg_fail(2)) SWIG_fail
;
39736 arg3
= (int)(SWIG_As_int(obj2
));
39737 if (SWIG_arg_fail(3)) SWIG_fail
;
39742 arg4
= (int)(SWIG_As_int(obj3
));
39743 if (SWIG_arg_fail(4)) SWIG_fail
;
39747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39748 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
39750 wxPyEndAllowThreads(__tstate
);
39751 if (PyErr_Occurred()) SWIG_fail
;
39753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
39760 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39761 PyObject
*resultobj
;
39762 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39764 PyObject
* obj0
= 0 ;
39765 PyObject
* obj1
= 0 ;
39766 char *kwnames
[] = {
39767 (char *) "self",(char *) "cols", NULL
39770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
39771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39772 if (SWIG_arg_fail(1)) SWIG_fail
;
39774 arg2
= (int)(SWIG_As_int(obj1
));
39775 if (SWIG_arg_fail(2)) SWIG_fail
;
39778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39779 (arg1
)->SetCols(arg2
);
39781 wxPyEndAllowThreads(__tstate
);
39782 if (PyErr_Occurred()) SWIG_fail
;
39784 Py_INCREF(Py_None
); resultobj
= Py_None
;
39791 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39792 PyObject
*resultobj
;
39793 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39795 PyObject
* obj0
= 0 ;
39796 PyObject
* obj1
= 0 ;
39797 char *kwnames
[] = {
39798 (char *) "self",(char *) "rows", NULL
39801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
39802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39803 if (SWIG_arg_fail(1)) SWIG_fail
;
39805 arg2
= (int)(SWIG_As_int(obj1
));
39806 if (SWIG_arg_fail(2)) SWIG_fail
;
39809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39810 (arg1
)->SetRows(arg2
);
39812 wxPyEndAllowThreads(__tstate
);
39813 if (PyErr_Occurred()) SWIG_fail
;
39815 Py_INCREF(Py_None
); resultobj
= Py_None
;
39822 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39823 PyObject
*resultobj
;
39824 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39826 PyObject
* obj0
= 0 ;
39827 PyObject
* obj1
= 0 ;
39828 char *kwnames
[] = {
39829 (char *) "self",(char *) "gap", NULL
39832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39834 if (SWIG_arg_fail(1)) SWIG_fail
;
39836 arg2
= (int)(SWIG_As_int(obj1
));
39837 if (SWIG_arg_fail(2)) SWIG_fail
;
39840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39841 (arg1
)->SetVGap(arg2
);
39843 wxPyEndAllowThreads(__tstate
);
39844 if (PyErr_Occurred()) SWIG_fail
;
39846 Py_INCREF(Py_None
); resultobj
= Py_None
;
39853 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39854 PyObject
*resultobj
;
39855 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39857 PyObject
* obj0
= 0 ;
39858 PyObject
* obj1
= 0 ;
39859 char *kwnames
[] = {
39860 (char *) "self",(char *) "gap", NULL
39863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39865 if (SWIG_arg_fail(1)) SWIG_fail
;
39867 arg2
= (int)(SWIG_As_int(obj1
));
39868 if (SWIG_arg_fail(2)) SWIG_fail
;
39871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39872 (arg1
)->SetHGap(arg2
);
39874 wxPyEndAllowThreads(__tstate
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39877 Py_INCREF(Py_None
); resultobj
= Py_None
;
39884 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39885 PyObject
*resultobj
;
39886 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39888 PyObject
* obj0
= 0 ;
39889 char *kwnames
[] = {
39890 (char *) "self", NULL
39893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
39894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39895 if (SWIG_arg_fail(1)) SWIG_fail
;
39897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39898 result
= (int)(arg1
)->GetCols();
39900 wxPyEndAllowThreads(__tstate
);
39901 if (PyErr_Occurred()) SWIG_fail
;
39904 resultobj
= SWIG_From_int((int)(result
));
39912 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39913 PyObject
*resultobj
;
39914 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39916 PyObject
* obj0
= 0 ;
39917 char *kwnames
[] = {
39918 (char *) "self", NULL
39921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
39922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39923 if (SWIG_arg_fail(1)) SWIG_fail
;
39925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39926 result
= (int)(arg1
)->GetRows();
39928 wxPyEndAllowThreads(__tstate
);
39929 if (PyErr_Occurred()) SWIG_fail
;
39932 resultobj
= SWIG_From_int((int)(result
));
39940 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39941 PyObject
*resultobj
;
39942 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39944 PyObject
* obj0
= 0 ;
39945 char *kwnames
[] = {
39946 (char *) "self", NULL
39949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
39950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39951 if (SWIG_arg_fail(1)) SWIG_fail
;
39953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39954 result
= (int)(arg1
)->GetVGap();
39956 wxPyEndAllowThreads(__tstate
);
39957 if (PyErr_Occurred()) SWIG_fail
;
39960 resultobj
= SWIG_From_int((int)(result
));
39968 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39969 PyObject
*resultobj
;
39970 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39972 PyObject
* obj0
= 0 ;
39973 char *kwnames
[] = {
39974 (char *) "self", NULL
39977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
39978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39979 if (SWIG_arg_fail(1)) SWIG_fail
;
39981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39982 result
= (int)(arg1
)->GetHGap();
39984 wxPyEndAllowThreads(__tstate
);
39985 if (PyErr_Occurred()) SWIG_fail
;
39988 resultobj
= SWIG_From_int((int)(result
));
39996 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
39998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39999 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40001 return Py_BuildValue((char *)"");
40003 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40004 PyObject
*resultobj
;
40005 int arg1
= (int) 1 ;
40006 int arg2
= (int) 0 ;
40007 int arg3
= (int) 0 ;
40008 int arg4
= (int) 0 ;
40009 wxFlexGridSizer
*result
;
40010 PyObject
* obj0
= 0 ;
40011 PyObject
* obj1
= 0 ;
40012 PyObject
* obj2
= 0 ;
40013 PyObject
* obj3
= 0 ;
40014 char *kwnames
[] = {
40015 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40021 arg1
= (int)(SWIG_As_int(obj0
));
40022 if (SWIG_arg_fail(1)) SWIG_fail
;
40027 arg2
= (int)(SWIG_As_int(obj1
));
40028 if (SWIG_arg_fail(2)) SWIG_fail
;
40033 arg3
= (int)(SWIG_As_int(obj2
));
40034 if (SWIG_arg_fail(3)) SWIG_fail
;
40039 arg4
= (int)(SWIG_As_int(obj3
));
40040 if (SWIG_arg_fail(4)) SWIG_fail
;
40044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40045 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40047 wxPyEndAllowThreads(__tstate
);
40048 if (PyErr_Occurred()) SWIG_fail
;
40050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40057 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40058 PyObject
*resultobj
;
40059 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40061 int arg3
= (int) 0 ;
40062 PyObject
* obj0
= 0 ;
40063 PyObject
* obj1
= 0 ;
40064 PyObject
* obj2
= 0 ;
40065 char *kwnames
[] = {
40066 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40071 if (SWIG_arg_fail(1)) SWIG_fail
;
40073 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40074 if (SWIG_arg_fail(2)) SWIG_fail
;
40078 arg3
= (int)(SWIG_As_int(obj2
));
40079 if (SWIG_arg_fail(3)) SWIG_fail
;
40083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40084 (arg1
)->AddGrowableRow(arg2
,arg3
);
40086 wxPyEndAllowThreads(__tstate
);
40087 if (PyErr_Occurred()) SWIG_fail
;
40089 Py_INCREF(Py_None
); resultobj
= Py_None
;
40096 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40097 PyObject
*resultobj
;
40098 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40100 PyObject
* obj0
= 0 ;
40101 PyObject
* obj1
= 0 ;
40102 char *kwnames
[] = {
40103 (char *) "self",(char *) "idx", NULL
40106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40108 if (SWIG_arg_fail(1)) SWIG_fail
;
40110 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40111 if (SWIG_arg_fail(2)) SWIG_fail
;
40114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40115 (arg1
)->RemoveGrowableRow(arg2
);
40117 wxPyEndAllowThreads(__tstate
);
40118 if (PyErr_Occurred()) SWIG_fail
;
40120 Py_INCREF(Py_None
); resultobj
= Py_None
;
40127 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40128 PyObject
*resultobj
;
40129 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40131 int arg3
= (int) 0 ;
40132 PyObject
* obj0
= 0 ;
40133 PyObject
* obj1
= 0 ;
40134 PyObject
* obj2
= 0 ;
40135 char *kwnames
[] = {
40136 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40141 if (SWIG_arg_fail(1)) SWIG_fail
;
40143 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40144 if (SWIG_arg_fail(2)) SWIG_fail
;
40148 arg3
= (int)(SWIG_As_int(obj2
));
40149 if (SWIG_arg_fail(3)) SWIG_fail
;
40153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40154 (arg1
)->AddGrowableCol(arg2
,arg3
);
40156 wxPyEndAllowThreads(__tstate
);
40157 if (PyErr_Occurred()) SWIG_fail
;
40159 Py_INCREF(Py_None
); resultobj
= Py_None
;
40166 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40167 PyObject
*resultobj
;
40168 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40170 PyObject
* obj0
= 0 ;
40171 PyObject
* obj1
= 0 ;
40172 char *kwnames
[] = {
40173 (char *) "self",(char *) "idx", NULL
40176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40178 if (SWIG_arg_fail(1)) SWIG_fail
;
40180 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40181 if (SWIG_arg_fail(2)) SWIG_fail
;
40184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40185 (arg1
)->RemoveGrowableCol(arg2
);
40187 wxPyEndAllowThreads(__tstate
);
40188 if (PyErr_Occurred()) SWIG_fail
;
40190 Py_INCREF(Py_None
); resultobj
= Py_None
;
40197 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40198 PyObject
*resultobj
;
40199 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40201 PyObject
* obj0
= 0 ;
40202 PyObject
* obj1
= 0 ;
40203 char *kwnames
[] = {
40204 (char *) "self",(char *) "direction", NULL
40207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40209 if (SWIG_arg_fail(1)) SWIG_fail
;
40211 arg2
= (int)(SWIG_As_int(obj1
));
40212 if (SWIG_arg_fail(2)) SWIG_fail
;
40215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40216 (arg1
)->SetFlexibleDirection(arg2
);
40218 wxPyEndAllowThreads(__tstate
);
40219 if (PyErr_Occurred()) SWIG_fail
;
40221 Py_INCREF(Py_None
); resultobj
= Py_None
;
40228 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40229 PyObject
*resultobj
;
40230 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40232 PyObject
* obj0
= 0 ;
40233 char *kwnames
[] = {
40234 (char *) "self", NULL
40237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40239 if (SWIG_arg_fail(1)) SWIG_fail
;
40241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40242 result
= (int)(arg1
)->GetFlexibleDirection();
40244 wxPyEndAllowThreads(__tstate
);
40245 if (PyErr_Occurred()) SWIG_fail
;
40248 resultobj
= SWIG_From_int((int)(result
));
40256 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40257 PyObject
*resultobj
;
40258 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40259 wxFlexSizerGrowMode arg2
;
40260 PyObject
* obj0
= 0 ;
40261 PyObject
* obj1
= 0 ;
40262 char *kwnames
[] = {
40263 (char *) "self",(char *) "mode", NULL
40266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40268 if (SWIG_arg_fail(1)) SWIG_fail
;
40270 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40271 if (SWIG_arg_fail(2)) SWIG_fail
;
40274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40275 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40277 wxPyEndAllowThreads(__tstate
);
40278 if (PyErr_Occurred()) SWIG_fail
;
40280 Py_INCREF(Py_None
); resultobj
= Py_None
;
40287 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40288 PyObject
*resultobj
;
40289 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40290 wxFlexSizerGrowMode result
;
40291 PyObject
* obj0
= 0 ;
40292 char *kwnames
[] = {
40293 (char *) "self", NULL
40296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40298 if (SWIG_arg_fail(1)) SWIG_fail
;
40300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40301 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40303 wxPyEndAllowThreads(__tstate
);
40304 if (PyErr_Occurred()) SWIG_fail
;
40306 resultobj
= SWIG_From_int((result
));
40313 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40314 PyObject
*resultobj
;
40315 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40316 wxArrayInt
*result
;
40317 PyObject
* obj0
= 0 ;
40318 char *kwnames
[] = {
40319 (char *) "self", NULL
40322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40324 if (SWIG_arg_fail(1)) SWIG_fail
;
40326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40328 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40329 result
= (wxArrayInt
*) &_result_ref
;
40332 wxPyEndAllowThreads(__tstate
);
40333 if (PyErr_Occurred()) SWIG_fail
;
40336 resultobj
= PyList_New(0);
40338 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40339 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40340 PyList_Append(resultobj
, val
);
40350 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40351 PyObject
*resultobj
;
40352 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40353 wxArrayInt
*result
;
40354 PyObject
* obj0
= 0 ;
40355 char *kwnames
[] = {
40356 (char *) "self", NULL
40359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40361 if (SWIG_arg_fail(1)) SWIG_fail
;
40363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40365 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40366 result
= (wxArrayInt
*) &_result_ref
;
40369 wxPyEndAllowThreads(__tstate
);
40370 if (PyErr_Occurred()) SWIG_fail
;
40373 resultobj
= PyList_New(0);
40375 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40376 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40377 PyList_Append(resultobj
, val
);
40387 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40390 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40392 return Py_BuildValue((char *)"");
40394 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40395 PyObject
*resultobj
;
40396 wxStdDialogButtonSizer
*result
;
40397 char *kwnames
[] = {
40401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40404 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40406 wxPyEndAllowThreads(__tstate
);
40407 if (PyErr_Occurred()) SWIG_fail
;
40409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40416 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40417 PyObject
*resultobj
;
40418 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40419 wxButton
*arg2
= (wxButton
*) 0 ;
40420 PyObject
* obj0
= 0 ;
40421 PyObject
* obj1
= 0 ;
40422 char *kwnames
[] = {
40423 (char *) "self",(char *) "button", NULL
40426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40428 if (SWIG_arg_fail(1)) SWIG_fail
;
40429 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40430 if (SWIG_arg_fail(2)) SWIG_fail
;
40432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40433 (arg1
)->AddButton(arg2
);
40435 wxPyEndAllowThreads(__tstate
);
40436 if (PyErr_Occurred()) SWIG_fail
;
40438 Py_INCREF(Py_None
); resultobj
= Py_None
;
40445 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40446 PyObject
*resultobj
;
40447 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40448 PyObject
* obj0
= 0 ;
40449 char *kwnames
[] = {
40450 (char *) "self", NULL
40453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
40454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40455 if (SWIG_arg_fail(1)) SWIG_fail
;
40457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40460 wxPyEndAllowThreads(__tstate
);
40461 if (PyErr_Occurred()) SWIG_fail
;
40463 Py_INCREF(Py_None
); resultobj
= Py_None
;
40470 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40471 PyObject
*resultobj
;
40472 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40473 wxButton
*arg2
= (wxButton
*) 0 ;
40474 PyObject
* obj0
= 0 ;
40475 PyObject
* obj1
= 0 ;
40476 char *kwnames
[] = {
40477 (char *) "self",(char *) "button", NULL
40480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40482 if (SWIG_arg_fail(1)) SWIG_fail
;
40483 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40484 if (SWIG_arg_fail(2)) SWIG_fail
;
40486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40487 (arg1
)->SetAffirmativeButton(arg2
);
40489 wxPyEndAllowThreads(__tstate
);
40490 if (PyErr_Occurred()) SWIG_fail
;
40492 Py_INCREF(Py_None
); resultobj
= Py_None
;
40499 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40500 PyObject
*resultobj
;
40501 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40502 wxButton
*arg2
= (wxButton
*) 0 ;
40503 PyObject
* obj0
= 0 ;
40504 PyObject
* obj1
= 0 ;
40505 char *kwnames
[] = {
40506 (char *) "self",(char *) "button", NULL
40509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40511 if (SWIG_arg_fail(1)) SWIG_fail
;
40512 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40513 if (SWIG_arg_fail(2)) SWIG_fail
;
40515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40516 (arg1
)->SetNegativeButton(arg2
);
40518 wxPyEndAllowThreads(__tstate
);
40519 if (PyErr_Occurred()) SWIG_fail
;
40521 Py_INCREF(Py_None
); resultobj
= Py_None
;
40528 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40529 PyObject
*resultobj
;
40530 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40531 wxButton
*arg2
= (wxButton
*) 0 ;
40532 PyObject
* obj0
= 0 ;
40533 PyObject
* obj1
= 0 ;
40534 char *kwnames
[] = {
40535 (char *) "self",(char *) "button", NULL
40538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40540 if (SWIG_arg_fail(1)) SWIG_fail
;
40541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40542 if (SWIG_arg_fail(2)) SWIG_fail
;
40544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40545 (arg1
)->SetCancelButton(arg2
);
40547 wxPyEndAllowThreads(__tstate
);
40548 if (PyErr_Occurred()) SWIG_fail
;
40550 Py_INCREF(Py_None
); resultobj
= Py_None
;
40557 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40558 PyObject
*resultobj
;
40559 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40561 PyObject
* obj0
= 0 ;
40562 char *kwnames
[] = {
40563 (char *) "self", NULL
40566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
40567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40568 if (SWIG_arg_fail(1)) SWIG_fail
;
40570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40571 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
40573 wxPyEndAllowThreads(__tstate
);
40574 if (PyErr_Occurred()) SWIG_fail
;
40577 resultobj
= wxPyMake_wxObject(result
, 0);
40585 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40586 PyObject
*resultobj
;
40587 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40589 PyObject
* obj0
= 0 ;
40590 char *kwnames
[] = {
40591 (char *) "self", NULL
40594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
40595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40596 if (SWIG_arg_fail(1)) SWIG_fail
;
40598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40599 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
40601 wxPyEndAllowThreads(__tstate
);
40602 if (PyErr_Occurred()) SWIG_fail
;
40605 resultobj
= wxPyMake_wxObject(result
, 0);
40613 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40614 PyObject
*resultobj
;
40615 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40617 PyObject
* obj0
= 0 ;
40618 char *kwnames
[] = {
40619 (char *) "self", NULL
40622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
40623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40624 if (SWIG_arg_fail(1)) SWIG_fail
;
40626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40627 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
40629 wxPyEndAllowThreads(__tstate
);
40630 if (PyErr_Occurred()) SWIG_fail
;
40633 resultobj
= wxPyMake_wxObject(result
, 0);
40641 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40642 PyObject
*resultobj
;
40643 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40645 PyObject
* obj0
= 0 ;
40646 char *kwnames
[] = {
40647 (char *) "self", NULL
40650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
40651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40652 if (SWIG_arg_fail(1)) SWIG_fail
;
40654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40655 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
40657 wxPyEndAllowThreads(__tstate
);
40658 if (PyErr_Occurred()) SWIG_fail
;
40661 resultobj
= wxPyMake_wxObject(result
, 0);
40669 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40670 PyObject
*resultobj
;
40671 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40673 PyObject
* obj0
= 0 ;
40674 char *kwnames
[] = {
40675 (char *) "self", NULL
40678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
40679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40680 if (SWIG_arg_fail(1)) SWIG_fail
;
40682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40683 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
40685 wxPyEndAllowThreads(__tstate
);
40686 if (PyErr_Occurred()) SWIG_fail
;
40689 resultobj
= wxPyMake_wxObject(result
, 0);
40697 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
40699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40700 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
40702 return Py_BuildValue((char *)"");
40704 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40705 PyObject
*resultobj
;
40706 int arg1
= (int) 0 ;
40707 int arg2
= (int) 0 ;
40708 wxGBPosition
*result
;
40709 PyObject
* obj0
= 0 ;
40710 PyObject
* obj1
= 0 ;
40711 char *kwnames
[] = {
40712 (char *) "row",(char *) "col", NULL
40715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40718 arg1
= (int)(SWIG_As_int(obj0
));
40719 if (SWIG_arg_fail(1)) SWIG_fail
;
40724 arg2
= (int)(SWIG_As_int(obj1
));
40725 if (SWIG_arg_fail(2)) SWIG_fail
;
40729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40730 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
40732 wxPyEndAllowThreads(__tstate
);
40733 if (PyErr_Occurred()) SWIG_fail
;
40735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
40742 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40743 PyObject
*resultobj
;
40744 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40746 PyObject
* obj0
= 0 ;
40747 char *kwnames
[] = {
40748 (char *) "self", NULL
40751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
40752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40753 if (SWIG_arg_fail(1)) SWIG_fail
;
40755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40756 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
40758 wxPyEndAllowThreads(__tstate
);
40759 if (PyErr_Occurred()) SWIG_fail
;
40762 resultobj
= SWIG_From_int((int)(result
));
40770 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40771 PyObject
*resultobj
;
40772 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40774 PyObject
* obj0
= 0 ;
40775 char *kwnames
[] = {
40776 (char *) "self", NULL
40779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
40780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40781 if (SWIG_arg_fail(1)) SWIG_fail
;
40783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40784 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
40786 wxPyEndAllowThreads(__tstate
);
40787 if (PyErr_Occurred()) SWIG_fail
;
40790 resultobj
= SWIG_From_int((int)(result
));
40798 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40799 PyObject
*resultobj
;
40800 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40802 PyObject
* obj0
= 0 ;
40803 PyObject
* obj1
= 0 ;
40804 char *kwnames
[] = {
40805 (char *) "self",(char *) "row", NULL
40808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40810 if (SWIG_arg_fail(1)) SWIG_fail
;
40812 arg2
= (int)(SWIG_As_int(obj1
));
40813 if (SWIG_arg_fail(2)) SWIG_fail
;
40816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40817 (arg1
)->SetRow(arg2
);
40819 wxPyEndAllowThreads(__tstate
);
40820 if (PyErr_Occurred()) SWIG_fail
;
40822 Py_INCREF(Py_None
); resultobj
= Py_None
;
40829 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40830 PyObject
*resultobj
;
40831 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40833 PyObject
* obj0
= 0 ;
40834 PyObject
* obj1
= 0 ;
40835 char *kwnames
[] = {
40836 (char *) "self",(char *) "col", NULL
40839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40841 if (SWIG_arg_fail(1)) SWIG_fail
;
40843 arg2
= (int)(SWIG_As_int(obj1
));
40844 if (SWIG_arg_fail(2)) SWIG_fail
;
40847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40848 (arg1
)->SetCol(arg2
);
40850 wxPyEndAllowThreads(__tstate
);
40851 if (PyErr_Occurred()) SWIG_fail
;
40853 Py_INCREF(Py_None
); resultobj
= Py_None
;
40860 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40861 PyObject
*resultobj
;
40862 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40863 wxGBPosition
*arg2
= 0 ;
40865 wxGBPosition temp2
;
40866 PyObject
* obj0
= 0 ;
40867 PyObject
* obj1
= 0 ;
40868 char *kwnames
[] = {
40869 (char *) "self",(char *) "other", NULL
40872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
40873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40874 if (SWIG_arg_fail(1)) SWIG_fail
;
40877 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40881 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
40883 wxPyEndAllowThreads(__tstate
);
40884 if (PyErr_Occurred()) SWIG_fail
;
40887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40895 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40896 PyObject
*resultobj
;
40897 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40898 wxGBPosition
*arg2
= 0 ;
40900 wxGBPosition temp2
;
40901 PyObject
* obj0
= 0 ;
40902 PyObject
* obj1
= 0 ;
40903 char *kwnames
[] = {
40904 (char *) "self",(char *) "other", NULL
40907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",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
;
40912 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40916 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
40918 wxPyEndAllowThreads(__tstate
);
40919 if (PyErr_Occurred()) SWIG_fail
;
40922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40930 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40931 PyObject
*resultobj
;
40932 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40933 int arg2
= (int) 0 ;
40934 int arg3
= (int) 0 ;
40935 PyObject
* obj0
= 0 ;
40936 PyObject
* obj1
= 0 ;
40937 PyObject
* obj2
= 0 ;
40938 char *kwnames
[] = {
40939 (char *) "self",(char *) "row",(char *) "col", NULL
40942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40944 if (SWIG_arg_fail(1)) SWIG_fail
;
40947 arg2
= (int)(SWIG_As_int(obj1
));
40948 if (SWIG_arg_fail(2)) SWIG_fail
;
40953 arg3
= (int)(SWIG_As_int(obj2
));
40954 if (SWIG_arg_fail(3)) SWIG_fail
;
40958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40959 wxGBPosition_Set(arg1
,arg2
,arg3
);
40961 wxPyEndAllowThreads(__tstate
);
40962 if (PyErr_Occurred()) SWIG_fail
;
40964 Py_INCREF(Py_None
); resultobj
= Py_None
;
40971 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40972 PyObject
*resultobj
;
40973 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40975 PyObject
* obj0
= 0 ;
40976 char *kwnames
[] = {
40977 (char *) "self", NULL
40980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
40981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40982 if (SWIG_arg_fail(1)) SWIG_fail
;
40984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40985 result
= (PyObject
*)wxGBPosition_Get(arg1
);
40987 wxPyEndAllowThreads(__tstate
);
40988 if (PyErr_Occurred()) SWIG_fail
;
40990 resultobj
= result
;
40997 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
40999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41000 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41002 return Py_BuildValue((char *)"");
41004 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41005 PyObject
*resultobj
;
41006 int arg1
= (int) 1 ;
41007 int arg2
= (int) 1 ;
41009 PyObject
* obj0
= 0 ;
41010 PyObject
* obj1
= 0 ;
41011 char *kwnames
[] = {
41012 (char *) "rowspan",(char *) "colspan", NULL
41015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41018 arg1
= (int)(SWIG_As_int(obj0
));
41019 if (SWIG_arg_fail(1)) SWIG_fail
;
41024 arg2
= (int)(SWIG_As_int(obj1
));
41025 if (SWIG_arg_fail(2)) SWIG_fail
;
41029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41030 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41032 wxPyEndAllowThreads(__tstate
);
41033 if (PyErr_Occurred()) SWIG_fail
;
41035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41042 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41043 PyObject
*resultobj
;
41044 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41046 PyObject
* obj0
= 0 ;
41047 char *kwnames
[] = {
41048 (char *) "self", NULL
41051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41053 if (SWIG_arg_fail(1)) SWIG_fail
;
41055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41056 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41058 wxPyEndAllowThreads(__tstate
);
41059 if (PyErr_Occurred()) SWIG_fail
;
41062 resultobj
= SWIG_From_int((int)(result
));
41070 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41071 PyObject
*resultobj
;
41072 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41074 PyObject
* obj0
= 0 ;
41075 char *kwnames
[] = {
41076 (char *) "self", NULL
41079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41081 if (SWIG_arg_fail(1)) SWIG_fail
;
41083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41084 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41086 wxPyEndAllowThreads(__tstate
);
41087 if (PyErr_Occurred()) SWIG_fail
;
41090 resultobj
= SWIG_From_int((int)(result
));
41098 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41099 PyObject
*resultobj
;
41100 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41102 PyObject
* obj0
= 0 ;
41103 PyObject
* obj1
= 0 ;
41104 char *kwnames
[] = {
41105 (char *) "self",(char *) "rowspan", NULL
41108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41110 if (SWIG_arg_fail(1)) SWIG_fail
;
41112 arg2
= (int)(SWIG_As_int(obj1
));
41113 if (SWIG_arg_fail(2)) SWIG_fail
;
41116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41117 (arg1
)->SetRowspan(arg2
);
41119 wxPyEndAllowThreads(__tstate
);
41120 if (PyErr_Occurred()) SWIG_fail
;
41122 Py_INCREF(Py_None
); resultobj
= Py_None
;
41129 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41130 PyObject
*resultobj
;
41131 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41133 PyObject
* obj0
= 0 ;
41134 PyObject
* obj1
= 0 ;
41135 char *kwnames
[] = {
41136 (char *) "self",(char *) "colspan", NULL
41139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41141 if (SWIG_arg_fail(1)) SWIG_fail
;
41143 arg2
= (int)(SWIG_As_int(obj1
));
41144 if (SWIG_arg_fail(2)) SWIG_fail
;
41147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41148 (arg1
)->SetColspan(arg2
);
41150 wxPyEndAllowThreads(__tstate
);
41151 if (PyErr_Occurred()) SWIG_fail
;
41153 Py_INCREF(Py_None
); resultobj
= Py_None
;
41160 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41161 PyObject
*resultobj
;
41162 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41163 wxGBSpan
*arg2
= 0 ;
41166 PyObject
* obj0
= 0 ;
41167 PyObject
* obj1
= 0 ;
41168 char *kwnames
[] = {
41169 (char *) "self",(char *) "other", NULL
41172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41174 if (SWIG_arg_fail(1)) SWIG_fail
;
41177 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41181 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41183 wxPyEndAllowThreads(__tstate
);
41184 if (PyErr_Occurred()) SWIG_fail
;
41187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41195 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41196 PyObject
*resultobj
;
41197 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41198 wxGBSpan
*arg2
= 0 ;
41201 PyObject
* obj0
= 0 ;
41202 PyObject
* obj1
= 0 ;
41203 char *kwnames
[] = {
41204 (char *) "self",(char *) "other", NULL
41207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",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
;
41212 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41216 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41218 wxPyEndAllowThreads(__tstate
);
41219 if (PyErr_Occurred()) SWIG_fail
;
41222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41230 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41231 PyObject
*resultobj
;
41232 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41233 int arg2
= (int) 1 ;
41234 int arg3
= (int) 1 ;
41235 PyObject
* obj0
= 0 ;
41236 PyObject
* obj1
= 0 ;
41237 PyObject
* obj2
= 0 ;
41238 char *kwnames
[] = {
41239 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41244 if (SWIG_arg_fail(1)) SWIG_fail
;
41247 arg2
= (int)(SWIG_As_int(obj1
));
41248 if (SWIG_arg_fail(2)) SWIG_fail
;
41253 arg3
= (int)(SWIG_As_int(obj2
));
41254 if (SWIG_arg_fail(3)) SWIG_fail
;
41258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41259 wxGBSpan_Set(arg1
,arg2
,arg3
);
41261 wxPyEndAllowThreads(__tstate
);
41262 if (PyErr_Occurred()) SWIG_fail
;
41264 Py_INCREF(Py_None
); resultobj
= Py_None
;
41271 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41272 PyObject
*resultobj
;
41273 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41275 PyObject
* obj0
= 0 ;
41276 char *kwnames
[] = {
41277 (char *) "self", NULL
41280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41282 if (SWIG_arg_fail(1)) SWIG_fail
;
41284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41285 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41287 wxPyEndAllowThreads(__tstate
);
41288 if (PyErr_Occurred()) SWIG_fail
;
41290 resultobj
= result
;
41297 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41300 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41302 return Py_BuildValue((char *)"");
41304 static int _wrap_DefaultSpan_set(PyObject
*) {
41305 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41310 static PyObject
*_wrap_DefaultSpan_get(void) {
41313 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41318 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41319 PyObject
*resultobj
;
41320 wxGBSizerItem
*result
;
41321 char *kwnames
[] = {
41325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41328 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41330 wxPyEndAllowThreads(__tstate
);
41331 if (PyErr_Occurred()) SWIG_fail
;
41333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41340 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41341 PyObject
*resultobj
;
41342 wxWindow
*arg1
= (wxWindow
*) 0 ;
41343 wxGBPosition
*arg2
= 0 ;
41344 wxGBSpan
*arg3
= 0 ;
41347 PyObject
*arg6
= (PyObject
*) NULL
;
41348 wxGBSizerItem
*result
;
41349 wxGBPosition temp2
;
41351 PyObject
* obj0
= 0 ;
41352 PyObject
* obj1
= 0 ;
41353 PyObject
* obj2
= 0 ;
41354 PyObject
* obj3
= 0 ;
41355 PyObject
* obj4
= 0 ;
41356 PyObject
* obj5
= 0 ;
41357 char *kwnames
[] = {
41358 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41363 if (SWIG_arg_fail(1)) SWIG_fail
;
41366 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41370 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41373 arg4
= (int)(SWIG_As_int(obj3
));
41374 if (SWIG_arg_fail(4)) SWIG_fail
;
41377 arg5
= (int)(SWIG_As_int(obj4
));
41378 if (SWIG_arg_fail(5)) SWIG_fail
;
41384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41385 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41387 wxPyEndAllowThreads(__tstate
);
41388 if (PyErr_Occurred()) SWIG_fail
;
41390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41397 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41398 PyObject
*resultobj
;
41399 wxSizer
*arg1
= (wxSizer
*) 0 ;
41400 wxGBPosition
*arg2
= 0 ;
41401 wxGBSpan
*arg3
= 0 ;
41404 PyObject
*arg6
= (PyObject
*) NULL
;
41405 wxGBSizerItem
*result
;
41406 wxGBPosition temp2
;
41408 PyObject
* obj0
= 0 ;
41409 PyObject
* obj1
= 0 ;
41410 PyObject
* obj2
= 0 ;
41411 PyObject
* obj3
= 0 ;
41412 PyObject
* obj4
= 0 ;
41413 PyObject
* obj5
= 0 ;
41414 char *kwnames
[] = {
41415 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41420 if (SWIG_arg_fail(1)) SWIG_fail
;
41423 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41427 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41430 arg4
= (int)(SWIG_As_int(obj3
));
41431 if (SWIG_arg_fail(4)) SWIG_fail
;
41434 arg5
= (int)(SWIG_As_int(obj4
));
41435 if (SWIG_arg_fail(5)) SWIG_fail
;
41441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41442 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41444 wxPyEndAllowThreads(__tstate
);
41445 if (PyErr_Occurred()) SWIG_fail
;
41447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41454 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41455 PyObject
*resultobj
;
41458 wxGBPosition
*arg3
= 0 ;
41459 wxGBSpan
*arg4
= 0 ;
41462 PyObject
*arg7
= (PyObject
*) NULL
;
41463 wxGBSizerItem
*result
;
41464 wxGBPosition temp3
;
41466 PyObject
* obj0
= 0 ;
41467 PyObject
* obj1
= 0 ;
41468 PyObject
* obj2
= 0 ;
41469 PyObject
* obj3
= 0 ;
41470 PyObject
* obj4
= 0 ;
41471 PyObject
* obj5
= 0 ;
41472 PyObject
* obj6
= 0 ;
41473 char *kwnames
[] = {
41474 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41479 arg1
= (int)(SWIG_As_int(obj0
));
41480 if (SWIG_arg_fail(1)) SWIG_fail
;
41483 arg2
= (int)(SWIG_As_int(obj1
));
41484 if (SWIG_arg_fail(2)) SWIG_fail
;
41488 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41492 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41495 arg5
= (int)(SWIG_As_int(obj4
));
41496 if (SWIG_arg_fail(5)) SWIG_fail
;
41499 arg6
= (int)(SWIG_As_int(obj5
));
41500 if (SWIG_arg_fail(6)) SWIG_fail
;
41506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41507 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41509 wxPyEndAllowThreads(__tstate
);
41510 if (PyErr_Occurred()) SWIG_fail
;
41512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41519 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41520 PyObject
*resultobj
;
41521 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41522 wxGBPosition result
;
41523 PyObject
* obj0
= 0 ;
41524 char *kwnames
[] = {
41525 (char *) "self", NULL
41528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
41529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41530 if (SWIG_arg_fail(1)) SWIG_fail
;
41532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41533 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
41535 wxPyEndAllowThreads(__tstate
);
41536 if (PyErr_Occurred()) SWIG_fail
;
41539 wxGBPosition
* resultptr
;
41540 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41549 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41550 PyObject
*resultobj
;
41551 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41553 PyObject
* obj0
= 0 ;
41554 char *kwnames
[] = {
41555 (char *) "self", NULL
41558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
41559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41560 if (SWIG_arg_fail(1)) SWIG_fail
;
41562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41563 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
41565 wxPyEndAllowThreads(__tstate
);
41566 if (PyErr_Occurred()) SWIG_fail
;
41569 wxGBSpan
* resultptr
;
41570 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
41571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
41579 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41580 PyObject
*resultobj
;
41581 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41582 wxGBPosition
*arg2
= 0 ;
41584 wxGBPosition temp2
;
41585 PyObject
* obj0
= 0 ;
41586 PyObject
* obj1
= 0 ;
41587 char *kwnames
[] = {
41588 (char *) "self",(char *) "pos", NULL
41591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
41592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41593 if (SWIG_arg_fail(1)) SWIG_fail
;
41596 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41600 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
41602 wxPyEndAllowThreads(__tstate
);
41603 if (PyErr_Occurred()) SWIG_fail
;
41606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41614 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41615 PyObject
*resultobj
;
41616 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41617 wxGBSpan
*arg2
= 0 ;
41620 PyObject
* obj0
= 0 ;
41621 PyObject
* obj1
= 0 ;
41622 char *kwnames
[] = {
41623 (char *) "self",(char *) "span", NULL
41626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41628 if (SWIG_arg_fail(1)) SWIG_fail
;
41631 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41635 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
41637 wxPyEndAllowThreads(__tstate
);
41638 if (PyErr_Occurred()) SWIG_fail
;
41641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41649 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41650 PyObject
*resultobj
;
41651 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41652 wxGBSizerItem
*arg2
= 0 ;
41654 PyObject
* obj0
= 0 ;
41655 PyObject
* obj1
= 0 ;
41656 char *kwnames
[] = {
41657 (char *) "self",(char *) "other", NULL
41660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
41661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41662 if (SWIG_arg_fail(1)) SWIG_fail
;
41664 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41665 if (SWIG_arg_fail(2)) SWIG_fail
;
41666 if (arg2
== NULL
) {
41667 SWIG_null_ref("wxGBSizerItem");
41669 if (SWIG_arg_fail(2)) SWIG_fail
;
41672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41673 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
41675 wxPyEndAllowThreads(__tstate
);
41676 if (PyErr_Occurred()) SWIG_fail
;
41679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41687 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41688 PyObject
*resultobj
;
41689 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41690 wxGBPosition
*arg2
= 0 ;
41691 wxGBSpan
*arg3
= 0 ;
41693 wxGBPosition temp2
;
41695 PyObject
* obj0
= 0 ;
41696 PyObject
* obj1
= 0 ;
41697 PyObject
* obj2
= 0 ;
41698 char *kwnames
[] = {
41699 (char *) "self",(char *) "pos",(char *) "span", NULL
41702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41704 if (SWIG_arg_fail(1)) SWIG_fail
;
41707 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41711 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41715 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
41717 wxPyEndAllowThreads(__tstate
);
41718 if (PyErr_Occurred()) SWIG_fail
;
41721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41729 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41730 PyObject
*resultobj
;
41731 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41732 wxGBPosition result
;
41733 PyObject
* obj0
= 0 ;
41734 char *kwnames
[] = {
41735 (char *) "self", NULL
41738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
41739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41740 if (SWIG_arg_fail(1)) SWIG_fail
;
41742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41743 result
= wxGBSizerItem_GetEndPos(arg1
);
41745 wxPyEndAllowThreads(__tstate
);
41746 if (PyErr_Occurred()) SWIG_fail
;
41749 wxGBPosition
* resultptr
;
41750 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41759 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41760 PyObject
*resultobj
;
41761 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41762 wxGridBagSizer
*result
;
41763 PyObject
* obj0
= 0 ;
41764 char *kwnames
[] = {
41765 (char *) "self", NULL
41768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
41769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41770 if (SWIG_arg_fail(1)) SWIG_fail
;
41772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41773 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
41775 wxPyEndAllowThreads(__tstate
);
41776 if (PyErr_Occurred()) SWIG_fail
;
41778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
41785 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41786 PyObject
*resultobj
;
41787 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41788 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
41789 PyObject
* obj0
= 0 ;
41790 PyObject
* obj1
= 0 ;
41791 char *kwnames
[] = {
41792 (char *) "self",(char *) "sizer", NULL
41795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41797 if (SWIG_arg_fail(1)) SWIG_fail
;
41798 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41799 if (SWIG_arg_fail(2)) SWIG_fail
;
41801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41802 (arg1
)->SetGBSizer(arg2
);
41804 wxPyEndAllowThreads(__tstate
);
41805 if (PyErr_Occurred()) SWIG_fail
;
41807 Py_INCREF(Py_None
); resultobj
= Py_None
;
41814 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
41816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41817 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
41819 return Py_BuildValue((char *)"");
41821 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41822 PyObject
*resultobj
;
41823 int arg1
= (int) 0 ;
41824 int arg2
= (int) 0 ;
41825 wxGridBagSizer
*result
;
41826 PyObject
* obj0
= 0 ;
41827 PyObject
* obj1
= 0 ;
41828 char *kwnames
[] = {
41829 (char *) "vgap",(char *) "hgap", NULL
41832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41835 arg1
= (int)(SWIG_As_int(obj0
));
41836 if (SWIG_arg_fail(1)) SWIG_fail
;
41841 arg2
= (int)(SWIG_As_int(obj1
));
41842 if (SWIG_arg_fail(2)) SWIG_fail
;
41846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41847 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
41849 wxPyEndAllowThreads(__tstate
);
41850 if (PyErr_Occurred()) SWIG_fail
;
41852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
41859 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41860 PyObject
*resultobj
;
41861 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41862 PyObject
*arg2
= (PyObject
*) 0 ;
41863 wxGBPosition
*arg3
= 0 ;
41864 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
41865 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
41866 int arg5
= (int) 0 ;
41867 int arg6
= (int) 0 ;
41868 PyObject
*arg7
= (PyObject
*) NULL
;
41869 wxGBSizerItem
*result
;
41870 wxGBPosition temp3
;
41872 PyObject
* obj0
= 0 ;
41873 PyObject
* obj1
= 0 ;
41874 PyObject
* obj2
= 0 ;
41875 PyObject
* obj3
= 0 ;
41876 PyObject
* obj4
= 0 ;
41877 PyObject
* obj5
= 0 ;
41878 PyObject
* obj6
= 0 ;
41879 char *kwnames
[] = {
41880 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41884 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41885 if (SWIG_arg_fail(1)) SWIG_fail
;
41889 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41894 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41899 arg5
= (int)(SWIG_As_int(obj4
));
41900 if (SWIG_arg_fail(5)) SWIG_fail
;
41905 arg6
= (int)(SWIG_As_int(obj5
));
41906 if (SWIG_arg_fail(6)) SWIG_fail
;
41913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41914 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41916 wxPyEndAllowThreads(__tstate
);
41917 if (PyErr_Occurred()) SWIG_fail
;
41919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41926 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41927 PyObject
*resultobj
;
41928 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41929 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
41930 wxGBSizerItem
*result
;
41931 PyObject
* obj0
= 0 ;
41932 PyObject
* obj1
= 0 ;
41933 char *kwnames
[] = {
41934 (char *) "self",(char *) "item", NULL
41937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
41938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41939 if (SWIG_arg_fail(1)) SWIG_fail
;
41940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41941 if (SWIG_arg_fail(2)) SWIG_fail
;
41943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41944 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
41946 wxPyEndAllowThreads(__tstate
);
41947 if (PyErr_Occurred()) SWIG_fail
;
41949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41956 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41957 PyObject
*resultobj
;
41958 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41962 PyObject
* obj0
= 0 ;
41963 PyObject
* obj1
= 0 ;
41964 PyObject
* obj2
= 0 ;
41965 char *kwnames
[] = {
41966 (char *) "self",(char *) "row",(char *) "col", NULL
41969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41971 if (SWIG_arg_fail(1)) SWIG_fail
;
41973 arg2
= (int)(SWIG_As_int(obj1
));
41974 if (SWIG_arg_fail(2)) SWIG_fail
;
41977 arg3
= (int)(SWIG_As_int(obj2
));
41978 if (SWIG_arg_fail(3)) SWIG_fail
;
41981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41982 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
41984 wxPyEndAllowThreads(__tstate
);
41985 if (PyErr_Occurred()) SWIG_fail
;
41988 wxSize
* resultptr
;
41989 resultptr
= new wxSize((wxSize
&)(result
));
41990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
41998 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41999 PyObject
*resultobj
;
42000 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42002 PyObject
* obj0
= 0 ;
42003 char *kwnames
[] = {
42004 (char *) "self", NULL
42007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42009 if (SWIG_arg_fail(1)) SWIG_fail
;
42011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42012 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42014 wxPyEndAllowThreads(__tstate
);
42015 if (PyErr_Occurred()) SWIG_fail
;
42018 wxSize
* resultptr
;
42019 resultptr
= new wxSize((wxSize
&)(result
));
42020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42028 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42029 PyObject
*resultobj
;
42030 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42033 PyObject
* obj0
= 0 ;
42034 PyObject
* obj1
= 0 ;
42035 char *kwnames
[] = {
42036 (char *) "self",(char *) "sz", NULL
42039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42041 if (SWIG_arg_fail(1)) SWIG_fail
;
42044 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42048 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42050 wxPyEndAllowThreads(__tstate
);
42051 if (PyErr_Occurred()) SWIG_fail
;
42053 Py_INCREF(Py_None
); resultobj
= Py_None
;
42060 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42061 PyObject
*resultobj
;
42062 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42063 wxWindow
*arg2
= (wxWindow
*) 0 ;
42064 wxGBPosition result
;
42065 PyObject
* obj0
= 0 ;
42066 PyObject
* obj1
= 0 ;
42068 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42070 if (SWIG_arg_fail(1)) SWIG_fail
;
42071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42072 if (SWIG_arg_fail(2)) SWIG_fail
;
42074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42075 result
= (arg1
)->GetItemPosition(arg2
);
42077 wxPyEndAllowThreads(__tstate
);
42078 if (PyErr_Occurred()) SWIG_fail
;
42081 wxGBPosition
* resultptr
;
42082 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42083 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42091 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42092 PyObject
*resultobj
;
42093 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42094 wxSizer
*arg2
= (wxSizer
*) 0 ;
42095 wxGBPosition result
;
42096 PyObject
* obj0
= 0 ;
42097 PyObject
* obj1
= 0 ;
42099 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42101 if (SWIG_arg_fail(1)) SWIG_fail
;
42102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42103 if (SWIG_arg_fail(2)) SWIG_fail
;
42105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42106 result
= (arg1
)->GetItemPosition(arg2
);
42108 wxPyEndAllowThreads(__tstate
);
42109 if (PyErr_Occurred()) SWIG_fail
;
42112 wxGBPosition
* resultptr
;
42113 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42114 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42122 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42123 PyObject
*resultobj
;
42124 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42126 wxGBPosition result
;
42127 PyObject
* obj0
= 0 ;
42128 PyObject
* obj1
= 0 ;
42130 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42132 if (SWIG_arg_fail(1)) SWIG_fail
;
42134 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42135 if (SWIG_arg_fail(2)) SWIG_fail
;
42138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42139 result
= (arg1
)->GetItemPosition(arg2
);
42141 wxPyEndAllowThreads(__tstate
);
42142 if (PyErr_Occurred()) SWIG_fail
;
42145 wxGBPosition
* resultptr
;
42146 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42155 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42160 argc
= PyObject_Length(args
);
42161 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42162 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42168 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42178 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42186 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42194 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42204 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42212 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42220 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42228 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42230 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42235 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42240 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42241 PyObject
*resultobj
;
42242 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42243 wxWindow
*arg2
= (wxWindow
*) 0 ;
42244 wxGBPosition
*arg3
= 0 ;
42246 wxGBPosition temp3
;
42247 PyObject
* obj0
= 0 ;
42248 PyObject
* obj1
= 0 ;
42249 PyObject
* obj2
= 0 ;
42251 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42253 if (SWIG_arg_fail(1)) SWIG_fail
;
42254 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42255 if (SWIG_arg_fail(2)) SWIG_fail
;
42258 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42262 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42264 wxPyEndAllowThreads(__tstate
);
42265 if (PyErr_Occurred()) SWIG_fail
;
42268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42276 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42277 PyObject
*resultobj
;
42278 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42279 wxSizer
*arg2
= (wxSizer
*) 0 ;
42280 wxGBPosition
*arg3
= 0 ;
42282 wxGBPosition temp3
;
42283 PyObject
* obj0
= 0 ;
42284 PyObject
* obj1
= 0 ;
42285 PyObject
* obj2
= 0 ;
42287 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42289 if (SWIG_arg_fail(1)) SWIG_fail
;
42290 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42291 if (SWIG_arg_fail(2)) SWIG_fail
;
42294 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42298 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42300 wxPyEndAllowThreads(__tstate
);
42301 if (PyErr_Occurred()) SWIG_fail
;
42304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42312 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42313 PyObject
*resultobj
;
42314 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42316 wxGBPosition
*arg3
= 0 ;
42318 wxGBPosition temp3
;
42319 PyObject
* obj0
= 0 ;
42320 PyObject
* obj1
= 0 ;
42321 PyObject
* obj2
= 0 ;
42323 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42325 if (SWIG_arg_fail(1)) SWIG_fail
;
42327 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42328 if (SWIG_arg_fail(2)) SWIG_fail
;
42332 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42336 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42338 wxPyEndAllowThreads(__tstate
);
42339 if (PyErr_Occurred()) SWIG_fail
;
42342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42350 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42355 argc
= PyObject_Length(args
);
42356 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42357 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42363 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42373 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42382 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42385 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42394 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42404 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42413 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42416 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42425 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42433 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42436 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42439 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42445 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42450 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42451 PyObject
*resultobj
;
42452 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42453 wxWindow
*arg2
= (wxWindow
*) 0 ;
42455 PyObject
* obj0
= 0 ;
42456 PyObject
* obj1
= 0 ;
42458 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42460 if (SWIG_arg_fail(1)) SWIG_fail
;
42461 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42462 if (SWIG_arg_fail(2)) SWIG_fail
;
42464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42465 result
= (arg1
)->GetItemSpan(arg2
);
42467 wxPyEndAllowThreads(__tstate
);
42468 if (PyErr_Occurred()) SWIG_fail
;
42471 wxGBSpan
* resultptr
;
42472 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42481 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42482 PyObject
*resultobj
;
42483 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42484 wxSizer
*arg2
= (wxSizer
*) 0 ;
42486 PyObject
* obj0
= 0 ;
42487 PyObject
* obj1
= 0 ;
42489 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42491 if (SWIG_arg_fail(1)) SWIG_fail
;
42492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42493 if (SWIG_arg_fail(2)) SWIG_fail
;
42495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42496 result
= (arg1
)->GetItemSpan(arg2
);
42498 wxPyEndAllowThreads(__tstate
);
42499 if (PyErr_Occurred()) SWIG_fail
;
42502 wxGBSpan
* resultptr
;
42503 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42504 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42512 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42513 PyObject
*resultobj
;
42514 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42517 PyObject
* obj0
= 0 ;
42518 PyObject
* obj1
= 0 ;
42520 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42522 if (SWIG_arg_fail(1)) SWIG_fail
;
42524 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42525 if (SWIG_arg_fail(2)) SWIG_fail
;
42528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42529 result
= (arg1
)->GetItemSpan(arg2
);
42531 wxPyEndAllowThreads(__tstate
);
42532 if (PyErr_Occurred()) SWIG_fail
;
42535 wxGBSpan
* resultptr
;
42536 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42545 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
42550 argc
= PyObject_Length(args
);
42551 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42552 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42558 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42568 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42576 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
42584 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42594 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42602 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
42610 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42618 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42620 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
42625 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
42630 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42631 PyObject
*resultobj
;
42632 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42633 wxWindow
*arg2
= (wxWindow
*) 0 ;
42634 wxGBSpan
*arg3
= 0 ;
42637 PyObject
* obj0
= 0 ;
42638 PyObject
* obj1
= 0 ;
42639 PyObject
* obj2
= 0 ;
42641 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42643 if (SWIG_arg_fail(1)) SWIG_fail
;
42644 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42645 if (SWIG_arg_fail(2)) SWIG_fail
;
42648 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42652 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42654 wxPyEndAllowThreads(__tstate
);
42655 if (PyErr_Occurred()) SWIG_fail
;
42658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42666 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42667 PyObject
*resultobj
;
42668 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42669 wxSizer
*arg2
= (wxSizer
*) 0 ;
42670 wxGBSpan
*arg3
= 0 ;
42673 PyObject
* obj0
= 0 ;
42674 PyObject
* obj1
= 0 ;
42675 PyObject
* obj2
= 0 ;
42677 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42679 if (SWIG_arg_fail(1)) SWIG_fail
;
42680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42681 if (SWIG_arg_fail(2)) SWIG_fail
;
42684 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42688 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42690 wxPyEndAllowThreads(__tstate
);
42691 if (PyErr_Occurred()) SWIG_fail
;
42694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42702 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42703 PyObject
*resultobj
;
42704 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42706 wxGBSpan
*arg3
= 0 ;
42709 PyObject
* obj0
= 0 ;
42710 PyObject
* obj1
= 0 ;
42711 PyObject
* obj2
= 0 ;
42713 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42715 if (SWIG_arg_fail(1)) SWIG_fail
;
42717 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42718 if (SWIG_arg_fail(2)) SWIG_fail
;
42722 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42726 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42728 wxPyEndAllowThreads(__tstate
);
42729 if (PyErr_Occurred()) SWIG_fail
;
42732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42740 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
42745 argc
= PyObject_Length(args
);
42746 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42747 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42753 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42763 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42772 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42775 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
42784 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42794 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42803 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42806 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
42815 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42823 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42826 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42829 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
42835 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
42840 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
42841 PyObject
*resultobj
;
42842 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42843 wxWindow
*arg2
= (wxWindow
*) 0 ;
42844 wxGBSizerItem
*result
;
42845 PyObject
* obj0
= 0 ;
42846 PyObject
* obj1
= 0 ;
42848 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42850 if (SWIG_arg_fail(1)) SWIG_fail
;
42851 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42852 if (SWIG_arg_fail(2)) SWIG_fail
;
42854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42855 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42857 wxPyEndAllowThreads(__tstate
);
42858 if (PyErr_Occurred()) SWIG_fail
;
42860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42867 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
42868 PyObject
*resultobj
;
42869 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42870 wxSizer
*arg2
= (wxSizer
*) 0 ;
42871 wxGBSizerItem
*result
;
42872 PyObject
* obj0
= 0 ;
42873 PyObject
* obj1
= 0 ;
42875 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42877 if (SWIG_arg_fail(1)) SWIG_fail
;
42878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42879 if (SWIG_arg_fail(2)) SWIG_fail
;
42881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42882 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42884 wxPyEndAllowThreads(__tstate
);
42885 if (PyErr_Occurred()) SWIG_fail
;
42887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42894 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
42899 argc
= PyObject_Length(args
);
42900 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42901 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42907 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42917 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42925 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
42933 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42943 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42951 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
42956 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
42961 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42962 PyObject
*resultobj
;
42963 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42964 wxGBPosition
*arg2
= 0 ;
42965 wxGBSizerItem
*result
;
42966 wxGBPosition temp2
;
42967 PyObject
* obj0
= 0 ;
42968 PyObject
* obj1
= 0 ;
42969 char *kwnames
[] = {
42970 (char *) "self",(char *) "pos", NULL
42973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
42974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42975 if (SWIG_arg_fail(1)) SWIG_fail
;
42978 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42982 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
42984 wxPyEndAllowThreads(__tstate
);
42985 if (PyErr_Occurred()) SWIG_fail
;
42987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42994 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42995 PyObject
*resultobj
;
42996 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42997 wxPoint
*arg2
= 0 ;
42998 wxGBSizerItem
*result
;
43000 PyObject
* obj0
= 0 ;
43001 PyObject
* obj1
= 0 ;
43002 char *kwnames
[] = {
43003 (char *) "self",(char *) "pt", NULL
43006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43008 if (SWIG_arg_fail(1)) SWIG_fail
;
43011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43015 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43017 wxPyEndAllowThreads(__tstate
);
43018 if (PyErr_Occurred()) SWIG_fail
;
43020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43027 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43028 PyObject
*resultobj
;
43029 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43030 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43031 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43033 PyObject
* obj0
= 0 ;
43034 PyObject
* obj1
= 0 ;
43035 PyObject
* obj2
= 0 ;
43036 char *kwnames
[] = {
43037 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43042 if (SWIG_arg_fail(1)) SWIG_fail
;
43043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43044 if (SWIG_arg_fail(2)) SWIG_fail
;
43046 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43047 if (SWIG_arg_fail(3)) SWIG_fail
;
43050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43051 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43053 wxPyEndAllowThreads(__tstate
);
43054 if (PyErr_Occurred()) SWIG_fail
;
43057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43065 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43066 PyObject
*resultobj
;
43067 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43068 wxGBPosition
*arg2
= 0 ;
43069 wxGBSpan
*arg3
= 0 ;
43070 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43072 wxGBPosition temp2
;
43074 PyObject
* obj0
= 0 ;
43075 PyObject
* obj1
= 0 ;
43076 PyObject
* obj2
= 0 ;
43077 PyObject
* obj3
= 0 ;
43078 char *kwnames
[] = {
43079 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43084 if (SWIG_arg_fail(1)) SWIG_fail
;
43087 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43091 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43094 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43095 if (SWIG_arg_fail(4)) SWIG_fail
;
43098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43099 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43101 wxPyEndAllowThreads(__tstate
);
43102 if (PyErr_Occurred()) SWIG_fail
;
43105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43113 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43116 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43118 return Py_BuildValue((char *)"");
43120 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43121 PyObject
*resultobj
;
43122 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43123 wxRelationship arg2
;
43124 wxWindow
*arg3
= (wxWindow
*) 0 ;
43126 int arg5
= (int) 0 ;
43127 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43128 PyObject
* obj0
= 0 ;
43129 PyObject
* obj1
= 0 ;
43130 PyObject
* obj2
= 0 ;
43131 PyObject
* obj3
= 0 ;
43132 PyObject
* obj4
= 0 ;
43133 PyObject
* obj5
= 0 ;
43134 char *kwnames
[] = {
43135 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43140 if (SWIG_arg_fail(1)) SWIG_fail
;
43142 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43143 if (SWIG_arg_fail(2)) SWIG_fail
;
43145 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43146 if (SWIG_arg_fail(3)) SWIG_fail
;
43148 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43149 if (SWIG_arg_fail(4)) SWIG_fail
;
43153 arg5
= (int)(SWIG_As_int(obj4
));
43154 if (SWIG_arg_fail(5)) SWIG_fail
;
43159 arg6
= (int)(SWIG_As_int(obj5
));
43160 if (SWIG_arg_fail(6)) SWIG_fail
;
43164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43165 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43167 wxPyEndAllowThreads(__tstate
);
43168 if (PyErr_Occurred()) SWIG_fail
;
43170 Py_INCREF(Py_None
); resultobj
= Py_None
;
43177 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43178 PyObject
*resultobj
;
43179 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43180 wxWindow
*arg2
= (wxWindow
*) 0 ;
43181 int arg3
= (int) 0 ;
43182 PyObject
* obj0
= 0 ;
43183 PyObject
* obj1
= 0 ;
43184 PyObject
* obj2
= 0 ;
43185 char *kwnames
[] = {
43186 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43191 if (SWIG_arg_fail(1)) SWIG_fail
;
43192 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43193 if (SWIG_arg_fail(2)) SWIG_fail
;
43196 arg3
= (int)(SWIG_As_int(obj2
));
43197 if (SWIG_arg_fail(3)) SWIG_fail
;
43201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43202 (arg1
)->LeftOf(arg2
,arg3
);
43204 wxPyEndAllowThreads(__tstate
);
43205 if (PyErr_Occurred()) SWIG_fail
;
43207 Py_INCREF(Py_None
); resultobj
= Py_None
;
43214 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43215 PyObject
*resultobj
;
43216 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43217 wxWindow
*arg2
= (wxWindow
*) 0 ;
43218 int arg3
= (int) 0 ;
43219 PyObject
* obj0
= 0 ;
43220 PyObject
* obj1
= 0 ;
43221 PyObject
* obj2
= 0 ;
43222 char *kwnames
[] = {
43223 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43228 if (SWIG_arg_fail(1)) SWIG_fail
;
43229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43230 if (SWIG_arg_fail(2)) SWIG_fail
;
43233 arg3
= (int)(SWIG_As_int(obj2
));
43234 if (SWIG_arg_fail(3)) SWIG_fail
;
43238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43239 (arg1
)->RightOf(arg2
,arg3
);
43241 wxPyEndAllowThreads(__tstate
);
43242 if (PyErr_Occurred()) SWIG_fail
;
43244 Py_INCREF(Py_None
); resultobj
= Py_None
;
43251 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43252 PyObject
*resultobj
;
43253 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43254 wxWindow
*arg2
= (wxWindow
*) 0 ;
43255 int arg3
= (int) 0 ;
43256 PyObject
* obj0
= 0 ;
43257 PyObject
* obj1
= 0 ;
43258 PyObject
* obj2
= 0 ;
43259 char *kwnames
[] = {
43260 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43265 if (SWIG_arg_fail(1)) SWIG_fail
;
43266 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43267 if (SWIG_arg_fail(2)) SWIG_fail
;
43270 arg3
= (int)(SWIG_As_int(obj2
));
43271 if (SWIG_arg_fail(3)) SWIG_fail
;
43275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43276 (arg1
)->Above(arg2
,arg3
);
43278 wxPyEndAllowThreads(__tstate
);
43279 if (PyErr_Occurred()) SWIG_fail
;
43281 Py_INCREF(Py_None
); resultobj
= Py_None
;
43288 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43289 PyObject
*resultobj
;
43290 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43291 wxWindow
*arg2
= (wxWindow
*) 0 ;
43292 int arg3
= (int) 0 ;
43293 PyObject
* obj0
= 0 ;
43294 PyObject
* obj1
= 0 ;
43295 PyObject
* obj2
= 0 ;
43296 char *kwnames
[] = {
43297 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43302 if (SWIG_arg_fail(1)) SWIG_fail
;
43303 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43304 if (SWIG_arg_fail(2)) SWIG_fail
;
43307 arg3
= (int)(SWIG_As_int(obj2
));
43308 if (SWIG_arg_fail(3)) SWIG_fail
;
43312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43313 (arg1
)->Below(arg2
,arg3
);
43315 wxPyEndAllowThreads(__tstate
);
43316 if (PyErr_Occurred()) SWIG_fail
;
43318 Py_INCREF(Py_None
); resultobj
= Py_None
;
43325 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43326 PyObject
*resultobj
;
43327 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43328 wxWindow
*arg2
= (wxWindow
*) 0 ;
43330 int arg4
= (int) 0 ;
43331 PyObject
* obj0
= 0 ;
43332 PyObject
* obj1
= 0 ;
43333 PyObject
* obj2
= 0 ;
43334 PyObject
* obj3
= 0 ;
43335 char *kwnames
[] = {
43336 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43341 if (SWIG_arg_fail(1)) SWIG_fail
;
43342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43343 if (SWIG_arg_fail(2)) SWIG_fail
;
43345 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43346 if (SWIG_arg_fail(3)) SWIG_fail
;
43350 arg4
= (int)(SWIG_As_int(obj3
));
43351 if (SWIG_arg_fail(4)) SWIG_fail
;
43355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43356 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43358 wxPyEndAllowThreads(__tstate
);
43359 if (PyErr_Occurred()) SWIG_fail
;
43361 Py_INCREF(Py_None
); resultobj
= Py_None
;
43368 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43369 PyObject
*resultobj
;
43370 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43371 wxWindow
*arg2
= (wxWindow
*) 0 ;
43374 PyObject
* obj0
= 0 ;
43375 PyObject
* obj1
= 0 ;
43376 PyObject
* obj2
= 0 ;
43377 PyObject
* obj3
= 0 ;
43378 char *kwnames
[] = {
43379 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43384 if (SWIG_arg_fail(1)) SWIG_fail
;
43385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43386 if (SWIG_arg_fail(2)) SWIG_fail
;
43388 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43389 if (SWIG_arg_fail(3)) SWIG_fail
;
43392 arg4
= (int)(SWIG_As_int(obj3
));
43393 if (SWIG_arg_fail(4)) SWIG_fail
;
43396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43397 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43399 wxPyEndAllowThreads(__tstate
);
43400 if (PyErr_Occurred()) SWIG_fail
;
43402 Py_INCREF(Py_None
); resultobj
= Py_None
;
43409 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43410 PyObject
*resultobj
;
43411 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43413 PyObject
* obj0
= 0 ;
43414 PyObject
* obj1
= 0 ;
43415 char *kwnames
[] = {
43416 (char *) "self",(char *) "val", NULL
43419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43421 if (SWIG_arg_fail(1)) SWIG_fail
;
43423 arg2
= (int)(SWIG_As_int(obj1
));
43424 if (SWIG_arg_fail(2)) SWIG_fail
;
43427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43428 (arg1
)->Absolute(arg2
);
43430 wxPyEndAllowThreads(__tstate
);
43431 if (PyErr_Occurred()) SWIG_fail
;
43433 Py_INCREF(Py_None
); resultobj
= Py_None
;
43440 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43441 PyObject
*resultobj
;
43442 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43443 PyObject
* obj0
= 0 ;
43444 char *kwnames
[] = {
43445 (char *) "self", NULL
43448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43450 if (SWIG_arg_fail(1)) SWIG_fail
;
43452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43453 (arg1
)->Unconstrained();
43455 wxPyEndAllowThreads(__tstate
);
43456 if (PyErr_Occurred()) SWIG_fail
;
43458 Py_INCREF(Py_None
); resultobj
= Py_None
;
43465 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43466 PyObject
*resultobj
;
43467 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43468 PyObject
* obj0
= 0 ;
43469 char *kwnames
[] = {
43470 (char *) "self", NULL
43473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
43474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43475 if (SWIG_arg_fail(1)) SWIG_fail
;
43477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43480 wxPyEndAllowThreads(__tstate
);
43481 if (PyErr_Occurred()) SWIG_fail
;
43483 Py_INCREF(Py_None
); resultobj
= Py_None
;
43490 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43491 PyObject
*resultobj
;
43492 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43494 PyObject
* obj0
= 0 ;
43495 char *kwnames
[] = {
43496 (char *) "self", NULL
43499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
43500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43501 if (SWIG_arg_fail(1)) SWIG_fail
;
43503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43504 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
43506 wxPyEndAllowThreads(__tstate
);
43507 if (PyErr_Occurred()) SWIG_fail
;
43510 resultobj
= wxPyMake_wxObject(result
, 0);
43518 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43519 PyObject
*resultobj
;
43520 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43522 PyObject
* obj0
= 0 ;
43523 char *kwnames
[] = {
43524 (char *) "self", NULL
43527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
43528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43529 if (SWIG_arg_fail(1)) SWIG_fail
;
43531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43532 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
43534 wxPyEndAllowThreads(__tstate
);
43535 if (PyErr_Occurred()) SWIG_fail
;
43537 resultobj
= SWIG_From_int((result
));
43544 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43545 PyObject
*resultobj
;
43546 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43548 PyObject
* obj0
= 0 ;
43549 PyObject
* obj1
= 0 ;
43550 char *kwnames
[] = {
43551 (char *) "self",(char *) "which", NULL
43554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
43555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43556 if (SWIG_arg_fail(1)) SWIG_fail
;
43558 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43559 if (SWIG_arg_fail(2)) SWIG_fail
;
43562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43563 (arg1
)->SetEdge((wxEdge
)arg2
);
43565 wxPyEndAllowThreads(__tstate
);
43566 if (PyErr_Occurred()) SWIG_fail
;
43568 Py_INCREF(Py_None
); resultobj
= Py_None
;
43575 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43576 PyObject
*resultobj
;
43577 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43579 PyObject
* obj0
= 0 ;
43580 PyObject
* obj1
= 0 ;
43581 char *kwnames
[] = {
43582 (char *) "self",(char *) "v", NULL
43585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
43586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43587 if (SWIG_arg_fail(1)) SWIG_fail
;
43589 arg2
= (int)(SWIG_As_int(obj1
));
43590 if (SWIG_arg_fail(2)) SWIG_fail
;
43593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43594 (arg1
)->SetValue(arg2
);
43596 wxPyEndAllowThreads(__tstate
);
43597 if (PyErr_Occurred()) SWIG_fail
;
43599 Py_INCREF(Py_None
); resultobj
= Py_None
;
43606 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43607 PyObject
*resultobj
;
43608 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43610 PyObject
* obj0
= 0 ;
43611 char *kwnames
[] = {
43612 (char *) "self", NULL
43615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
43616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43617 if (SWIG_arg_fail(1)) SWIG_fail
;
43619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43620 result
= (int)(arg1
)->GetMargin();
43622 wxPyEndAllowThreads(__tstate
);
43623 if (PyErr_Occurred()) SWIG_fail
;
43626 resultobj
= SWIG_From_int((int)(result
));
43634 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43635 PyObject
*resultobj
;
43636 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43638 PyObject
* obj0
= 0 ;
43639 PyObject
* obj1
= 0 ;
43640 char *kwnames
[] = {
43641 (char *) "self",(char *) "m", NULL
43644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
43645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43646 if (SWIG_arg_fail(1)) SWIG_fail
;
43648 arg2
= (int)(SWIG_As_int(obj1
));
43649 if (SWIG_arg_fail(2)) SWIG_fail
;
43652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43653 (arg1
)->SetMargin(arg2
);
43655 wxPyEndAllowThreads(__tstate
);
43656 if (PyErr_Occurred()) SWIG_fail
;
43658 Py_INCREF(Py_None
); resultobj
= Py_None
;
43665 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43666 PyObject
*resultobj
;
43667 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43669 PyObject
* obj0
= 0 ;
43670 char *kwnames
[] = {
43671 (char *) "self", NULL
43674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
43675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43676 if (SWIG_arg_fail(1)) SWIG_fail
;
43678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43679 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
43681 wxPyEndAllowThreads(__tstate
);
43682 if (PyErr_Occurred()) SWIG_fail
;
43685 resultobj
= SWIG_From_int((int)(result
));
43693 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43694 PyObject
*resultobj
;
43695 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43697 PyObject
* obj0
= 0 ;
43698 char *kwnames
[] = {
43699 (char *) "self", NULL
43702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
43703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43704 if (SWIG_arg_fail(1)) SWIG_fail
;
43706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43707 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
43709 wxPyEndAllowThreads(__tstate
);
43710 if (PyErr_Occurred()) SWIG_fail
;
43713 resultobj
= SWIG_From_int((int)(result
));
43721 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43722 PyObject
*resultobj
;
43723 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43725 PyObject
* obj0
= 0 ;
43726 char *kwnames
[] = {
43727 (char *) "self", NULL
43730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
43731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43732 if (SWIG_arg_fail(1)) SWIG_fail
;
43734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43735 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
43737 wxPyEndAllowThreads(__tstate
);
43738 if (PyErr_Occurred()) SWIG_fail
;
43741 resultobj
= SWIG_From_int((int)(result
));
43749 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43750 PyObject
*resultobj
;
43751 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43753 PyObject
* obj0
= 0 ;
43754 char *kwnames
[] = {
43755 (char *) "self", NULL
43758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
43759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43760 if (SWIG_arg_fail(1)) SWIG_fail
;
43762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43763 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
43765 wxPyEndAllowThreads(__tstate
);
43766 if (PyErr_Occurred()) SWIG_fail
;
43769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43777 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43778 PyObject
*resultobj
;
43779 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43781 PyObject
* obj0
= 0 ;
43782 PyObject
* obj1
= 0 ;
43783 char *kwnames
[] = {
43784 (char *) "self",(char *) "d", NULL
43787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
43788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43789 if (SWIG_arg_fail(1)) SWIG_fail
;
43791 arg2
= (bool)(SWIG_As_bool(obj1
));
43792 if (SWIG_arg_fail(2)) SWIG_fail
;
43795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43796 (arg1
)->SetDone(arg2
);
43798 wxPyEndAllowThreads(__tstate
);
43799 if (PyErr_Occurred()) SWIG_fail
;
43801 Py_INCREF(Py_None
); resultobj
= Py_None
;
43808 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43809 PyObject
*resultobj
;
43810 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43811 wxRelationship result
;
43812 PyObject
* obj0
= 0 ;
43813 char *kwnames
[] = {
43814 (char *) "self", NULL
43817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
43818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43819 if (SWIG_arg_fail(1)) SWIG_fail
;
43821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43822 result
= (wxRelationship
)(arg1
)->GetRelationship();
43824 wxPyEndAllowThreads(__tstate
);
43825 if (PyErr_Occurred()) SWIG_fail
;
43827 resultobj
= SWIG_From_int((result
));
43834 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43835 PyObject
*resultobj
;
43836 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43837 wxRelationship arg2
;
43838 PyObject
* obj0
= 0 ;
43839 PyObject
* obj1
= 0 ;
43840 char *kwnames
[] = {
43841 (char *) "self",(char *) "r", NULL
43844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
43845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43846 if (SWIG_arg_fail(1)) SWIG_fail
;
43848 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43849 if (SWIG_arg_fail(2)) SWIG_fail
;
43852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43853 (arg1
)->SetRelationship((wxRelationship
)arg2
);
43855 wxPyEndAllowThreads(__tstate
);
43856 if (PyErr_Occurred()) SWIG_fail
;
43858 Py_INCREF(Py_None
); resultobj
= Py_None
;
43865 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43866 PyObject
*resultobj
;
43867 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43868 wxWindow
*arg2
= (wxWindow
*) 0 ;
43870 PyObject
* obj0
= 0 ;
43871 PyObject
* obj1
= 0 ;
43872 char *kwnames
[] = {
43873 (char *) "self",(char *) "otherW", NULL
43876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
43877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43878 if (SWIG_arg_fail(1)) SWIG_fail
;
43879 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43880 if (SWIG_arg_fail(2)) SWIG_fail
;
43882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43883 result
= (bool)(arg1
)->ResetIfWin(arg2
);
43885 wxPyEndAllowThreads(__tstate
);
43886 if (PyErr_Occurred()) SWIG_fail
;
43889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43897 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43898 PyObject
*resultobj
;
43899 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43900 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
43901 wxWindow
*arg3
= (wxWindow
*) 0 ;
43903 PyObject
* obj0
= 0 ;
43904 PyObject
* obj1
= 0 ;
43905 PyObject
* obj2
= 0 ;
43906 char *kwnames
[] = {
43907 (char *) "self",(char *) "constraints",(char *) "win", NULL
43910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43912 if (SWIG_arg_fail(1)) SWIG_fail
;
43913 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43914 if (SWIG_arg_fail(2)) SWIG_fail
;
43915 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43916 if (SWIG_arg_fail(3)) SWIG_fail
;
43918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43919 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
43921 wxPyEndAllowThreads(__tstate
);
43922 if (PyErr_Occurred()) SWIG_fail
;
43925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43933 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43934 PyObject
*resultobj
;
43935 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43937 wxWindow
*arg3
= (wxWindow
*) 0 ;
43938 wxWindow
*arg4
= (wxWindow
*) 0 ;
43940 PyObject
* obj0
= 0 ;
43941 PyObject
* obj1
= 0 ;
43942 PyObject
* obj2
= 0 ;
43943 PyObject
* obj3
= 0 ;
43944 char *kwnames
[] = {
43945 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
43948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43950 if (SWIG_arg_fail(1)) SWIG_fail
;
43952 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43953 if (SWIG_arg_fail(2)) SWIG_fail
;
43955 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43956 if (SWIG_arg_fail(3)) SWIG_fail
;
43957 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43958 if (SWIG_arg_fail(4)) SWIG_fail
;
43960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43961 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
43963 wxPyEndAllowThreads(__tstate
);
43964 if (PyErr_Occurred()) SWIG_fail
;
43967 resultobj
= SWIG_From_int((int)(result
));
43975 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
43977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43978 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
43980 return Py_BuildValue((char *)"");
43982 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43983 PyObject
*resultobj
;
43984 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43985 wxIndividualLayoutConstraint
*result
;
43986 PyObject
* obj0
= 0 ;
43987 char *kwnames
[] = {
43988 (char *) "self", NULL
43991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
43992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43993 if (SWIG_arg_fail(1)) SWIG_fail
;
43994 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
43996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44003 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44004 PyObject
*resultobj
;
44005 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44006 wxIndividualLayoutConstraint
*result
;
44007 PyObject
* obj0
= 0 ;
44008 char *kwnames
[] = {
44009 (char *) "self", NULL
44012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44014 if (SWIG_arg_fail(1)) SWIG_fail
;
44015 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44024 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44025 PyObject
*resultobj
;
44026 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44027 wxIndividualLayoutConstraint
*result
;
44028 PyObject
* obj0
= 0 ;
44029 char *kwnames
[] = {
44030 (char *) "self", NULL
44033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44035 if (SWIG_arg_fail(1)) SWIG_fail
;
44036 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44045 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44046 PyObject
*resultobj
;
44047 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44048 wxIndividualLayoutConstraint
*result
;
44049 PyObject
* obj0
= 0 ;
44050 char *kwnames
[] = {
44051 (char *) "self", NULL
44054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44056 if (SWIG_arg_fail(1)) SWIG_fail
;
44057 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44066 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44067 PyObject
*resultobj
;
44068 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44069 wxIndividualLayoutConstraint
*result
;
44070 PyObject
* obj0
= 0 ;
44071 char *kwnames
[] = {
44072 (char *) "self", NULL
44075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44077 if (SWIG_arg_fail(1)) SWIG_fail
;
44078 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44087 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44088 PyObject
*resultobj
;
44089 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44090 wxIndividualLayoutConstraint
*result
;
44091 PyObject
* obj0
= 0 ;
44092 char *kwnames
[] = {
44093 (char *) "self", NULL
44096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44098 if (SWIG_arg_fail(1)) SWIG_fail
;
44099 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44108 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44109 PyObject
*resultobj
;
44110 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44111 wxIndividualLayoutConstraint
*result
;
44112 PyObject
* obj0
= 0 ;
44113 char *kwnames
[] = {
44114 (char *) "self", NULL
44117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44119 if (SWIG_arg_fail(1)) SWIG_fail
;
44120 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44129 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44130 PyObject
*resultobj
;
44131 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44132 wxIndividualLayoutConstraint
*result
;
44133 PyObject
* obj0
= 0 ;
44134 char *kwnames
[] = {
44135 (char *) "self", NULL
44138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44140 if (SWIG_arg_fail(1)) SWIG_fail
;
44141 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44143 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44150 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44151 PyObject
*resultobj
;
44152 wxLayoutConstraints
*result
;
44153 char *kwnames
[] = {
44157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44160 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44162 wxPyEndAllowThreads(__tstate
);
44163 if (PyErr_Occurred()) SWIG_fail
;
44165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44172 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44173 PyObject
*resultobj
;
44174 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44175 wxWindow
*arg2
= (wxWindow
*) 0 ;
44176 int *arg3
= (int *) 0 ;
44180 PyObject
* obj0
= 0 ;
44181 PyObject
* obj1
= 0 ;
44182 char *kwnames
[] = {
44183 (char *) "self",(char *) "win", NULL
44186 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44189 if (SWIG_arg_fail(1)) SWIG_fail
;
44190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44191 if (SWIG_arg_fail(2)) SWIG_fail
;
44193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44194 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44196 wxPyEndAllowThreads(__tstate
);
44197 if (PyErr_Occurred()) SWIG_fail
;
44200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44202 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44203 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44210 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44211 PyObject
*resultobj
;
44212 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44214 PyObject
* obj0
= 0 ;
44215 char *kwnames
[] = {
44216 (char *) "self", NULL
44219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44221 if (SWIG_arg_fail(1)) SWIG_fail
;
44223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44224 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44226 wxPyEndAllowThreads(__tstate
);
44227 if (PyErr_Occurred()) SWIG_fail
;
44230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44238 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44241 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44243 return Py_BuildValue((char *)"");
44245 static PyMethodDef SwigMethods
[] = {
44246 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44247 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44248 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44249 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44250 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44251 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44252 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44253 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44254 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44255 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44256 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44257 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44258 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44259 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44260 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44261 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44262 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44263 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44264 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44265 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44266 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44267 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44268 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44269 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44270 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44271 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44272 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44273 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44274 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44275 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44276 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44277 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44278 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44279 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44280 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44281 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44282 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44283 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44284 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44285 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44286 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44287 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44288 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44289 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44290 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44291 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44292 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44293 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44294 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44295 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44296 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44297 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44298 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44299 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44300 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44301 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44302 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44303 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44304 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44305 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44306 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44307 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44308 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44309 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44310 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44311 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44312 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44313 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44314 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44315 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44316 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44317 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44318 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44319 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44320 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44321 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44322 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44323 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44324 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44325 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44326 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44327 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44328 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44329 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44330 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44331 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44332 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44333 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44334 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44335 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44336 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44337 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44338 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44339 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44340 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44341 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44342 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44343 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44344 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44345 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44346 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44347 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44348 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44349 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44350 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44351 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44352 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44353 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44354 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44355 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44356 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44357 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44358 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44359 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44360 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44361 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44362 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44363 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44364 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44365 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44366 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44367 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44368 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44369 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44370 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44371 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44372 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44373 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44374 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44375 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44376 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44377 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44378 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44379 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44380 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44381 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44382 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44383 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44384 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44385 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44386 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44387 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44388 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44389 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44390 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44391 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44392 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44393 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44394 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44395 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44396 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44397 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44398 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44399 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44400 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44401 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44402 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44403 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44404 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44405 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44406 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44407 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44408 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44409 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44410 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44411 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44412 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44413 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44414 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44415 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44416 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44417 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44418 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44419 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44420 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44421 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44422 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44423 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44424 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44425 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44426 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44427 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44428 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44429 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44430 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44431 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44432 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44433 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44434 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44435 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44436 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44437 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44438 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44439 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44440 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44441 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44442 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44443 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44444 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44445 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44446 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44447 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44448 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44449 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44450 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44451 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44452 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44453 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44454 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44455 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44456 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44457 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44458 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44459 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44460 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44461 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44462 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44463 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44464 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44465 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44466 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44467 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44468 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44469 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44470 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44471 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44472 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44473 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44474 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44475 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44476 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44477 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44478 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44479 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44480 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44481 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44482 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44483 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44484 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44485 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44486 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44487 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44488 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44489 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44490 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44491 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44492 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44493 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44494 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44495 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44496 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44497 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44498 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44499 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44500 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44501 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44502 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44503 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44504 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44505 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44506 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44507 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44508 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44509 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44510 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44511 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44512 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44513 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44514 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44515 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44516 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44517 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44518 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44519 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44520 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44521 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44522 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44523 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44524 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44525 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44526 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44527 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44528 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44529 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44530 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44531 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44532 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44533 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44534 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44535 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44536 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44537 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44538 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44539 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44540 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44541 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44542 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44543 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
44544 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44545 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
44546 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44547 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
44548 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44549 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
44550 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44551 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
44552 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44553 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
44554 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44555 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
44556 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44557 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
44558 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44559 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
44560 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44561 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
44562 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44563 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
44564 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44565 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
44566 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44567 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
44568 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44569 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44570 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44571 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44572 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44573 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44574 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44575 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44576 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44577 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44578 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44579 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44580 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44581 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
44582 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44583 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44584 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44585 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44586 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44587 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44588 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44589 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44590 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44591 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44592 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44593 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44594 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44595 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44596 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44597 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44598 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44599 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
44600 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44601 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44602 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
44603 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44604 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44605 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
44606 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44607 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44608 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44609 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44610 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44611 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44612 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44613 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44614 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44615 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44616 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44617 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
44618 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44619 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44620 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44621 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44622 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
44623 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44624 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44625 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44626 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44627 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44628 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
44629 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44630 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44631 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44632 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44633 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44634 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
44635 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44636 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44637 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44638 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44639 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44640 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44641 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44642 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44643 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44644 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44645 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44646 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44647 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44648 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44649 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44650 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44651 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44652 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44653 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44654 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44655 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44656 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44657 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44658 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44659 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44660 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44661 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44662 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44663 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44664 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44665 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44666 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44667 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44668 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44669 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44670 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44671 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44672 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44673 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44674 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44675 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44676 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44677 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44678 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44679 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44680 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44681 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44682 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44683 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44684 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44685 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44686 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44687 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44688 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44689 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44690 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44691 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44692 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44693 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44694 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44695 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44696 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44697 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
44698 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44699 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44700 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44701 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44702 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44703 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44704 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
44705 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44706 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44707 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44708 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44709 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44710 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44711 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44712 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44713 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44714 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44715 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44716 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44717 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44720 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44721 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44723 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44727 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44728 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44729 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44735 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44737 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44740 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
44741 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44742 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44743 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44745 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44746 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44747 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44748 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
44751 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44756 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
44757 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44758 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
44759 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44760 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
44761 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44762 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
44764 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44765 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44766 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44767 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
44768 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44769 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44770 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
44771 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44772 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44773 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
44774 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
44776 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
44781 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
44789 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
44793 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
44796 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
44798 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
44802 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
44819 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44821 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44824 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44826 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44830 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
44834 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
44845 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
44848 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
44851 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
44855 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
44862 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
44867 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
44872 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
44876 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
44921 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
44941 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
44948 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
44952 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
44962 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44965 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45090 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45132 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45172 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45186 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45189 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45244 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45271 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45301 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45309 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45328 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45329 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45366 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45371 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45377 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45381 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45396 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45399 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45403 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45406 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
45416 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
45428 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
45440 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
45450 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
45460 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
45474 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
45481 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
45482 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
45483 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
45484 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
45485 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
45490 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
45517 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
45529 { NULL
, NULL
, 0, NULL
}
45533 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45535 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
45536 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
45538 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
45539 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
45541 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
45542 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45544 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
45545 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45547 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
45548 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45550 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
45551 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
45553 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
45554 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45556 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
45557 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
45559 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
45560 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45562 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
45563 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45565 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45566 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45568 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45569 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45571 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45572 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45574 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45575 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45577 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45578 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45580 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45581 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45583 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45584 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45586 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45587 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45589 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45590 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45592 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45593 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45595 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45596 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45598 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45599 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45601 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45602 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45604 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45605 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45607 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45608 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45610 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45611 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45613 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45614 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45616 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45617 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45619 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
45620 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
45622 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45623 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45625 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45626 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45628 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45629 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45631 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45632 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45634 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45635 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45637 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45638 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45640 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45641 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45643 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45644 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45646 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45647 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45649 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45650 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45652 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45653 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45655 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45656 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45658 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45659 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45661 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45662 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45664 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45665 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45667 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45668 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45670 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45671 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45673 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
45674 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45676 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
45677 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45679 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
45680 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45682 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
45683 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
45685 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
45686 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
45688 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
45689 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
45691 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
45692 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
45694 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
45695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45697 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
45698 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
45700 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
45701 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
45703 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
45704 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
45706 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
45707 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
45709 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
45710 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
45712 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
45713 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
45715 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
45716 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
45718 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
45719 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
45721 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
45722 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
45724 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
45725 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
45727 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
45728 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45730 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
45731 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
45733 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
45734 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
45736 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
45737 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45739 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
45740 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45742 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
45743 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
45745 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
45746 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
45748 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
45749 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
45751 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
45752 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
45754 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
45755 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
45757 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
45758 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
45760 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
45761 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
45763 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
45764 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
45766 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45767 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
45769 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45770 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
45772 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45773 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
45775 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
45776 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
45778 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
45779 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
45781 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
45782 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
45784 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
45785 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
45787 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
45788 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
45790 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
45791 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45793 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
45794 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
45796 static void *_p_wxSizerTo_p_wxObject(void *x
) {
45797 return (void *)((wxObject
*) ((wxSizer
*) x
));
45799 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
45800 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45802 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
45803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45805 static void *_p_wxEventTo_p_wxObject(void *x
) {
45806 return (void *)((wxObject
*) ((wxEvent
*) x
));
45808 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
45809 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45811 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
45812 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
45814 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
45815 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
45817 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
45818 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
45820 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
45821 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
45823 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
45824 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45826 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
45827 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45829 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
45830 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45832 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
45833 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45835 static void *_p_wxControlTo_p_wxObject(void *x
) {
45836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
45838 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
45839 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
45841 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
45842 return (void *)((wxObject
*) ((wxFSFile
*) x
));
45844 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
45845 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
45847 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
45848 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
45850 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
45851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45853 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
45854 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
45856 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
45857 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
45859 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
45860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
45862 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
45863 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
45865 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
45866 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45868 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
45869 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45871 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
45872 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
45874 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
45875 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
45877 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
45878 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
45880 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
45881 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
45883 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
45884 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
45886 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
45887 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
45889 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
45890 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
45892 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
45893 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
45895 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
45896 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
45898 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
45899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
45901 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
45902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
45904 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
45905 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45907 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
45908 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45910 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
45911 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
45913 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
45914 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
45916 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
45917 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
45919 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
45920 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
45922 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
45923 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
45925 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
45926 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45928 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
45929 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
45931 static void *_p_wxImageTo_p_wxObject(void *x
) {
45932 return (void *)((wxObject
*) ((wxImage
*) x
));
45934 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
45935 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
45937 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
45938 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45940 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
45941 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45943 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
45944 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
45946 static void *_p_wxWindowTo_p_wxObject(void *x
) {
45947 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
45949 static void *_p_wxMenuTo_p_wxObject(void *x
) {
45950 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
45952 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
45953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
45955 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
45956 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
45958 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
45959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45961 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
45962 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
45964 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
45965 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
45967 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
45968 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
45970 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
45971 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
45973 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
45974 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
45976 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
45977 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45979 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
45980 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
45982 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
45983 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
45985 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
45986 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
45988 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
45989 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45991 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
45992 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45994 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
45995 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
45997 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
45998 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46000 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46001 return (void *)((wxWindow
*) ((wxControl
*) x
));
46003 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46004 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46006 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46007 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46009 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46010 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46012 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46013 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46015 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46016 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46018 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46019 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46021 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46022 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46024 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46025 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46027 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46028 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46030 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46031 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46033 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46034 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46036 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46037 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46039 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}};
46040 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}};
46041 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}};
46042 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}};
46043 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}};
46044 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}};
46045 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}};
46046 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}};
46047 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}};
46048 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}};
46049 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}};
46050 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}};
46051 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}};
46052 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_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_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_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_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}};
46053 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}};
46054 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}};
46055 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}};
46056 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}};
46057 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}};
46058 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}};
46059 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}};
46060 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}};
46061 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}};
46062 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}};
46063 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}};
46064 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}};
46065 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}};
46066 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}};
46067 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}};
46068 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}};
46069 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}};
46070 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}};
46071 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}};
46072 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}};
46073 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}};
46074 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}};
46075 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}};
46076 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}};
46077 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}};
46078 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}};
46079 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}};
46080 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}};
46081 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}};
46082 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}};
46083 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}};
46084 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}};
46085 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}};
46086 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}};
46087 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}};
46088 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}};
46089 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}};
46090 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}};
46091 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}};
46092 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}};
46093 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}};
46094 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}};
46095 static swig_type_info _swigt__p_wxDateEvent
[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46096 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}};
46097 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}};
46098 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}};
46099 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}};
46100 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}};
46101 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}};
46102 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}};
46103 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}};
46104 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}};
46105 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}};
46106 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}};
46107 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}};
46108 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}};
46109 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}};
46110 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}};
46111 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}};
46112 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}};
46113 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}};
46114 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}};
46115 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}};
46116 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}};
46117 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}};
46118 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}};
46119 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}};
46120 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}};
46121 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}};
46122 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}};
46123 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}};
46124 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}};
46125 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}};
46126 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}};
46127 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}};
46128 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}};
46129 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}};
46130 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}};
46131 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}};
46132 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}};
46133 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_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_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_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}};
46134 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}};
46135 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}};
46136 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}};
46137 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}};
46138 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}};
46139 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}};
46140 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}};
46141 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}};
46142 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}};
46143 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}};
46144 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}};
46145 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}};
46146 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}};
46147 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}};
46148 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}};
46149 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}};
46150 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}};
46151 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}};
46152 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}};
46153 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}};
46154 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}};
46155 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_wxDateEvent", _p_wxDateEventTo_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}};
46156 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}};
46157 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}};
46158 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}};
46159 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}};
46160 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}};
46161 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}};
46162 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}};
46163 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}};
46164 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}};
46165 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}};
46167 static swig_type_info
*swig_types_initial
[] = {
46168 _swigt__p_wxLayoutConstraints
,
46169 _swigt__p_wxRealPoint
,
46170 _swigt__p_wxSizerItem
,
46171 _swigt__p_wxGBSizerItem
,
46172 _swigt__p_wxScrollEvent
,
46173 _swigt__p_wxEventLoop
,
46174 _swigt__p_wxIndividualLayoutConstraint
,
46176 _swigt__p_wxBoxSizer
,
46177 _swigt__p_wxStaticBoxSizer
,
46178 _swigt__p_wxGridBagSizer
,
46179 _swigt__p_wxAcceleratorEntry
,
46180 _swigt__p_wxUpdateUIEvent
,
46183 _swigt__p_wxGridSizer
,
46184 _swigt__p_wxFlexGridSizer
,
46185 _swigt__p_wxInitDialogEvent
,
46186 _swigt__p_wxItemContainer
,
46187 _swigt__p_wxNcPaintEvent
,
46188 _swigt__p_wxPaintEvent
,
46189 _swigt__p_wxSysColourChangedEvent
,
46190 _swigt__p_wxMouseCaptureChangedEvent
,
46191 _swigt__p_wxDisplayChangedEvent
,
46192 _swigt__p_wxPaletteChangedEvent
,
46193 _swigt__p_wxControl
,
46195 _swigt__p_wxMenuBarBase
,
46196 _swigt__p_wxSetCursorEvent
,
46197 _swigt__p_wxFSFile
,
46200 _swigt__std__ptrdiff_t
,
46201 _swigt__p_wxRegion
,
46202 _swigt__p_wxPoint2D
,
46206 _swigt__p_wxPySizer
,
46207 _swigt__p_wxVisualAttributes
,
46208 _swigt__p_wxNotifyEvent
,
46209 _swigt__p_wxPyEvent
,
46210 _swigt__p_wxPropagationDisabler
,
46211 _swigt__p_form_ops_t
,
46212 _swigt__p_wxAppTraits
,
46213 _swigt__p_wxArrayString
,
46214 _swigt__p_wxShowEvent
,
46215 _swigt__p_wxToolTip
,
46216 _swigt__p_wxMoveEvent
,
46217 _swigt__p_wxSizeEvent
,
46218 _swigt__p_wxActivateEvent
,
46219 _swigt__p_wxIconizeEvent
,
46220 _swigt__p_wxMaximizeEvent
,
46221 _swigt__p_wxQueryNewPaletteEvent
,
46222 _swigt__p_wxWindowCreateEvent
,
46223 _swigt__p_wxIdleEvent
,
46224 _swigt__p_wxDateEvent
,
46225 _swigt__p_wxMenuItem
,
46226 _swigt__p_wxStaticBox
,
46228 _swigt__p_wxDuplexMode
,
46229 _swigt__p_wxTIFFHandler
,
46230 _swigt__p_wxXPMHandler
,
46231 _swigt__p_wxPNMHandler
,
46232 _swigt__p_wxJPEGHandler
,
46233 _swigt__p_wxPCXHandler
,
46234 _swigt__p_wxGIFHandler
,
46235 _swigt__p_wxPNGHandler
,
46236 _swigt__p_wxANIHandler
,
46237 _swigt__p_wxMemoryFSHandler
,
46238 _swigt__p_wxZipFSHandler
,
46239 _swigt__p_wxInternetFSHandler
,
46240 _swigt__p_wxPyFileSystemHandler
,
46241 _swigt__p_wxEvtHandler
,
46242 _swigt__p_wxCURHandler
,
46243 _swigt__p_wxICOHandler
,
46244 _swigt__p_wxBMPHandler
,
46245 _swigt__p_wxImageHandler
,
46246 _swigt__p_wxFileSystemHandler
,
46248 _swigt__p_wxButton
,
46249 _swigt__p_wxGBSpan
,
46250 _swigt__p_wxPropagateOnce
,
46251 _swigt__p_wxAcceleratorTable
,
46252 _swigt__p_wxStdDialogButtonSizer
,
46254 _swigt__p_wxGBPosition
,
46257 _swigt__p_wxScrollWinEvent
,
46258 _swigt__p_wxPaperSize
,
46259 _swigt__p_wxImageHistogram
,
46261 _swigt__p_wxCursor
,
46262 _swigt__p_wxObject
,
46263 _swigt__p_wxInputStream
,
46264 _swigt__p_wxOutputStream
,
46265 _swigt__p_wxPyInputStream
,
46266 _swigt__p_wxDateTime
,
46267 _swigt__p_wxKeyEvent
,
46268 _swigt__p_wxNavigationKeyEvent
,
46269 _swigt__p_wxWindowDestroyEvent
,
46270 _swigt__p_unsigned_long
,
46271 _swigt__p_wxWindow
,
46272 _swigt__p_wxMenuBar
,
46273 _swigt__p_wxFileSystem
,
46274 _swigt__p_wxBitmap
,
46275 _swigt__unsigned_int
,
46276 _swigt__p_unsigned_int
,
46277 _swigt__p_wxMenuEvent
,
46278 _swigt__p_wxContextMenuEvent
,
46279 _swigt__p_unsigned_char
,
46280 _swigt__p_wxEraseEvent
,
46281 _swigt__p_wxMouseEvent
,
46282 _swigt__p_wxCloseEvent
,
46284 _swigt__p_wxCommandEvent
,
46285 _swigt__p_wxPyCommandEvent
,
46286 _swigt__p_wxPyDropTarget
,
46287 _swigt__p_wxQuantize
,
46288 _swigt__p_wxChildFocusEvent
,
46289 _swigt__p_wxFocusEvent
,
46290 _swigt__p_wxDropFilesEvent
,
46291 _swigt__p_wxControlWithItems
,
46292 _swigt__p_wxColour
,
46293 _swigt__p_wxValidator
,
46294 _swigt__p_wxPyValidator
,
46299 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46301 static swig_const_info swig_const_table
[] = {
46302 {0, 0, 0, 0.0, 0, 0}};
46313 /* Python-specific SWIG API */
46314 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46315 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46316 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46318 /* -----------------------------------------------------------------------------
46319 * global variable support code.
46320 * ----------------------------------------------------------------------------- */
46322 typedef struct swig_globalvar
{
46323 char *name
; /* Name of global variable */
46324 PyObject
*(*get_attr
)(); /* Return the current value */
46325 int (*set_attr
)(PyObject
*); /* Set the value */
46326 struct swig_globalvar
*next
;
46329 typedef struct swig_varlinkobject
{
46331 swig_globalvar
*vars
;
46332 } swig_varlinkobject
;
46335 swig_varlink_repr(swig_varlinkobject
*v
) {
46337 return PyString_FromString("<Swig global variables>");
46341 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46342 swig_globalvar
*var
;
46344 fprintf(fp
,"Swig global variables { ");
46345 for (var
= v
->vars
; var
; var
=var
->next
) {
46346 fprintf(fp
,"%s", var
->name
);
46347 if (var
->next
) fprintf(fp
,", ");
46349 fprintf(fp
," }\n");
46354 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46355 swig_globalvar
*var
= v
->vars
;
46357 if (strcmp(var
->name
,n
) == 0) {
46358 return (*var
->get_attr
)();
46362 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46367 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46368 swig_globalvar
*var
= v
->vars
;
46370 if (strcmp(var
->name
,n
) == 0) {
46371 return (*var
->set_attr
)(p
);
46375 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46379 static PyTypeObject varlinktype
= {
46380 PyObject_HEAD_INIT(0)
46381 0, /* Number of items in variable part (ob_size) */
46382 (char *)"swigvarlink", /* Type name (tp_name) */
46383 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46384 0, /* Itemsize (tp_itemsize) */
46385 0, /* Deallocator (tp_dealloc) */
46386 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46387 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46388 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46389 0, /* tp_compare */
46390 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46391 0, /* tp_as_number */
46392 0, /* tp_as_sequence */
46393 0, /* tp_as_mapping */
46397 0, /* tp_getattro */
46398 0, /* tp_setattro */
46399 0, /* tp_as_buffer */
46402 #if PY_VERSION_HEX >= 0x02000000
46403 0, /* tp_traverse */
46406 #if PY_VERSION_HEX >= 0x02010000
46407 0, /* tp_richcompare */
46408 0, /* tp_weaklistoffset */
46410 #if PY_VERSION_HEX >= 0x02020000
46411 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46413 #if PY_VERSION_HEX >= 0x02030000
46416 #ifdef COUNT_ALLOCS
46417 0,0,0,0 /* tp_alloc -> tp_next */
46421 /* Create a variable linking object for use later */
46423 SWIG_Python_newvarlink(void) {
46424 swig_varlinkobject
*result
= 0;
46425 result
= PyMem_NEW(swig_varlinkobject
,1);
46426 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
46427 result
->ob_type
= &varlinktype
;
46429 result
->ob_refcnt
= 0;
46430 Py_XINCREF((PyObject
*) result
);
46431 return ((PyObject
*) result
);
46435 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
46436 swig_varlinkobject
*v
;
46437 swig_globalvar
*gv
;
46438 v
= (swig_varlinkobject
*) p
;
46439 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
46440 gv
->name
= (char *) malloc(strlen(name
)+1);
46441 strcpy(gv
->name
,name
);
46442 gv
->get_attr
= get_attr
;
46443 gv
->set_attr
= set_attr
;
46444 gv
->next
= v
->vars
;
46448 /* -----------------------------------------------------------------------------
46449 * constants/methods manipulation
46450 * ----------------------------------------------------------------------------- */
46452 /* Install Constants */
46454 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
46457 for (i
= 0; constants
[i
].type
; i
++) {
46458 switch(constants
[i
].type
) {
46460 obj
= PyInt_FromLong(constants
[i
].lvalue
);
46462 case SWIG_PY_FLOAT
:
46463 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
46465 case SWIG_PY_STRING
:
46466 if (constants
[i
].pvalue
) {
46467 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
46469 Py_INCREF(Py_None
);
46473 case SWIG_PY_POINTER
:
46474 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
46476 case SWIG_PY_BINARY
:
46477 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
46484 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
46490 /* -----------------------------------------------------------------------------*/
46491 /* Fix SwigMethods to carry the callback ptrs when needed */
46492 /* -----------------------------------------------------------------------------*/
46495 SWIG_Python_FixMethods(PyMethodDef
*methods
,
46496 swig_const_info
*const_table
,
46497 swig_type_info
**types
,
46498 swig_type_info
**types_initial
) {
46500 for (i
= 0; methods
[i
].ml_name
; ++i
) {
46501 char *c
= methods
[i
].ml_doc
;
46502 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
46504 swig_const_info
*ci
= 0;
46505 char *name
= c
+ 10;
46506 for (j
= 0; const_table
[j
].type
; j
++) {
46507 if (strncmp(const_table
[j
].name
, name
,
46508 strlen(const_table
[j
].name
)) == 0) {
46509 ci
= &(const_table
[j
]);
46514 size_t shift
= (ci
->ptype
) - types
;
46515 swig_type_info
*ty
= types_initial
[shift
];
46516 size_t ldoc
= (c
- methods
[i
].ml_doc
);
46517 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
46518 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
46520 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
46521 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
46523 strncpy(buff
, "swig_ptr: ", 10);
46525 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
46526 methods
[i
].ml_doc
= ndoc
;
46532 /* -----------------------------------------------------------------------------*
46533 * Initialize type list
46534 * -----------------------------------------------------------------------------*/
46536 #if PY_MAJOR_VERSION < 2
46537 /* PyModule_AddObject function was introduced in Python 2.0. The following function
46538 is copied out of Python/modsupport.c in python version 2.3.4 */
46540 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
46543 if (!PyModule_Check(m
)) {
46544 PyErr_SetString(PyExc_TypeError
,
46545 "PyModule_AddObject() needs module as first arg");
46549 PyErr_SetString(PyExc_TypeError
,
46550 "PyModule_AddObject() needs non-NULL value");
46554 dict
= PyModule_GetDict(m
);
46555 if (dict
== NULL
) {
46556 /* Internal error -- modules must have a dict! */
46557 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
46558 PyModule_GetName(m
));
46561 if (PyDict_SetItemString(dict
, name
, o
))
46568 static swig_type_info
**
46569 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
46570 static PyMethodDef swig_empty_runtime_method_table
[] = {
46572 NULL
, NULL
, 0, NULL
46576 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
46577 swig_empty_runtime_method_table
);
46578 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
46579 if (pointer
&& module) {
46580 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
46582 return type_list_handle
;
46585 static swig_type_info
**
46586 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
46587 swig_type_info
**type_pointer
;
46589 /* first check if module already created */
46590 type_pointer
= SWIG_Python_GetTypeListHandle();
46591 if (type_pointer
) {
46592 return type_pointer
;
46594 /* create a new module and variable */
46595 return SWIG_Python_SetTypeListHandle(type_list_handle
);
46603 /* -----------------------------------------------------------------------------*
46604 * Partial Init method
46605 * -----------------------------------------------------------------------------*/
46607 #ifdef SWIG_LINK_RUNTIME
46611 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
46617 SWIGEXPORT(void) SWIG_init(void) {
46618 static PyObject
*SWIG_globals
= 0;
46619 static int typeinit
= 0;
46622 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
46624 /* Fix SwigMethods to carry the callback ptrs when needed */
46625 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
46627 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
46628 d
= PyModule_GetDict(m
);
46631 #ifdef SWIG_LINK_RUNTIME
46632 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
46634 # ifndef SWIG_STATIC_RUNTIME
46635 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
46638 for (i
= 0; swig_types_initial
[i
]; i
++) {
46639 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
46643 SWIG_InstallConstants(d
,swig_const_table
);
46646 #ifndef wxPyUSE_EXPORT
46647 // Make our API structure a CObject so other modules can import it
46648 // from this module.
46649 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
46650 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
46655 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
46658 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
46661 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
46664 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
46667 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
46670 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
46673 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
46676 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
46679 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
46682 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
46685 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
46688 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
46691 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
46694 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
46697 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
46700 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
46703 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
46706 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
46709 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
46712 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
46715 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
46718 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
46721 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
46724 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
46727 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
46730 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
46733 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
46736 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
46739 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
46742 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
46745 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
46748 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
46751 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
46754 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
46757 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
46760 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
46763 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
46766 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
46769 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
46772 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
46775 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
46778 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
46781 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
46784 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
46787 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
46790 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
46793 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
46796 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
46799 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
46802 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
46805 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
46808 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
46811 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
46814 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
46817 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
46820 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
46823 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
46826 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
46829 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
46832 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
46835 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
46838 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
46841 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
46844 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
46847 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
46850 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
46853 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
46856 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
46859 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
46862 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
46865 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
46868 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
46871 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
46874 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
46877 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
46880 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
46883 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
46886 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
46889 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
46892 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
46895 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
46898 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
46901 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
46904 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
46907 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
46910 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
46913 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
46916 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
46919 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
46922 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
46925 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
46928 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
46931 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
46934 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
46937 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
46940 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
46943 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
46946 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
46949 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
46952 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
46955 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
46958 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
46961 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
46964 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
46967 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
46970 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
46973 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
46976 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
46979 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
46982 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
46985 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
46988 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
46991 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
46994 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
46997 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47000 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47003 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47006 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47009 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47012 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47015 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47018 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47021 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47024 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47027 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47030 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47033 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47036 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47039 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47042 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47045 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47048 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47051 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47054 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47057 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47060 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47063 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47066 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47069 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47072 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47075 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47078 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47081 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47084 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47087 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47090 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47093 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47096 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47099 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47102 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47105 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47108 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47111 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47114 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47117 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47120 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47123 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47126 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47129 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47132 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47135 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47138 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47141 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47144 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47147 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47150 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47153 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47156 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47159 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47162 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47165 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47168 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47171 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47174 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47177 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47180 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47183 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47186 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47189 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47192 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47195 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47198 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47201 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47204 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47207 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47210 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47213 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47216 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47219 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47222 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47225 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47228 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47231 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47234 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47237 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47240 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47243 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47246 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47249 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47252 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47255 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47258 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47261 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47264 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47267 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47270 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47273 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47276 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47279 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47282 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47285 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47288 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47291 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47294 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47297 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47300 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47303 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47306 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47309 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47312 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47315 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47318 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47321 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47324 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47327 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47330 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47333 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47336 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47339 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47342 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47345 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47348 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47351 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47354 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47357 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47360 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47363 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47366 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47369 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47372 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47375 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47378 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47381 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47384 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47387 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47390 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47393 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47396 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47399 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47402 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47405 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
47408 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
47411 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
47414 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
47417 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
47420 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
47423 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
47426 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
47429 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
47432 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
47435 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
47438 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47441 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47444 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47447 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
47450 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
47453 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47456 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47459 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
47462 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
47465 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
47468 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
47471 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
47474 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
47477 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
47480 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
47483 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
47486 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
47489 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
47492 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
47495 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
47498 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
47501 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
47504 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
47507 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
47510 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
47513 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
47516 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
47519 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
47522 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
47525 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
47528 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
47531 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
47534 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
47537 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
47540 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
47543 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
47546 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
47549 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
47552 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
47555 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
47558 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
47561 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
47564 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
47567 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
47570 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
47573 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
47576 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
47579 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
47582 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
47585 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
47588 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
47591 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
47594 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
47597 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
47600 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
47603 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
47606 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
47609 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
47612 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
47615 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
47618 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
47621 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
47624 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
47627 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
47630 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
47633 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
47636 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
47639 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
47642 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
47645 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
47648 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
47651 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
47654 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
47657 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
47660 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
47663 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
47666 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
47669 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
47672 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
47675 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
47678 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
47681 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
47684 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
47687 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
47690 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
47693 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
47696 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
47699 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
47702 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
47705 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
47708 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
47711 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
47714 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
47717 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
47720 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
47723 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
47726 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
47729 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
47732 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
47735 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
47738 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
47741 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
47744 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
47747 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
47750 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
47753 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
47756 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
47759 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
47762 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
47765 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
47768 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
47771 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
47774 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
47777 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
47780 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
47783 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
47786 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
47789 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
47792 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
47795 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
47798 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
47801 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
47804 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
47807 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
47810 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
47813 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
47816 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
47819 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
47822 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
47825 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
47828 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
47831 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
47834 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
47837 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
47840 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
47843 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
47846 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
47849 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
47852 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
47855 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
47858 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
47861 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
47864 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
47867 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
47870 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
47873 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
47876 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
47879 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
47882 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
47885 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
47888 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
47891 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
47894 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
47897 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
47900 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
47903 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
47906 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
47909 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
47912 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
47915 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
47918 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
47921 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
47924 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
47927 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
47930 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
47933 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
47936 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
47939 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
47942 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
47945 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
47948 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
47951 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
47954 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
47957 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
47960 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
47963 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
47966 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
47969 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
47972 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
47975 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
47978 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
47981 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
47984 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
47987 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
47990 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
47993 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
47996 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
47999 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48002 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48005 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48008 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48011 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48014 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48017 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48020 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48023 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48026 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48029 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48032 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48035 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48038 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48041 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48044 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48047 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48050 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48053 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48056 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48059 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48062 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48065 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48068 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48071 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48074 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48077 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48080 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48083 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48086 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48089 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48092 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48095 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48098 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48101 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48104 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48107 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48110 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48113 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48116 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48119 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48122 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48125 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48128 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48131 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48134 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48137 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48140 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48143 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48146 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48149 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48152 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48155 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48158 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48161 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48164 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48167 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48170 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48173 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48176 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48179 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48182 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48185 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48188 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48191 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48194 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48197 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48200 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48203 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48206 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48209 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48212 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48215 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48218 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48221 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48224 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48227 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48230 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48233 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48236 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48239 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48242 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48245 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48248 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48251 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48254 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48257 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48259 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48260 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48262 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48265 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48268 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48271 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48274 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48277 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48280 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48283 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48286 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48289 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48292 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48295 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48298 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48301 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48304 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48307 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48310 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48313 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48316 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48319 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48322 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48325 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48328 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48331 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48334 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48337 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48340 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48343 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48346 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48349 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48352 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48355 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48358 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48361 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48364 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48367 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48370 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48373 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48376 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48379 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48382 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48385 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48388 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48391 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48394 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48397 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48400 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48403 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48406 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
48409 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
48412 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
48414 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
48415 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
48417 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
48420 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
48423 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
48426 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
48429 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
48431 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
48432 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
48433 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
48434 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
48435 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
48436 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
48437 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
48438 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
48439 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
48441 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48444 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48446 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
48447 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
48448 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
48449 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
48451 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
48454 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
48457 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
48460 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
48463 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
48466 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
48469 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
48472 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
48475 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
48478 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
48481 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
48484 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
48487 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
48489 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
48490 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
48491 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
48492 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
48493 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
48494 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
48495 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
48496 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
48497 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
48498 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
48499 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
48500 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
48501 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
48502 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
48503 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
48504 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
48505 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
48506 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
48507 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
48508 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
48509 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
48510 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
48511 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
48512 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
48513 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
48514 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
48515 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
48516 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
48517 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
48518 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
48519 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
48520 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
48521 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
48522 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
48523 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
48524 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
48525 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
48526 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
48527 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
48528 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
48529 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
48530 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
48531 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
48532 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
48533 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
48534 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
48535 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
48536 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
48537 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
48538 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
48539 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
48540 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
48541 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
48542 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
48543 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
48544 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
48545 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
48546 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
48547 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
48548 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
48549 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
48550 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
48551 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
48552 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
48553 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
48554 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
48555 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
48556 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
48557 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
48558 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
48559 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
48560 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
48561 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
48562 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
48563 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
48564 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
48565 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
48566 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
48567 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
48568 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
48569 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
48570 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
48571 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
48572 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
48573 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
48574 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
48575 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
48576 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
48577 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
48578 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
48579 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
48580 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
48581 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
48582 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
48583 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
48584 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
48585 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
48586 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
48587 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
48588 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
48589 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
48590 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
48591 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
48592 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
48593 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
48594 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
48595 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
48596 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
48597 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
48598 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
48599 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
48600 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
48601 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
48602 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
48604 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
48607 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
48610 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
48613 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
48616 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
48619 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
48622 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
48625 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
48628 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
48631 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
48634 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
48637 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
48640 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
48642 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
48644 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
48647 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
48650 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
48653 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
48656 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
48659 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
48661 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
48662 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
48664 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
48667 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
48670 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
48673 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
48676 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
48678 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
48679 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
48681 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
48684 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
48687 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
48689 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
48691 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
48694 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
48697 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
48700 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
48703 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
48706 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
48709 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
48712 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
48715 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
48718 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
48721 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
48724 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
48727 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
48730 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
48733 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
48736 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
48739 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
48742 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
48745 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
48748 // Initialize threading, some globals and such
48752 // Although these are defined in __version__ they need to be here too so
48753 // that an assert can be done to ensure that the wxPython and the wxWindows
48755 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
48756 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
48757 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));