1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_wxMenu swig_types[14]
1356 #define SWIGTYPE_p_wxGridSizer swig_types[15]
1357 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
1359 #define SWIGTYPE_p_wxItemContainer swig_types[18]
1360 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
1361 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
1363 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxControl swig_types[25]
1367 #define SWIGTYPE_p_wxFont swig_types[26]
1368 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
1369 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
1370 #define SWIGTYPE_p_wxFSFile swig_types[29]
1371 #define SWIGTYPE_p_wxCaret swig_types[30]
1372 #define SWIGTYPE_ptrdiff_t swig_types[31]
1373 #define SWIGTYPE_std__ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_p_wxRegion swig_types[33]
1375 #define SWIGTYPE_p_wxPoint2D swig_types[34]
1376 #define SWIGTYPE_p_int swig_types[35]
1377 #define SWIGTYPE_p_wxSize swig_types[36]
1378 #define SWIGTYPE_p_wxDC swig_types[37]
1379 #define SWIGTYPE_p_wxPySizer swig_types[38]
1380 #define SWIGTYPE_p_wxVisualAttributes swig_types[39]
1381 #define SWIGTYPE_p_wxNotifyEvent swig_types[40]
1382 #define SWIGTYPE_p_wxPyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPropagationDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxAppTraits swig_types[44]
1386 #define SWIGTYPE_p_wxArrayString swig_types[45]
1387 #define SWIGTYPE_p_wxShowEvent swig_types[46]
1388 #define SWIGTYPE_p_wxToolTip swig_types[47]
1389 #define SWIGTYPE_p_wxMoveEvent swig_types[48]
1390 #define SWIGTYPE_p_wxSizeEvent swig_types[49]
1391 #define SWIGTYPE_p_wxActivateEvent swig_types[50]
1392 #define SWIGTYPE_p_wxIconizeEvent swig_types[51]
1393 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]
1395 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[54]
1396 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
1397 #define SWIGTYPE_p_wxMenuItem swig_types[56]
1398 #define SWIGTYPE_p_wxStaticBox swig_types[57]
1399 #define SWIGTYPE_p_long swig_types[58]
1400 #define SWIGTYPE_p_wxDuplexMode swig_types[59]
1401 #define SWIGTYPE_p_wxTIFFHandler swig_types[60]
1402 #define SWIGTYPE_p_wxXPMHandler swig_types[61]
1403 #define SWIGTYPE_p_wxPNMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxJPEGHandler swig_types[63]
1405 #define SWIGTYPE_p_wxPCXHandler swig_types[64]
1406 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
1407 #define SWIGTYPE_p_wxPNGHandler swig_types[66]
1408 #define SWIGTYPE_p_wxANIHandler swig_types[67]
1409 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[68]
1410 #define SWIGTYPE_p_wxZipFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[71]
1413 #define SWIGTYPE_p_wxEvtHandler swig_types[72]
1414 #define SWIGTYPE_p_wxCURHandler swig_types[73]
1415 #define SWIGTYPE_p_wxICOHandler swig_types[74]
1416 #define SWIGTYPE_p_wxBMPHandler swig_types[75]
1417 #define SWIGTYPE_p_wxImageHandler swig_types[76]
1418 #define SWIGTYPE_p_wxFileSystemHandler swig_types[77]
1419 #define SWIGTYPE_p_wxRect swig_types[78]
1420 #define SWIGTYPE_p_wxButton swig_types[79]
1421 #define SWIGTYPE_p_wxGBSpan swig_types[80]
1422 #define SWIGTYPE_p_wxPropagateOnce swig_types[81]
1423 #define SWIGTYPE_p_wxAcceleratorTable swig_types[82]
1424 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[83]
1425 #define SWIGTYPE_p_char swig_types[84]
1426 #define SWIGTYPE_p_wxGBPosition swig_types[85]
1427 #define SWIGTYPE_p_wxImage swig_types[86]
1428 #define SWIGTYPE_p_wxFrame swig_types[87]
1429 #define SWIGTYPE_p_wxScrollWinEvent swig_types[88]
1430 #define SWIGTYPE_p_wxPaperSize swig_types[89]
1431 #define SWIGTYPE_p_wxImageHistogram swig_types[90]
1432 #define SWIGTYPE_p_wxPoint swig_types[91]
1433 #define SWIGTYPE_p_wxCursor swig_types[92]
1434 #define SWIGTYPE_p_wxObject swig_types[93]
1435 #define SWIGTYPE_p_wxInputStream swig_types[94]
1436 #define SWIGTYPE_p_wxOutputStream swig_types[95]
1437 #define SWIGTYPE_p_wxPyInputStream swig_types[96]
1438 #define SWIGTYPE_p_wxDateTime swig_types[97]
1439 #define SWIGTYPE_p_wxKeyEvent swig_types[98]
1440 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[100]
1442 #define SWIGTYPE_p_unsigned_long swig_types[101]
1443 #define SWIGTYPE_p_wxWindow swig_types[102]
1444 #define SWIGTYPE_p_wxMenuBar swig_types[103]
1445 #define SWIGTYPE_p_wxFileSystem swig_types[104]
1446 #define SWIGTYPE_p_wxBitmap swig_types[105]
1447 #define SWIGTYPE_unsigned_int swig_types[106]
1448 #define SWIGTYPE_p_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_wxMenuEvent swig_types[108]
1450 #define SWIGTYPE_p_wxContextMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_unsigned_char swig_types[110]
1452 #define SWIGTYPE_p_wxEraseEvent swig_types[111]
1453 #define SWIGTYPE_p_wxMouseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxCloseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxPyApp swig_types[114]
1456 #define SWIGTYPE_p_wxCommandEvent swig_types[115]
1457 #define SWIGTYPE_p_wxPyCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyDropTarget swig_types[117]
1459 #define SWIGTYPE_p_wxQuantize swig_types[118]
1460 #define SWIGTYPE_p_wxChildFocusEvent swig_types[119]
1461 #define SWIGTYPE_p_wxFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxDropFilesEvent swig_types[121]
1463 #define SWIGTYPE_p_wxControlWithItems swig_types[122]
1464 #define SWIGTYPE_p_wxColour swig_types[123]
1465 #define SWIGTYPE_p_wxValidator swig_types[124]
1466 #define SWIGTYPE_p_wxPyValidator swig_types[125]
1467 static swig_type_info
*swig_types
[127];
1469 /* -------- TYPES TABLE (END) -------- */
1472 /*-----------------------------------------------
1473 @(target):= _core_.so
1474 ------------------------------------------------*/
1475 #define SWIG_init init_core_
1477 #define SWIG_name "_core_"
1479 #include "wx/wxPython/wxPython_int.h"
1480 #include "wx/wxPython/pyclasses.h"
1483 #ifndef wxPyUSE_EXPORT
1484 // Helper functions for dealing with SWIG objects and such. These are
1485 // located here so they know about the SWIG types and functions declared
1486 // in the wrapper code.
1488 #include <wx/hashmap.h>
1489 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1492 // Maintains a hashmap of className to swig_type_info pointers. Given the
1493 // name of a class either looks up the type info in the cache, or scans the
1494 // SWIG tables for it.
1495 extern PyObject
* wxPyPtrTypeMap
;
1497 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1499 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1501 if (typeInfoCache
== NULL
)
1502 typeInfoCache
= new wxPyTypeInfoHashMap
;
1504 wxString
name(className
);
1505 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1508 // it wasn't in the cache, so look it up from SWIG
1509 name
.Append(wxT(" *"));
1510 swigType
= SWIG_TypeQuery(name
.mb_str());
1512 // if it still wasn't found, try looking for a mapped name
1517 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1518 (char*)(const char*)name
.mbc_str())) != NULL
) {
1519 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1520 name
.Append(wxT(" *"));
1521 swigType
= SWIG_TypeQuery(name
.mb_str());
1525 // and add it to the map if found
1526 (*typeInfoCache
)[className
] = swigType
;
1533 // Check if a class name is a type known to SWIG
1534 bool wxPyCheckSwigType(const wxChar
* className
) {
1536 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1537 return swigType
!= NULL
;
1541 // Given a pointer to a C++ object and a class name, construct a Python proxy
1543 PyObject
* wxPyConstructObject(void* ptr
,
1544 const wxChar
* className
,
1547 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1548 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1550 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1554 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1555 // Ensures that the proxy object is of the specified (or derived) type. If
1556 // not able to perform the conversion then a Python exception is set and the
1557 // error should be handled properly in the caller. Returns True on success.
1558 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1559 const wxChar
* className
) {
1561 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1562 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1564 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1568 // Make a SWIGified pointer object suitable for a .this attribute
1569 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1571 PyObject
* robj
= NULL
;
1573 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1574 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1576 #ifdef SWIG_COBJECT_TYPES
1577 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1581 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1582 PyString_FromString(result
) : 0;
1592 // Export a C API in a struct. Other modules will be able to load this from
1593 // the wx._core_ module and will then have safe access to these functions,
1594 // even if they are located in another shared library.
1595 static wxPyCoreAPI API
= {
1598 wxPyConstructObject
,
1602 wxPyBeginAllowThreads
,
1603 wxPyEndAllowThreads
,
1604 wxPyBeginBlockThreads
,
1605 wxPyEndBlockThreads
,
1617 wxPoint_LIST_helper
,
1618 wxBitmap_LIST_helper
,
1619 wxString_LIST_helper
,
1620 wxAcceleratorEntry_LIST_helper
,
1629 wxPySimple_typecheck
,
1632 wxPyCBH_setCallbackInfo
,
1633 wxPyCBH_findCallback
,
1634 wxPyCBH_callCallback
,
1635 wxPyCBH_callCallbackObj
,
1641 wxPy2int_seq_helper
,
1642 wxPy4int_seq_helper
,
1643 wxArrayString2PyList_helper
,
1644 wxArrayInt2PyList_helper
,
1646 wxPyClientData_dtor
,
1648 wxPyOORClientData_dtor
,
1650 wxPyCBInputStream_create
,
1653 wxPySwigInstance_Check
,
1662 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1663 #define SWIG_From_int PyInt_FromLong
1668 enum wxHotkeyModifier
1676 #define wxEVT_HOTKEY 9999
1679 static const wxString
wxPyEmptyString(wxEmptyString
);
1680 static wxString
wxObject_GetClassName(wxObject
*self
){
1681 return self
->GetClassInfo()->GetClassName();
1683 static void wxObject_Destroy(wxObject
*self
){
1688 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1696 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1699 if (value
< min_value
) {
1701 PyErr_Format(PyExc_OverflowError
,
1702 "value %ld is less than '%s' minimum %ld",
1703 value
, errmsg
, min_value
);
1706 } else if (value
> max_value
) {
1708 PyErr_Format(PyExc_OverflowError
,
1709 "value %ld is greater than '%s' maximum %ld",
1710 value
, errmsg
, max_value
);
1719 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1721 if (PyNumber_Check(obj
)) {
1722 if (val
) *val
= PyInt_AsLong(obj
);
1726 SWIG_type_error("number", obj
);
1732 #if INT_MAX != LONG_MAX
1734 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1736 const char* errmsg
= val
? "int" : (char*)0;
1738 if (SWIG_AsVal_long(obj
, &v
)) {
1739 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1740 if (val
) *val
= (int)(v
);
1749 SWIG_type_error(errmsg
, obj
);
1755 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1757 return SWIG_AsVal_long(obj
,(long*)val
);
1763 SWIG_As_int(PyObject
* obj
)
1766 if (!SWIG_AsVal_int(obj
, &v
)) {
1768 this is needed to make valgrind/purify happier.
1770 memset((void*)&v
, 0, sizeof(int));
1777 SWIG_Check_int(PyObject
* obj
)
1779 return SWIG_AsVal_int(obj
, (int*)0);
1782 static PyObject
*wxSize_Get(wxSize
*self
){
1783 bool blocked
= wxPyBeginBlockThreads();
1784 PyObject
* tup
= PyTuple_New(2);
1785 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1786 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1787 wxPyEndBlockThreads(blocked
);
1792 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1794 if (PyNumber_Check(obj
)) {
1795 if (val
) *val
= PyFloat_AsDouble(obj
);
1799 SWIG_type_error("number", obj
);
1805 SWIGINTERNSHORT
double
1806 SWIG_As_double(PyObject
* obj
)
1809 if (!SWIG_AsVal_double(obj
, &v
)) {
1811 this is needed to make valgrind/purify happier.
1813 memset((void*)&v
, 0, sizeof(double));
1820 SWIG_Check_double(PyObject
* obj
)
1822 return SWIG_AsVal_double(obj
, (double*)0);
1826 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1827 #define SWIG_From_double PyFloat_FromDouble
1830 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1834 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1835 bool blocked
= wxPyBeginBlockThreads();
1836 PyObject
* tup
= PyTuple_New(2);
1837 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1838 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1839 wxPyEndBlockThreads(blocked
);
1843 SWIGINTERNSHORT
long
1844 SWIG_As_long(PyObject
* obj
)
1847 if (!SWIG_AsVal_long(obj
, &v
)) {
1849 this is needed to make valgrind/purify happier.
1851 memset((void*)&v
, 0, sizeof(long));
1858 SWIG_Check_long(PyObject
* obj
)
1860 return SWIG_AsVal_long(obj
, (long*)0);
1863 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1867 static PyObject
*wxPoint_Get(wxPoint
*self
){
1868 bool blocked
= wxPyBeginBlockThreads();
1869 PyObject
* tup
= PyTuple_New(2);
1870 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1871 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1872 wxPyEndBlockThreads(blocked
);
1875 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1878 self
->width
= width
;
1879 self
->height
= height
;
1881 static PyObject
*wxRect_Get(wxRect
*self
){
1882 bool blocked
= wxPyBeginBlockThreads();
1883 PyObject
* tup
= PyTuple_New(4);
1884 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1885 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1886 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1887 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1888 wxPyEndBlockThreads(blocked
);
1892 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1895 wxRect
dest(0,0,0,0);
1898 reg1
.Intersect(reg2
);
1899 dest
= reg1
.GetBox();
1901 if (dest
!= wxRect(0,0,0,0)) {
1902 bool blocked
= wxPyBeginBlockThreads();
1903 wxRect
* newRect
= new wxRect(dest
);
1904 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1905 wxPyEndBlockThreads(blocked
);
1913 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1919 } else if (target
== Py_None
) {
1923 if (!PyTuple_Check(target
)) {
1925 target
= PyTuple_New(1);
1926 PyTuple_SetItem(target
, 0, o2
);
1928 o3
= PyTuple_New(1);
1929 PyTuple_SetItem(o3
, 0, o
);
1932 target
= PySequence_Concat(o2
, o3
);
1940 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1944 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1945 bool blocked
= wxPyBeginBlockThreads();
1946 PyObject
* tup
= PyTuple_New(2);
1947 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1948 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1949 wxPyEndBlockThreads(blocked
);
1953 #include "wx/wxPython/pyistream.h"
1955 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1956 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1958 return new wxPyInputStream(wxis
);
1963 SWIGINTERNSHORT PyObject
*
1964 SWIG_From_char(char c
)
1966 return PyString_FromStringAndSize(&c
,1);
1970 SWIGINTERNSHORT PyObject
*
1971 SWIG_From_unsigned_SS_long(unsigned long value
)
1973 return (value
> LONG_MAX
) ?
1974 PyLong_FromUnsignedLong(value
)
1975 : PyInt_FromLong((long)(value
));
1979 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1981 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1983 static swig_type_info
* pchar_info
= 0;
1985 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1986 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1987 if (cptr
) *cptr
= vptr
;
1988 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1992 if (PyString_Check(obj
)) {
1994 *cptr
= PyString_AS_STRING(obj
);
1996 *psize
= PyString_GET_SIZE(obj
) + 1;
2003 SWIG_type_error("char *", obj
);
2010 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2012 char* cptr
; size_t csize
;
2013 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2016 char x[5] = "hello";
2018 ie, assing the array using an extra '0' char.
2020 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2021 if (csize
<= size
) {
2023 if (csize
) memcpy(val
, cptr
, csize
);
2024 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2030 PyErr_Format(PyExc_TypeError
,
2031 "a char array of maximum size %lu is expected",
2032 (unsigned long) size
);
2039 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2041 const char* errmsg
= val
? "char" : (char*)0;
2043 if (SWIG_AsVal_long(obj
, &v
)) {
2044 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2045 if (val
) *val
= (char)(v
);
2052 return SWIG_AsCharArray(obj
, val
, 1);
2057 SWIGINTERNSHORT
char
2058 SWIG_As_char(PyObject
* obj
)
2061 if (!SWIG_AsVal_char(obj
, &v
)) {
2063 this is needed to make valgrind/purify happier.
2065 memset((void*)&v
, 0, sizeof(char));
2072 SWIG_Check_char(PyObject
* obj
)
2074 return SWIG_AsVal_char(obj
, (char*)0);
2078 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2079 #define SWIG_From_long PyInt_FromLong
2082 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2083 // We use only strings for the streams, not unicode
2084 PyObject
* str
= PyObject_Str(obj
);
2086 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2089 self
->Write(PyString_AS_STRING(str
),
2090 PyString_GET_SIZE(str
));
2094 #include "wx/wxPython/pyistream.h"
2097 class wxPyFileSystemHandler
: public wxFileSystemHandler
2100 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2102 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2103 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2104 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2105 DEC_PYCALLBACK_STRING__pure(FindNext
);
2107 wxString
GetProtocol(const wxString
& location
) {
2108 return wxFileSystemHandler::GetProtocol(location
);
2111 wxString
GetLeftLocation(const wxString
& location
) {
2112 return wxFileSystemHandler::GetLeftLocation(location
);
2115 wxString
GetAnchor(const wxString
& location
) {
2116 return wxFileSystemHandler::GetAnchor(location
);
2119 wxString
GetRightLocation(const wxString
& location
) {
2120 return wxFileSystemHandler::GetRightLocation(location
);
2123 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2124 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2131 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2132 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2133 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2134 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2138 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2140 if (obj
== Py_True
) {
2141 if (val
) *val
= true;
2144 if (obj
== Py_False
) {
2145 if (val
) *val
= false;
2149 if (SWIG_AsVal_int(obj
, &res
)) {
2150 if (val
) *val
= res
? true : false;
2156 SWIG_type_error("bool", obj
);
2162 SWIGINTERNSHORT
bool
2163 SWIG_As_bool(PyObject
* obj
)
2166 if (!SWIG_AsVal_bool(obj
, &v
)) {
2168 this is needed to make valgrind/purify happier.
2170 memset((void*)&v
, 0, sizeof(bool));
2177 SWIG_Check_bool(PyObject
* obj
)
2179 return SWIG_AsVal_bool(obj
, (bool*)0);
2182 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2183 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2184 return fname
.GetFullPath();
2187 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2190 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2193 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2194 const wxBitmap
& bitmap
,
2196 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2199 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2201 if (! PyString_Check(data
)) {
2202 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2203 "Expected string object"));
2207 bool blocked
= wxPyBeginBlockThreads();
2208 void* ptr
= (void*)PyString_AsString(data
);
2209 size_t size
= PyString_Size(data
);
2210 wxPyEndBlockThreads(blocked
);
2212 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2216 #include "wx/wxPython/pyistream.h"
2220 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2223 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2224 SWIG_type_error("unsigned number", obj
);
2227 *val
= (unsigned long)v
;
2233 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2234 unsigned long max_value
,
2237 if (value
> max_value
) {
2239 PyErr_Format(PyExc_OverflowError
,
2240 "value %lu is greater than '%s' minimum %lu",
2241 value
, errmsg
, max_value
);
2250 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2252 const char* errmsg
= val
? "unsigned char" : (char*)0;
2254 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2255 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2256 if (val
) *val
= (unsigned char)(v
);
2265 SWIG_type_error(errmsg
, obj
);
2271 SWIGINTERNSHORT
unsigned char
2272 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2275 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2277 this is needed to make valgrind/purify happier.
2279 memset((void*)&v
, 0, sizeof(unsigned char));
2286 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2288 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2292 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2293 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2297 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2298 if (width
> 0 && height
> 0)
2299 return new wxImage(width
, height
, clear
);
2303 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2304 return new wxImage(bitmap
.ConvertToImage());
2306 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2307 // Copy the source data so the wxImage can clean it up later
2308 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2313 memcpy(copy
, data
, width
*height
*3);
2314 return new wxImage(width
, height
, copy
, false);
2316 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2317 // Copy the source data so the wxImage can clean it up later
2318 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2319 if (dcopy
== NULL
) {
2323 memcpy(dcopy
, data
, width
*height
*3);
2324 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2325 if (acopy
== NULL
) {
2329 memcpy(acopy
, alpha
, width
*height
);
2331 return new wxImage(width
, height
, dcopy
, acopy
, false);
2333 static wxSize
wxImage_GetSize(wxImage
*self
){
2334 wxSize
size(self
->GetWidth(), self
->GetHeight());
2337 static PyObject
*wxImage_GetData(wxImage
*self
){
2338 unsigned char* data
= self
->GetData();
2339 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2341 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2344 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2345 unsigned char* dataPtr
;
2347 if (! PyString_Check(data
)) {
2348 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2349 "Expected string object"));
2353 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2354 dataPtr
= (unsigned char*) malloc(len
);
2355 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2356 self
->SetData(dataPtr
);
2357 // wxImage takes ownership of dataPtr...
2359 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2360 unsigned char* data
= self
->GetData();
2361 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2363 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2366 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2367 unsigned char* buffer
;
2370 bool blocked
= wxPyBeginBlockThreads();
2371 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2374 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2375 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2378 self
->SetData(buffer
);
2380 wxPyEndBlockThreads(blocked
);
2382 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2383 unsigned char* data
= self
->GetAlpha();
2387 int len
= self
->GetWidth() * self
->GetHeight();
2389 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2393 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2394 unsigned char* dataPtr
;
2396 if (! PyString_Check(data
)) {
2397 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2401 size_t len
= self
->GetWidth() * self
->GetHeight();
2402 dataPtr
= (unsigned char*) malloc(len
);
2403 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2404 self
->SetAlpha(dataPtr
);
2405 // wxImage takes ownership of dataPtr...
2407 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2408 unsigned char* data
= self
->GetAlpha();
2409 int len
= self
->GetWidth() * self
->GetHeight();
2411 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2414 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2415 unsigned char* buffer
;
2418 bool blocked
= wxPyBeginBlockThreads();
2419 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2422 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2423 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2426 self
->SetAlpha(buffer
);
2428 wxPyEndBlockThreads(blocked
);
2431 SWIGINTERNSHORT
unsigned long
2432 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2435 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2437 this is needed to make valgrind/purify happier.
2439 memset((void*)&v
, 0, sizeof(unsigned long));
2446 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2448 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2451 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2452 wxBitmap
bitmap(*self
, depth
);
2455 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2456 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2457 wxBitmap
bitmap( mono
, 1 );
2460 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2461 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2462 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2463 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2464 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2466 #include <wx/quantize.h>
2468 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2469 return wxQuantize::Quantize(src
, dest
,
2472 NULL
, // eightBitData
2475 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2476 if (PyCallable_Check(func
)) {
2477 self
->Connect(id
, lastId
, eventType
,
2478 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2479 new wxPyCallback(func
));
2481 else if (func
== Py_None
) {
2482 self
->Disconnect(id
, lastId
, eventType
,
2483 (wxObjectEventFunction
)
2484 &wxPyCallback::EventThunker
);
2488 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2491 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2492 return self
->Disconnect(id
, lastId
, eventType
,
2493 (wxObjectEventFunction
)
2494 &wxPyCallback::EventThunker
);
2496 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2497 if (_self
&& _self
!= Py_None
) {
2498 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2501 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2503 self
->SetClientObject(NULL
); // This will delete it too
2508 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2510 return self
->GetUnicodeKey();
2516 #if UINT_MAX < LONG_MAX
2517 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2518 #define SWIG_From_unsigned_SS_int SWIG_From_long
2521 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2522 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2527 #if UINT_MAX != ULONG_MAX
2529 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2531 const char* errmsg
= val
? "unsigned int" : (char*)0;
2533 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2534 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2535 if (val
) *val
= (unsigned int)(v
);
2542 SWIG_type_error(errmsg
, obj
);
2547 SWIGINTERNSHORT
unsigned int
2548 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2550 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2555 SWIGINTERNSHORT
unsigned int
2556 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2559 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2561 this is needed to make valgrind/purify happier.
2563 memset((void*)&v
, 0, sizeof(unsigned int));
2570 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2572 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2575 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2576 self
->m_size
= size
;
2578 static void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
2581 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2582 int count
= self
->GetNumberOfFiles();
2583 wxString
* files
= self
->GetFiles();
2584 PyObject
* list
= PyList_New(count
);
2587 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2591 for (int i
=0; i
<count
; i
++) {
2592 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2598 static wxPyApp
*new_wxPyApp(){
2599 wxPythonApp
= new wxPyApp();
2602 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2604 void wxApp_CleanUp() {
2609 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2613 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2615 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2620 SWIG_type_error("char *", obj
);
2626 SWIGINTERN PyObject
*
2627 SWIG_FromCharPtr(const char* cptr
)
2630 size_t size
= strlen(cptr
);
2631 if (size
> INT_MAX
) {
2632 return SWIG_NewPointerObj((char*)(cptr
),
2633 SWIG_TypeQuery("char *"), 0);
2636 return PyString_FromStringAndSize(cptr
, size
);
2638 return PyString_FromString(cptr
);
2649 // A dummy class that raises an exception if used...
2653 wxEventLoop() { wxPyRaiseNotImplemented(); }
2654 int Run() { return 0; }
2655 void Exit(int rc
= 0) {}
2656 bool Pending() const { return false; }
2657 bool Dispatch() { return false; }
2658 bool IsRunning() const { return false; }
2659 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2660 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2665 #include <wx/evtloop.h>
2671 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2672 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2673 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2674 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2675 wxWindowList
& list
= self
->GetChildren();
2676 return wxPy_ConvertList(&list
);
2678 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2680 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2685 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2692 static long wxWindow_GetHandle(wxWindow
*self
){
2693 return wxPyGetWinHandle(self
);
2695 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2696 self
->AssociateHandle((WXWidget
)handle
);
2699 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2700 return wxWindow::FindWindowById(id
, parent
);
2703 wxWindow
* wxFindWindowByName( const wxString
& name
,
2704 const wxWindow
*parent
= NULL
) {
2705 return wxWindow::FindWindowByName(name
, parent
);
2708 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2709 const wxWindow
*parent
= NULL
) {
2710 return wxWindow::FindWindowByLabel(label
, parent
);
2715 #include <wx/msw/private.h> // to get wxGetWindowId
2719 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2721 WXHWND hWnd
= (WXHWND
)_hWnd
;
2722 long id
= wxGetWindowId(hWnd
);
2723 wxWindow
* win
= new wxWindow
;
2724 parent
->AddChild(win
);
2725 win
->SetEventHandler(win
);
2728 win
->SubclassWin(hWnd
);
2729 win
->AdoptAttributesFromHWND();
2730 win
->SetupColours();
2733 wxPyRaiseNotImplemented();
2739 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2740 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2741 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2743 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2745 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2746 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2747 wxMenuItemList
& list
= self
->GetMenuItems();
2748 return wxPy_ConvertList(&list
);
2750 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2751 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2752 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2754 wxPyClientData
* data
= new wxPyClientData(clientData
);
2755 return self
->Append(item
, data
);
2757 return self
->Append(item
);
2759 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2761 wxPyClientData
* data
= new wxPyClientData(clientData
);
2762 return self
->Insert(item
, pos
, data
);
2764 return self
->Insert(item
, pos
);
2766 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2767 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2769 Py_INCREF(data
->m_obj
);
2776 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2777 wxPyClientData
* data
= new wxPyClientData(clientData
);
2778 self
->SetClientObject(n
, data
);
2782 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2783 wxPyUserData
* data
= NULL
;
2785 bool blocked
= wxPyBeginBlockThreads();
2786 data
= new wxPyUserData(userData
);
2787 wxPyEndBlockThreads(blocked
);
2789 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2791 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2792 wxPyUserData
* data
= NULL
;
2794 bool blocked
= wxPyBeginBlockThreads();
2795 data
= new wxPyUserData(userData
);
2796 wxPyEndBlockThreads(blocked
);
2798 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2800 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2801 wxPyUserData
* data
= NULL
;
2803 bool blocked
= wxPyBeginBlockThreads();
2804 data
= new wxPyUserData(userData
);
2805 wxPyEndBlockThreads(blocked
);
2807 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2812 SWIG_CheckDoubleInRange(double value
, double min_value
,
2813 double max_value
, const char* errmsg
)
2815 if (value
< min_value
) {
2817 PyErr_Format(PyExc_OverflowError
,
2818 "value %g is less than %s minimum %g",
2819 value
, errmsg
, min_value
);
2822 } else if (value
> max_value
) {
2824 PyErr_Format(PyExc_OverflowError
,
2825 "value %g is greater than %s maximum %g",
2826 value
, errmsg
, max_value
);
2835 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2837 const char* errmsg
= val
? "float" : (char*)0;
2839 if (SWIG_AsVal_double(obj
, &v
)) {
2840 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2841 if (val
) *val
= (float)(v
);
2850 SWIG_type_error(errmsg
, obj
);
2856 SWIGINTERNSHORT
float
2857 SWIG_As_float(PyObject
* obj
)
2860 if (!SWIG_AsVal_float(obj
, &v
)) {
2862 this is needed to make valgrind/purify happier.
2864 memset((void*)&v
, 0, sizeof(float));
2871 SWIG_Check_float(PyObject
* obj
)
2873 return SWIG_AsVal_float(obj
, (float*)0);
2877 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2878 #define SWIG_From_float PyFloat_FromDouble
2881 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2882 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2884 Py_INCREF(data
->m_obj
);
2892 // Figure out the type of the sizer item
2894 struct wxPySizerItemInfo
{
2896 : window(NULL
), sizer(NULL
), gotSize(false),
2897 size(wxDefaultSize
), gotPos(false), pos(-1)
2908 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2910 wxPySizerItemInfo info
;
2912 wxSize
* sizePtr
= &size
;
2914 // Find out what the type of the item is
2916 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2921 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2925 // try wxSize or (w,h)
2926 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2927 info
.size
= *sizePtr
;
2928 info
.gotSize
= true;
2932 if (checkIdx
&& PyInt_Check(item
)) {
2933 info
.pos
= PyInt_AsLong(item
);
2939 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2940 // no expected type, figure out what kind of error message to generate
2941 if ( !checkSize
&& !checkIdx
)
2942 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2943 else if ( checkSize
&& !checkIdx
)
2944 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2945 else if ( !checkSize
&& checkIdx
)
2946 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2948 // can this one happen?
2949 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2955 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2956 if (!self
->GetClientObject())
2957 self
->SetClientObject(new wxPyOORClientData(_self
));
2959 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2961 wxPyUserData
* data
= NULL
;
2962 bool blocked
= wxPyBeginBlockThreads();
2963 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2964 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2965 data
= new wxPyUserData(userData
);
2966 wxPyEndBlockThreads(blocked
);
2968 // Now call the real Add method if a valid item type was found
2970 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2971 else if ( info
.sizer
)
2972 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
2973 else if (info
.gotSize
)
2974 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
2975 proportion
, flag
, border
, data
);
2979 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2981 wxPyUserData
* data
= NULL
;
2982 bool blocked
= wxPyBeginBlockThreads();
2983 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2984 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2985 data
= new wxPyUserData(userData
);
2986 wxPyEndBlockThreads(blocked
);
2988 // Now call the real Insert method if a valid item type was found
2990 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
2991 else if ( info
.sizer
)
2992 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
2993 else if (info
.gotSize
)
2994 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
2995 proportion
, flag
, border
, data
);
2999 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3001 wxPyUserData
* data
= NULL
;
3002 bool blocked
= wxPyBeginBlockThreads();
3003 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3004 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3005 data
= new wxPyUserData(userData
);
3006 wxPyEndBlockThreads(blocked
);
3008 // Now call the real Prepend method if a valid item type was found
3010 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3011 else if ( info
.sizer
)
3012 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3013 else if (info
.gotSize
)
3014 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3015 proportion
, flag
, border
, data
);
3019 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3020 bool blocked
= wxPyBeginBlockThreads();
3021 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3022 wxPyEndBlockThreads(blocked
);
3024 return self
->Remove(info
.window
);
3025 else if ( info
.sizer
)
3026 return self
->Remove(info
.sizer
);
3027 else if ( info
.gotPos
)
3028 return self
->Remove(info
.pos
);
3032 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3033 bool blocked
= wxPyBeginBlockThreads();
3034 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3035 wxPyEndBlockThreads(blocked
);
3037 return self
->Detach(info
.window
);
3038 else if ( info
.sizer
)
3039 return self
->Detach(info
.sizer
);
3040 else if ( info
.gotPos
)
3041 return self
->Detach(info
.pos
);
3045 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3046 bool blocked
= wxPyBeginBlockThreads();
3047 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3048 wxPyEndBlockThreads(blocked
);
3050 return self
->GetItem(info
.window
);
3051 else if ( info
.sizer
)
3052 return self
->GetItem(info
.sizer
);
3053 else if ( info
.gotPos
)
3054 return self
->GetItem(info
.pos
);
3058 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3059 bool blocked
= wxPyBeginBlockThreads();
3060 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3061 wxPyEndBlockThreads(blocked
);
3063 self
->SetItemMinSize(info
.window
, size
);
3064 else if ( info
.sizer
)
3065 self
->SetItemMinSize(info
.sizer
, size
);
3066 else if ( info
.gotPos
)
3067 self
->SetItemMinSize(info
.pos
, size
);
3069 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3070 wxSizerItemList
& list
= self
->GetChildren();
3071 return wxPy_ConvertList(&list
);
3073 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3074 bool blocked
= wxPyBeginBlockThreads();
3075 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3076 wxPyEndBlockThreads(blocked
);
3078 return self
->Show(info
.window
, show
, recursive
);
3079 else if ( info
.sizer
)
3080 return self
->Show(info
.sizer
, show
, recursive
);
3081 else if ( info
.gotPos
)
3082 return self
->Show(info
.pos
, show
);
3086 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3087 bool blocked
= wxPyBeginBlockThreads();
3088 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3089 wxPyEndBlockThreads(blocked
);
3091 return self
->IsShown(info
.window
);
3092 else if ( info
.sizer
)
3093 return self
->IsShown(info
.sizer
);
3094 else if ( info
.gotPos
)
3095 return self
->IsShown(info
.pos
);
3101 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3102 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3103 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3108 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3110 if (source
== Py_None
) {
3111 **obj
= wxGBPosition(-1,-1);
3114 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3117 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3119 if (source
== Py_None
) {
3120 **obj
= wxGBSpan(-1,-1);
3123 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3127 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3131 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3132 bool blocked
= wxPyBeginBlockThreads();
3133 PyObject
* tup
= PyTuple_New(2);
3134 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3135 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3136 wxPyEndBlockThreads(blocked
);
3139 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3140 self
->SetRowspan(rowspan
);
3141 self
->SetColspan(colspan
);
3143 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3144 bool blocked
= wxPyBeginBlockThreads();
3145 PyObject
* tup
= PyTuple_New(2);
3146 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3147 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3148 wxPyEndBlockThreads(blocked
);
3151 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3152 wxPyUserData
* data
= NULL
;
3154 bool blocked
= wxPyBeginBlockThreads();
3155 data
= new wxPyUserData(userData
);
3156 wxPyEndBlockThreads(blocked
);
3158 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3160 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3161 wxPyUserData
* data
= NULL
;
3163 bool blocked
= wxPyBeginBlockThreads();
3164 data
= new wxPyUserData(userData
);
3165 wxPyEndBlockThreads(blocked
);
3167 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3169 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3170 wxPyUserData
* data
= NULL
;
3172 bool blocked
= wxPyBeginBlockThreads();
3173 data
= new wxPyUserData(userData
);
3174 wxPyEndBlockThreads(blocked
);
3176 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3178 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3180 self
->GetEndPos(row
, col
);
3181 return wxGBPosition(row
, col
);
3183 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3185 wxPyUserData
* data
= NULL
;
3186 bool blocked
= wxPyBeginBlockThreads();
3187 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3188 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3189 data
= new wxPyUserData(userData
);
3190 wxPyEndBlockThreads(blocked
);
3192 // Now call the real Add method if a valid item type was found
3194 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3195 else if ( info
.sizer
)
3196 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3197 else if (info
.gotSize
)
3198 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3199 pos
, span
, flag
, border
, data
);
3207 static int _wrap_EmptyString_set(PyObject
*) {
3208 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3213 static PyObject
*_wrap_EmptyString_get(void) {
3218 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3220 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3227 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxObject
*arg1
= (wxObject
*) 0 ;
3231 PyObject
* obj0
= 0 ;
3233 (char *) "self", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3238 if (SWIG_arg_fail(1)) SWIG_fail
;
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 result
= wxObject_GetClassName(arg1
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) SWIG_fail
;
3248 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3250 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3259 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxObject
*arg1
= (wxObject
*) 0 ;
3262 PyObject
* obj0
= 0 ;
3264 (char *) "self", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3269 if (SWIG_arg_fail(1)) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 wxObject_Destroy(arg1
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3287 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3289 return Py_BuildValue((char *)"");
3291 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
*resultobj
;
3293 wxSize
*arg1
= (wxSize
*) 0 ;
3295 PyObject
* obj0
= 0 ;
3296 PyObject
* obj1
= 0 ;
3298 (char *) "self",(char *) "x", NULL
3301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3303 if (SWIG_arg_fail(1)) SWIG_fail
;
3305 arg2
= (int)(SWIG_As_int(obj1
));
3306 if (SWIG_arg_fail(2)) SWIG_fail
;
3308 if (arg1
) (arg1
)->x
= arg2
;
3310 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3318 PyObject
*resultobj
;
3319 wxSize
*arg1
= (wxSize
*) 0 ;
3321 PyObject
* obj0
= 0 ;
3323 (char *) "self", NULL
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3328 if (SWIG_arg_fail(1)) SWIG_fail
;
3329 result
= (int) ((arg1
)->x
);
3332 resultobj
= SWIG_From_int((int)(result
));
3340 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
*resultobj
;
3342 wxSize
*arg1
= (wxSize
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3345 PyObject
* obj1
= 0 ;
3347 (char *) "self",(char *) "y", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3352 if (SWIG_arg_fail(1)) SWIG_fail
;
3354 arg2
= (int)(SWIG_As_int(obj1
));
3355 if (SWIG_arg_fail(2)) SWIG_fail
;
3357 if (arg1
) (arg1
)->y
= arg2
;
3359 Py_INCREF(Py_None
); resultobj
= Py_None
;
3366 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3367 PyObject
*resultobj
;
3368 wxSize
*arg1
= (wxSize
*) 0 ;
3370 PyObject
* obj0
= 0 ;
3372 (char *) "self", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3377 if (SWIG_arg_fail(1)) SWIG_fail
;
3378 result
= (int) ((arg1
)->y
);
3381 resultobj
= SWIG_From_int((int)(result
));
3389 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3391 int arg1
= (int) 0 ;
3392 int arg2
= (int) 0 ;
3394 PyObject
* obj0
= 0 ;
3395 PyObject
* obj1
= 0 ;
3397 (char *) "w",(char *) "h", NULL
3400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3403 arg1
= (int)(SWIG_As_int(obj0
));
3404 if (SWIG_arg_fail(1)) SWIG_fail
;
3409 arg2
= (int)(SWIG_As_int(obj1
));
3410 if (SWIG_arg_fail(2)) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3427 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxSize
*arg1
= (wxSize
*) 0 ;
3430 PyObject
* obj0
= 0 ;
3432 (char *) "self", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3437 if (SWIG_arg_fail(1)) SWIG_fail
;
3439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 wxPyEndAllowThreads(__tstate
);
3443 if (PyErr_Occurred()) SWIG_fail
;
3445 Py_INCREF(Py_None
); resultobj
= Py_None
;
3452 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
;
3454 wxSize
*arg1
= (wxSize
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3459 PyObject
* obj1
= 0 ;
3461 (char *) "self",(char *) "sz", NULL
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3466 if (SWIG_arg_fail(1)) SWIG_fail
;
3469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3487 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
;
3489 wxSize
*arg1
= (wxSize
*) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3496 (char *) "self",(char *) "sz", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3501 if (SWIG_arg_fail(1)) SWIG_fail
;
3504 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3522 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxSize
*arg1
= (wxSize
*) 0 ;
3528 PyObject
* obj0
= 0 ;
3529 PyObject
* obj1
= 0 ;
3531 (char *) "self",(char *) "sz", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3536 if (SWIG_arg_fail(1)) SWIG_fail
;
3539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3550 resultptr
= new wxSize((wxSize
&)(result
));
3551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3559 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
*resultobj
;
3561 wxSize
*arg1
= (wxSize
*) 0 ;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3568 (char *) "self",(char *) "sz", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3573 if (SWIG_arg_fail(1)) SWIG_fail
;
3576 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3587 resultptr
= new wxSize((wxSize
&)(result
));
3588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3596 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxSize
*arg1
= (wxSize
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "self",(char *) "sz", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3609 if (SWIG_arg_fail(1)) SWIG_fail
;
3612 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 (arg1
)->IncTo((wxSize
const &)*arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxSize
*arg1
= (wxSize
*) 0 ;
3633 PyObject
* obj0
= 0 ;
3634 PyObject
* obj1
= 0 ;
3636 (char *) "self",(char *) "sz", NULL
3639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3641 if (SWIG_arg_fail(1)) SWIG_fail
;
3644 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3648 (arg1
)->DecTo((wxSize
const &)*arg2
);
3650 wxPyEndAllowThreads(__tstate
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 Py_INCREF(Py_None
); resultobj
= Py_None
;
3660 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxSize
*arg1
= (wxSize
*) 0 ;
3665 PyObject
* obj0
= 0 ;
3666 PyObject
* obj1
= 0 ;
3667 PyObject
* obj2
= 0 ;
3669 (char *) "self",(char *) "w",(char *) "h", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3674 if (SWIG_arg_fail(1)) SWIG_fail
;
3676 arg2
= (int)(SWIG_As_int(obj1
));
3677 if (SWIG_arg_fail(2)) SWIG_fail
;
3680 arg3
= (int)(SWIG_As_int(obj2
));
3681 if (SWIG_arg_fail(3)) SWIG_fail
;
3684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3685 (arg1
)->Set(arg2
,arg3
);
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 Py_INCREF(Py_None
); resultobj
= Py_None
;
3697 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxSize
*arg1
= (wxSize
*) 0 ;
3701 PyObject
* obj0
= 0 ;
3702 PyObject
* obj1
= 0 ;
3704 (char *) "self",(char *) "w", NULL
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3709 if (SWIG_arg_fail(1)) SWIG_fail
;
3711 arg2
= (int)(SWIG_As_int(obj1
));
3712 if (SWIG_arg_fail(2)) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 (arg1
)->SetWidth(arg2
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 Py_INCREF(Py_None
); resultobj
= Py_None
;
3728 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxSize
*arg1
= (wxSize
*) 0 ;
3732 PyObject
* obj0
= 0 ;
3733 PyObject
* obj1
= 0 ;
3735 (char *) "self",(char *) "h", NULL
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3740 if (SWIG_arg_fail(1)) SWIG_fail
;
3742 arg2
= (int)(SWIG_As_int(obj1
));
3743 if (SWIG_arg_fail(2)) SWIG_fail
;
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->SetHeight(arg2
);
3749 wxPyEndAllowThreads(__tstate
);
3750 if (PyErr_Occurred()) SWIG_fail
;
3752 Py_INCREF(Py_None
); resultobj
= Py_None
;
3759 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3760 PyObject
*resultobj
;
3761 wxSize
*arg1
= (wxSize
*) 0 ;
3763 PyObject
* obj0
= 0 ;
3765 (char *) "self", NULL
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3770 if (SWIG_arg_fail(1)) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3779 resultobj
= SWIG_From_int((int)(result
));
3787 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxSize
*arg1
= (wxSize
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3793 (char *) "self", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_From_int((int)(result
));
3815 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxSize
*arg1
= (wxSize
*) 0 ;
3819 PyObject
* obj0
= 0 ;
3821 (char *) "self", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3826 if (SWIG_arg_fail(1)) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3843 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxSize
*arg1
= (wxSize
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3851 (char *) "self",(char *) "size", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3856 if (SWIG_arg_fail(1)) SWIG_fail
;
3859 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 Py_INCREF(Py_None
); resultobj
= Py_None
;
3875 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
*resultobj
;
3877 wxSize
*arg1
= (wxSize
*) 0 ;
3879 PyObject
* obj0
= 0 ;
3881 (char *) "self", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3886 if (SWIG_arg_fail(1)) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 result
= (PyObject
*)wxSize_Get(arg1
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3901 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3904 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3906 return Py_BuildValue((char *)"");
3908 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3913 PyObject
* obj1
= 0 ;
3915 (char *) "self",(char *) "x", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3920 if (SWIG_arg_fail(1)) SWIG_fail
;
3922 arg2
= (double)(SWIG_As_double(obj1
));
3923 if (SWIG_arg_fail(2)) SWIG_fail
;
3925 if (arg1
) (arg1
)->x
= arg2
;
3927 Py_INCREF(Py_None
); resultobj
= Py_None
;
3934 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3938 PyObject
* obj0
= 0 ;
3940 (char *) "self", NULL
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3945 if (SWIG_arg_fail(1)) SWIG_fail
;
3946 result
= (double) ((arg1
)->x
);
3949 resultobj
= SWIG_From_double((double)(result
));
3957 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3964 (char *) "self",(char *) "y", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3969 if (SWIG_arg_fail(1)) SWIG_fail
;
3971 arg2
= (double)(SWIG_As_double(obj1
));
3972 if (SWIG_arg_fail(2)) SWIG_fail
;
3974 if (arg1
) (arg1
)->y
= arg2
;
3976 Py_INCREF(Py_None
); resultobj
= Py_None
;
3983 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
;
3985 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3987 PyObject
* obj0
= 0 ;
3989 (char *) "self", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
3993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3994 if (SWIG_arg_fail(1)) SWIG_fail
;
3995 result
= (double) ((arg1
)->y
);
3998 resultobj
= SWIG_From_double((double)(result
));
4006 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4007 PyObject
*resultobj
;
4008 double arg1
= (double) 0.0 ;
4009 double arg2
= (double) 0.0 ;
4010 wxRealPoint
*result
;
4011 PyObject
* obj0
= 0 ;
4012 PyObject
* obj1
= 0 ;
4014 (char *) "x",(char *) "y", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4020 arg1
= (double)(SWIG_As_double(obj0
));
4021 if (SWIG_arg_fail(1)) SWIG_fail
;
4026 arg2
= (double)(SWIG_As_double(obj1
));
4027 if (SWIG_arg_fail(2)) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4044 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
;
4046 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4047 PyObject
* obj0
= 0 ;
4049 (char *) "self", NULL
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4054 if (SWIG_arg_fail(1)) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4062 Py_INCREF(Py_None
); resultobj
= Py_None
;
4069 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
*resultobj
;
4071 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4072 wxRealPoint
*arg2
= 0 ;
4075 PyObject
* obj0
= 0 ;
4076 PyObject
* obj1
= 0 ;
4078 (char *) "self",(char *) "pt", NULL
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4083 if (SWIG_arg_fail(1)) SWIG_fail
;
4086 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4104 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4107 wxRealPoint
*arg2
= 0 ;
4110 PyObject
* obj0
= 0 ;
4111 PyObject
* obj1
= 0 ;
4113 (char *) "self",(char *) "pt", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4118 if (SWIG_arg_fail(1)) SWIG_fail
;
4121 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4139 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4142 wxRealPoint
*arg2
= 0 ;
4145 PyObject
* obj0
= 0 ;
4146 PyObject
* obj1
= 0 ;
4148 (char *) "self",(char *) "pt", NULL
4151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4153 if (SWIG_arg_fail(1)) SWIG_fail
;
4156 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4166 wxRealPoint
* resultptr
;
4167 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4176 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4179 wxRealPoint
*arg2
= 0 ;
4182 PyObject
* obj0
= 0 ;
4183 PyObject
* obj1
= 0 ;
4185 (char *) "self",(char *) "pt", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4190 if (SWIG_arg_fail(1)) SWIG_fail
;
4193 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4203 wxRealPoint
* resultptr
;
4204 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4213 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4218 PyObject
* obj0
= 0 ;
4219 PyObject
* obj1
= 0 ;
4220 PyObject
* obj2
= 0 ;
4222 (char *) "self",(char *) "x",(char *) "y", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4227 if (SWIG_arg_fail(1)) SWIG_fail
;
4229 arg2
= (double)(SWIG_As_double(obj1
));
4230 if (SWIG_arg_fail(2)) SWIG_fail
;
4233 arg3
= (double)(SWIG_As_double(obj2
));
4234 if (SWIG_arg_fail(3)) SWIG_fail
;
4237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4238 wxRealPoint_Set(arg1
,arg2
,arg3
);
4240 wxPyEndAllowThreads(__tstate
);
4241 if (PyErr_Occurred()) SWIG_fail
;
4243 Py_INCREF(Py_None
); resultobj
= Py_None
;
4250 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
;
4252 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4254 PyObject
* obj0
= 0 ;
4256 (char *) "self", NULL
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4261 if (SWIG_arg_fail(1)) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4276 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4279 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4281 return Py_BuildValue((char *)"");
4283 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4284 PyObject
*resultobj
;
4285 wxPoint
*arg1
= (wxPoint
*) 0 ;
4287 PyObject
* obj0
= 0 ;
4288 PyObject
* obj1
= 0 ;
4290 (char *) "self",(char *) "x", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4295 if (SWIG_arg_fail(1)) SWIG_fail
;
4297 arg2
= (int)(SWIG_As_int(obj1
));
4298 if (SWIG_arg_fail(2)) SWIG_fail
;
4300 if (arg1
) (arg1
)->x
= arg2
;
4302 Py_INCREF(Py_None
); resultobj
= Py_None
;
4309 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxPoint
*arg1
= (wxPoint
*) 0 ;
4313 PyObject
* obj0
= 0 ;
4315 (char *) "self", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4320 if (SWIG_arg_fail(1)) SWIG_fail
;
4321 result
= (int) ((arg1
)->x
);
4324 resultobj
= SWIG_From_int((int)(result
));
4332 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4333 PyObject
*resultobj
;
4334 wxPoint
*arg1
= (wxPoint
*) 0 ;
4336 PyObject
* obj0
= 0 ;
4337 PyObject
* obj1
= 0 ;
4339 (char *) "self",(char *) "y", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4344 if (SWIG_arg_fail(1)) SWIG_fail
;
4346 arg2
= (int)(SWIG_As_int(obj1
));
4347 if (SWIG_arg_fail(2)) SWIG_fail
;
4349 if (arg1
) (arg1
)->y
= arg2
;
4351 Py_INCREF(Py_None
); resultobj
= Py_None
;
4358 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxPoint
*arg1
= (wxPoint
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4364 (char *) "self", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4369 if (SWIG_arg_fail(1)) SWIG_fail
;
4370 result
= (int) ((arg1
)->y
);
4373 resultobj
= SWIG_From_int((int)(result
));
4381 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 int arg1
= (int) 0 ;
4384 int arg2
= (int) 0 ;
4386 PyObject
* obj0
= 0 ;
4387 PyObject
* obj1
= 0 ;
4389 (char *) "x",(char *) "y", NULL
4392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4395 arg1
= (int)(SWIG_As_int(obj0
));
4396 if (SWIG_arg_fail(1)) SWIG_fail
;
4401 arg2
= (int)(SWIG_As_int(obj1
));
4402 if (SWIG_arg_fail(2)) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4419 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxPoint
*arg1
= (wxPoint
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4424 (char *) "self", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4429 if (SWIG_arg_fail(1)) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 Py_INCREF(Py_None
); resultobj
= Py_None
;
4444 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxPoint
*arg1
= (wxPoint
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4453 (char *) "self",(char *) "pt", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4458 if (SWIG_arg_fail(1)) SWIG_fail
;
4461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4479 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxPoint
*arg1
= (wxPoint
*) 0 ;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4488 (char *) "self",(char *) "pt", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4493 if (SWIG_arg_fail(1)) SWIG_fail
;
4496 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4514 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 wxPoint
*arg1
= (wxPoint
*) 0 ;
4520 PyObject
* obj0
= 0 ;
4521 PyObject
* obj1
= 0 ;
4523 (char *) "self",(char *) "pt", NULL
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail
;
4531 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4537 wxPyEndAllowThreads(__tstate
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4541 wxPoint
* resultptr
;
4542 resultptr
= new wxPoint((wxPoint
&)(result
));
4543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4551 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxPoint
*arg1
= (wxPoint
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4560 (char *) "self",(char *) "pt", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4565 if (SWIG_arg_fail(1)) SWIG_fail
;
4568 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 wxPoint
* resultptr
;
4579 resultptr
= new wxPoint((wxPoint
&)(result
));
4580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4588 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4589 PyObject
*resultobj
;
4590 wxPoint
*arg1
= (wxPoint
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4595 PyObject
* obj1
= 0 ;
4597 (char *) "self",(char *) "pt", NULL
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4602 if (SWIG_arg_fail(1)) SWIG_fail
;
4605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4611 result
= (wxPoint
*) &_result_ref
;
4614 wxPyEndAllowThreads(__tstate
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4624 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxPoint
*arg1
= (wxPoint
*) 0 ;
4630 PyObject
* obj0
= 0 ;
4631 PyObject
* obj1
= 0 ;
4633 (char *) "self",(char *) "pt", NULL
4636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4638 if (SWIG_arg_fail(1)) SWIG_fail
;
4641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4647 result
= (wxPoint
*) &_result_ref
;
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4660 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxPoint
*arg1
= (wxPoint
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4667 PyObject
* obj2
= 0 ;
4669 (char *) "self",(char *) "x",(char *) "y", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4674 if (SWIG_arg_fail(1)) SWIG_fail
;
4676 arg2
= (long)(SWIG_As_long(obj1
));
4677 if (SWIG_arg_fail(2)) SWIG_fail
;
4680 arg3
= (long)(SWIG_As_long(obj2
));
4681 if (SWIG_arg_fail(3)) SWIG_fail
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 wxPoint_Set(arg1
,arg2
,arg3
);
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 Py_INCREF(Py_None
); resultobj
= Py_None
;
4697 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxPoint
*arg1
= (wxPoint
*) 0 ;
4701 PyObject
* obj0
= 0 ;
4703 (char *) "self", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4708 if (SWIG_arg_fail(1)) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (PyObject
*)wxPoint_Get(arg1
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4723 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4726 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4728 return Py_BuildValue((char *)"");
4730 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 int arg1
= (int) 0 ;
4733 int arg2
= (int) 0 ;
4734 int arg3
= (int) 0 ;
4735 int arg4
= (int) 0 ;
4737 PyObject
* obj0
= 0 ;
4738 PyObject
* obj1
= 0 ;
4739 PyObject
* obj2
= 0 ;
4740 PyObject
* obj3
= 0 ;
4742 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4748 arg1
= (int)(SWIG_As_int(obj0
));
4749 if (SWIG_arg_fail(1)) SWIG_fail
;
4754 arg2
= (int)(SWIG_As_int(obj1
));
4755 if (SWIG_arg_fail(2)) SWIG_fail
;
4760 arg3
= (int)(SWIG_As_int(obj2
));
4761 if (SWIG_arg_fail(3)) SWIG_fail
;
4766 arg4
= (int)(SWIG_As_int(obj3
));
4767 if (SWIG_arg_fail(4)) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4784 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4791 PyObject
* obj0
= 0 ;
4792 PyObject
* obj1
= 0 ;
4794 (char *) "topLeft",(char *) "bottomRight", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4800 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4804 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4820 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4830 (char *) "pos",(char *) "size", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4836 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4840 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4844 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4846 wxPyEndAllowThreads(__tstate
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4856 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
*resultobj
;
4861 PyObject
* obj0
= 0 ;
4863 (char *) "size", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4869 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4885 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxRect
*arg1
= (wxRect
*) 0 ;
4888 PyObject
* obj0
= 0 ;
4890 (char *) "self", NULL
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4895 if (SWIG_arg_fail(1)) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 Py_INCREF(Py_None
); resultobj
= Py_None
;
4910 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxRect
*arg1
= (wxRect
*) 0 ;
4914 PyObject
* obj0
= 0 ;
4916 (char *) "self", NULL
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4921 if (SWIG_arg_fail(1)) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 result
= (int)((wxRect
const *)arg1
)->GetX();
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= SWIG_From_int((int)(result
));
4938 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxRect
*arg1
= (wxRect
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4943 PyObject
* obj1
= 0 ;
4945 (char *) "self",(char *) "x", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4950 if (SWIG_arg_fail(1)) SWIG_fail
;
4952 arg2
= (int)(SWIG_As_int(obj1
));
4953 if (SWIG_arg_fail(2)) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 Py_INCREF(Py_None
); resultobj
= Py_None
;
4969 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxRect
*arg1
= (wxRect
*) 0 ;
4973 PyObject
* obj0
= 0 ;
4975 (char *) "self", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
4979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4980 if (SWIG_arg_fail(1)) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (int)(arg1
)->GetY();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= SWIG_From_int((int)(result
));
4997 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxRect
*arg1
= (wxRect
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5002 PyObject
* obj1
= 0 ;
5004 (char *) "self",(char *) "y", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5009 if (SWIG_arg_fail(1)) SWIG_fail
;
5011 arg2
= (int)(SWIG_As_int(obj1
));
5012 if (SWIG_arg_fail(2)) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 Py_INCREF(Py_None
); resultobj
= Py_None
;
5028 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxRect
*arg1
= (wxRect
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5034 (char *) "self", NULL
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5039 if (SWIG_arg_fail(1)) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5044 wxPyEndAllowThreads(__tstate
);
5045 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_From_int((int)(result
));
5056 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxRect
*arg1
= (wxRect
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5061 PyObject
* obj1
= 0 ;
5063 (char *) "self",(char *) "w", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5068 if (SWIG_arg_fail(1)) SWIG_fail
;
5070 arg2
= (int)(SWIG_As_int(obj1
));
5071 if (SWIG_arg_fail(2)) SWIG_fail
;
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 (arg1
)->SetWidth(arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 Py_INCREF(Py_None
); resultobj
= Py_None
;
5087 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxRect
*arg1
= (wxRect
*) 0 ;
5091 PyObject
* obj0
= 0 ;
5093 (char *) "self", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5098 if (SWIG_arg_fail(1)) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_From_int((int)(result
));
5115 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxRect
*arg1
= (wxRect
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5122 (char *) "self",(char *) "h", NULL
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5127 if (SWIG_arg_fail(1)) SWIG_fail
;
5129 arg2
= (int)(SWIG_As_int(obj1
));
5130 if (SWIG_arg_fail(2)) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 (arg1
)->SetHeight(arg2
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 Py_INCREF(Py_None
); resultobj
= Py_None
;
5146 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
;
5148 wxRect
*arg1
= (wxRect
*) 0 ;
5150 PyObject
* obj0
= 0 ;
5152 (char *) "self", NULL
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5157 if (SWIG_arg_fail(1)) SWIG_fail
;
5159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5160 result
= ((wxRect
const *)arg1
)->GetPosition();
5162 wxPyEndAllowThreads(__tstate
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5166 wxPoint
* resultptr
;
5167 resultptr
= new wxPoint((wxPoint
&)(result
));
5168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5176 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxRect
*arg1
= (wxRect
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5184 (char *) "self",(char *) "p", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5189 if (SWIG_arg_fail(1)) SWIG_fail
;
5192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 Py_INCREF(Py_None
); resultobj
= Py_None
;
5208 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
*resultobj
;
5210 wxRect
*arg1
= (wxRect
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5214 (char *) "self", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5219 if (SWIG_arg_fail(1)) SWIG_fail
;
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 result
= ((wxRect
const *)arg1
)->GetSize();
5224 wxPyEndAllowThreads(__tstate
);
5225 if (PyErr_Occurred()) SWIG_fail
;
5229 resultptr
= new wxSize((wxSize
&)(result
));
5230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5238 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxRect
*arg1
= (wxRect
*) 0 ;
5243 PyObject
* obj0
= 0 ;
5244 PyObject
* obj1
= 0 ;
5246 (char *) "self",(char *) "s", NULL
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5251 if (SWIG_arg_fail(1)) SWIG_fail
;
5254 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 (arg1
)->SetSize((wxSize
const &)*arg2
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 Py_INCREF(Py_None
); resultobj
= Py_None
;
5270 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxRect
*arg1
= (wxRect
*) 0 ;
5274 PyObject
* obj0
= 0 ;
5276 (char *) "self", NULL
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5281 if (SWIG_arg_fail(1)) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 wxPoint
* resultptr
;
5291 resultptr
= new wxPoint((wxPoint
&)(result
));
5292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5300 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
*resultobj
;
5302 wxRect
*arg1
= (wxRect
*) 0 ;
5305 PyObject
* obj0
= 0 ;
5306 PyObject
* obj1
= 0 ;
5308 (char *) "self",(char *) "p", NULL
5311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5313 if (SWIG_arg_fail(1)) SWIG_fail
;
5316 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5325 Py_INCREF(Py_None
); resultobj
= Py_None
;
5332 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
*resultobj
;
5334 wxRect
*arg1
= (wxRect
*) 0 ;
5336 PyObject
* obj0
= 0 ;
5338 (char *) "self", NULL
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5343 if (SWIG_arg_fail(1)) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5352 wxPoint
* resultptr
;
5353 resultptr
= new wxPoint((wxPoint
&)(result
));
5354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5362 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxRect
*arg1
= (wxRect
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "p", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5375 if (SWIG_arg_fail(1)) SWIG_fail
;
5378 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 Py_INCREF(Py_None
); resultobj
= Py_None
;
5394 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxRect
*arg1
= (wxRect
*) 0 ;
5398 PyObject
* obj0
= 0 ;
5400 (char *) "self", NULL
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5405 if (SWIG_arg_fail(1)) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= SWIG_From_int((int)(result
));
5422 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
;
5424 wxRect
*arg1
= (wxRect
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5428 (char *) "self", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5433 if (SWIG_arg_fail(1)) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (int)((wxRect
const *)arg1
)->GetTop();
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5442 resultobj
= SWIG_From_int((int)(result
));
5450 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxRect
*arg1
= (wxRect
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5456 (char *) "self", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5461 if (SWIG_arg_fail(1)) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_From_int((int)(result
));
5478 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxRect
*arg1
= (wxRect
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5484 (char *) "self", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5489 if (SWIG_arg_fail(1)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (int)((wxRect
const *)arg1
)->GetRight();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_From_int((int)(result
));
5506 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxRect
*arg1
= (wxRect
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5511 PyObject
* obj1
= 0 ;
5513 (char *) "self",(char *) "left", NULL
5516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5518 if (SWIG_arg_fail(1)) SWIG_fail
;
5520 arg2
= (int)(SWIG_As_int(obj1
));
5521 if (SWIG_arg_fail(2)) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 (arg1
)->SetLeft(arg2
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5530 Py_INCREF(Py_None
); resultobj
= Py_None
;
5537 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
*resultobj
;
5539 wxRect
*arg1
= (wxRect
*) 0 ;
5541 PyObject
* obj0
= 0 ;
5542 PyObject
* obj1
= 0 ;
5544 (char *) "self",(char *) "right", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5549 if (SWIG_arg_fail(1)) SWIG_fail
;
5551 arg2
= (int)(SWIG_As_int(obj1
));
5552 if (SWIG_arg_fail(2)) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 (arg1
)->SetRight(arg2
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 Py_INCREF(Py_None
); resultobj
= Py_None
;
5568 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxRect
*arg1
= (wxRect
*) 0 ;
5572 PyObject
* obj0
= 0 ;
5573 PyObject
* obj1
= 0 ;
5575 (char *) "self",(char *) "top", NULL
5578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5580 if (SWIG_arg_fail(1)) SWIG_fail
;
5582 arg2
= (int)(SWIG_As_int(obj1
));
5583 if (SWIG_arg_fail(2)) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 (arg1
)->SetTop(arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 Py_INCREF(Py_None
); resultobj
= Py_None
;
5599 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxRect
*arg1
= (wxRect
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5604 PyObject
* obj1
= 0 ;
5606 (char *) "self",(char *) "bottom", NULL
5609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail
;
5613 arg2
= (int)(SWIG_As_int(obj1
));
5614 if (SWIG_arg_fail(2)) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 (arg1
)->SetBottom(arg2
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 Py_INCREF(Py_None
); resultobj
= Py_None
;
5630 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxRect
*arg1
= (wxRect
*) 0 ;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5638 PyObject
* obj2
= 0 ;
5640 (char *) "self",(char *) "dx",(char *) "dy", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5645 if (SWIG_arg_fail(1)) SWIG_fail
;
5647 arg2
= (int)(SWIG_As_int(obj1
));
5648 if (SWIG_arg_fail(2)) SWIG_fail
;
5651 arg3
= (int)(SWIG_As_int(obj2
));
5652 if (SWIG_arg_fail(3)) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5658 result
= (wxRect
*) &_result_ref
;
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5671 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxRect
*arg1
= (wxRect
*) 0 ;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5679 PyObject
* obj2
= 0 ;
5681 (char *) "self",(char *) "dx",(char *) "dy", NULL
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5686 if (SWIG_arg_fail(1)) SWIG_fail
;
5688 arg2
= (int)(SWIG_As_int(obj1
));
5689 if (SWIG_arg_fail(2)) SWIG_fail
;
5692 arg3
= (int)(SWIG_As_int(obj2
));
5693 if (SWIG_arg_fail(3)) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5698 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5699 result
= (wxRect
*) &_result_ref
;
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5712 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxRect
*arg1
= (wxRect
*) 0 ;
5717 PyObject
* obj0
= 0 ;
5718 PyObject
* obj1
= 0 ;
5719 PyObject
* obj2
= 0 ;
5721 (char *) "self",(char *) "dx",(char *) "dy", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5726 if (SWIG_arg_fail(1)) SWIG_fail
;
5728 arg2
= (int)(SWIG_As_int(obj1
));
5729 if (SWIG_arg_fail(2)) SWIG_fail
;
5732 arg3
= (int)(SWIG_As_int(obj2
));
5733 if (SWIG_arg_fail(3)) SWIG_fail
;
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 (arg1
)->Offset(arg2
,arg3
);
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 Py_INCREF(Py_None
); resultobj
= Py_None
;
5749 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxRect
*arg1
= (wxRect
*) 0 ;
5754 PyObject
* obj0
= 0 ;
5755 PyObject
* obj1
= 0 ;
5757 (char *) "self",(char *) "pt", NULL
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5762 if (SWIG_arg_fail(1)) SWIG_fail
;
5765 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5769 (arg1
)->Offset((wxPoint
const &)*arg2
);
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 Py_INCREF(Py_None
); resultobj
= Py_None
;
5781 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxRect
*arg1
= (wxRect
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5790 (char *) "self",(char *) "rect", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5795 if (SWIG_arg_fail(1)) SWIG_fail
;
5798 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5809 resultptr
= new wxRect((wxRect
&)(result
));
5810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5818 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxRect
*arg1
= (wxRect
*) 0 ;
5824 PyObject
* obj0
= 0 ;
5825 PyObject
* obj1
= 0 ;
5827 (char *) "self",(char *) "rect", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5832 if (SWIG_arg_fail(1)) SWIG_fail
;
5835 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5841 wxPyEndAllowThreads(__tstate
);
5842 if (PyErr_Occurred()) SWIG_fail
;
5846 resultptr
= new wxRect((wxRect
&)(result
));
5847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5855 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxRect
*arg1
= (wxRect
*) 0 ;
5861 PyObject
* obj0
= 0 ;
5862 PyObject
* obj1
= 0 ;
5864 (char *) "self",(char *) "rect", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5869 if (SWIG_arg_fail(1)) SWIG_fail
;
5872 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5883 resultptr
= new wxRect((wxRect
&)(result
));
5884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5892 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxRect
*arg1
= (wxRect
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5901 (char *) "self",(char *) "rect", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5906 if (SWIG_arg_fail(1)) SWIG_fail
;
5909 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5914 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5915 result
= (wxRect
*) &_result_ref
;
5918 wxPyEndAllowThreads(__tstate
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5928 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
;
5930 wxRect
*arg1
= (wxRect
*) 0 ;
5934 PyObject
* obj0
= 0 ;
5935 PyObject
* obj1
= 0 ;
5937 (char *) "self",(char *) "rect", NULL
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5942 if (SWIG_arg_fail(1)) SWIG_fail
;
5945 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5963 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxRect
*arg1
= (wxRect
*) 0 ;
5969 PyObject
* obj0
= 0 ;
5970 PyObject
* obj1
= 0 ;
5972 (char *) "self",(char *) "rect", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5977 if (SWIG_arg_fail(1)) SWIG_fail
;
5980 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5998 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5999 PyObject
*resultobj
;
6000 wxRect
*arg1
= (wxRect
*) 0 ;
6004 PyObject
* obj0
= 0 ;
6005 PyObject
* obj1
= 0 ;
6006 PyObject
* obj2
= 0 ;
6008 (char *) "self",(char *) "x",(char *) "y", NULL
6011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6013 if (SWIG_arg_fail(1)) SWIG_fail
;
6015 arg2
= (int)(SWIG_As_int(obj1
));
6016 if (SWIG_arg_fail(2)) SWIG_fail
;
6019 arg3
= (int)(SWIG_As_int(obj2
));
6020 if (SWIG_arg_fail(3)) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6038 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxRect
*arg1
= (wxRect
*) 0 ;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6047 (char *) "self",(char *) "pt", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6052 if (SWIG_arg_fail(1)) SWIG_fail
;
6055 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6073 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxRect
*arg1
= (wxRect
*) 0 ;
6079 PyObject
* obj0
= 0 ;
6080 PyObject
* obj1
= 0 ;
6082 (char *) "self",(char *) "rect", NULL
6085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6087 if (SWIG_arg_fail(1)) SWIG_fail
;
6090 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6108 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
*resultobj
;
6110 wxRect
*arg1
= (wxRect
*) 0 ;
6112 PyObject
* obj0
= 0 ;
6113 PyObject
* obj1
= 0 ;
6115 (char *) "self",(char *) "x", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6120 if (SWIG_arg_fail(1)) SWIG_fail
;
6122 arg2
= (int)(SWIG_As_int(obj1
));
6123 if (SWIG_arg_fail(2)) SWIG_fail
;
6125 if (arg1
) (arg1
)->x
= arg2
;
6127 Py_INCREF(Py_None
); resultobj
= Py_None
;
6134 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxRect
*arg1
= (wxRect
*) 0 ;
6138 PyObject
* obj0
= 0 ;
6140 (char *) "self", NULL
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail
;
6146 result
= (int) ((arg1
)->x
);
6149 resultobj
= SWIG_From_int((int)(result
));
6157 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxRect
*arg1
= (wxRect
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6164 (char *) "self",(char *) "y", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6169 if (SWIG_arg_fail(1)) SWIG_fail
;
6171 arg2
= (int)(SWIG_As_int(obj1
));
6172 if (SWIG_arg_fail(2)) SWIG_fail
;
6174 if (arg1
) (arg1
)->y
= arg2
;
6176 Py_INCREF(Py_None
); resultobj
= Py_None
;
6183 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6184 PyObject
*resultobj
;
6185 wxRect
*arg1
= (wxRect
*) 0 ;
6187 PyObject
* obj0
= 0 ;
6189 (char *) "self", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6194 if (SWIG_arg_fail(1)) SWIG_fail
;
6195 result
= (int) ((arg1
)->y
);
6198 resultobj
= SWIG_From_int((int)(result
));
6206 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxRect
*arg1
= (wxRect
*) 0 ;
6210 PyObject
* obj0
= 0 ;
6211 PyObject
* obj1
= 0 ;
6213 (char *) "self",(char *) "width", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6218 if (SWIG_arg_fail(1)) SWIG_fail
;
6220 arg2
= (int)(SWIG_As_int(obj1
));
6221 if (SWIG_arg_fail(2)) SWIG_fail
;
6223 if (arg1
) (arg1
)->width
= arg2
;
6225 Py_INCREF(Py_None
); resultobj
= Py_None
;
6232 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxRect
*arg1
= (wxRect
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6238 (char *) "self", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6243 if (SWIG_arg_fail(1)) SWIG_fail
;
6244 result
= (int) ((arg1
)->width
);
6247 resultobj
= SWIG_From_int((int)(result
));
6255 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxRect
*arg1
= (wxRect
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6262 (char *) "self",(char *) "height", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6267 if (SWIG_arg_fail(1)) SWIG_fail
;
6269 arg2
= (int)(SWIG_As_int(obj1
));
6270 if (SWIG_arg_fail(2)) SWIG_fail
;
6272 if (arg1
) (arg1
)->height
= arg2
;
6274 Py_INCREF(Py_None
); resultobj
= Py_None
;
6281 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxRect
*arg1
= (wxRect
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "self", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6292 if (SWIG_arg_fail(1)) SWIG_fail
;
6293 result
= (int) ((arg1
)->height
);
6296 resultobj
= SWIG_From_int((int)(result
));
6304 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
*resultobj
;
6306 wxRect
*arg1
= (wxRect
*) 0 ;
6307 int arg2
= (int) 0 ;
6308 int arg3
= (int) 0 ;
6309 int arg4
= (int) 0 ;
6310 int arg5
= (int) 0 ;
6311 PyObject
* obj0
= 0 ;
6312 PyObject
* obj1
= 0 ;
6313 PyObject
* obj2
= 0 ;
6314 PyObject
* obj3
= 0 ;
6315 PyObject
* obj4
= 0 ;
6317 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6322 if (SWIG_arg_fail(1)) SWIG_fail
;
6325 arg2
= (int)(SWIG_As_int(obj1
));
6326 if (SWIG_arg_fail(2)) SWIG_fail
;
6331 arg3
= (int)(SWIG_As_int(obj2
));
6332 if (SWIG_arg_fail(3)) SWIG_fail
;
6337 arg4
= (int)(SWIG_As_int(obj3
));
6338 if (SWIG_arg_fail(4)) SWIG_fail
;
6343 arg5
= (int)(SWIG_As_int(obj4
));
6344 if (SWIG_arg_fail(5)) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 Py_INCREF(Py_None
); resultobj
= Py_None
;
6361 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxRect
*arg1
= (wxRect
*) 0 ;
6365 PyObject
* obj0
= 0 ;
6367 (char *) "self", NULL
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6372 if (SWIG_arg_fail(1)) SWIG_fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (PyObject
*)wxRect_Get(arg1
);
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6387 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6390 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6392 return Py_BuildValue((char *)"");
6394 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6396 wxRect
*arg1
= (wxRect
*) 0 ;
6397 wxRect
*arg2
= (wxRect
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6400 PyObject
* obj1
= 0 ;
6402 (char *) "r1",(char *) "r2", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6407 if (SWIG_arg_fail(1)) SWIG_fail
;
6408 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6409 if (SWIG_arg_fail(2)) SWIG_fail
;
6411 if (!wxPyCheckForApp()) SWIG_fail
;
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6425 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6426 PyObject
*resultobj
;
6427 double arg1
= (double) 0.0 ;
6428 double arg2
= (double) 0.0 ;
6430 PyObject
* obj0
= 0 ;
6431 PyObject
* obj1
= 0 ;
6433 (char *) "x",(char *) "y", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6439 arg1
= (double)(SWIG_As_double(obj0
));
6440 if (SWIG_arg_fail(1)) SWIG_fail
;
6445 arg2
= (double)(SWIG_As_double(obj1
));
6446 if (SWIG_arg_fail(2)) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6463 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxPoint2D
*arg1
= 0 ;
6468 PyObject
* obj0
= 0 ;
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6476 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6492 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6497 PyObject
* obj0
= 0 ;
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6505 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6521 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6524 int *arg2
= (int *) 0 ;
6525 int *arg3
= (int *) 0 ;
6530 PyObject
* obj0
= 0 ;
6532 (char *) "self", NULL
6535 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6536 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6539 if (SWIG_arg_fail(1)) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 Py_INCREF(Py_None
); resultobj
= Py_None
;
6548 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6549 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6550 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6551 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6558 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6561 int *arg2
= (int *) 0 ;
6562 int *arg3
= (int *) 0 ;
6567 PyObject
* obj0
= 0 ;
6569 (char *) "self", NULL
6572 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6573 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6576 if (SWIG_arg_fail(1)) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6585 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6586 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6587 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6588 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6595 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6599 PyObject
* obj0
= 0 ;
6601 (char *) "self", NULL
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6606 if (SWIG_arg_fail(1)) SWIG_fail
;
6608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6609 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6615 resultobj
= SWIG_From_double((double)(result
));
6623 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6627 PyObject
* obj0
= 0 ;
6629 (char *) "self", NULL
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6634 if (SWIG_arg_fail(1)) SWIG_fail
;
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_From_double((double)(result
));
6651 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6656 PyObject
* obj1
= 0 ;
6658 (char *) "self",(char *) "length", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6663 if (SWIG_arg_fail(1)) SWIG_fail
;
6665 arg2
= (double)(SWIG_As_double(obj1
));
6666 if (SWIG_arg_fail(2)) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 (arg1
)->SetVectorLength(arg2
);
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 Py_INCREF(Py_None
); resultobj
= Py_None
;
6682 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6687 PyObject
* obj1
= 0 ;
6689 (char *) "self",(char *) "degrees", NULL
6692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6694 if (SWIG_arg_fail(1)) SWIG_fail
;
6696 arg2
= (double)(SWIG_As_double(obj1
));
6697 if (SWIG_arg_fail(2)) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 (arg1
)->SetVectorAngle(arg2
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 Py_INCREF(Py_None
); resultobj
= Py_None
;
6713 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6716 wxPoint2D
*arg2
= 0 ;
6719 PyObject
* obj0
= 0 ;
6720 PyObject
* obj1
= 0 ;
6722 (char *) "self",(char *) "pt", NULL
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6727 if (SWIG_arg_fail(1)) SWIG_fail
;
6730 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_From_double((double)(result
));
6748 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6751 wxPoint2D
*arg2
= 0 ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6757 (char *) "self",(char *) "pt", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6762 if (SWIG_arg_fail(1)) SWIG_fail
;
6765 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6775 resultobj
= SWIG_From_double((double)(result
));
6783 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6786 wxPoint2D
*arg2
= 0 ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6792 (char *) "self",(char *) "vec", NULL
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6797 if (SWIG_arg_fail(1)) SWIG_fail
;
6800 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6810 resultobj
= SWIG_From_double((double)(result
));
6818 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6821 wxPoint2D
*arg2
= 0 ;
6824 PyObject
* obj0
= 0 ;
6825 PyObject
* obj1
= 0 ;
6827 (char *) "self",(char *) "vec", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6832 if (SWIG_arg_fail(1)) SWIG_fail
;
6835 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_From_double((double)(result
));
6853 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6854 PyObject
*resultobj
;
6855 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "self", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6864 if (SWIG_arg_fail(1)) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 result
= (arg1
)->operator -();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6873 wxPoint2D
* resultptr
;
6874 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6883 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6886 wxPoint2D
*arg2
= 0 ;
6889 PyObject
* obj0
= 0 ;
6890 PyObject
* obj1
= 0 ;
6892 (char *) "self",(char *) "pt", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6897 if (SWIG_arg_fail(1)) SWIG_fail
;
6900 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6906 result
= (wxPoint2D
*) &_result_ref
;
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6919 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6922 wxPoint2D
*arg2
= 0 ;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6928 (char *) "self",(char *) "pt", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6933 if (SWIG_arg_fail(1)) SWIG_fail
;
6936 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6942 result
= (wxPoint2D
*) &_result_ref
;
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6955 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6958 wxPoint2D
*arg2
= 0 ;
6961 PyObject
* obj0
= 0 ;
6962 PyObject
* obj1
= 0 ;
6964 (char *) "self",(char *) "pt", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6969 if (SWIG_arg_fail(1)) SWIG_fail
;
6972 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
6978 result
= (wxPoint2D
*) &_result_ref
;
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6991 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6994 wxPoint2D
*arg2
= 0 ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
7000 (char *) "self",(char *) "pt", NULL
7003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7005 if (SWIG_arg_fail(1)) SWIG_fail
;
7008 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7014 result
= (wxPoint2D
*) &_result_ref
;
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7027 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7030 wxPoint2D
*arg2
= 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7036 (char *) "self",(char *) "pt", NULL
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7041 if (SWIG_arg_fail(1)) SWIG_fail
;
7044 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7062 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7065 wxPoint2D
*arg2
= 0 ;
7068 PyObject
* obj0
= 0 ;
7069 PyObject
* obj1
= 0 ;
7071 (char *) "self",(char *) "pt", NULL
7074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail
;
7079 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7097 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7098 PyObject
*resultobj
;
7099 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7101 PyObject
* obj0
= 0 ;
7102 PyObject
* obj1
= 0 ;
7104 (char *) "self",(char *) "m_x", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7109 if (SWIG_arg_fail(1)) SWIG_fail
;
7111 arg2
= (double)(SWIG_As_double(obj1
));
7112 if (SWIG_arg_fail(2)) SWIG_fail
;
7114 if (arg1
) (arg1
)->m_x
= arg2
;
7116 Py_INCREF(Py_None
); resultobj
= Py_None
;
7123 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7127 PyObject
* obj0
= 0 ;
7129 (char *) "self", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7134 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 result
= (double) ((arg1
)->m_x
);
7138 resultobj
= SWIG_From_double((double)(result
));
7146 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7153 (char *) "self",(char *) "m_y", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7158 if (SWIG_arg_fail(1)) SWIG_fail
;
7160 arg2
= (double)(SWIG_As_double(obj1
));
7161 if (SWIG_arg_fail(2)) SWIG_fail
;
7163 if (arg1
) (arg1
)->m_y
= arg2
;
7165 Py_INCREF(Py_None
); resultobj
= Py_None
;
7172 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7183 if (SWIG_arg_fail(1)) SWIG_fail
;
7184 result
= (double) ((arg1
)->m_y
);
7187 resultobj
= SWIG_From_double((double)(result
));
7195 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7198 double arg2
= (double) 0 ;
7199 double arg3
= (double) 0 ;
7200 PyObject
* obj0
= 0 ;
7201 PyObject
* obj1
= 0 ;
7202 PyObject
* obj2
= 0 ;
7204 (char *) "self",(char *) "x",(char *) "y", NULL
7207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7209 if (SWIG_arg_fail(1)) SWIG_fail
;
7212 arg2
= (double)(SWIG_As_double(obj1
));
7213 if (SWIG_arg_fail(2)) SWIG_fail
;
7218 arg3
= (double)(SWIG_As_double(obj2
));
7219 if (SWIG_arg_fail(3)) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 wxPoint2D_Set(arg1
,arg2
,arg3
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 Py_INCREF(Py_None
); resultobj
= Py_None
;
7236 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7240 PyObject
* obj0
= 0 ;
7242 (char *) "self", NULL
7245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7247 if (SWIG_arg_fail(1)) SWIG_fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7262 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7265 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7267 return Py_BuildValue((char *)"");
7269 static int _wrap_DefaultPosition_set(PyObject
*) {
7270 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7275 static PyObject
*_wrap_DefaultPosition_get(void) {
7278 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7283 static int _wrap_DefaultSize_set(PyObject
*) {
7284 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7289 static PyObject
*_wrap_DefaultSize_get(void) {
7292 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7297 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 PyObject
*arg1
= (PyObject
*) 0 ;
7300 wxPyInputStream
*result
;
7301 PyObject
* obj0
= 0 ;
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7322 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
;
7324 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7325 PyObject
* obj0
= 0 ;
7327 (char *) "self", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7332 if (SWIG_arg_fail(1)) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 Py_INCREF(Py_None
); resultobj
= Py_None
;
7347 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7352 (char *) "self", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7357 if (SWIG_arg_fail(1)) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 Py_INCREF(Py_None
); resultobj
= Py_None
;
7372 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7374 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7375 PyObject
* obj0
= 0 ;
7377 (char *) "self", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7382 if (SWIG_arg_fail(1)) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 Py_INCREF(Py_None
); resultobj
= Py_None
;
7397 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7401 PyObject
* obj0
= 0 ;
7403 (char *) "self", NULL
7406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7408 if (SWIG_arg_fail(1)) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (bool)(arg1
)->eof();
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7425 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7428 int arg2
= (int) -1 ;
7430 PyObject
* obj0
= 0 ;
7431 PyObject
* obj1
= 0 ;
7433 (char *) "self",(char *) "size", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7438 if (SWIG_arg_fail(1)) SWIG_fail
;
7441 arg2
= (int)(SWIG_As_int(obj1
));
7442 if (SWIG_arg_fail(2)) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 result
= (PyObject
*)(arg1
)->read(arg2
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7459 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7462 int arg2
= (int) -1 ;
7464 PyObject
* obj0
= 0 ;
7465 PyObject
* obj1
= 0 ;
7467 (char *) "self",(char *) "size", NULL
7470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7472 if (SWIG_arg_fail(1)) SWIG_fail
;
7475 arg2
= (int)(SWIG_As_int(obj1
));
7476 if (SWIG_arg_fail(2)) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (PyObject
*)(arg1
)->readline(arg2
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7493 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7496 int arg2
= (int) -1 ;
7498 PyObject
* obj0
= 0 ;
7499 PyObject
* obj1
= 0 ;
7501 (char *) "self",(char *) "sizehint", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7506 if (SWIG_arg_fail(1)) SWIG_fail
;
7509 arg2
= (int)(SWIG_As_int(obj1
));
7510 if (SWIG_arg_fail(2)) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7527 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7531 int arg3
= (int) 0 ;
7532 PyObject
* obj0
= 0 ;
7533 PyObject
* obj1
= 0 ;
7534 PyObject
* obj2
= 0 ;
7536 (char *) "self",(char *) "offset",(char *) "whence", NULL
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7541 if (SWIG_arg_fail(1)) SWIG_fail
;
7543 arg2
= (int)(SWIG_As_int(obj1
));
7544 if (SWIG_arg_fail(2)) SWIG_fail
;
7548 arg3
= (int)(SWIG_As_int(obj2
));
7549 if (SWIG_arg_fail(3)) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 (arg1
)->seek(arg2
,arg3
);
7556 wxPyEndAllowThreads(__tstate
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 Py_INCREF(Py_None
); resultobj
= Py_None
;
7566 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7570 PyObject
* obj0
= 0 ;
7572 (char *) "self", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7577 if (SWIG_arg_fail(1)) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 result
= (int)(arg1
)->tell();
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7586 resultobj
= SWIG_From_int((int)(result
));
7594 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7598 PyObject
* obj0
= 0 ;
7600 (char *) "self", NULL
7603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7605 if (SWIG_arg_fail(1)) SWIG_fail
;
7607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7608 result
= (char)(arg1
)->Peek();
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= SWIG_From_char((char)(result
));
7622 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7628 (char *) "self", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7633 if (SWIG_arg_fail(1)) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (char)(arg1
)->GetC();
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_From_char((char)(result
));
7650 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7661 if (SWIG_arg_fail(1)) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (size_t)(arg1
)->LastRead();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7678 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "self", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7689 if (SWIG_arg_fail(1)) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (bool)(arg1
)->CanRead();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7706 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7717 if (SWIG_arg_fail(1)) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (bool)(arg1
)->Eof();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7734 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7739 PyObject
* obj0
= 0 ;
7740 PyObject
* obj1
= 0 ;
7742 (char *) "self",(char *) "c", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7747 if (SWIG_arg_fail(1)) SWIG_fail
;
7749 arg2
= (char)(SWIG_As_char(obj1
));
7750 if (SWIG_arg_fail(2)) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 result
= (bool)(arg1
)->Ungetch(arg2
);
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7768 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7770 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7772 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7776 PyObject
* obj2
= 0 ;
7778 (char *) "self",(char *) "pos",(char *) "mode", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7783 if (SWIG_arg_fail(1)) SWIG_fail
;
7785 arg2
= (long)(SWIG_As_long(obj1
));
7786 if (SWIG_arg_fail(2)) SWIG_fail
;
7790 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7791 if (SWIG_arg_fail(3)) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7802 resultobj
= SWIG_From_long((long)(result
));
7810 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (long)(arg1
)->TellI();
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= SWIG_From_long((long)(result
));
7838 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7841 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7843 return Py_BuildValue((char *)"");
7845 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7848 PyObject
*arg2
= (PyObject
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7852 (char *) "self",(char *) "obj", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7857 if (SWIG_arg_fail(1)) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 wxOutputStream_write(arg1
,arg2
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 Py_INCREF(Py_None
); resultobj
= Py_None
;
7873 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7876 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7878 return Py_BuildValue((char *)"");
7880 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7883 wxString
*arg2
= 0 ;
7884 wxString
*arg3
= 0 ;
7885 wxString
*arg4
= 0 ;
7888 wxPyInputStream
*temp1
;
7890 bool temp2
= false ;
7891 bool temp3
= false ;
7892 bool temp4
= false ;
7893 PyObject
* obj0
= 0 ;
7894 PyObject
* obj1
= 0 ;
7895 PyObject
* obj2
= 0 ;
7896 PyObject
* obj3
= 0 ;
7897 PyObject
* obj4
= 0 ;
7899 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7904 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7905 arg1
= temp1
->m_wxis
;
7908 PyErr_Clear(); // clear the failure of the wxPyConvert above
7909 arg1
= wxPyCBInputStream_create(obj0
, false);
7911 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7918 arg2
= wxString_in_helper(obj1
);
7919 if (arg2
== NULL
) SWIG_fail
;
7923 arg3
= wxString_in_helper(obj2
);
7924 if (arg3
== NULL
) SWIG_fail
;
7928 arg4
= wxString_in_helper(obj3
);
7929 if (arg4
== NULL
) SWIG_fail
;
7934 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7935 if (SWIG_arg_fail(5)) SWIG_fail
;
7937 SWIG_null_ref("wxDateTime");
7939 if (SWIG_arg_fail(5)) SWIG_fail
;
7943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7944 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7946 wxPyEndAllowThreads(__tstate
);
7947 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= wxPyMake_wxObject(result
, 1);
7990 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7992 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
7993 PyObject
* obj0
= 0 ;
7995 (char *) "self", NULL
7998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
7999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8000 if (SWIG_arg_fail(1)) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8015 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8018 wxInputStream
*result
;
8019 PyObject
* obj0
= 0 ;
8021 (char *) "self", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8026 if (SWIG_arg_fail(1)) SWIG_fail
;
8028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8029 result
= (wxInputStream
*)(arg1
)->GetStream();
8031 wxPyEndAllowThreads(__tstate
);
8032 if (PyErr_Occurred()) SWIG_fail
;
8035 wxPyInputStream
* _ptr
= NULL
;
8038 _ptr
= new wxPyInputStream(result
);
8040 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8048 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8054 (char *) "self", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8059 if (SWIG_arg_fail(1)) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8064 result
= (wxString
*) &_result_ref
;
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8074 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8083 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8087 PyObject
* obj0
= 0 ;
8089 (char *) "self", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8094 if (SWIG_arg_fail(1)) SWIG_fail
;
8096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8098 wxString
const &_result_ref
= (arg1
)->GetLocation();
8099 result
= (wxString
*) &_result_ref
;
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8118 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8122 PyObject
* obj0
= 0 ;
8124 (char *) "self", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8129 if (SWIG_arg_fail(1)) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8134 result
= (wxString
*) &_result_ref
;
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8153 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
*resultobj
;
8155 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8157 PyObject
* obj0
= 0 ;
8159 (char *) "self", NULL
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8163 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8164 if (SWIG_arg_fail(1)) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (arg1
)->GetModificationTime();
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8173 wxDateTime
* resultptr
;
8174 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8183 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8186 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8188 return Py_BuildValue((char *)"");
8190 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8193 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8195 return Py_BuildValue((char *)"");
8197 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8198 PyObject
*resultobj
;
8199 wxPyFileSystemHandler
*result
;
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8219 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8222 PyObject
*arg2
= (PyObject
*) 0 ;
8223 PyObject
*arg3
= (PyObject
*) 0 ;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8226 PyObject
* obj2
= 0 ;
8228 (char *) "self",(char *) "self",(char *) "_class", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8233 if (SWIG_arg_fail(1)) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 Py_INCREF(Py_None
); resultobj
= Py_None
;
8250 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8253 wxString
*arg2
= 0 ;
8255 bool temp2
= false ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8259 (char *) "self",(char *) "location", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8264 if (SWIG_arg_fail(1)) SWIG_fail
;
8266 arg2
= wxString_in_helper(obj1
);
8267 if (arg2
== NULL
) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8294 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8297 wxFileSystem
*arg2
= 0 ;
8298 wxString
*arg3
= 0 ;
8300 bool temp3
= false ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 PyObject
* obj2
= 0 ;
8305 (char *) "self",(char *) "fs",(char *) "location", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8310 if (SWIG_arg_fail(1)) SWIG_fail
;
8312 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8313 if (SWIG_arg_fail(2)) SWIG_fail
;
8315 SWIG_null_ref("wxFileSystem");
8317 if (SWIG_arg_fail(2)) SWIG_fail
;
8320 arg3
= wxString_in_helper(obj2
);
8321 if (arg3
== NULL
) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= wxPyMake_wxObject(result
, 1);
8348 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8351 wxString
*arg2
= 0 ;
8352 int arg3
= (int) 0 ;
8354 bool temp2
= false ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8357 PyObject
* obj2
= 0 ;
8359 (char *) "self",(char *) "spec",(char *) "flags", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8364 if (SWIG_arg_fail(1)) SWIG_fail
;
8366 arg2
= wxString_in_helper(obj1
);
8367 if (arg2
== NULL
) SWIG_fail
;
8372 arg3
= (int)(SWIG_As_int(obj2
));
8373 if (SWIG_arg_fail(3)) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8387 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8404 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8410 (char *) "self", NULL
8413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8415 if (SWIG_arg_fail(1)) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (arg1
)->FindNext();
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8436 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8437 PyObject
*resultobj
;
8438 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8439 wxString
*arg2
= 0 ;
8441 bool temp2
= false ;
8442 PyObject
* obj0
= 0 ;
8443 PyObject
* obj1
= 0 ;
8445 (char *) "self",(char *) "location", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8450 if (SWIG_arg_fail(1)) SWIG_fail
;
8452 arg2
= wxString_in_helper(obj1
);
8453 if (arg2
== NULL
) SWIG_fail
;
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8460 wxPyEndAllowThreads(__tstate
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8484 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8487 wxString
*arg2
= 0 ;
8489 bool temp2
= false ;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8493 (char *) "self",(char *) "location", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8498 if (SWIG_arg_fail(1)) SWIG_fail
;
8500 arg2
= wxString_in_helper(obj1
);
8501 if (arg2
== NULL
) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8532 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
;
8534 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8535 wxString
*arg2
= 0 ;
8537 bool temp2
= false ;
8538 PyObject
* obj0
= 0 ;
8539 PyObject
* obj1
= 0 ;
8541 (char *) "self",(char *) "location", NULL
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8546 if (SWIG_arg_fail(1)) SWIG_fail
;
8548 arg2
= wxString_in_helper(obj1
);
8549 if (arg2
== NULL
) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8556 wxPyEndAllowThreads(__tstate
);
8557 if (PyErr_Occurred()) SWIG_fail
;
8561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8580 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8581 PyObject
*resultobj
;
8582 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8583 wxString
*arg2
= 0 ;
8585 bool temp2
= false ;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8589 (char *) "self",(char *) "location", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8594 if (SWIG_arg_fail(1)) SWIG_fail
;
8596 arg2
= wxString_in_helper(obj1
);
8597 if (arg2
== NULL
) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8628 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8629 PyObject
*resultobj
;
8630 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8631 wxString
*arg2
= 0 ;
8633 bool temp2
= false ;
8634 PyObject
* obj0
= 0 ;
8635 PyObject
* obj1
= 0 ;
8637 (char *) "self",(char *) "location", NULL
8640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8642 if (SWIG_arg_fail(1)) SWIG_fail
;
8644 arg2
= wxString_in_helper(obj1
);
8645 if (arg2
== NULL
) SWIG_fail
;
8649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8650 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8676 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8679 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8681 return Py_BuildValue((char *)"");
8683 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8684 PyObject
*resultobj
;
8685 wxFileSystem
*result
;
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (wxFileSystem
*)new wxFileSystem();
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= wxPyMake_wxObject(result
, 1);
8707 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8710 PyObject
* obj0
= 0 ;
8712 (char *) "self", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8717 if (SWIG_arg_fail(1)) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 Py_INCREF(Py_None
); resultobj
= Py_None
;
8732 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8735 wxString
*arg2
= 0 ;
8736 bool arg3
= (bool) false ;
8737 bool temp2
= false ;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8742 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8747 if (SWIG_arg_fail(1)) SWIG_fail
;
8749 arg2
= wxString_in_helper(obj1
);
8750 if (arg2
== NULL
) SWIG_fail
;
8755 arg3
= (bool)(SWIG_As_bool(obj2
));
8756 if (SWIG_arg_fail(3)) SWIG_fail
;
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8763 wxPyEndAllowThreads(__tstate
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8766 Py_INCREF(Py_None
); resultobj
= Py_None
;
8781 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8782 PyObject
*resultobj
;
8783 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8785 PyObject
* obj0
= 0 ;
8787 (char *) "self", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8792 if (SWIG_arg_fail(1)) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (arg1
)->GetPath();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8802 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8804 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8813 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
*resultobj
;
8815 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8816 wxString
*arg2
= 0 ;
8818 bool temp2
= false ;
8819 PyObject
* obj0
= 0 ;
8820 PyObject
* obj1
= 0 ;
8822 (char *) "self",(char *) "location", NULL
8825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8827 if (SWIG_arg_fail(1)) SWIG_fail
;
8829 arg2
= wxString_in_helper(obj1
);
8830 if (arg2
== NULL
) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8841 resultobj
= wxPyMake_wxObject(result
, 1);
8857 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8860 wxString
*arg2
= 0 ;
8861 int arg3
= (int) 0 ;
8863 bool temp2
= false ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8866 PyObject
* obj2
= 0 ;
8868 (char *) "self",(char *) "spec",(char *) "flags", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8873 if (SWIG_arg_fail(1)) SWIG_fail
;
8875 arg2
= wxString_in_helper(obj1
);
8876 if (arg2
== NULL
) SWIG_fail
;
8881 arg3
= (int)(SWIG_As_int(obj2
));
8882 if (SWIG_arg_fail(3)) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8913 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "self", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8924 if (SWIG_arg_fail(1)) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (arg1
)->FindNext();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8945 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "handler", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8955 if (SWIG_arg_fail(1)) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 wxFileSystem::AddHandler(arg1
);
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 wxFileSystem::CleanUpHandlers();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 Py_INCREF(Py_None
); resultobj
= Py_None
;
8991 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxString
*arg1
= 0 ;
8995 bool temp1
= false ;
8996 PyObject
* obj0
= 0 ;
8998 (char *) "filename", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9003 arg1
= wxString_in_helper(obj0
);
9004 if (arg1
== NULL
) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9035 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxString
*arg1
= 0 ;
9039 bool temp1
= false ;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "url", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9047 arg1
= wxString_in_helper(obj0
);
9048 if (arg1
== NULL
) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9079 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9082 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9084 return Py_BuildValue((char *)"");
9086 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxInternetFSHandler
*result
;
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9096 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9098 wxPyEndAllowThreads(__tstate
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9108 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9111 wxString
*arg2
= 0 ;
9113 bool temp2
= false ;
9114 PyObject
* obj0
= 0 ;
9115 PyObject
* obj1
= 0 ;
9117 (char *) "self",(char *) "location", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9122 if (SWIG_arg_fail(1)) SWIG_fail
;
9124 arg2
= wxString_in_helper(obj1
);
9125 if (arg2
== NULL
) SWIG_fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9152 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9155 wxFileSystem
*arg2
= 0 ;
9156 wxString
*arg3
= 0 ;
9158 bool temp3
= false ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9163 (char *) "self",(char *) "fs",(char *) "location", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9168 if (SWIG_arg_fail(1)) SWIG_fail
;
9170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9171 if (SWIG_arg_fail(2)) SWIG_fail
;
9173 SWIG_null_ref("wxFileSystem");
9175 if (SWIG_arg_fail(2)) SWIG_fail
;
9178 arg3
= wxString_in_helper(obj2
);
9179 if (arg3
== NULL
) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9190 resultobj
= wxPyMake_wxObject(result
, 1);
9206 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9209 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9211 return Py_BuildValue((char *)"");
9213 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxZipFSHandler
*result
;
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9235 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9238 wxString
*arg2
= 0 ;
9240 bool temp2
= false ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9244 (char *) "self",(char *) "location", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9249 if (SWIG_arg_fail(1)) SWIG_fail
;
9251 arg2
= wxString_in_helper(obj1
);
9252 if (arg2
== NULL
) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9279 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9282 wxFileSystem
*arg2
= 0 ;
9283 wxString
*arg3
= 0 ;
9285 bool temp3
= false ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9288 PyObject
* obj2
= 0 ;
9290 (char *) "self",(char *) "fs",(char *) "location", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9295 if (SWIG_arg_fail(1)) SWIG_fail
;
9297 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9298 if (SWIG_arg_fail(2)) SWIG_fail
;
9300 SWIG_null_ref("wxFileSystem");
9302 if (SWIG_arg_fail(2)) SWIG_fail
;
9305 arg3
= wxString_in_helper(obj2
);
9306 if (arg3
== NULL
) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9317 resultobj
= wxPyMake_wxObject(result
, 1);
9333 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9336 wxString
*arg2
= 0 ;
9337 int arg3
= (int) 0 ;
9339 bool temp2
= false ;
9340 PyObject
* obj0
= 0 ;
9341 PyObject
* obj1
= 0 ;
9342 PyObject
* obj2
= 0 ;
9344 (char *) "self",(char *) "spec",(char *) "flags", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9349 if (SWIG_arg_fail(1)) SWIG_fail
;
9351 arg2
= wxString_in_helper(obj1
);
9352 if (arg2
== NULL
) SWIG_fail
;
9357 arg3
= (int)(SWIG_As_int(obj2
));
9358 if (SWIG_arg_fail(3)) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9389 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9390 PyObject
*resultobj
;
9391 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9393 PyObject
* obj0
= 0 ;
9395 (char *) "self", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9400 if (SWIG_arg_fail(1)) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (arg1
)->FindNext();
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9421 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9424 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9426 return Py_BuildValue((char *)"");
9428 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9429 PyObject
*resultobj
;
9430 wxString
*arg1
= 0 ;
9433 bool temp1
= false ;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9436 PyObject
* obj2
= 0 ;
9438 (char *) "filename",(char *) "image",(char *) "type", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9443 arg1
= wxString_in_helper(obj0
);
9444 if (arg1
== NULL
) SWIG_fail
;
9448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9449 if (SWIG_arg_fail(2)) SWIG_fail
;
9451 SWIG_null_ref("wxImage");
9453 if (SWIG_arg_fail(2)) SWIG_fail
;
9456 arg3
= (long)(SWIG_As_long(obj2
));
9457 if (SWIG_arg_fail(3)) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 Py_INCREF(Py_None
); resultobj
= Py_None
;
9481 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxString
*arg1
= 0 ;
9484 wxBitmap
*arg2
= 0 ;
9486 bool temp1
= false ;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9489 PyObject
* obj2
= 0 ;
9491 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9496 arg1
= wxString_in_helper(obj0
);
9497 if (arg1
== NULL
) SWIG_fail
;
9501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9502 if (SWIG_arg_fail(2)) SWIG_fail
;
9504 SWIG_null_ref("wxBitmap");
9506 if (SWIG_arg_fail(2)) SWIG_fail
;
9509 arg3
= (long)(SWIG_As_long(obj2
));
9510 if (SWIG_arg_fail(3)) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 Py_INCREF(Py_None
); resultobj
= Py_None
;
9534 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxString
*arg1
= 0 ;
9537 PyObject
*arg2
= (PyObject
*) 0 ;
9538 bool temp1
= false ;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9542 (char *) "filename",(char *) "data", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9547 arg1
= wxString_in_helper(obj0
);
9548 if (arg1
== NULL
) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 Py_INCREF(Py_None
); resultobj
= Py_None
;
9574 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9575 PyObject
*resultobj
;
9576 wxMemoryFSHandler
*result
;
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9596 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxString
*arg1
= 0 ;
9599 bool temp1
= false ;
9600 PyObject
* obj0
= 0 ;
9602 (char *) "filename", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9607 arg1
= wxString_in_helper(obj0
);
9608 if (arg1
== NULL
) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9633 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9636 wxString
*arg2
= 0 ;
9638 bool temp2
= false ;
9639 PyObject
* obj0
= 0 ;
9640 PyObject
* obj1
= 0 ;
9642 (char *) "self",(char *) "location", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9647 if (SWIG_arg_fail(1)) SWIG_fail
;
9649 arg2
= wxString_in_helper(obj1
);
9650 if (arg2
== NULL
) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9677 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9680 wxFileSystem
*arg2
= 0 ;
9681 wxString
*arg3
= 0 ;
9683 bool temp3
= false ;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9686 PyObject
* obj2
= 0 ;
9688 (char *) "self",(char *) "fs",(char *) "location", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9693 if (SWIG_arg_fail(1)) SWIG_fail
;
9695 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9696 if (SWIG_arg_fail(2)) SWIG_fail
;
9698 SWIG_null_ref("wxFileSystem");
9700 if (SWIG_arg_fail(2)) SWIG_fail
;
9703 arg3
= wxString_in_helper(obj2
);
9704 if (arg3
== NULL
) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= wxPyMake_wxObject(result
, 1);
9731 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9734 wxString
*arg2
= 0 ;
9735 int arg3
= (int) 0 ;
9737 bool temp2
= false ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9740 PyObject
* obj2
= 0 ;
9742 (char *) "self",(char *) "spec",(char *) "flags", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9747 if (SWIG_arg_fail(1)) SWIG_fail
;
9749 arg2
= wxString_in_helper(obj1
);
9750 if (arg2
== NULL
) SWIG_fail
;
9755 arg3
= (int)(SWIG_As_int(obj2
));
9756 if (SWIG_arg_fail(3)) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9770 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9787 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9793 (char *) "self", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9798 if (SWIG_arg_fail(1)) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (arg1
)->FindNext();
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9819 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9822 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9824 return Py_BuildValue((char *)"");
9826 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9830 PyObject
* obj0
= 0 ;
9832 (char *) "self", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9837 if (SWIG_arg_fail(1)) SWIG_fail
;
9839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9840 result
= (arg1
)->GetName();
9842 wxPyEndAllowThreads(__tstate
);
9843 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9858 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9862 PyObject
* obj0
= 0 ;
9864 (char *) "self", NULL
9867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9869 if (SWIG_arg_fail(1)) SWIG_fail
;
9871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9872 result
= (arg1
)->GetExtension();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9890 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "self", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9900 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9901 if (SWIG_arg_fail(1)) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (long)(arg1
)->GetType();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 resultobj
= SWIG_From_long((long)(result
));
9918 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9922 PyObject
* obj0
= 0 ;
9924 (char *) "self", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9929 if (SWIG_arg_fail(1)) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= (arg1
)->GetMimeType();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9950 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9953 wxString
*arg2
= 0 ;
9955 bool temp2
= false ;
9956 PyObject
* obj0
= 0 ;
9957 PyObject
* obj1
= 0 ;
9959 (char *) "self",(char *) "name", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9964 if (SWIG_arg_fail(1)) SWIG_fail
;
9966 arg2
= wxString_in_helper(obj1
);
9967 if (arg2
== NULL
) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9994 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9995 PyObject
*resultobj
;
9996 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9997 wxString
*arg2
= 0 ;
9998 bool temp2
= false ;
9999 PyObject
* obj0
= 0 ;
10000 PyObject
* obj1
= 0 ;
10001 char *kwnames
[] = {
10002 (char *) "self",(char *) "name", NULL
10005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10007 if (SWIG_arg_fail(1)) SWIG_fail
;
10009 arg2
= wxString_in_helper(obj1
);
10010 if (arg2
== NULL
) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 (arg1
)->SetName((wxString
const &)*arg2
);
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 Py_INCREF(Py_None
); resultobj
= Py_None
;
10035 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10038 wxString
*arg2
= 0 ;
10039 bool temp2
= false ;
10040 PyObject
* obj0
= 0 ;
10041 PyObject
* obj1
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self",(char *) "extension", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10048 if (SWIG_arg_fail(1)) SWIG_fail
;
10050 arg2
= wxString_in_helper(obj1
);
10051 if (arg2
== NULL
) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 (arg1
)->SetExtension((wxString
const &)*arg2
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 Py_INCREF(Py_None
); resultobj
= Py_None
;
10076 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
;
10078 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10080 PyObject
* obj0
= 0 ;
10081 PyObject
* obj1
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "self",(char *) "type", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10088 if (SWIG_arg_fail(1)) SWIG_fail
;
10090 arg2
= (long)(SWIG_As_long(obj1
));
10091 if (SWIG_arg_fail(2)) SWIG_fail
;
10094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10095 (arg1
)->SetType(arg2
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 Py_INCREF(Py_None
); resultobj
= Py_None
;
10107 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10108 PyObject
*resultobj
;
10109 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10110 wxString
*arg2
= 0 ;
10111 bool temp2
= false ;
10112 PyObject
* obj0
= 0 ;
10113 PyObject
* obj1
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self",(char *) "mimetype", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10120 if (SWIG_arg_fail(1)) SWIG_fail
;
10122 arg2
= wxString_in_helper(obj1
);
10123 if (arg2
== NULL
) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 Py_INCREF(Py_None
); resultobj
= Py_None
;
10148 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10151 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10153 return Py_BuildValue((char *)"");
10155 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10156 PyObject
*resultobj
;
10157 wxImageHistogram
*result
;
10158 char *kwnames
[] = {
10162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 result
= (wxImageHistogram
*)new wxImageHistogram();
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10177 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 unsigned char arg1
;
10180 unsigned char arg2
;
10181 unsigned char arg3
;
10182 unsigned long result
;
10183 PyObject
* obj0
= 0 ;
10184 PyObject
* obj1
= 0 ;
10185 PyObject
* obj2
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "r",(char *) "g",(char *) "b", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10192 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10193 if (SWIG_arg_fail(1)) SWIG_fail
;
10196 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10197 if (SWIG_arg_fail(2)) SWIG_fail
;
10200 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10201 if (SWIG_arg_fail(3)) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10219 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10222 unsigned char *arg2
= (unsigned char *) 0 ;
10223 unsigned char *arg3
= (unsigned char *) 0 ;
10224 unsigned char *arg4
= (unsigned char *) 0 ;
10225 unsigned char arg5
= (unsigned char) 1 ;
10226 unsigned char arg6
= (unsigned char) 0 ;
10227 unsigned char arg7
= (unsigned char) 0 ;
10229 unsigned char temp2
;
10231 unsigned char temp3
;
10233 unsigned char temp4
;
10235 PyObject
* obj0
= 0 ;
10236 PyObject
* obj1
= 0 ;
10237 PyObject
* obj2
= 0 ;
10238 PyObject
* obj3
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10243 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10244 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10245 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10248 if (SWIG_arg_fail(1)) SWIG_fail
;
10251 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10252 if (SWIG_arg_fail(5)) SWIG_fail
;
10257 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10258 if (SWIG_arg_fail(6)) SWIG_fail
;
10263 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10264 if (SWIG_arg_fail(7)) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10277 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10278 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10279 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10280 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10281 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10282 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10289 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10292 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10294 return Py_BuildValue((char *)"");
10296 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxString
*arg1
= 0 ;
10299 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10300 int arg3
= (int) -1 ;
10302 bool temp1
= false ;
10303 PyObject
* obj0
= 0 ;
10304 PyObject
* obj1
= 0 ;
10305 PyObject
* obj2
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "name",(char *) "type",(char *) "index", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10312 arg1
= wxString_in_helper(obj0
);
10313 if (arg1
== NULL
) SWIG_fail
;
10318 arg2
= (long)(SWIG_As_long(obj1
));
10319 if (SWIG_arg_fail(2)) SWIG_fail
;
10324 arg3
= (int)(SWIG_As_int(obj2
));
10325 if (SWIG_arg_fail(3)) SWIG_fail
;
10329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10330 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10332 wxPyEndAllowThreads(__tstate
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10350 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxImage
*arg1
= (wxImage
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10360 if (SWIG_arg_fail(1)) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 Py_INCREF(Py_None
); resultobj
= Py_None
;
10375 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxString
*arg1
= 0 ;
10378 wxString
*arg2
= 0 ;
10379 int arg3
= (int) -1 ;
10381 bool temp1
= false ;
10382 bool temp2
= false ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 PyObject
* obj2
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10392 arg1
= wxString_in_helper(obj0
);
10393 if (arg1
== NULL
) SWIG_fail
;
10397 arg2
= wxString_in_helper(obj1
);
10398 if (arg2
== NULL
) SWIG_fail
;
10403 arg3
= (int)(SWIG_As_int(obj2
));
10404 if (SWIG_arg_fail(3)) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10437 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxInputStream
*arg1
= 0 ;
10440 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10441 int arg3
= (int) -1 ;
10443 wxPyInputStream
*temp1
;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 PyObject
* obj2
= 0 ;
10448 char *kwnames
[] = {
10449 (char *) "stream",(char *) "type",(char *) "index", NULL
10452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10454 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10455 arg1
= temp1
->m_wxis
;
10458 PyErr_Clear(); // clear the failure of the wxPyConvert above
10459 arg1
= wxPyCBInputStream_create(obj0
, false);
10460 if (arg1
== NULL
) {
10461 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10469 arg2
= (long)(SWIG_As_long(obj1
));
10470 if (SWIG_arg_fail(2)) SWIG_fail
;
10475 arg3
= (int)(SWIG_As_int(obj2
));
10476 if (SWIG_arg_fail(3)) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10501 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxInputStream
*arg1
= 0 ;
10504 wxString
*arg2
= 0 ;
10505 int arg3
= (int) -1 ;
10507 wxPyInputStream
*temp1
;
10509 bool temp2
= false ;
10510 PyObject
* obj0
= 0 ;
10511 PyObject
* obj1
= 0 ;
10512 PyObject
* obj2
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10519 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10520 arg1
= temp1
->m_wxis
;
10523 PyErr_Clear(); // clear the failure of the wxPyConvert above
10524 arg1
= wxPyCBInputStream_create(obj0
, false);
10525 if (arg1
== NULL
) {
10526 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10533 arg2
= wxString_in_helper(obj1
);
10534 if (arg2
== NULL
) SWIG_fail
;
10539 arg3
= (int)(SWIG_As_int(obj2
));
10540 if (SWIG_arg_fail(3)) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10573 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 int arg1
= (int) 0 ;
10576 int arg2
= (int) 0 ;
10577 bool arg3
= (bool) true ;
10579 PyObject
* obj0
= 0 ;
10580 PyObject
* obj1
= 0 ;
10581 PyObject
* obj2
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "width",(char *) "height",(char *) "clear", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10589 arg1
= (int)(SWIG_As_int(obj0
));
10590 if (SWIG_arg_fail(1)) SWIG_fail
;
10595 arg2
= (int)(SWIG_As_int(obj1
));
10596 if (SWIG_arg_fail(2)) SWIG_fail
;
10601 arg3
= (bool)(SWIG_As_bool(obj2
));
10602 if (SWIG_arg_fail(3)) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10619 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxBitmap
*arg1
= 0 ;
10623 PyObject
* obj0
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "bitmap", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10631 if (SWIG_arg_fail(1)) SWIG_fail
;
10632 if (arg1
== NULL
) {
10633 SWIG_null_ref("wxBitmap");
10635 if (SWIG_arg_fail(1)) SWIG_fail
;
10638 if (!wxPyCheckForApp()) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10652 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10656 unsigned char *arg3
= (unsigned char *) 0 ;
10658 PyObject
* obj0
= 0 ;
10659 PyObject
* obj1
= 0 ;
10660 PyObject
* obj2
= 0 ;
10661 char *kwnames
[] = {
10662 (char *) "width",(char *) "height",(char *) "data", NULL
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10667 arg1
= (int)(SWIG_As_int(obj0
));
10668 if (SWIG_arg_fail(1)) SWIG_fail
;
10671 arg2
= (int)(SWIG_As_int(obj1
));
10672 if (SWIG_arg_fail(2)) SWIG_fail
;
10674 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10675 if (SWIG_arg_fail(3)) SWIG_fail
;
10677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10678 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10680 wxPyEndAllowThreads(__tstate
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10690 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10691 PyObject
*resultobj
;
10694 unsigned char *arg3
= (unsigned char *) 0 ;
10695 unsigned char *arg4
= (unsigned char *) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 PyObject
* obj2
= 0 ;
10700 PyObject
* obj3
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10707 arg1
= (int)(SWIG_As_int(obj0
));
10708 if (SWIG_arg_fail(1)) SWIG_fail
;
10711 arg2
= (int)(SWIG_As_int(obj1
));
10712 if (SWIG_arg_fail(2)) SWIG_fail
;
10714 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10715 if (SWIG_arg_fail(3)) SWIG_fail
;
10716 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10717 if (SWIG_arg_fail(4)) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10732 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxImage
*arg1
= (wxImage
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 PyObject
* obj2
= 0 ;
10740 char *kwnames
[] = {
10741 (char *) "self",(char *) "width",(char *) "height", NULL
10744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10746 if (SWIG_arg_fail(1)) SWIG_fail
;
10748 arg2
= (int)(SWIG_As_int(obj1
));
10749 if (SWIG_arg_fail(2)) SWIG_fail
;
10752 arg3
= (int)(SWIG_As_int(obj2
));
10753 if (SWIG_arg_fail(3)) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 (arg1
)->Create(arg2
,arg3
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 Py_INCREF(Py_None
); resultobj
= Py_None
;
10769 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxImage
*arg1
= (wxImage
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10779 if (SWIG_arg_fail(1)) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxImage
*arg1
= (wxImage
*) 0 ;
10799 SwigValueWrapper
<wxImage
> result
;
10800 PyObject
* obj0
= 0 ;
10801 PyObject
* obj1
= 0 ;
10802 PyObject
* obj2
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "width",(char *) "height", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail
;
10811 arg2
= (int)(SWIG_As_int(obj1
));
10812 if (SWIG_arg_fail(2)) SWIG_fail
;
10815 arg3
= (int)(SWIG_As_int(obj2
));
10816 if (SWIG_arg_fail(3)) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (arg1
)->Scale(arg2
,arg3
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 wxImage
* resultptr
;
10827 resultptr
= new wxImage((wxImage
&)(result
));
10828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10836 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxImage
*arg1
= (wxImage
*) 0 ;
10841 SwigValueWrapper
<wxImage
> result
;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 PyObject
* obj2
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10851 if (SWIG_arg_fail(1)) SWIG_fail
;
10853 arg2
= (int)(SWIG_As_int(obj1
));
10854 if (SWIG_arg_fail(2)) SWIG_fail
;
10857 arg3
= (int)(SWIG_As_int(obj2
));
10858 if (SWIG_arg_fail(3)) SWIG_fail
;
10861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10862 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10864 wxPyEndAllowThreads(__tstate
);
10865 if (PyErr_Occurred()) SWIG_fail
;
10868 wxImage
* resultptr
;
10869 resultptr
= new wxImage((wxImage
&)(result
));
10870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10878 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxImage
*arg1
= (wxImage
*) 0 ;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 PyObject
* obj2
= 0 ;
10887 char *kwnames
[] = {
10888 (char *) "self",(char *) "width",(char *) "height", NULL
10891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10893 if (SWIG_arg_fail(1)) SWIG_fail
;
10895 arg2
= (int)(SWIG_As_int(obj1
));
10896 if (SWIG_arg_fail(2)) SWIG_fail
;
10899 arg3
= (int)(SWIG_As_int(obj2
));
10900 if (SWIG_arg_fail(3)) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10905 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10906 result
= (wxImage
*) &_result_ref
;
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10919 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxImage
*arg1
= (wxImage
*) 0 ;
10924 unsigned char arg4
;
10925 unsigned char arg5
;
10926 unsigned char arg6
;
10927 PyObject
* obj0
= 0 ;
10928 PyObject
* obj1
= 0 ;
10929 PyObject
* obj2
= 0 ;
10930 PyObject
* obj3
= 0 ;
10931 PyObject
* obj4
= 0 ;
10932 PyObject
* obj5
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10939 if (SWIG_arg_fail(1)) SWIG_fail
;
10941 arg2
= (int)(SWIG_As_int(obj1
));
10942 if (SWIG_arg_fail(2)) SWIG_fail
;
10945 arg3
= (int)(SWIG_As_int(obj2
));
10946 if (SWIG_arg_fail(3)) SWIG_fail
;
10949 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10950 if (SWIG_arg_fail(4)) SWIG_fail
;
10953 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10954 if (SWIG_arg_fail(5)) SWIG_fail
;
10957 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10958 if (SWIG_arg_fail(6)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 Py_INCREF(Py_None
); resultobj
= Py_None
;
10974 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
;
10976 wxImage
*arg1
= (wxImage
*) 0 ;
10979 unsigned char result
;
10980 PyObject
* obj0
= 0 ;
10981 PyObject
* obj1
= 0 ;
10982 PyObject
* obj2
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self",(char *) "x",(char *) "y", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10989 if (SWIG_arg_fail(1)) SWIG_fail
;
10991 arg2
= (int)(SWIG_As_int(obj1
));
10992 if (SWIG_arg_fail(2)) SWIG_fail
;
10995 arg3
= (int)(SWIG_As_int(obj2
));
10996 if (SWIG_arg_fail(3)) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11014 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxImage
*arg1
= (wxImage
*) 0 ;
11019 unsigned char result
;
11020 PyObject
* obj0
= 0 ;
11021 PyObject
* obj1
= 0 ;
11022 PyObject
* obj2
= 0 ;
11023 char *kwnames
[] = {
11024 (char *) "self",(char *) "x",(char *) "y", NULL
11027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11029 if (SWIG_arg_fail(1)) SWIG_fail
;
11031 arg2
= (int)(SWIG_As_int(obj1
));
11032 if (SWIG_arg_fail(2)) SWIG_fail
;
11035 arg3
= (int)(SWIG_As_int(obj2
));
11036 if (SWIG_arg_fail(3)) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11054 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11055 PyObject
*resultobj
;
11056 wxImage
*arg1
= (wxImage
*) 0 ;
11059 unsigned char result
;
11060 PyObject
* obj0
= 0 ;
11061 PyObject
* obj1
= 0 ;
11062 PyObject
* obj2
= 0 ;
11063 char *kwnames
[] = {
11064 (char *) "self",(char *) "x",(char *) "y", NULL
11067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11069 if (SWIG_arg_fail(1)) SWIG_fail
;
11071 arg2
= (int)(SWIG_As_int(obj1
));
11072 if (SWIG_arg_fail(2)) SWIG_fail
;
11075 arg3
= (int)(SWIG_As_int(obj2
));
11076 if (SWIG_arg_fail(3)) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11086 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11094 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxImage
*arg1
= (wxImage
*) 0 ;
11099 unsigned char arg4
;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 PyObject
* obj2
= 0 ;
11103 PyObject
* obj3
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11110 if (SWIG_arg_fail(1)) SWIG_fail
;
11112 arg2
= (int)(SWIG_As_int(obj1
));
11113 if (SWIG_arg_fail(2)) SWIG_fail
;
11116 arg3
= (int)(SWIG_As_int(obj2
));
11117 if (SWIG_arg_fail(3)) SWIG_fail
;
11120 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11121 if (SWIG_arg_fail(4)) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 Py_INCREF(Py_None
); resultobj
= Py_None
;
11137 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxImage
*arg1
= (wxImage
*) 0 ;
11142 unsigned char result
;
11143 PyObject
* obj0
= 0 ;
11144 PyObject
* obj1
= 0 ;
11145 PyObject
* obj2
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "self",(char *) "x",(char *) "y", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11152 if (SWIG_arg_fail(1)) SWIG_fail
;
11154 arg2
= (int)(SWIG_As_int(obj1
));
11155 if (SWIG_arg_fail(2)) SWIG_fail
;
11158 arg3
= (int)(SWIG_As_int(obj2
));
11159 if (SWIG_arg_fail(3)) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11169 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11177 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11178 PyObject
*resultobj
;
11179 wxImage
*arg1
= (wxImage
*) 0 ;
11181 PyObject
* obj0
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "self", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11188 if (SWIG_arg_fail(1)) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 result
= (bool)(arg1
)->HasAlpha();
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11205 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11206 PyObject
*resultobj
;
11207 wxImage
*arg1
= (wxImage
*) 0 ;
11208 byte
*arg2
= (byte
*) 0 ;
11209 byte
*arg3
= (byte
*) 0 ;
11210 byte
*arg4
= (byte
*) 0 ;
11211 byte arg5
= (byte
) 0 ;
11212 byte arg6
= (byte
) 0 ;
11213 byte arg7
= (byte
) 0 ;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 PyObject
* obj2
= 0 ;
11224 PyObject
* obj3
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11229 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11230 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11231 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11234 if (SWIG_arg_fail(1)) SWIG_fail
;
11237 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11238 if (SWIG_arg_fail(5)) SWIG_fail
;
11243 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11244 if (SWIG_arg_fail(6)) SWIG_fail
;
11249 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11250 if (SWIG_arg_fail(7)) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11263 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11264 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11265 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11266 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11267 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11268 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11275 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxImage
*arg1
= (wxImage
*) 0 ;
11278 byte arg2
= (byte
) 128 ;
11280 PyObject
* obj0
= 0 ;
11281 PyObject
* obj1
= 0 ;
11282 char *kwnames
[] = {
11283 (char *) "self",(char *) "threshold", NULL
11286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11288 if (SWIG_arg_fail(1)) SWIG_fail
;
11291 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11292 if (SWIG_arg_fail(2)) SWIG_fail
;
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11311 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxImage
*arg1
= (wxImage
*) 0 ;
11314 unsigned char arg2
;
11315 unsigned char arg3
;
11316 unsigned char arg4
;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 PyObject
* obj2
= 0 ;
11321 PyObject
* obj3
= 0 ;
11322 char *kwnames
[] = {
11323 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11328 if (SWIG_arg_fail(1)) SWIG_fail
;
11330 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11331 if (SWIG_arg_fail(2)) SWIG_fail
;
11334 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11335 if (SWIG_arg_fail(3)) SWIG_fail
;
11338 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11339 if (SWIG_arg_fail(4)) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11357 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxImage
*arg1
= (wxImage
*) 0 ;
11360 wxImage
*arg2
= 0 ;
11365 PyObject
* obj0
= 0 ;
11366 PyObject
* obj1
= 0 ;
11367 PyObject
* obj2
= 0 ;
11368 PyObject
* obj3
= 0 ;
11369 PyObject
* obj4
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11376 if (SWIG_arg_fail(1)) SWIG_fail
;
11378 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11379 if (SWIG_arg_fail(2)) SWIG_fail
;
11380 if (arg2
== NULL
) {
11381 SWIG_null_ref("wxImage");
11383 if (SWIG_arg_fail(2)) SWIG_fail
;
11386 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11387 if (SWIG_arg_fail(3)) SWIG_fail
;
11390 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11391 if (SWIG_arg_fail(4)) SWIG_fail
;
11394 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11395 if (SWIG_arg_fail(5)) SWIG_fail
;
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11413 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxString
*arg1
= 0 ;
11417 bool temp1
= false ;
11418 PyObject
* obj0
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "name", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11425 arg1
= wxString_in_helper(obj0
);
11426 if (arg1
== NULL
) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11453 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxString
*arg1
= 0 ;
11456 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11458 bool temp1
= false ;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "name",(char *) "type", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11467 arg1
= wxString_in_helper(obj0
);
11468 if (arg1
== NULL
) SWIG_fail
;
11473 arg2
= (long)(SWIG_As_long(obj1
));
11474 if (SWIG_arg_fail(2)) SWIG_fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11485 resultobj
= SWIG_From_int((int)(result
));
11501 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxImage
*arg1
= (wxImage
*) 0 ;
11504 wxString
*arg2
= 0 ;
11505 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11506 int arg4
= (int) -1 ;
11508 bool temp2
= false ;
11509 PyObject
* obj0
= 0 ;
11510 PyObject
* obj1
= 0 ;
11511 PyObject
* obj2
= 0 ;
11512 PyObject
* obj3
= 0 ;
11513 char *kwnames
[] = {
11514 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11519 if (SWIG_arg_fail(1)) SWIG_fail
;
11521 arg2
= wxString_in_helper(obj1
);
11522 if (arg2
== NULL
) SWIG_fail
;
11527 arg3
= (long)(SWIG_As_long(obj2
));
11528 if (SWIG_arg_fail(3)) SWIG_fail
;
11533 arg4
= (int)(SWIG_As_int(obj3
));
11534 if (SWIG_arg_fail(4)) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11561 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxImage
*arg1
= (wxImage
*) 0 ;
11564 wxString
*arg2
= 0 ;
11565 wxString
*arg3
= 0 ;
11566 int arg4
= (int) -1 ;
11568 bool temp2
= false ;
11569 bool temp3
= false ;
11570 PyObject
* obj0
= 0 ;
11571 PyObject
* obj1
= 0 ;
11572 PyObject
* obj2
= 0 ;
11573 PyObject
* obj3
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11580 if (SWIG_arg_fail(1)) SWIG_fail
;
11582 arg2
= wxString_in_helper(obj1
);
11583 if (arg2
== NULL
) SWIG_fail
;
11587 arg3
= wxString_in_helper(obj2
);
11588 if (arg3
== NULL
) SWIG_fail
;
11593 arg4
= (int)(SWIG_As_int(obj3
));
11594 if (SWIG_arg_fail(4)) SWIG_fail
;
11598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11599 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11629 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxImage
*arg1
= (wxImage
*) 0 ;
11632 wxString
*arg2
= 0 ;
11635 bool temp2
= false ;
11636 PyObject
* obj0
= 0 ;
11637 PyObject
* obj1
= 0 ;
11638 PyObject
* obj2
= 0 ;
11639 char *kwnames
[] = {
11640 (char *) "self",(char *) "name",(char *) "type", NULL
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11645 if (SWIG_arg_fail(1)) SWIG_fail
;
11647 arg2
= wxString_in_helper(obj1
);
11648 if (arg2
== NULL
) SWIG_fail
;
11652 arg3
= (int)(SWIG_As_int(obj2
));
11653 if (SWIG_arg_fail(3)) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11679 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxImage
*arg1
= (wxImage
*) 0 ;
11682 wxString
*arg2
= 0 ;
11683 wxString
*arg3
= 0 ;
11685 bool temp2
= false ;
11686 bool temp3
= false ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 PyObject
* obj2
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11696 if (SWIG_arg_fail(1)) SWIG_fail
;
11698 arg2
= wxString_in_helper(obj1
);
11699 if (arg2
== NULL
) SWIG_fail
;
11703 arg3
= wxString_in_helper(obj2
);
11704 if (arg3
== NULL
) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11739 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxInputStream
*arg1
= 0 ;
11743 wxPyInputStream
*temp1
;
11745 PyObject
* obj0
= 0 ;
11746 char *kwnames
[] = {
11747 (char *) "stream", NULL
11750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11752 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11753 arg1
= temp1
->m_wxis
;
11756 PyErr_Clear(); // clear the failure of the wxPyConvert above
11757 arg1
= wxPyCBInputStream_create(obj0
, false);
11758 if (arg1
== NULL
) {
11759 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (bool)wxImage::CanRead(*arg1
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11789 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxImage
*arg1
= (wxImage
*) 0 ;
11792 wxInputStream
*arg2
= 0 ;
11793 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11794 int arg4
= (int) -1 ;
11796 wxPyInputStream
*temp2
;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 PyObject
* obj2
= 0 ;
11801 PyObject
* obj3
= 0 ;
11802 char *kwnames
[] = {
11803 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11808 if (SWIG_arg_fail(1)) SWIG_fail
;
11810 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11811 arg2
= temp2
->m_wxis
;
11814 PyErr_Clear(); // clear the failure of the wxPyConvert above
11815 arg2
= wxPyCBInputStream_create(obj1
, false);
11816 if (arg2
== NULL
) {
11817 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11825 arg3
= (long)(SWIG_As_long(obj2
));
11826 if (SWIG_arg_fail(3)) SWIG_fail
;
11831 arg4
= (int)(SWIG_As_int(obj3
));
11832 if (SWIG_arg_fail(4)) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11859 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxImage
*arg1
= (wxImage
*) 0 ;
11862 wxInputStream
*arg2
= 0 ;
11863 wxString
*arg3
= 0 ;
11864 int arg4
= (int) -1 ;
11866 wxPyInputStream
*temp2
;
11868 bool temp3
= false ;
11869 PyObject
* obj0
= 0 ;
11870 PyObject
* obj1
= 0 ;
11871 PyObject
* obj2
= 0 ;
11872 PyObject
* obj3
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11879 if (SWIG_arg_fail(1)) SWIG_fail
;
11881 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11882 arg2
= temp2
->m_wxis
;
11885 PyErr_Clear(); // clear the failure of the wxPyConvert above
11886 arg2
= wxPyCBInputStream_create(obj1
, false);
11887 if (arg2
== NULL
) {
11888 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11895 arg3
= wxString_in_helper(obj2
);
11896 if (arg3
== NULL
) SWIG_fail
;
11901 arg4
= (int)(SWIG_As_int(obj3
));
11902 if (SWIG_arg_fail(4)) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11937 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11939 wxImage
*arg1
= (wxImage
*) 0 ;
11941 PyObject
* obj0
= 0 ;
11942 char *kwnames
[] = {
11943 (char *) "self", NULL
11946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11948 if (SWIG_arg_fail(1)) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (bool)(arg1
)->Ok();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11965 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxImage
*arg1
= (wxImage
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
11975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail
;
11978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11979 result
= (int)(arg1
)->GetWidth();
11981 wxPyEndAllowThreads(__tstate
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_From_int((int)(result
));
11993 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxImage
*arg1
= (wxImage
*) 0 ;
11997 PyObject
* obj0
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12004 if (SWIG_arg_fail(1)) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (int)(arg1
)->GetHeight();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_From_int((int)(result
));
12021 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxImage
*arg1
= (wxImage
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 char *kwnames
[] = {
12027 (char *) "self", NULL
12030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12032 if (SWIG_arg_fail(1)) SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= wxImage_GetSize(arg1
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 wxSize
* resultptr
;
12042 resultptr
= new wxSize((wxSize
&)(result
));
12043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12051 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxImage
*arg1
= (wxImage
*) 0 ;
12055 SwigValueWrapper
<wxImage
> result
;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "rect", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12065 if (SWIG_arg_fail(1)) SWIG_fail
;
12068 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 wxImage
* resultptr
;
12079 resultptr
= new wxImage((wxImage
&)(result
));
12080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12088 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxImage
*arg1
= (wxImage
*) 0 ;
12091 SwigValueWrapper
<wxImage
> result
;
12092 PyObject
* obj0
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12099 if (SWIG_arg_fail(1)) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 result
= (arg1
)->Copy();
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12108 wxImage
* resultptr
;
12109 resultptr
= new wxImage((wxImage
&)(result
));
12110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12118 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxImage
*arg1
= (wxImage
*) 0 ;
12121 wxImage
*arg2
= 0 ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 PyObject
* obj2
= 0 ;
12127 PyObject
* obj3
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12137 if (SWIG_arg_fail(2)) SWIG_fail
;
12138 if (arg2
== NULL
) {
12139 SWIG_null_ref("wxImage");
12141 if (SWIG_arg_fail(2)) SWIG_fail
;
12144 arg3
= (int)(SWIG_As_int(obj2
));
12145 if (SWIG_arg_fail(3)) SWIG_fail
;
12148 arg4
= (int)(SWIG_As_int(obj3
));
12149 if (SWIG_arg_fail(4)) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxImage
*arg1
= (wxImage
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 char *kwnames
[] = {
12171 (char *) "self", NULL
12174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12176 if (SWIG_arg_fail(1)) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (PyObject
*)wxImage_GetData(arg1
);
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= result
;
12191 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12192 PyObject
*resultobj
;
12193 wxImage
*arg1
= (wxImage
*) 0 ;
12194 PyObject
*arg2
= (PyObject
*) 0 ;
12195 PyObject
* obj0
= 0 ;
12196 PyObject
* obj1
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self",(char *) "data", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12203 if (SWIG_arg_fail(1)) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 wxImage_SetData(arg1
,arg2
);
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 Py_INCREF(Py_None
); resultobj
= Py_None
;
12219 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxImage
*arg1
= (wxImage
*) 0 ;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12230 if (SWIG_arg_fail(1)) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= result
;
12245 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
;
12247 wxImage
*arg1
= (wxImage
*) 0 ;
12248 PyObject
*arg2
= (PyObject
*) 0 ;
12249 PyObject
* obj0
= 0 ;
12250 PyObject
* obj1
= 0 ;
12251 char *kwnames
[] = {
12252 (char *) "self",(char *) "data", NULL
12255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12257 if (SWIG_arg_fail(1)) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 wxImage_SetDataBuffer(arg1
,arg2
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 Py_INCREF(Py_None
); resultobj
= Py_None
;
12273 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxImage
*arg1
= (wxImage
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12284 if (SWIG_arg_fail(1)) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= result
;
12299 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxImage
*arg1
= (wxImage
*) 0 ;
12302 PyObject
*arg2
= (PyObject
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 PyObject
* obj1
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self",(char *) "data", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12311 if (SWIG_arg_fail(1)) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 wxImage_SetAlphaData(arg1
,arg2
);
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 Py_INCREF(Py_None
); resultobj
= Py_None
;
12327 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxImage
*arg1
= (wxImage
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12338 if (SWIG_arg_fail(1)) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= result
;
12353 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxImage
*arg1
= (wxImage
*) 0 ;
12356 PyObject
*arg2
= (PyObject
*) 0 ;
12357 PyObject
* obj0
= 0 ;
12358 PyObject
* obj1
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self",(char *) "data", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12365 if (SWIG_arg_fail(1)) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 wxImage_SetAlphaBuffer(arg1
,arg2
);
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 Py_INCREF(Py_None
); resultobj
= Py_None
;
12381 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxImage
*arg1
= (wxImage
*) 0 ;
12384 unsigned char arg2
;
12385 unsigned char arg3
;
12386 unsigned char arg4
;
12387 PyObject
* obj0
= 0 ;
12388 PyObject
* obj1
= 0 ;
12389 PyObject
* obj2
= 0 ;
12390 PyObject
* obj3
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12397 if (SWIG_arg_fail(1)) SWIG_fail
;
12399 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12400 if (SWIG_arg_fail(2)) SWIG_fail
;
12403 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12404 if (SWIG_arg_fail(3)) SWIG_fail
;
12407 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12408 if (SWIG_arg_fail(4)) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12417 Py_INCREF(Py_None
); resultobj
= Py_None
;
12424 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12425 PyObject
*resultobj
;
12426 wxImage
*arg1
= (wxImage
*) 0 ;
12427 unsigned char result
;
12428 PyObject
* obj0
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12435 if (SWIG_arg_fail(1)) SWIG_fail
;
12437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12438 result
= (unsigned char)(arg1
)->GetMaskRed();
12440 wxPyEndAllowThreads(__tstate
);
12441 if (PyErr_Occurred()) SWIG_fail
;
12444 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12452 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxImage
*arg1
= (wxImage
*) 0 ;
12455 unsigned char result
;
12456 PyObject
* obj0
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12463 if (SWIG_arg_fail(1)) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (unsigned char)(arg1
)->GetMaskGreen();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12480 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12481 PyObject
*resultobj
;
12482 wxImage
*arg1
= (wxImage
*) 0 ;
12483 unsigned char result
;
12484 PyObject
* obj0
= 0 ;
12485 char *kwnames
[] = {
12486 (char *) "self", NULL
12489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12491 if (SWIG_arg_fail(1)) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (unsigned char)(arg1
)->GetMaskBlue();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12508 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxImage
*arg1
= (wxImage
*) 0 ;
12511 bool arg2
= (bool) true ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self",(char *) "mask", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12520 if (SWIG_arg_fail(1)) SWIG_fail
;
12523 arg2
= (bool)(SWIG_As_bool(obj1
));
12524 if (SWIG_arg_fail(2)) SWIG_fail
;
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 (arg1
)->SetMask(arg2
);
12531 wxPyEndAllowThreads(__tstate
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12534 Py_INCREF(Py_None
); resultobj
= Py_None
;
12541 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12542 PyObject
*resultobj
;
12543 wxImage
*arg1
= (wxImage
*) 0 ;
12545 PyObject
* obj0
= 0 ;
12546 char *kwnames
[] = {
12547 (char *) "self", NULL
12550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12552 if (SWIG_arg_fail(1)) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 result
= (bool)(arg1
)->HasMask();
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12569 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxImage
*arg1
= (wxImage
*) 0 ;
12573 wxPoint
*arg3
= 0 ;
12574 bool arg4
= (bool) true ;
12575 wxPoint
*arg5
= (wxPoint
*) NULL
;
12576 SwigValueWrapper
<wxImage
> result
;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 PyObject
* obj2
= 0 ;
12581 PyObject
* obj3
= 0 ;
12582 PyObject
* obj4
= 0 ;
12583 char *kwnames
[] = {
12584 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12589 if (SWIG_arg_fail(1)) SWIG_fail
;
12591 arg2
= (double)(SWIG_As_double(obj1
));
12592 if (SWIG_arg_fail(2)) SWIG_fail
;
12596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12600 arg4
= (bool)(SWIG_As_bool(obj3
));
12601 if (SWIG_arg_fail(4)) SWIG_fail
;
12605 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12606 if (SWIG_arg_fail(5)) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12616 wxImage
* resultptr
;
12617 resultptr
= new wxImage((wxImage
&)(result
));
12618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12626 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
;
12628 wxImage
*arg1
= (wxImage
*) 0 ;
12629 bool arg2
= (bool) true ;
12630 SwigValueWrapper
<wxImage
> result
;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self",(char *) "clockwise", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12639 if (SWIG_arg_fail(1)) SWIG_fail
;
12642 arg2
= (bool)(SWIG_As_bool(obj1
));
12643 if (SWIG_arg_fail(2)) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 result
= (arg1
)->Rotate90(arg2
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12654 wxImage
* resultptr
;
12655 resultptr
= new wxImage((wxImage
&)(result
));
12656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12664 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxImage
*arg1
= (wxImage
*) 0 ;
12667 bool arg2
= (bool) true ;
12668 SwigValueWrapper
<wxImage
> result
;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 char *kwnames
[] = {
12672 (char *) "self",(char *) "horizontally", NULL
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12677 if (SWIG_arg_fail(1)) SWIG_fail
;
12680 arg2
= (bool)(SWIG_As_bool(obj1
));
12681 if (SWIG_arg_fail(2)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (arg1
)->Mirror(arg2
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12692 wxImage
* resultptr
;
12693 resultptr
= new wxImage((wxImage
&)(result
));
12694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12702 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxImage
*arg1
= (wxImage
*) 0 ;
12705 unsigned char arg2
;
12706 unsigned char arg3
;
12707 unsigned char arg4
;
12708 unsigned char arg5
;
12709 unsigned char arg6
;
12710 unsigned char arg7
;
12711 PyObject
* obj0
= 0 ;
12712 PyObject
* obj1
= 0 ;
12713 PyObject
* obj2
= 0 ;
12714 PyObject
* obj3
= 0 ;
12715 PyObject
* obj4
= 0 ;
12716 PyObject
* obj5
= 0 ;
12717 PyObject
* obj6
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12724 if (SWIG_arg_fail(1)) SWIG_fail
;
12726 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12727 if (SWIG_arg_fail(2)) SWIG_fail
;
12730 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12731 if (SWIG_arg_fail(3)) SWIG_fail
;
12734 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12735 if (SWIG_arg_fail(4)) SWIG_fail
;
12738 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12739 if (SWIG_arg_fail(5)) SWIG_fail
;
12742 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12743 if (SWIG_arg_fail(6)) SWIG_fail
;
12746 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12747 if (SWIG_arg_fail(7)) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 Py_INCREF(Py_None
); resultobj
= Py_None
;
12763 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12764 PyObject
*resultobj
;
12765 wxImage
*arg1
= (wxImage
*) 0 ;
12766 unsigned char arg2
;
12767 unsigned char arg3
;
12768 unsigned char arg4
;
12769 SwigValueWrapper
<wxImage
> result
;
12770 PyObject
* obj0
= 0 ;
12771 PyObject
* obj1
= 0 ;
12772 PyObject
* obj2
= 0 ;
12773 PyObject
* obj3
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12780 if (SWIG_arg_fail(1)) SWIG_fail
;
12782 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12783 if (SWIG_arg_fail(2)) SWIG_fail
;
12786 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12787 if (SWIG_arg_fail(3)) SWIG_fail
;
12790 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12791 if (SWIG_arg_fail(4)) SWIG_fail
;
12794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12795 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12797 wxPyEndAllowThreads(__tstate
);
12798 if (PyErr_Occurred()) SWIG_fail
;
12801 wxImage
* resultptr
;
12802 resultptr
= new wxImage((wxImage
&)(result
));
12803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12811 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxImage
*arg1
= (wxImage
*) 0 ;
12814 wxString
*arg2
= 0 ;
12815 wxString
*arg3
= 0 ;
12816 bool temp2
= false ;
12817 bool temp3
= false ;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 char *kwnames
[] = {
12822 (char *) "self",(char *) "name",(char *) "value", NULL
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12827 if (SWIG_arg_fail(1)) SWIG_fail
;
12829 arg2
= wxString_in_helper(obj1
);
12830 if (arg2
== NULL
) SWIG_fail
;
12834 arg3
= wxString_in_helper(obj2
);
12835 if (arg3
== NULL
) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 Py_INCREF(Py_None
); resultobj
= Py_None
;
12868 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxImage
*arg1
= (wxImage
*) 0 ;
12871 wxString
*arg2
= 0 ;
12873 bool temp2
= false ;
12874 PyObject
* obj0
= 0 ;
12875 PyObject
* obj1
= 0 ;
12876 PyObject
* obj2
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self",(char *) "name",(char *) "value", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12883 if (SWIG_arg_fail(1)) SWIG_fail
;
12885 arg2
= wxString_in_helper(obj1
);
12886 if (arg2
== NULL
) SWIG_fail
;
12890 arg3
= (int)(SWIG_As_int(obj2
));
12891 if (SWIG_arg_fail(3)) SWIG_fail
;
12894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12895 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12897 wxPyEndAllowThreads(__tstate
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12900 Py_INCREF(Py_None
); resultobj
= Py_None
;
12915 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxImage
*arg1
= (wxImage
*) 0 ;
12918 wxString
*arg2
= 0 ;
12920 bool temp2
= false ;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 char *kwnames
[] = {
12924 (char *) "self",(char *) "name", NULL
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12929 if (SWIG_arg_fail(1)) SWIG_fail
;
12931 arg2
= wxString_in_helper(obj1
);
12932 if (arg2
== NULL
) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12963 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12964 PyObject
*resultobj
;
12965 wxImage
*arg1
= (wxImage
*) 0 ;
12966 wxString
*arg2
= 0 ;
12968 bool temp2
= false ;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "self",(char *) "name", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12977 if (SWIG_arg_fail(1)) SWIG_fail
;
12979 arg2
= wxString_in_helper(obj1
);
12980 if (arg2
== NULL
) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= SWIG_From_int((int)(result
));
13007 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13008 PyObject
*resultobj
;
13009 wxImage
*arg1
= (wxImage
*) 0 ;
13010 wxString
*arg2
= 0 ;
13012 bool temp2
= false ;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self",(char *) "name", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13021 if (SWIG_arg_fail(1)) SWIG_fail
;
13023 arg2
= wxString_in_helper(obj1
);
13024 if (arg2
== NULL
) SWIG_fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13051 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxImage
*arg1
= (wxImage
*) 0 ;
13054 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13055 unsigned long result
;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "stopafter", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13064 if (SWIG_arg_fail(1)) SWIG_fail
;
13067 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13068 if (SWIG_arg_fail(2)) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13087 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxImage
*arg1
= (wxImage
*) 0 ;
13090 wxImageHistogram
*arg2
= 0 ;
13091 unsigned long result
;
13092 PyObject
* obj0
= 0 ;
13093 PyObject
* obj1
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "h", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13100 if (SWIG_arg_fail(1)) SWIG_fail
;
13102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13103 if (SWIG_arg_fail(2)) SWIG_fail
;
13104 if (arg2
== NULL
) {
13105 SWIG_null_ref("wxImageHistogram");
13107 if (SWIG_arg_fail(2)) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13125 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "handler", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13135 if (SWIG_arg_fail(1)) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 wxImage::AddHandler(arg1
);
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 Py_INCREF(Py_None
); resultobj
= Py_None
;
13150 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "handler", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13160 if (SWIG_arg_fail(1)) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 wxImage::InsertHandler(arg1
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 Py_INCREF(Py_None
); resultobj
= Py_None
;
13175 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxString
*arg1
= 0 ;
13179 bool temp1
= false ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "name", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13187 arg1
= wxString_in_helper(obj0
);
13188 if (arg1
== NULL
) SWIG_fail
;
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13215 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13218 char *kwnames
[] = {
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= wxImage::GetImageExtWildcard();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13243 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
;
13245 wxImage
*arg1
= (wxImage
*) 0 ;
13246 int arg2
= (int) -1 ;
13248 PyObject
* obj0
= 0 ;
13249 PyObject
* obj1
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self",(char *) "depth", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13256 if (SWIG_arg_fail(1)) SWIG_fail
;
13259 arg2
= (int)(SWIG_As_int(obj1
));
13260 if (SWIG_arg_fail(2)) SWIG_fail
;
13264 if (!wxPyCheckForApp()) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13268 wxPyEndAllowThreads(__tstate
);
13269 if (PyErr_Occurred()) SWIG_fail
;
13272 wxBitmap
* resultptr
;
13273 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13282 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxImage
*arg1
= (wxImage
*) 0 ;
13285 unsigned char arg2
;
13286 unsigned char arg3
;
13287 unsigned char arg4
;
13289 PyObject
* obj0
= 0 ;
13290 PyObject
* obj1
= 0 ;
13291 PyObject
* obj2
= 0 ;
13292 PyObject
* obj3
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13299 if (SWIG_arg_fail(1)) SWIG_fail
;
13301 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13302 if (SWIG_arg_fail(2)) SWIG_fail
;
13305 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13306 if (SWIG_arg_fail(3)) SWIG_fail
;
13309 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13310 if (SWIG_arg_fail(4)) SWIG_fail
;
13313 if (!wxPyCheckForApp()) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13321 wxBitmap
* resultptr
;
13322 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13323 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13331 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13334 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13336 return Py_BuildValue((char *)"");
13338 static int _wrap_NullImage_set(PyObject
*) {
13339 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13344 static PyObject
*_wrap_NullImage_get(void) {
13347 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13352 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13353 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13358 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13363 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13365 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13372 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13373 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13378 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13383 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13385 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13392 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13393 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13398 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13403 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13405 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13412 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13413 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13418 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13423 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13425 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13432 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13433 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13438 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13443 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13445 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13452 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxBMPHandler
*result
;
13455 char *kwnames
[] = {
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (wxBMPHandler
*)new wxBMPHandler();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13474 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13477 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13479 return Py_BuildValue((char *)"");
13481 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13482 PyObject
*resultobj
;
13483 wxICOHandler
*result
;
13484 char *kwnames
[] = {
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (wxICOHandler
*)new wxICOHandler();
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13503 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13506 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13508 return Py_BuildValue((char *)"");
13510 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxCURHandler
*result
;
13513 char *kwnames
[] = {
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (wxCURHandler
*)new wxCURHandler();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13532 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13535 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13537 return Py_BuildValue((char *)"");
13539 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxANIHandler
*result
;
13542 char *kwnames
[] = {
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (wxANIHandler
*)new wxANIHandler();
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13561 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13564 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13566 return Py_BuildValue((char *)"");
13568 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxPNGHandler
*result
;
13571 char *kwnames
[] = {
13575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (wxPNGHandler
*)new wxPNGHandler();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13590 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13593 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13595 return Py_BuildValue((char *)"");
13597 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13598 PyObject
*resultobj
;
13599 wxGIFHandler
*result
;
13600 char *kwnames
[] = {
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (wxGIFHandler
*)new wxGIFHandler();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13619 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13622 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13624 return Py_BuildValue((char *)"");
13626 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxPCXHandler
*result
;
13629 char *kwnames
[] = {
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (wxPCXHandler
*)new wxPCXHandler();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13648 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13651 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13653 return Py_BuildValue((char *)"");
13655 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxJPEGHandler
*result
;
13658 char *kwnames
[] = {
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13677 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13680 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13682 return Py_BuildValue((char *)"");
13684 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxPNMHandler
*result
;
13687 char *kwnames
[] = {
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 result
= (wxPNMHandler
*)new wxPNMHandler();
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13706 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13709 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13711 return Py_BuildValue((char *)"");
13713 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxXPMHandler
*result
;
13716 char *kwnames
[] = {
13720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (wxXPMHandler
*)new wxXPMHandler();
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13735 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13738 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13740 return Py_BuildValue((char *)"");
13742 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxTIFFHandler
*result
;
13745 char *kwnames
[] = {
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= (wxTIFFHandler
*)new wxTIFFHandler();
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
13764 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
13766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13767 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
13769 return Py_BuildValue((char *)"");
13771 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
;
13773 wxImage
*arg1
= 0 ;
13774 wxImage
*arg2
= 0 ;
13775 int arg3
= (int) 236 ;
13776 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
13778 PyObject
* obj0
= 0 ;
13779 PyObject
* obj1
= 0 ;
13780 PyObject
* obj2
= 0 ;
13781 PyObject
* obj3
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13789 if (SWIG_arg_fail(1)) SWIG_fail
;
13790 if (arg1
== NULL
) {
13791 SWIG_null_ref("wxImage");
13793 if (SWIG_arg_fail(1)) SWIG_fail
;
13796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13797 if (SWIG_arg_fail(2)) SWIG_fail
;
13798 if (arg2
== NULL
) {
13799 SWIG_null_ref("wxImage");
13801 if (SWIG_arg_fail(2)) SWIG_fail
;
13805 arg3
= (int)(SWIG_As_int(obj2
));
13806 if (SWIG_arg_fail(3)) SWIG_fail
;
13811 arg4
= (int)(SWIG_As_int(obj3
));
13812 if (SWIG_arg_fail(4)) SWIG_fail
;
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13831 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
13833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13834 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
13836 return Py_BuildValue((char *)"");
13838 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxEvtHandler
*result
;
13841 char *kwnames
[] = {
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 result
= (wxEvtHandler
*)new wxEvtHandler();
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
13860 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13863 wxEvtHandler
*result
;
13864 PyObject
* obj0
= 0 ;
13865 char *kwnames
[] = {
13866 (char *) "self", NULL
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
13870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13871 if (SWIG_arg_fail(1)) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13880 resultobj
= wxPyMake_wxObject(result
, 0);
13888 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13891 wxEvtHandler
*result
;
13892 PyObject
* obj0
= 0 ;
13893 char *kwnames
[] = {
13894 (char *) "self", NULL
13897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
13898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13899 if (SWIG_arg_fail(1)) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13908 resultobj
= wxPyMake_wxObject(result
, 0);
13916 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13919 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 char *kwnames
[] = {
13923 (char *) "self",(char *) "handler", NULL
13926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13928 if (SWIG_arg_fail(1)) SWIG_fail
;
13929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13930 if (SWIG_arg_fail(2)) SWIG_fail
;
13932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13933 (arg1
)->SetNextHandler(arg2
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13938 Py_INCREF(Py_None
); resultobj
= Py_None
;
13945 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13948 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
13949 PyObject
* obj0
= 0 ;
13950 PyObject
* obj1
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self",(char *) "handler", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
13956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13957 if (SWIG_arg_fail(1)) SWIG_fail
;
13958 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13959 if (SWIG_arg_fail(2)) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 (arg1
)->SetPreviousHandler(arg2
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 Py_INCREF(Py_None
); resultobj
= Py_None
;
13974 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
13984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
13985 if (SWIG_arg_fail(1)) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14002 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 PyObject
* obj1
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self",(char *) "enabled", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14014 if (SWIG_arg_fail(1)) SWIG_fail
;
14016 arg2
= (bool)(SWIG_As_bool(obj1
));
14017 if (SWIG_arg_fail(2)) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 (arg1
)->SetEvtHandlerEnabled(arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 Py_INCREF(Py_None
); resultobj
= Py_None
;
14033 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14036 wxEvent
*arg2
= 0 ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self",(char *) "event", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) 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 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14049 if (SWIG_arg_fail(2)) SWIG_fail
;
14050 if (arg2
== NULL
) {
14051 SWIG_null_ref("wxEvent");
14053 if (SWIG_arg_fail(2)) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14071 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14072 PyObject
*resultobj
;
14073 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14074 wxEvent
*arg2
= 0 ;
14075 PyObject
* obj0
= 0 ;
14076 PyObject
* obj1
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "self",(char *) "event", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14083 if (SWIG_arg_fail(1)) SWIG_fail
;
14085 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14086 if (SWIG_arg_fail(2)) SWIG_fail
;
14087 if (arg2
== NULL
) {
14088 SWIG_null_ref("wxEvent");
14090 if (SWIG_arg_fail(2)) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 (arg1
)->AddPendingEvent(*arg2
);
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 Py_INCREF(Py_None
); resultobj
= Py_None
;
14106 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
;
14108 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14109 PyObject
* obj0
= 0 ;
14110 char *kwnames
[] = {
14111 (char *) "self", NULL
14114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14116 if (SWIG_arg_fail(1)) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 (arg1
)->ProcessPendingEvents();
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 Py_INCREF(Py_None
); resultobj
= Py_None
;
14131 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14132 PyObject
*resultobj
;
14133 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14137 PyObject
*arg5
= (PyObject
*) 0 ;
14138 PyObject
* obj0
= 0 ;
14139 PyObject
* obj1
= 0 ;
14140 PyObject
* obj2
= 0 ;
14141 PyObject
* obj3
= 0 ;
14142 PyObject
* obj4
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14149 if (SWIG_arg_fail(1)) SWIG_fail
;
14151 arg2
= (int)(SWIG_As_int(obj1
));
14152 if (SWIG_arg_fail(2)) SWIG_fail
;
14155 arg3
= (int)(SWIG_As_int(obj2
));
14156 if (SWIG_arg_fail(3)) SWIG_fail
;
14159 arg4
= (int)(SWIG_As_int(obj3
));
14160 if (SWIG_arg_fail(4)) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14170 Py_INCREF(Py_None
); resultobj
= Py_None
;
14177 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14178 PyObject
*resultobj
;
14179 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14181 int arg3
= (int) -1 ;
14182 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14184 PyObject
* obj0
= 0 ;
14185 PyObject
* obj1
= 0 ;
14186 PyObject
* obj2
= 0 ;
14187 PyObject
* obj3
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14194 if (SWIG_arg_fail(1)) SWIG_fail
;
14196 arg2
= (int)(SWIG_As_int(obj1
));
14197 if (SWIG_arg_fail(2)) SWIG_fail
;
14201 arg3
= (int)(SWIG_As_int(obj2
));
14202 if (SWIG_arg_fail(3)) SWIG_fail
;
14207 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14208 if (SWIG_arg_fail(4)) SWIG_fail
;
14212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14213 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14215 wxPyEndAllowThreads(__tstate
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14227 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14230 PyObject
*arg2
= (PyObject
*) 0 ;
14231 bool arg3
= (bool) true ;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 PyObject
* obj2
= 0 ;
14235 char *kwnames
[] = {
14236 (char *) "self",(char *) "_self",(char *) "incref", NULL
14239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14241 if (SWIG_arg_fail(1)) SWIG_fail
;
14245 arg3
= (bool)(SWIG_As_bool(obj2
));
14246 if (SWIG_arg_fail(3)) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 Py_INCREF(Py_None
); resultobj
= Py_None
;
14263 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14266 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14268 return Py_BuildValue((char *)"");
14270 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14271 PyObject
*resultobj
;
14272 wxEventType result
;
14273 char *kwnames
[] = {
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (wxEventType
)wxNewEventType();
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14286 resultobj
= SWIG_From_int((int)(result
));
14294 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxEvent
*arg1
= (wxEvent
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14304 if (SWIG_arg_fail(1)) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 Py_INCREF(Py_None
); resultobj
= Py_None
;
14319 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxEvent
*arg1
= (wxEvent
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 PyObject
* obj1
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "typ", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14331 if (SWIG_arg_fail(1)) SWIG_fail
;
14333 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14334 if (SWIG_arg_fail(2)) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 (arg1
)->SetEventType(arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14350 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxEvent
*arg1
= (wxEvent
*) 0 ;
14353 wxEventType result
;
14354 PyObject
* obj0
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14361 if (SWIG_arg_fail(1)) SWIG_fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14370 resultobj
= SWIG_From_int((int)(result
));
14378 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxEvent
*arg1
= (wxEvent
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "self", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14389 if (SWIG_arg_fail(1)) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= wxPyMake_wxObject(result
, 0);
14406 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxEvent
*arg1
= (wxEvent
*) 0 ;
14409 wxObject
*arg2
= (wxObject
*) 0 ;
14410 PyObject
* obj0
= 0 ;
14411 PyObject
* obj1
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self",(char *) "obj", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14418 if (SWIG_arg_fail(1)) SWIG_fail
;
14419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14420 if (SWIG_arg_fail(2)) SWIG_fail
;
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 (arg1
)->SetEventObject(arg2
);
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14428 Py_INCREF(Py_None
); resultobj
= Py_None
;
14435 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxEvent
*arg1
= (wxEvent
*) 0 ;
14439 PyObject
* obj0
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14446 if (SWIG_arg_fail(1)) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= SWIG_From_long((long)(result
));
14463 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxEvent
*arg1
= (wxEvent
*) 0 ;
14466 long arg2
= (long) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 PyObject
* obj1
= 0 ;
14469 char *kwnames
[] = {
14470 (char *) "self",(char *) "ts", NULL
14473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14475 if (SWIG_arg_fail(1)) SWIG_fail
;
14478 arg2
= (long)(SWIG_As_long(obj1
));
14479 if (SWIG_arg_fail(2)) SWIG_fail
;
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 (arg1
)->SetTimestamp(arg2
);
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 Py_INCREF(Py_None
); resultobj
= Py_None
;
14496 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxEvent
*arg1
= (wxEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14507 if (SWIG_arg_fail(1)) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (int)((wxEvent
const *)arg1
)->GetId();
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 resultobj
= SWIG_From_int((int)(result
));
14524 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxEvent
*arg1
= (wxEvent
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 PyObject
* obj1
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self",(char *) "Id", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
14539 if (SWIG_arg_fail(2)) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 (arg1
)->SetId(arg2
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 Py_INCREF(Py_None
); resultobj
= Py_None
;
14555 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxEvent
*arg1
= (wxEvent
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 char *kwnames
[] = {
14561 (char *) "self", NULL
14564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14566 if (SWIG_arg_fail(1)) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14583 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
;
14585 wxEvent
*arg1
= (wxEvent
*) 0 ;
14586 bool arg2
= (bool) true ;
14587 PyObject
* obj0
= 0 ;
14588 PyObject
* obj1
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "self",(char *) "skip", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14595 if (SWIG_arg_fail(1)) SWIG_fail
;
14598 arg2
= (bool)(SWIG_As_bool(obj1
));
14599 if (SWIG_arg_fail(2)) SWIG_fail
;
14603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14604 (arg1
)->Skip(arg2
);
14606 wxPyEndAllowThreads(__tstate
);
14607 if (PyErr_Occurred()) SWIG_fail
;
14609 Py_INCREF(Py_None
); resultobj
= Py_None
;
14616 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxEvent
*arg1
= (wxEvent
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14627 if (SWIG_arg_fail(1)) SWIG_fail
;
14629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14630 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14632 wxPyEndAllowThreads(__tstate
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14644 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxEvent
*arg1
= (wxEvent
*) 0 ;
14648 PyObject
* obj0
= 0 ;
14649 char *kwnames
[] = {
14650 (char *) "self", NULL
14653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14655 if (SWIG_arg_fail(1)) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14672 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxEvent
*arg1
= (wxEvent
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14683 if (SWIG_arg_fail(1)) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (int)(arg1
)->StopPropagation();
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_From_int((int)(result
));
14700 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxEvent
*arg1
= (wxEvent
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 PyObject
* obj1
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self",(char *) "propagationLevel", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14712 if (SWIG_arg_fail(1)) SWIG_fail
;
14714 arg2
= (int)(SWIG_As_int(obj1
));
14715 if (SWIG_arg_fail(2)) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 (arg1
)->ResumePropagation(arg2
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 Py_INCREF(Py_None
); resultobj
= Py_None
;
14731 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxEvent
*arg1
= (wxEvent
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14742 if (SWIG_arg_fail(1)) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (wxEvent
*)(arg1
)->Clone();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
14757 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
14759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14760 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
14762 return Py_BuildValue((char *)"");
14764 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxEvent
*arg1
= 0 ;
14767 wxPropagationDisabler
*result
;
14768 PyObject
* obj0
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "event", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14776 if (SWIG_arg_fail(1)) SWIG_fail
;
14777 if (arg1
== NULL
) {
14778 SWIG_null_ref("wxEvent");
14780 if (SWIG_arg_fail(1)) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
14796 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
14799 PyObject
* obj0
= 0 ;
14800 char *kwnames
[] = {
14801 (char *) "self", NULL
14804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
14805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
14806 if (SWIG_arg_fail(1)) SWIG_fail
;
14808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 wxPyEndAllowThreads(__tstate
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14814 Py_INCREF(Py_None
); resultobj
= Py_None
;
14821 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
14823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14824 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
14826 return Py_BuildValue((char *)"");
14828 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxEvent
*arg1
= 0 ;
14831 wxPropagateOnce
*result
;
14832 PyObject
* obj0
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "event", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14840 if (SWIG_arg_fail(1)) SWIG_fail
;
14841 if (arg1
== NULL
) {
14842 SWIG_null_ref("wxEvent");
14844 if (SWIG_arg_fail(1)) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
14860 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
14869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
14870 if (SWIG_arg_fail(1)) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 Py_INCREF(Py_None
); resultobj
= Py_None
;
14885 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
14887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14888 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
14890 return Py_BuildValue((char *)"");
14892 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
;
14894 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14895 int arg2
= (int) 0 ;
14896 wxCommandEvent
*result
;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "commandType",(char *) "winid", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14906 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
14907 if (SWIG_arg_fail(1)) SWIG_fail
;
14912 arg2
= (int)(SWIG_As_int(obj1
));
14913 if (SWIG_arg_fail(2)) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
14930 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "self", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14941 if (SWIG_arg_fail(1)) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= SWIG_From_int((int)(result
));
14958 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
14961 wxString
*arg2
= 0 ;
14962 bool temp2
= false ;
14963 PyObject
* obj0
= 0 ;
14964 PyObject
* obj1
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self",(char *) "s", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
14970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
14971 if (SWIG_arg_fail(1)) SWIG_fail
;
14973 arg2
= wxString_in_helper(obj1
);
14974 if (arg2
== NULL
) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 (arg1
)->SetString((wxString
const &)*arg2
);
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14984 Py_INCREF(Py_None
); resultobj
= Py_None
;
14999 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15010 if (SWIG_arg_fail(1)) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15031 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15042 if (SWIG_arg_fail(1)) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15059 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15070 if (SWIG_arg_fail(1)) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15087 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 PyObject
* obj1
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "self",(char *) "extraLong", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15099 if (SWIG_arg_fail(1)) SWIG_fail
;
15101 arg2
= (long)(SWIG_As_long(obj1
));
15102 if (SWIG_arg_fail(2)) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 (arg1
)->SetExtraLong(arg2
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 Py_INCREF(Py_None
); resultobj
= Py_None
;
15118 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15129 if (SWIG_arg_fail(1)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_From_long((long)(result
));
15146 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "i", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15158 if (SWIG_arg_fail(1)) SWIG_fail
;
15160 arg2
= (int)(SWIG_As_int(obj1
));
15161 if (SWIG_arg_fail(2)) SWIG_fail
;
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->SetInt(arg2
);
15167 wxPyEndAllowThreads(__tstate
);
15168 if (PyErr_Occurred()) SWIG_fail
;
15170 Py_INCREF(Py_None
); resultobj
= Py_None
;
15177 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15178 PyObject
*resultobj
;
15179 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15181 PyObject
* obj0
= 0 ;
15182 char *kwnames
[] = {
15183 (char *) "self", NULL
15186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15188 if (SWIG_arg_fail(1)) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= SWIG_From_long((long)(result
));
15205 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
;
15207 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15209 PyObject
* obj0
= 0 ;
15210 char *kwnames
[] = {
15211 (char *) "self", NULL
15214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15216 if (SWIG_arg_fail(1)) SWIG_fail
;
15218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15219 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15221 wxPyEndAllowThreads(__tstate
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15231 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15234 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15236 return Py_BuildValue((char *)"");
15238 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15241 int arg2
= (int) 0 ;
15242 wxNotifyEvent
*result
;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "commandType",(char *) "winid", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15252 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15253 if (SWIG_arg_fail(1)) SWIG_fail
;
15258 arg2
= (int)(SWIG_As_int(obj1
));
15259 if (SWIG_arg_fail(2)) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15276 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15286 if (SWIG_arg_fail(1)) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 Py_INCREF(Py_None
); resultobj
= Py_None
;
15301 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15311 if (SWIG_arg_fail(1)) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 Py_INCREF(Py_None
); resultobj
= Py_None
;
15326 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15330 PyObject
* obj0
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15337 if (SWIG_arg_fail(1)) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= (bool)(arg1
)->IsAllowed();
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15354 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15357 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15359 return Py_BuildValue((char *)"");
15361 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15364 int arg2
= (int) 0 ;
15365 int arg3
= (int) 0 ;
15366 int arg4
= (int) 0 ;
15367 wxScrollEvent
*result
;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 PyObject
* obj2
= 0 ;
15371 PyObject
* obj3
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15379 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15380 if (SWIG_arg_fail(1)) SWIG_fail
;
15385 arg2
= (int)(SWIG_As_int(obj1
));
15386 if (SWIG_arg_fail(2)) SWIG_fail
;
15391 arg3
= (int)(SWIG_As_int(obj2
));
15392 if (SWIG_arg_fail(3)) SWIG_fail
;
15397 arg4
= (int)(SWIG_As_int(obj3
));
15398 if (SWIG_arg_fail(4)) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15415 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15419 PyObject
* obj0
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15426 if (SWIG_arg_fail(1)) SWIG_fail
;
15428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15429 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15431 wxPyEndAllowThreads(__tstate
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= SWIG_From_int((int)(result
));
15443 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15447 PyObject
* obj0
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "self", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15454 if (SWIG_arg_fail(1)) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= SWIG_From_int((int)(result
));
15471 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15472 PyObject
*resultobj
;
15473 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self",(char *) "orient", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15483 if (SWIG_arg_fail(1)) SWIG_fail
;
15485 arg2
= (int)(SWIG_As_int(obj1
));
15486 if (SWIG_arg_fail(2)) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 (arg1
)->SetOrientation(arg2
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 Py_INCREF(Py_None
); resultobj
= Py_None
;
15502 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
;
15504 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15506 PyObject
* obj0
= 0 ;
15507 PyObject
* obj1
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self",(char *) "pos", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15514 if (SWIG_arg_fail(1)) SWIG_fail
;
15516 arg2
= (int)(SWIG_As_int(obj1
));
15517 if (SWIG_arg_fail(2)) SWIG_fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 (arg1
)->SetPosition(arg2
);
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 Py_INCREF(Py_None
); resultobj
= Py_None
;
15533 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15536 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15538 return Py_BuildValue((char *)"");
15540 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15541 PyObject
*resultobj
;
15542 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15543 int arg2
= (int) 0 ;
15544 int arg3
= (int) 0 ;
15545 wxScrollWinEvent
*result
;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 PyObject
* obj2
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15556 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15557 if (SWIG_arg_fail(1)) SWIG_fail
;
15562 arg2
= (int)(SWIG_As_int(obj1
));
15563 if (SWIG_arg_fail(2)) SWIG_fail
;
15568 arg3
= (int)(SWIG_As_int(obj2
));
15569 if (SWIG_arg_fail(3)) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15586 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
;
15588 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15590 PyObject
* obj0
= 0 ;
15591 char *kwnames
[] = {
15592 (char *) "self", NULL
15595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15597 if (SWIG_arg_fail(1)) SWIG_fail
;
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15606 resultobj
= SWIG_From_int((int)(result
));
15614 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15625 if (SWIG_arg_fail(1)) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= SWIG_From_int((int)(result
));
15642 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15644 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 PyObject
* obj1
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self",(char *) "orient", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15654 if (SWIG_arg_fail(1)) SWIG_fail
;
15656 arg2
= (int)(SWIG_As_int(obj1
));
15657 if (SWIG_arg_fail(2)) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 (arg1
)->SetOrientation(arg2
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 Py_INCREF(Py_None
); resultobj
= Py_None
;
15673 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15674 PyObject
*resultobj
;
15675 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15677 PyObject
* obj0
= 0 ;
15678 PyObject
* obj1
= 0 ;
15679 char *kwnames
[] = {
15680 (char *) "self",(char *) "pos", NULL
15683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15685 if (SWIG_arg_fail(1)) SWIG_fail
;
15687 arg2
= (int)(SWIG_As_int(obj1
));
15688 if (SWIG_arg_fail(2)) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 (arg1
)->SetPosition(arg2
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15697 Py_INCREF(Py_None
); resultobj
= Py_None
;
15704 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15707 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15709 return Py_BuildValue((char *)"");
15711 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15714 wxMouseEvent
*result
;
15715 PyObject
* obj0
= 0 ;
15716 char *kwnames
[] = {
15717 (char *) "mouseType", NULL
15720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15723 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15724 if (SWIG_arg_fail(1)) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= wxPyMake_wxObject(result
, 1);
15743 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
15753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15754 if (SWIG_arg_fail(1)) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15771 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15772 PyObject
*resultobj
;
15773 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15774 int arg2
= (int) wxMOUSE_BTN_ANY
;
15776 PyObject
* obj0
= 0 ;
15777 PyObject
* obj1
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self",(char *) "but", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15784 if (SWIG_arg_fail(1)) SWIG_fail
;
15787 arg2
= (int)(SWIG_As_int(obj1
));
15788 if (SWIG_arg_fail(2)) SWIG_fail
;
15792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15807 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15810 int arg2
= (int) wxMOUSE_BTN_ANY
;
15812 PyObject
* obj0
= 0 ;
15813 PyObject
* obj1
= 0 ;
15814 char *kwnames
[] = {
15815 (char *) "self",(char *) "but", NULL
15818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
15819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15820 if (SWIG_arg_fail(1)) SWIG_fail
;
15823 arg2
= (int)(SWIG_As_int(obj1
));
15824 if (SWIG_arg_fail(2)) SWIG_fail
;
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15843 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
;
15845 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15846 int arg2
= (int) wxMOUSE_BTN_ANY
;
15848 PyObject
* obj0
= 0 ;
15849 PyObject
* obj1
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self",(char *) "but", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
15855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15856 if (SWIG_arg_fail(1)) SWIG_fail
;
15859 arg2
= (int)(SWIG_As_int(obj1
));
15860 if (SWIG_arg_fail(2)) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15879 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self",(char *) "but", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
15891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15892 if (SWIG_arg_fail(1)) SWIG_fail
;
15894 arg2
= (int)(SWIG_As_int(obj1
));
15895 if (SWIG_arg_fail(2)) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15913 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15918 PyObject
* obj0
= 0 ;
15919 PyObject
* obj1
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self",(char *) "but", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
15925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15926 if (SWIG_arg_fail(1)) SWIG_fail
;
15928 arg2
= (int)(SWIG_As_int(obj1
));
15929 if (SWIG_arg_fail(2)) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
15935 wxPyEndAllowThreads(__tstate
);
15936 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15947 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15951 PyObject
* obj0
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
15957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15958 if (SWIG_arg_fail(1)) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= SWIG_From_int((int)(result
));
15975 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
15986 if (SWIG_arg_fail(1)) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16003 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16014 if (SWIG_arg_fail(1)) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16031 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16042 if (SWIG_arg_fail(1)) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16059 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16063 PyObject
* obj0
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16070 if (SWIG_arg_fail(1)) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16087 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16098 if (SWIG_arg_fail(1)) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16115 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16126 if (SWIG_arg_fail(1)) SWIG_fail
;
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16143 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16154 if (SWIG_arg_fail(1)) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16171 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
;
16173 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16175 PyObject
* obj0
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16182 if (SWIG_arg_fail(1)) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16199 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16203 PyObject
* obj0
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16210 if (SWIG_arg_fail(1)) SWIG_fail
;
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16227 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16238 if (SWIG_arg_fail(1)) SWIG_fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16255 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16283 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16294 if (SWIG_arg_fail(1)) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16311 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16322 if (SWIG_arg_fail(1)) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16350 if (SWIG_arg_fail(1)) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16378 if (SWIG_arg_fail(1)) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (bool)(arg1
)->LeftIsDown();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16395 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16399 PyObject
* obj0
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16406 if (SWIG_arg_fail(1)) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (bool)(arg1
)->MiddleIsDown();
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16423 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16434 if (SWIG_arg_fail(1)) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= (bool)(arg1
)->RightIsDown();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16451 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16462 if (SWIG_arg_fail(1)) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16479 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16493 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16508 PyObject
*resultobj
;
16509 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16511 PyObject
* obj0
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16518 if (SWIG_arg_fail(1)) SWIG_fail
;
16520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16521 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16535 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16536 PyObject
*resultobj
;
16537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16539 PyObject
* obj0
= 0 ;
16540 char *kwnames
[] = {
16541 (char *) "self", NULL
16544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16546 if (SWIG_arg_fail(1)) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16563 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16567 PyObject
* obj0
= 0 ;
16568 char *kwnames
[] = {
16569 (char *) "self", NULL
16572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16574 if (SWIG_arg_fail(1)) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (arg1
)->GetPosition();
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16583 wxPoint
* resultptr
;
16584 resultptr
= new wxPoint((wxPoint
&)(result
));
16585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16593 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16596 long *arg2
= (long *) 0 ;
16597 long *arg3
= (long *) 0 ;
16602 PyObject
* obj0
= 0 ;
16603 char *kwnames
[] = {
16604 (char *) "self", NULL
16607 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16608 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16611 if (SWIG_arg_fail(1)) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 (arg1
)->GetPosition(arg2
,arg3
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 Py_INCREF(Py_None
); resultobj
= Py_None
;
16620 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16621 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16622 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16623 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16630 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 PyObject
* obj1
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self",(char *) "dc", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16643 if (SWIG_arg_fail(1)) SWIG_fail
;
16645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16646 if (SWIG_arg_fail(2)) SWIG_fail
;
16647 if (arg2
== NULL
) {
16648 SWIG_null_ref("wxDC");
16650 if (SWIG_arg_fail(2)) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16660 wxPoint
* resultptr
;
16661 resultptr
= new wxPoint((wxPoint
&)(result
));
16662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16670 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16681 if (SWIG_arg_fail(1)) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16690 resultobj
= SWIG_From_int((int)(result
));
16698 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16702 PyObject
* obj0
= 0 ;
16703 char *kwnames
[] = {
16704 (char *) "self", NULL
16707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16709 if (SWIG_arg_fail(1)) SWIG_fail
;
16711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16712 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16714 wxPyEndAllowThreads(__tstate
);
16715 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= SWIG_From_int((int)(result
));
16726 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16730 PyObject
* obj0
= 0 ;
16731 char *kwnames
[] = {
16732 (char *) "self", NULL
16735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16737 if (SWIG_arg_fail(1)) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16740 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16742 wxPyEndAllowThreads(__tstate
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16746 resultobj
= SWIG_From_int((int)(result
));
16754 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16755 PyObject
*resultobj
;
16756 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16758 PyObject
* obj0
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
16764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16765 if (SWIG_arg_fail(1)) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16774 resultobj
= SWIG_From_int((int)(result
));
16782 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
;
16784 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 char *kwnames
[] = {
16788 (char *) "self", NULL
16791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
16792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16793 if (SWIG_arg_fail(1)) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= SWIG_From_int((int)(result
));
16810 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 char *kwnames
[] = {
16816 (char *) "self", NULL
16819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
16820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16821 if (SWIG_arg_fail(1)) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16838 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 char *kwnames
[] = {
16845 (char *) "self",(char *) "m_x", NULL
16848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16850 if (SWIG_arg_fail(1)) SWIG_fail
;
16852 arg2
= (int)(SWIG_As_int(obj1
));
16853 if (SWIG_arg_fail(2)) SWIG_fail
;
16855 if (arg1
) (arg1
)->m_x
= arg2
;
16857 Py_INCREF(Py_None
); resultobj
= Py_None
;
16864 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16865 PyObject
*resultobj
;
16866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16868 PyObject
* obj0
= 0 ;
16869 char *kwnames
[] = {
16870 (char *) "self", NULL
16873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
16874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16875 if (SWIG_arg_fail(1)) SWIG_fail
;
16876 result
= (int) ((arg1
)->m_x
);
16879 resultobj
= SWIG_From_int((int)(result
));
16887 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 PyObject
* obj1
= 0 ;
16893 char *kwnames
[] = {
16894 (char *) "self",(char *) "m_y", NULL
16897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16899 if (SWIG_arg_fail(1)) SWIG_fail
;
16901 arg2
= (int)(SWIG_As_int(obj1
));
16902 if (SWIG_arg_fail(2)) SWIG_fail
;
16904 if (arg1
) (arg1
)->m_y
= arg2
;
16906 Py_INCREF(Py_None
); resultobj
= Py_None
;
16913 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16924 if (SWIG_arg_fail(1)) SWIG_fail
;
16925 result
= (int) ((arg1
)->m_y
);
16928 resultobj
= SWIG_From_int((int)(result
));
16936 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self",(char *) "m_leftDown", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16948 if (SWIG_arg_fail(1)) SWIG_fail
;
16950 arg2
= (bool)(SWIG_As_bool(obj1
));
16951 if (SWIG_arg_fail(2)) SWIG_fail
;
16953 if (arg1
) (arg1
)->m_leftDown
= arg2
;
16955 Py_INCREF(Py_None
); resultobj
= Py_None
;
16962 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
16972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16973 if (SWIG_arg_fail(1)) SWIG_fail
;
16974 result
= (bool) ((arg1
)->m_leftDown
);
16977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16985 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self",(char *) "m_middleDown", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16997 if (SWIG_arg_fail(1)) SWIG_fail
;
16999 arg2
= (bool)(SWIG_As_bool(obj1
));
17000 if (SWIG_arg_fail(2)) SWIG_fail
;
17002 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17004 Py_INCREF(Py_None
); resultobj
= Py_None
;
17011 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17015 PyObject
* obj0
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "self", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17022 if (SWIG_arg_fail(1)) SWIG_fail
;
17023 result
= (bool) ((arg1
)->m_middleDown
);
17026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17034 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 PyObject
* obj1
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self",(char *) "m_rightDown", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17046 if (SWIG_arg_fail(1)) SWIG_fail
;
17048 arg2
= (bool)(SWIG_As_bool(obj1
));
17049 if (SWIG_arg_fail(2)) SWIG_fail
;
17051 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17053 Py_INCREF(Py_None
); resultobj
= Py_None
;
17060 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17064 PyObject
* obj0
= 0 ;
17065 char *kwnames
[] = {
17066 (char *) "self", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17071 if (SWIG_arg_fail(1)) SWIG_fail
;
17072 result
= (bool) ((arg1
)->m_rightDown
);
17075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17083 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self",(char *) "m_controlDown", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17095 if (SWIG_arg_fail(1)) SWIG_fail
;
17097 arg2
= (bool)(SWIG_As_bool(obj1
));
17098 if (SWIG_arg_fail(2)) SWIG_fail
;
17100 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17102 Py_INCREF(Py_None
); resultobj
= Py_None
;
17109 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17113 PyObject
* obj0
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17120 if (SWIG_arg_fail(1)) SWIG_fail
;
17121 result
= (bool) ((arg1
)->m_controlDown
);
17124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17132 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17136 PyObject
* obj0
= 0 ;
17137 PyObject
* obj1
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self",(char *) "m_shiftDown", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17144 if (SWIG_arg_fail(1)) SWIG_fail
;
17146 arg2
= (bool)(SWIG_As_bool(obj1
));
17147 if (SWIG_arg_fail(2)) SWIG_fail
;
17149 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17151 Py_INCREF(Py_None
); resultobj
= Py_None
;
17158 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17169 if (SWIG_arg_fail(1)) SWIG_fail
;
17170 result
= (bool) ((arg1
)->m_shiftDown
);
17173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17181 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17185 PyObject
* obj0
= 0 ;
17186 PyObject
* obj1
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self",(char *) "m_altDown", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17193 if (SWIG_arg_fail(1)) SWIG_fail
;
17195 arg2
= (bool)(SWIG_As_bool(obj1
));
17196 if (SWIG_arg_fail(2)) SWIG_fail
;
17198 if (arg1
) (arg1
)->m_altDown
= arg2
;
17200 Py_INCREF(Py_None
); resultobj
= Py_None
;
17207 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17211 PyObject
* obj0
= 0 ;
17212 char *kwnames
[] = {
17213 (char *) "self", NULL
17216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17218 if (SWIG_arg_fail(1)) SWIG_fail
;
17219 result
= (bool) ((arg1
)->m_altDown
);
17222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17230 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17234 PyObject
* obj0
= 0 ;
17235 PyObject
* obj1
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "self",(char *) "m_metaDown", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17242 if (SWIG_arg_fail(1)) SWIG_fail
;
17244 arg2
= (bool)(SWIG_As_bool(obj1
));
17245 if (SWIG_arg_fail(2)) SWIG_fail
;
17247 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17249 Py_INCREF(Py_None
); resultobj
= Py_None
;
17256 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
;
17258 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17260 PyObject
* obj0
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17267 if (SWIG_arg_fail(1)) SWIG_fail
;
17268 result
= (bool) ((arg1
)->m_metaDown
);
17271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17279 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17280 PyObject
*resultobj
;
17281 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17283 PyObject
* obj0
= 0 ;
17284 PyObject
* obj1
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self",(char *) "m_wheelRotation", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17291 if (SWIG_arg_fail(1)) SWIG_fail
;
17293 arg2
= (int)(SWIG_As_int(obj1
));
17294 if (SWIG_arg_fail(2)) SWIG_fail
;
17296 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17298 Py_INCREF(Py_None
); resultobj
= Py_None
;
17305 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17309 PyObject
* obj0
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17316 if (SWIG_arg_fail(1)) SWIG_fail
;
17317 result
= (int) ((arg1
)->m_wheelRotation
);
17320 resultobj
= SWIG_From_int((int)(result
));
17328 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "m_wheelDelta", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17340 if (SWIG_arg_fail(1)) SWIG_fail
;
17342 arg2
= (int)(SWIG_As_int(obj1
));
17343 if (SWIG_arg_fail(2)) SWIG_fail
;
17345 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17365 if (SWIG_arg_fail(1)) SWIG_fail
;
17366 result
= (int) ((arg1
)->m_wheelDelta
);
17369 resultobj
= SWIG_From_int((int)(result
));
17377 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self",(char *) "m_linesPerAction", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17389 if (SWIG_arg_fail(1)) SWIG_fail
;
17391 arg2
= (int)(SWIG_As_int(obj1
));
17392 if (SWIG_arg_fail(2)) SWIG_fail
;
17394 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17396 Py_INCREF(Py_None
); resultobj
= Py_None
;
17403 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17407 PyObject
* obj0
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17414 if (SWIG_arg_fail(1)) SWIG_fail
;
17415 result
= (int) ((arg1
)->m_linesPerAction
);
17418 resultobj
= SWIG_From_int((int)(result
));
17426 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17429 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17431 return Py_BuildValue((char *)"");
17433 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 int arg1
= (int) 0 ;
17436 int arg2
= (int) 0 ;
17437 wxSetCursorEvent
*result
;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 char *kwnames
[] = {
17441 (char *) "x",(char *) "y", NULL
17444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17447 arg1
= (int)(SWIG_As_int(obj0
));
17448 if (SWIG_arg_fail(1)) SWIG_fail
;
17453 arg2
= (int)(SWIG_As_int(obj1
));
17454 if (SWIG_arg_fail(2)) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17471 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17475 PyObject
* obj0
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17482 if (SWIG_arg_fail(1)) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= SWIG_From_int((int)(result
));
17499 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17510 if (SWIG_arg_fail(1)) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17519 resultobj
= SWIG_From_int((int)(result
));
17527 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17530 wxCursor
*arg2
= 0 ;
17531 PyObject
* obj0
= 0 ;
17532 PyObject
* obj1
= 0 ;
17533 char *kwnames
[] = {
17534 (char *) "self",(char *) "cursor", NULL
17537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17539 if (SWIG_arg_fail(1)) SWIG_fail
;
17541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17542 if (SWIG_arg_fail(2)) SWIG_fail
;
17543 if (arg2
== NULL
) {
17544 SWIG_null_ref("wxCursor");
17546 if (SWIG_arg_fail(2)) SWIG_fail
;
17549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 Py_INCREF(Py_None
); resultobj
= Py_None
;
17562 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17566 PyObject
* obj0
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17573 if (SWIG_arg_fail(1)) SWIG_fail
;
17575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17577 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17578 result
= (wxCursor
*) &_result_ref
;
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 wxCursor
* resultptr
= new wxCursor(*result
);
17586 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17594 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17598 PyObject
* obj0
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17605 if (SWIG_arg_fail(1)) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17622 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17625 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17627 return Py_BuildValue((char *)"");
17629 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17632 wxKeyEvent
*result
;
17633 PyObject
* obj0
= 0 ;
17634 char *kwnames
[] = {
17635 (char *) "keyType", NULL
17638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17641 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17642 if (SWIG_arg_fail(1)) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17659 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "self", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
17669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17670 if (SWIG_arg_fail(1)) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17687 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17691 PyObject
* obj0
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "self", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
17697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17698 if (SWIG_arg_fail(1)) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17715 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17719 PyObject
* obj0
= 0 ;
17720 char *kwnames
[] = {
17721 (char *) "self", NULL
17724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17726 if (SWIG_arg_fail(1)) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17743 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17747 PyObject
* obj0
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
17753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17754 if (SWIG_arg_fail(1)) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17771 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
17781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17782 if (SWIG_arg_fail(1)) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
17787 wxPyEndAllowThreads(__tstate
);
17788 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17799 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
;
17801 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17803 PyObject
* obj0
= 0 ;
17804 char *kwnames
[] = {
17805 (char *) "self", NULL
17808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
17809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17810 if (SWIG_arg_fail(1)) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17827 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
;
17829 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17831 PyObject
* obj0
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17838 if (SWIG_arg_fail(1)) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= SWIG_From_int((int)(result
));
17855 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17859 PyObject
* obj0
= 0 ;
17860 char *kwnames
[] = {
17861 (char *) "self", NULL
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
17865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17866 if (SWIG_arg_fail(1)) SWIG_fail
;
17868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17869 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
17871 wxPyEndAllowThreads(__tstate
);
17872 if (PyErr_Occurred()) SWIG_fail
;
17875 resultobj
= SWIG_From_int((int)(result
));
17883 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17885 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17886 unsigned int result
;
17887 PyObject
* obj0
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "self", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
17893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17894 if (SWIG_arg_fail(1)) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
17899 wxPyEndAllowThreads(__tstate
);
17900 if (PyErr_Occurred()) SWIG_fail
;
17903 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17911 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17914 unsigned int result
;
17915 PyObject
* obj0
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
17921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17922 if (SWIG_arg_fail(1)) SWIG_fail
;
17924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
17939 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17950 if (SWIG_arg_fail(1)) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= (arg1
)->GetPosition();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 wxPoint
* resultptr
;
17960 resultptr
= new wxPoint((wxPoint
&)(result
));
17961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17969 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17972 long *arg2
= (long *) 0 ;
17973 long *arg3
= (long *) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self", NULL
17983 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17984 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17987 if (SWIG_arg_fail(1)) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 (arg1
)->GetPosition(arg2
,arg3
);
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 Py_INCREF(Py_None
); resultobj
= Py_None
;
17996 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17997 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17998 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17999 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18006 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18017 if (SWIG_arg_fail(1)) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_From_int((int)(result
));
18034 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= SWIG_From_int((int)(result
));
18062 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self",(char *) "m_x", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18074 if (SWIG_arg_fail(1)) SWIG_fail
;
18076 arg2
= (int)(SWIG_As_int(obj1
));
18077 if (SWIG_arg_fail(2)) SWIG_fail
;
18079 if (arg1
) (arg1
)->m_x
= arg2
;
18081 Py_INCREF(Py_None
); resultobj
= Py_None
;
18088 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18099 if (SWIG_arg_fail(1)) SWIG_fail
;
18100 result
= (int) ((arg1
)->m_x
);
18103 resultobj
= SWIG_From_int((int)(result
));
18111 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
;
18113 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self",(char *) "m_y", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18123 if (SWIG_arg_fail(1)) SWIG_fail
;
18125 arg2
= (int)(SWIG_As_int(obj1
));
18126 if (SWIG_arg_fail(2)) SWIG_fail
;
18128 if (arg1
) (arg1
)->m_y
= arg2
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18137 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18148 if (SWIG_arg_fail(1)) SWIG_fail
;
18149 result
= (int) ((arg1
)->m_y
);
18152 resultobj
= SWIG_From_int((int)(result
));
18160 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 PyObject
* obj1
= 0 ;
18166 char *kwnames
[] = {
18167 (char *) "self",(char *) "m_keyCode", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18172 if (SWIG_arg_fail(1)) SWIG_fail
;
18174 arg2
= (long)(SWIG_As_long(obj1
));
18175 if (SWIG_arg_fail(2)) SWIG_fail
;
18177 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18179 Py_INCREF(Py_None
); resultobj
= Py_None
;
18186 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
;
18188 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18190 PyObject
* obj0
= 0 ;
18191 char *kwnames
[] = {
18192 (char *) "self", NULL
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18197 if (SWIG_arg_fail(1)) SWIG_fail
;
18198 result
= (long) ((arg1
)->m_keyCode
);
18201 resultobj
= SWIG_From_long((long)(result
));
18209 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "m_controlDown", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18221 if (SWIG_arg_fail(1)) SWIG_fail
;
18223 arg2
= (bool)(SWIG_As_bool(obj1
));
18224 if (SWIG_arg_fail(2)) SWIG_fail
;
18226 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18228 Py_INCREF(Py_None
); resultobj
= Py_None
;
18235 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18236 PyObject
*resultobj
;
18237 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18246 if (SWIG_arg_fail(1)) SWIG_fail
;
18247 result
= (bool) ((arg1
)->m_controlDown
);
18250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18258 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 PyObject
* obj1
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self",(char *) "m_shiftDown", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18270 if (SWIG_arg_fail(1)) SWIG_fail
;
18272 arg2
= (bool)(SWIG_As_bool(obj1
));
18273 if (SWIG_arg_fail(2)) SWIG_fail
;
18275 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18277 Py_INCREF(Py_None
); resultobj
= Py_None
;
18284 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18295 if (SWIG_arg_fail(1)) SWIG_fail
;
18296 result
= (bool) ((arg1
)->m_shiftDown
);
18299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18307 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18308 PyObject
*resultobj
;
18309 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18311 PyObject
* obj0
= 0 ;
18312 PyObject
* obj1
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self",(char *) "m_altDown", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18319 if (SWIG_arg_fail(1)) SWIG_fail
;
18321 arg2
= (bool)(SWIG_As_bool(obj1
));
18322 if (SWIG_arg_fail(2)) SWIG_fail
;
18324 if (arg1
) (arg1
)->m_altDown
= arg2
;
18326 Py_INCREF(Py_None
); resultobj
= Py_None
;
18333 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
;
18335 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18337 PyObject
* obj0
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18344 if (SWIG_arg_fail(1)) SWIG_fail
;
18345 result
= (bool) ((arg1
)->m_altDown
);
18348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18356 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18357 PyObject
*resultobj
;
18358 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "m_metaDown", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18368 if (SWIG_arg_fail(1)) SWIG_fail
;
18370 arg2
= (bool)(SWIG_As_bool(obj1
));
18371 if (SWIG_arg_fail(2)) SWIG_fail
;
18373 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18375 Py_INCREF(Py_None
); resultobj
= Py_None
;
18382 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
;
18384 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18386 PyObject
* obj0
= 0 ;
18387 char *kwnames
[] = {
18388 (char *) "self", NULL
18391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18393 if (SWIG_arg_fail(1)) SWIG_fail
;
18394 result
= (bool) ((arg1
)->m_metaDown
);
18397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18405 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18406 PyObject
*resultobj
;
18407 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self",(char *) "m_scanCode", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18417 if (SWIG_arg_fail(1)) SWIG_fail
;
18419 arg2
= (bool)(SWIG_As_bool(obj1
));
18420 if (SWIG_arg_fail(2)) SWIG_fail
;
18422 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18424 Py_INCREF(Py_None
); resultobj
= Py_None
;
18431 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18442 if (SWIG_arg_fail(1)) SWIG_fail
;
18443 result
= (bool) ((arg1
)->m_scanCode
);
18446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18454 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18455 PyObject
*resultobj
;
18456 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18457 unsigned int arg2
;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self",(char *) "m_rawCode", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18466 if (SWIG_arg_fail(1)) SWIG_fail
;
18468 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18469 if (SWIG_arg_fail(2)) SWIG_fail
;
18471 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18473 Py_INCREF(Py_None
); resultobj
= Py_None
;
18480 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18481 PyObject
*resultobj
;
18482 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18483 unsigned int result
;
18484 PyObject
* obj0
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18491 if (SWIG_arg_fail(1)) SWIG_fail
;
18492 result
= (unsigned int) ((arg1
)->m_rawCode
);
18495 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18503 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18505 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18506 unsigned int arg2
;
18507 PyObject
* obj0
= 0 ;
18508 PyObject
* obj1
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self",(char *) "m_rawFlags", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18515 if (SWIG_arg_fail(1)) SWIG_fail
;
18517 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18518 if (SWIG_arg_fail(2)) SWIG_fail
;
18520 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18522 Py_INCREF(Py_None
); resultobj
= Py_None
;
18529 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18532 unsigned int result
;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18540 if (SWIG_arg_fail(1)) SWIG_fail
;
18541 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18544 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18552 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18555 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18557 return Py_BuildValue((char *)"");
18559 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18562 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18563 int arg2
= (int) 0 ;
18564 wxSizeEvent
*result
;
18566 PyObject
* obj0
= 0 ;
18567 PyObject
* obj1
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "sz",(char *) "winid", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18576 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18581 arg2
= (int)(SWIG_As_int(obj1
));
18582 if (SWIG_arg_fail(2)) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18599 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 char *kwnames
[] = {
18605 (char *) "self", NULL
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18610 if (SWIG_arg_fail(1)) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 wxSize
* resultptr
;
18620 resultptr
= new wxSize((wxSize
&)(result
));
18621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18629 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18630 PyObject
*resultobj
;
18631 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18633 PyObject
* obj0
= 0 ;
18634 char *kwnames
[] = {
18635 (char *) "self", NULL
18638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18640 if (SWIG_arg_fail(1)) SWIG_fail
;
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18645 wxPyEndAllowThreads(__tstate
);
18646 if (PyErr_Occurred()) SWIG_fail
;
18649 wxRect
* resultptr
;
18650 resultptr
= new wxRect((wxRect
&)(result
));
18651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18659 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 char *kwnames
[] = {
18666 (char *) "self",(char *) "rect", NULL
18669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18671 if (SWIG_arg_fail(1)) SWIG_fail
;
18674 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18675 if (SWIG_arg_fail(2)) SWIG_fail
;
18676 if (argp
== NULL
) {
18677 SWIG_null_ref("wxRect");
18679 if (SWIG_arg_fail(2)) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18684 (arg1
)->SetRect(arg2
);
18686 wxPyEndAllowThreads(__tstate
);
18687 if (PyErr_Occurred()) SWIG_fail
;
18689 Py_INCREF(Py_None
); resultobj
= Py_None
;
18696 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18700 PyObject
* obj0
= 0 ;
18701 PyObject
* obj1
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self",(char *) "size", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18708 if (SWIG_arg_fail(1)) SWIG_fail
;
18711 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18712 if (SWIG_arg_fail(2)) SWIG_fail
;
18713 if (argp
== NULL
) {
18714 SWIG_null_ref("wxSize");
18716 if (SWIG_arg_fail(2)) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 wxSizeEvent_SetSize(arg1
,arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 Py_INCREF(Py_None
); resultobj
= Py_None
;
18733 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
;
18735 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18736 wxSize
*arg2
= (wxSize
*) 0 ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self",(char *) "m_size", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18745 if (SWIG_arg_fail(1)) SWIG_fail
;
18746 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18747 if (SWIG_arg_fail(2)) SWIG_fail
;
18748 if (arg1
) (arg1
)->m_size
= *arg2
;
18750 Py_INCREF(Py_None
); resultobj
= Py_None
;
18757 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
18767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18768 if (SWIG_arg_fail(1)) SWIG_fail
;
18769 result
= (wxSize
*)& ((arg1
)->m_size
);
18771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18778 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18779 PyObject
*resultobj
;
18780 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18781 wxRect
*arg2
= (wxRect
*) 0 ;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self",(char *) "m_rect", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18790 if (SWIG_arg_fail(1)) SWIG_fail
;
18791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
18792 if (SWIG_arg_fail(2)) SWIG_fail
;
18793 if (arg1
) (arg1
)->m_rect
= *arg2
;
18795 Py_INCREF(Py_None
); resultobj
= Py_None
;
18802 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
18812 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18813 if (SWIG_arg_fail(1)) SWIG_fail
;
18814 result
= (wxRect
*)& ((arg1
)->m_rect
);
18816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
18823 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
18825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18826 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
18828 return Py_BuildValue((char *)"");
18830 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
18833 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
18834 int arg2
= (int) 0 ;
18835 wxMoveEvent
*result
;
18837 PyObject
* obj0
= 0 ;
18838 PyObject
* obj1
= 0 ;
18839 char *kwnames
[] = {
18840 (char *) "pos",(char *) "winid", NULL
18843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18847 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
18852 arg2
= (int)(SWIG_As_int(obj1
));
18853 if (SWIG_arg_fail(2)) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
18870 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18881 if (SWIG_arg_fail(1)) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18890 wxPoint
* resultptr
;
18891 resultptr
= new wxPoint((wxPoint
&)(result
));
18892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18900 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18911 if (SWIG_arg_fail(1)) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18920 wxRect
* resultptr
;
18921 resultptr
= new wxRect((wxRect
&)(result
));
18922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18930 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18934 PyObject
* obj0
= 0 ;
18935 PyObject
* obj1
= 0 ;
18936 char *kwnames
[] = {
18937 (char *) "self",(char *) "rect", NULL
18940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18942 if (SWIG_arg_fail(1)) SWIG_fail
;
18945 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18946 if (SWIG_arg_fail(2)) SWIG_fail
;
18947 if (argp
== NULL
) {
18948 SWIG_null_ref("wxRect");
18950 if (SWIG_arg_fail(2)) SWIG_fail
;
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 (arg1
)->SetRect(arg2
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 Py_INCREF(Py_None
); resultobj
= Py_None
;
18967 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18969 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
18971 PyObject
* obj0
= 0 ;
18972 PyObject
* obj1
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "self",(char *) "pos", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
18979 if (SWIG_arg_fail(1)) SWIG_fail
;
18982 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
18983 if (SWIG_arg_fail(2)) SWIG_fail
;
18984 if (argp
== NULL
) {
18985 SWIG_null_ref("wxPoint");
18987 if (SWIG_arg_fail(2)) SWIG_fail
;
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 wxMoveEvent_SetPosition(arg1
,arg2
);
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18997 Py_INCREF(Py_None
); resultobj
= Py_None
;
19004 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19005 PyObject
*resultobj
;
19006 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19007 wxPoint
*arg2
= (wxPoint
*) 0 ;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "self",(char *) "m_pos", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19016 if (SWIG_arg_fail(1)) SWIG_fail
;
19017 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
19018 if (SWIG_arg_fail(2)) SWIG_fail
;
19019 if (arg1
) (arg1
)->m_pos
= *arg2
;
19021 Py_INCREF(Py_None
); resultobj
= Py_None
;
19028 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
19038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19039 if (SWIG_arg_fail(1)) SWIG_fail
;
19040 result
= (wxPoint
*)& ((arg1
)->m_pos
);
19042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19049 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19050 PyObject
*resultobj
;
19051 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19052 wxRect
*arg2
= (wxRect
*) 0 ;
19053 PyObject
* obj0
= 0 ;
19054 PyObject
* obj1
= 0 ;
19055 char *kwnames
[] = {
19056 (char *) "self",(char *) "m_rect", NULL
19059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19061 if (SWIG_arg_fail(1)) SWIG_fail
;
19062 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19063 if (SWIG_arg_fail(2)) SWIG_fail
;
19064 if (arg1
) (arg1
)->m_rect
= *arg2
;
19066 Py_INCREF(Py_None
); resultobj
= Py_None
;
19073 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19084 if (SWIG_arg_fail(1)) SWIG_fail
;
19085 result
= (wxRect
*)& ((arg1
)->m_rect
);
19087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19094 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19097 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19099 return Py_BuildValue((char *)"");
19101 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19102 PyObject
*resultobj
;
19103 int arg1
= (int) 0 ;
19104 wxPaintEvent
*result
;
19105 PyObject
* obj0
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "Id", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19113 arg1
= (int)(SWIG_As_int(obj0
));
19114 if (SWIG_arg_fail(1)) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19131 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19134 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19136 return Py_BuildValue((char *)"");
19138 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19139 PyObject
*resultobj
;
19140 int arg1
= (int) 0 ;
19141 wxNcPaintEvent
*result
;
19142 PyObject
* obj0
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "winid", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19150 arg1
= (int)(SWIG_As_int(obj0
));
19151 if (SWIG_arg_fail(1)) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19168 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19171 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19173 return Py_BuildValue((char *)"");
19175 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 int arg1
= (int) 0 ;
19178 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19179 wxEraseEvent
*result
;
19180 PyObject
* obj0
= 0 ;
19181 PyObject
* obj1
= 0 ;
19182 char *kwnames
[] = {
19183 (char *) "Id",(char *) "dc", NULL
19186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19189 arg1
= (int)(SWIG_As_int(obj0
));
19190 if (SWIG_arg_fail(1)) SWIG_fail
;
19194 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19195 if (SWIG_arg_fail(2)) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19211 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19222 if (SWIG_arg_fail(1)) SWIG_fail
;
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= wxPyMake_wxObject(result
, 0);
19239 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19242 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19244 return Py_BuildValue((char *)"");
19246 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19247 PyObject
*resultobj
;
19248 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19249 int arg2
= (int) 0 ;
19250 wxFocusEvent
*result
;
19251 PyObject
* obj0
= 0 ;
19252 PyObject
* obj1
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "type",(char *) "winid", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19260 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19261 if (SWIG_arg_fail(1)) SWIG_fail
;
19266 arg2
= (int)(SWIG_As_int(obj1
));
19267 if (SWIG_arg_fail(2)) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19284 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19288 PyObject
* obj0
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19295 if (SWIG_arg_fail(1)) SWIG_fail
;
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19304 resultobj
= wxPyMake_wxObject(result
, 0);
19312 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19315 wxWindow
*arg2
= (wxWindow
*) 0 ;
19316 PyObject
* obj0
= 0 ;
19317 PyObject
* obj1
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self",(char *) "win", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19324 if (SWIG_arg_fail(1)) SWIG_fail
;
19325 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19326 if (SWIG_arg_fail(2)) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 (arg1
)->SetWindow(arg2
);
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 Py_INCREF(Py_None
); resultobj
= Py_None
;
19341 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19344 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19346 return Py_BuildValue((char *)"");
19348 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxWindow
*arg1
= (wxWindow
*) NULL
;
19351 wxChildFocusEvent
*result
;
19352 PyObject
* obj0
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "win", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19360 if (SWIG_arg_fail(1)) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19376 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
;
19378 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19380 PyObject
* obj0
= 0 ;
19381 char *kwnames
[] = {
19382 (char *) "self", NULL
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19387 if (SWIG_arg_fail(1)) SWIG_fail
;
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= wxPyMake_wxObject(result
, 0);
19404 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19407 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19409 return Py_BuildValue((char *)"");
19411 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19414 bool arg2
= (bool) true ;
19415 int arg3
= (int) 0 ;
19416 wxActivateEvent
*result
;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 PyObject
* obj2
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "type",(char *) "active",(char *) "Id", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19427 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19428 if (SWIG_arg_fail(1)) SWIG_fail
;
19433 arg2
= (bool)(SWIG_As_bool(obj1
));
19434 if (SWIG_arg_fail(2)) SWIG_fail
;
19439 arg3
= (int)(SWIG_As_int(obj2
));
19440 if (SWIG_arg_fail(3)) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19457 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19461 PyObject
* obj0
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19468 if (SWIG_arg_fail(1)) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19485 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19488 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19490 return Py_BuildValue((char *)"");
19492 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19493 PyObject
*resultobj
;
19494 int arg1
= (int) 0 ;
19495 wxInitDialogEvent
*result
;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "Id", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19504 arg1
= (int)(SWIG_As_int(obj0
));
19505 if (SWIG_arg_fail(1)) SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19522 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19525 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19527 return Py_BuildValue((char *)"");
19529 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19530 PyObject
*resultobj
;
19531 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19532 int arg2
= (int) 0 ;
19533 wxMenu
*arg3
= (wxMenu
*) NULL
;
19534 wxMenuEvent
*result
;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 PyObject
* obj2
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "type",(char *) "winid",(char *) "menu", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19545 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19546 if (SWIG_arg_fail(1)) SWIG_fail
;
19551 arg2
= (int)(SWIG_As_int(obj1
));
19552 if (SWIG_arg_fail(2)) SWIG_fail
;
19556 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19557 if (SWIG_arg_fail(3)) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19573 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 char *kwnames
[] = {
19579 (char *) "self", NULL
19582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19584 if (SWIG_arg_fail(1)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19593 resultobj
= SWIG_From_int((int)(result
));
19601 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
;
19603 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19605 PyObject
* obj0
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19612 if (SWIG_arg_fail(1)) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19629 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19631 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19633 PyObject
* obj0
= 0 ;
19634 char *kwnames
[] = {
19635 (char *) "self", NULL
19638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19640 if (SWIG_arg_fail(1)) SWIG_fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= wxPyMake_wxObject(result
, 0);
19657 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19660 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19662 return Py_BuildValue((char *)"");
19664 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
;
19666 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19667 int arg2
= (int) 0 ;
19668 wxCloseEvent
*result
;
19669 PyObject
* obj0
= 0 ;
19670 PyObject
* obj1
= 0 ;
19671 char *kwnames
[] = {
19672 (char *) "type",(char *) "winid", NULL
19675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19678 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19679 if (SWIG_arg_fail(1)) SWIG_fail
;
19684 arg2
= (int)(SWIG_As_int(obj1
));
19685 if (SWIG_arg_fail(2)) SWIG_fail
;
19689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19692 wxPyEndAllowThreads(__tstate
);
19693 if (PyErr_Occurred()) SWIG_fail
;
19695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19702 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19706 PyObject
* obj0
= 0 ;
19707 PyObject
* obj1
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self",(char *) "logOff", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19714 if (SWIG_arg_fail(1)) SWIG_fail
;
19716 arg2
= (bool)(SWIG_As_bool(obj1
));
19717 if (SWIG_arg_fail(2)) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 (arg1
)->SetLoggingOff(arg2
);
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 Py_INCREF(Py_None
); resultobj
= Py_None
;
19733 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19744 if (SWIG_arg_fail(1)) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19761 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
;
19763 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19764 bool arg2
= (bool) true ;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self",(char *) "veto", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19773 if (SWIG_arg_fail(1)) SWIG_fail
;
19776 arg2
= (bool)(SWIG_As_bool(obj1
));
19777 if (SWIG_arg_fail(2)) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 (arg1
)->Veto(arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 Py_INCREF(Py_None
); resultobj
= Py_None
;
19794 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19798 PyObject
* obj0
= 0 ;
19799 PyObject
* obj1
= 0 ;
19800 char *kwnames
[] = {
19801 (char *) "self",(char *) "canVeto", NULL
19804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19806 if (SWIG_arg_fail(1)) SWIG_fail
;
19808 arg2
= (bool)(SWIG_As_bool(obj1
));
19809 if (SWIG_arg_fail(2)) SWIG_fail
;
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 (arg1
)->SetCanVeto(arg2
);
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19818 Py_INCREF(Py_None
); resultobj
= Py_None
;
19825 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
;
19827 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19829 PyObject
* obj0
= 0 ;
19830 char *kwnames
[] = {
19831 (char *) "self", NULL
19834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19836 if (SWIG_arg_fail(1)) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19853 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19857 PyObject
* obj0
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "self", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
19863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19864 if (SWIG_arg_fail(1)) SWIG_fail
;
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19881 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
19883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19884 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
19886 return Py_BuildValue((char *)"");
19888 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 int arg1
= (int) 0 ;
19891 bool arg2
= (bool) false ;
19892 wxShowEvent
*result
;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "winid",(char *) "show", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19902 arg1
= (int)(SWIG_As_int(obj0
));
19903 if (SWIG_arg_fail(1)) SWIG_fail
;
19908 arg2
= (bool)(SWIG_As_bool(obj1
));
19909 if (SWIG_arg_fail(2)) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
19926 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19927 PyObject
*resultobj
;
19928 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19930 PyObject
* obj0
= 0 ;
19931 PyObject
* obj1
= 0 ;
19932 char *kwnames
[] = {
19933 (char *) "self",(char *) "show", NULL
19936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
19937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19938 if (SWIG_arg_fail(1)) SWIG_fail
;
19940 arg2
= (bool)(SWIG_As_bool(obj1
));
19941 if (SWIG_arg_fail(2)) SWIG_fail
;
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 (arg1
)->SetShow(arg2
);
19947 wxPyEndAllowThreads(__tstate
);
19948 if (PyErr_Occurred()) SWIG_fail
;
19950 Py_INCREF(Py_None
); resultobj
= Py_None
;
19957 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
19967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
19968 if (SWIG_arg_fail(1)) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19985 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
19987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19988 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
19990 return Py_BuildValue((char *)"");
19992 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 int arg1
= (int) 0 ;
19995 bool arg2
= (bool) true ;
19996 wxIconizeEvent
*result
;
19997 PyObject
* obj0
= 0 ;
19998 PyObject
* obj1
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "id",(char *) "iconized", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20006 arg1
= (int)(SWIG_As_int(obj0
));
20007 if (SWIG_arg_fail(1)) SWIG_fail
;
20012 arg2
= (bool)(SWIG_As_bool(obj1
));
20013 if (SWIG_arg_fail(2)) SWIG_fail
;
20017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20018 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20030 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
;
20032 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20034 PyObject
* obj0
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "self", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20041 if (SWIG_arg_fail(1)) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 result
= (bool)(arg1
)->Iconized();
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20058 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20061 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20063 return Py_BuildValue((char *)"");
20065 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
;
20067 int arg1
= (int) 0 ;
20068 wxMaximizeEvent
*result
;
20069 PyObject
* obj0
= 0 ;
20070 char *kwnames
[] = {
20071 (char *) "id", NULL
20074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20077 arg1
= (int)(SWIG_As_int(obj0
));
20078 if (SWIG_arg_fail(1)) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20095 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20098 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20100 return Py_BuildValue((char *)"");
20102 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20113 if (SWIG_arg_fail(1)) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 result
= (arg1
)->GetPosition();
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20122 wxPoint
* resultptr
;
20123 resultptr
= new wxPoint((wxPoint
&)(result
));
20124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20132 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20143 if (SWIG_arg_fail(1)) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (int)(arg1
)->GetNumberOfFiles();
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= SWIG_From_int((int)(result
));
20160 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
;
20162 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20164 PyObject
* obj0
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20171 if (SWIG_arg_fail(1)) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= result
;
20186 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20189 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20191 return Py_BuildValue((char *)"");
20193 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 int arg1
= (int) 0 ;
20196 wxUpdateUIEvent
*result
;
20197 PyObject
* obj0
= 0 ;
20198 char *kwnames
[] = {
20199 (char *) "commandId", NULL
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20205 arg1
= (int)(SWIG_As_int(obj0
));
20206 if (SWIG_arg_fail(1)) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20223 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20225 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20227 PyObject
* obj0
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20234 if (SWIG_arg_fail(1)) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20251 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20255 PyObject
* obj0
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20262 if (SWIG_arg_fail(1)) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20279 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20290 if (SWIG_arg_fail(1)) SWIG_fail
;
20292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20293 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20311 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20322 if (SWIG_arg_fail(1)) SWIG_fail
;
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20339 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
;
20341 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 char *kwnames
[] = {
20345 (char *) "self", NULL
20348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20350 if (SWIG_arg_fail(1)) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20367 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
;
20369 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20371 PyObject
* obj0
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail
;
20380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20381 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20383 wxPyEndAllowThreads(__tstate
);
20384 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20395 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20396 PyObject
*resultobj
;
20397 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20399 PyObject
* obj0
= 0 ;
20400 PyObject
* obj1
= 0 ;
20401 char *kwnames
[] = {
20402 (char *) "self",(char *) "check", NULL
20405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20407 if (SWIG_arg_fail(1)) SWIG_fail
;
20409 arg2
= (bool)(SWIG_As_bool(obj1
));
20410 if (SWIG_arg_fail(2)) SWIG_fail
;
20413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20414 (arg1
)->Check(arg2
);
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20419 Py_INCREF(Py_None
); resultobj
= Py_None
;
20426 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
;
20428 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self",(char *) "enable", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20438 if (SWIG_arg_fail(1)) SWIG_fail
;
20440 arg2
= (bool)(SWIG_As_bool(obj1
));
20441 if (SWIG_arg_fail(2)) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 (arg1
)->Enable(arg2
);
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 Py_INCREF(Py_None
); resultobj
= Py_None
;
20457 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20460 wxString
*arg2
= 0 ;
20461 bool temp2
= false ;
20462 PyObject
* obj0
= 0 ;
20463 PyObject
* obj1
= 0 ;
20464 char *kwnames
[] = {
20465 (char *) "self",(char *) "text", NULL
20468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20470 if (SWIG_arg_fail(1)) SWIG_fail
;
20472 arg2
= wxString_in_helper(obj1
);
20473 if (arg2
== NULL
) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->SetText((wxString
const &)*arg2
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 Py_INCREF(Py_None
); resultobj
= Py_None
;
20498 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20499 PyObject
*resultobj
;
20501 PyObject
* obj0
= 0 ;
20502 char *kwnames
[] = {
20503 (char *) "updateInterval", NULL
20506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20508 arg1
= (long)(SWIG_As_long(obj0
));
20509 if (SWIG_arg_fail(1)) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 Py_INCREF(Py_None
); resultobj
= Py_None
;
20525 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20528 char *kwnames
[] = {
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= SWIG_From_long((long)(result
));
20549 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxWindow
*arg1
= (wxWindow
*) 0 ;
20553 PyObject
* obj0
= 0 ;
20554 char *kwnames
[] = {
20555 (char *) "win", NULL
20558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20560 if (SWIG_arg_fail(1)) SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20577 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 char *kwnames
[] = {
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 wxUpdateUIEvent::ResetUpdateTime();
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20591 Py_INCREF(Py_None
); resultobj
= Py_None
;
20598 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
;
20600 wxUpdateUIMode arg1
;
20601 PyObject
* obj0
= 0 ;
20602 char *kwnames
[] = {
20603 (char *) "mode", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20608 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20609 if (SWIG_arg_fail(1)) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxUpdateUIMode result
;
20628 char *kwnames
[] = {
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= SWIG_From_int((result
));
20647 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20650 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20652 return Py_BuildValue((char *)"");
20654 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxSysColourChangedEvent
*result
;
20657 char *kwnames
[] = {
20661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20664 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20666 wxPyEndAllowThreads(__tstate
);
20667 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20676 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20679 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20681 return Py_BuildValue((char *)"");
20683 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20685 int arg1
= (int) 0 ;
20686 wxWindow
*arg2
= (wxWindow
*) NULL
;
20687 wxMouseCaptureChangedEvent
*result
;
20688 PyObject
* obj0
= 0 ;
20689 PyObject
* obj1
= 0 ;
20690 char *kwnames
[] = {
20691 (char *) "winid",(char *) "gainedCapture", NULL
20694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20697 arg1
= (int)(SWIG_As_int(obj0
));
20698 if (SWIG_arg_fail(1)) SWIG_fail
;
20702 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20703 if (SWIG_arg_fail(2)) SWIG_fail
;
20706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20707 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20719 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20730 if (SWIG_arg_fail(1)) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= wxPyMake_wxObject(result
, 0);
20747 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20750 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20752 return Py_BuildValue((char *)"");
20754 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20756 wxDisplayChangedEvent
*result
;
20757 char *kwnames
[] = {
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20776 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20779 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20781 return Py_BuildValue((char *)"");
20783 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 int arg1
= (int) 0 ;
20786 wxPaletteChangedEvent
*result
;
20787 PyObject
* obj0
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "id", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20795 arg1
= (int)(SWIG_As_int(obj0
));
20796 if (SWIG_arg_fail(1)) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20813 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20816 wxWindow
*arg2
= (wxWindow
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 PyObject
* obj1
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self",(char *) "win", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20825 if (SWIG_arg_fail(1)) SWIG_fail
;
20826 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20827 if (SWIG_arg_fail(2)) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20830 (arg1
)->SetChangedWindow(arg2
);
20832 wxPyEndAllowThreads(__tstate
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 Py_INCREF(Py_None
); resultobj
= Py_None
;
20842 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20844 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "self", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
20852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20853 if (SWIG_arg_fail(1)) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= wxPyMake_wxObject(result
, 0);
20870 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20873 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
20875 return Py_BuildValue((char *)"");
20877 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
;
20879 int arg1
= (int) 0 ;
20880 wxQueryNewPaletteEvent
*result
;
20881 PyObject
* obj0
= 0 ;
20882 char *kwnames
[] = {
20883 (char *) "winid", NULL
20886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
20889 arg1
= (int)(SWIG_As_int(obj0
));
20890 if (SWIG_arg_fail(1)) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
20907 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self",(char *) "realized", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
20918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20919 if (SWIG_arg_fail(1)) SWIG_fail
;
20921 arg2
= (bool)(SWIG_As_bool(obj1
));
20922 if (SWIG_arg_fail(2)) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 (arg1
)->SetPaletteRealized(arg2
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 Py_INCREF(Py_None
); resultobj
= Py_None
;
20938 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
20942 PyObject
* obj0
= 0 ;
20943 char *kwnames
[] = {
20944 (char *) "self", NULL
20947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
20948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
20949 if (SWIG_arg_fail(1)) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20966 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
20968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20969 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
20971 return Py_BuildValue((char *)"");
20973 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20974 PyObject
*resultobj
;
20975 wxNavigationKeyEvent
*result
;
20976 char *kwnames
[] = {
20980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
20995 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 char *kwnames
[] = {
21001 (char *) "self", NULL
21004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21006 if (SWIG_arg_fail(1)) SWIG_fail
;
21008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21009 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21011 wxPyEndAllowThreads(__tstate
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21023 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 PyObject
* obj1
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self",(char *) "forward", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21035 if (SWIG_arg_fail(1)) SWIG_fail
;
21037 arg2
= (bool)(SWIG_As_bool(obj1
));
21038 if (SWIG_arg_fail(2)) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 (arg1
)->SetDirection(arg2
);
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 Py_INCREF(Py_None
); resultobj
= Py_None
;
21054 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21065 if (SWIG_arg_fail(1)) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21082 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 PyObject
* obj1
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self",(char *) "ischange", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21094 if (SWIG_arg_fail(1)) SWIG_fail
;
21096 arg2
= (bool)(SWIG_As_bool(obj1
));
21097 if (SWIG_arg_fail(2)) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 (arg1
)->SetWindowChange(arg2
);
21103 wxPyEndAllowThreads(__tstate
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21106 Py_INCREF(Py_None
); resultobj
= Py_None
;
21113 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21115 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21119 char *kwnames
[] = {
21120 (char *) "self",(char *) "flags", NULL
21123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21125 if (SWIG_arg_fail(1)) SWIG_fail
;
21127 arg2
= (long)(SWIG_As_long(obj1
));
21128 if (SWIG_arg_fail(2)) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 (arg1
)->SetFlags(arg2
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 Py_INCREF(Py_None
); resultobj
= Py_None
;
21144 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21155 if (SWIG_arg_fail(1)) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= wxPyMake_wxObject(result
, 0);
21172 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21175 wxWindow
*arg2
= (wxWindow
*) 0 ;
21176 PyObject
* obj0
= 0 ;
21177 PyObject
* obj1
= 0 ;
21178 char *kwnames
[] = {
21179 (char *) "self",(char *) "win", NULL
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21184 if (SWIG_arg_fail(1)) SWIG_fail
;
21185 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21186 if (SWIG_arg_fail(2)) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 (arg1
)->SetCurrentFocus(arg2
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 Py_INCREF(Py_None
); resultobj
= Py_None
;
21201 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21204 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21206 return Py_BuildValue((char *)"");
21208 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxWindow
*arg1
= (wxWindow
*) NULL
;
21211 wxWindowCreateEvent
*result
;
21212 PyObject
* obj0
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "win", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21220 if (SWIG_arg_fail(1)) SWIG_fail
;
21223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21224 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21226 wxPyEndAllowThreads(__tstate
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21236 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21240 PyObject
* obj0
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21247 if (SWIG_arg_fail(1)) SWIG_fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21256 resultobj
= wxPyMake_wxObject(result
, 0);
21264 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21267 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21269 return Py_BuildValue((char *)"");
21271 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
;
21273 wxWindow
*arg1
= (wxWindow
*) NULL
;
21274 wxWindowDestroyEvent
*result
;
21275 PyObject
* obj0
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "win", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21283 if (SWIG_arg_fail(1)) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21299 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
;
21301 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21303 PyObject
* obj0
= 0 ;
21304 char *kwnames
[] = {
21305 (char *) "self", NULL
21308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21310 if (SWIG_arg_fail(1)) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21315 wxPyEndAllowThreads(__tstate
);
21316 if (PyErr_Occurred()) SWIG_fail
;
21319 resultobj
= wxPyMake_wxObject(result
, 0);
21327 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21330 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21332 return Py_BuildValue((char *)"");
21334 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21337 int arg2
= (int) 0 ;
21338 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21339 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21340 wxContextMenuEvent
*result
;
21342 PyObject
* obj0
= 0 ;
21343 PyObject
* obj1
= 0 ;
21344 PyObject
* obj2
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "type",(char *) "winid",(char *) "pt", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21352 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21353 if (SWIG_arg_fail(1)) SWIG_fail
;
21358 arg2
= (int)(SWIG_As_int(obj1
));
21359 if (SWIG_arg_fail(2)) SWIG_fail
;
21365 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21382 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21384 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21386 PyObject
* obj0
= 0 ;
21387 char *kwnames
[] = {
21388 (char *) "self", NULL
21391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21393 if (SWIG_arg_fail(1)) SWIG_fail
;
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21398 result
= (wxPoint
*) &_result_ref
;
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21411 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21414 wxPoint
*arg2
= 0 ;
21416 PyObject
* obj0
= 0 ;
21417 PyObject
* obj1
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self",(char *) "pos", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21424 if (SWIG_arg_fail(1)) SWIG_fail
;
21427 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 Py_INCREF(Py_None
); resultobj
= Py_None
;
21443 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21446 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21448 return Py_BuildValue((char *)"");
21450 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21452 wxIdleEvent
*result
;
21453 char *kwnames
[] = {
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= (wxIdleEvent
*)new wxIdleEvent();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21472 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21475 bool arg2
= (bool) true ;
21476 PyObject
* obj0
= 0 ;
21477 PyObject
* obj1
= 0 ;
21478 char *kwnames
[] = {
21479 (char *) "self",(char *) "needMore", NULL
21482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21484 if (SWIG_arg_fail(1)) SWIG_fail
;
21487 arg2
= (bool)(SWIG_As_bool(obj1
));
21488 if (SWIG_arg_fail(2)) SWIG_fail
;
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 (arg1
)->RequestMore(arg2
);
21495 wxPyEndAllowThreads(__tstate
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21498 Py_INCREF(Py_None
); resultobj
= Py_None
;
21505 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21506 PyObject
*resultobj
;
21507 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21509 PyObject
* obj0
= 0 ;
21510 char *kwnames
[] = {
21511 (char *) "self", NULL
21514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21516 if (SWIG_arg_fail(1)) SWIG_fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21533 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21536 PyObject
* obj0
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "mode", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21543 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21544 if (SWIG_arg_fail(1)) SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 Py_INCREF(Py_None
); resultobj
= Py_None
;
21560 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21563 char *kwnames
[] = {
21567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21575 resultobj
= SWIG_From_int((result
));
21582 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
;
21584 wxWindow
*arg1
= (wxWindow
*) 0 ;
21586 PyObject
* obj0
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "win", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21593 if (SWIG_arg_fail(1)) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 result
= (bool)wxIdleEvent::CanSend(arg1
);
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21610 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21613 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21615 return Py_BuildValue((char *)"");
21617 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 int arg1
= (int) 0 ;
21620 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "winid",(char *) "commandType", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21631 arg1
= (int)(SWIG_As_int(obj0
));
21632 if (SWIG_arg_fail(1)) SWIG_fail
;
21637 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21638 if (SWIG_arg_fail(2)) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21655 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21658 PyObject
* obj0
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "self", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21665 if (SWIG_arg_fail(1)) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 Py_INCREF(Py_None
); resultobj
= Py_None
;
21680 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21683 PyObject
*arg2
= (PyObject
*) 0 ;
21684 PyObject
* obj0
= 0 ;
21685 PyObject
* obj1
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self",(char *) "self", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21692 if (SWIG_arg_fail(1)) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 (arg1
)->SetSelf(arg2
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21701 Py_INCREF(Py_None
); resultobj
= Py_None
;
21708 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21709 PyObject
*resultobj
;
21710 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 char *kwnames
[] = {
21714 (char *) "self", NULL
21717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21719 if (SWIG_arg_fail(1)) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 result
= (PyObject
*)(arg1
)->GetSelf();
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= result
;
21734 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21737 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21739 return Py_BuildValue((char *)"");
21741 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
;
21743 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21744 int arg2
= (int) 0 ;
21745 wxPyCommandEvent
*result
;
21746 PyObject
* obj0
= 0 ;
21747 PyObject
* obj1
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "commandType",(char *) "id", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21755 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21756 if (SWIG_arg_fail(1)) SWIG_fail
;
21761 arg2
= (int)(SWIG_As_int(obj1
));
21762 if (SWIG_arg_fail(2)) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21779 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21789 if (SWIG_arg_fail(1)) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 Py_INCREF(Py_None
); resultobj
= Py_None
;
21804 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21807 PyObject
*arg2
= (PyObject
*) 0 ;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 char *kwnames
[] = {
21811 (char *) "self",(char *) "self", NULL
21814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21816 if (SWIG_arg_fail(1)) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 (arg1
)->SetSelf(arg2
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 Py_INCREF(Py_None
); resultobj
= Py_None
;
21832 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21833 PyObject
*resultobj
;
21834 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
21843 if (SWIG_arg_fail(1)) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (PyObject
*)(arg1
)->GetSelf();
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= result
;
21858 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
21860 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21861 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
21863 return Py_BuildValue((char *)"");
21865 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
;
21868 char *kwnames
[] = {
21872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 result
= (wxPyApp
*)new_wxPyApp();
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
21887 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
;
21889 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 char *kwnames
[] = {
21892 (char *) "self", NULL
21895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
21896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21897 if (SWIG_arg_fail(1)) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 Py_INCREF(Py_None
); resultobj
= Py_None
;
21912 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
;
21914 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21915 PyObject
*arg2
= (PyObject
*) 0 ;
21916 PyObject
*arg3
= (PyObject
*) 0 ;
21917 PyObject
* obj0
= 0 ;
21918 PyObject
* obj1
= 0 ;
21919 PyObject
* obj2
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "self",(char *) "_class", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21926 if (SWIG_arg_fail(1)) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21936 Py_INCREF(Py_None
); resultobj
= Py_None
;
21943 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
21953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21954 if (SWIG_arg_fail(1)) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= ((wxPyApp
const *)arg1
)->GetAppName();
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21975 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
21978 wxString
*arg2
= 0 ;
21979 bool temp2
= false ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "name", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
21987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
21988 if (SWIG_arg_fail(1)) SWIG_fail
;
21990 arg2
= wxString_in_helper(obj1
);
21991 if (arg2
== NULL
) SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 (arg1
)->SetAppName((wxString
const &)*arg2
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 Py_INCREF(Py_None
); resultobj
= Py_None
;
22016 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22048 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22051 wxString
*arg2
= 0 ;
22052 bool temp2
= false ;
22053 PyObject
* obj0
= 0 ;
22054 PyObject
* obj1
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self",(char *) "name", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22061 if (SWIG_arg_fail(1)) SWIG_fail
;
22063 arg2
= wxString_in_helper(obj1
);
22064 if (arg2
== NULL
) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 (arg1
)->SetClassName((wxString
const &)*arg2
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 Py_INCREF(Py_None
); resultobj
= Py_None
;
22089 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22090 PyObject
*resultobj
;
22091 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22093 PyObject
* obj0
= 0 ;
22094 char *kwnames
[] = {
22095 (char *) "self", NULL
22098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22100 if (SWIG_arg_fail(1)) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22105 result
= (wxString
*) &_result_ref
;
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22113 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22115 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22124 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22125 PyObject
*resultobj
;
22126 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22127 wxString
*arg2
= 0 ;
22128 bool temp2
= false ;
22129 PyObject
* obj0
= 0 ;
22130 PyObject
* obj1
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self",(char *) "name", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22137 if (SWIG_arg_fail(1)) SWIG_fail
;
22139 arg2
= wxString_in_helper(obj1
);
22140 if (arg2
== NULL
) SWIG_fail
;
22144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22145 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22147 wxPyEndAllowThreads(__tstate
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22150 Py_INCREF(Py_None
); resultobj
= Py_None
;
22165 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22168 wxAppTraits
*result
;
22169 PyObject
* obj0
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22176 if (SWIG_arg_fail(1)) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22191 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",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 (arg1
)->ProcessPendingEvents();
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 Py_INCREF(Py_None
); resultobj
= Py_None
;
22216 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22219 bool arg2
= (bool) false ;
22221 PyObject
* obj0
= 0 ;
22222 PyObject
* obj1
= 0 ;
22223 char *kwnames
[] = {
22224 (char *) "self",(char *) "onlyIfNeeded", NULL
22227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22229 if (SWIG_arg_fail(1)) SWIG_fail
;
22232 arg2
= (bool)(SWIG_As_bool(obj1
));
22233 if (SWIG_arg_fail(2)) SWIG_fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (bool)(arg1
)->Yield(arg2
);
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22252 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22253 PyObject
*resultobj
;
22254 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22255 PyObject
* obj0
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22262 if (SWIG_arg_fail(1)) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 (arg1
)->WakeUpIdle();
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 Py_INCREF(Py_None
); resultobj
= Py_None
;
22277 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22280 char *kwnames
[] = {
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 result
= (bool)wxPyApp::IsMainLoopRunning();
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22301 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22305 PyObject
* obj0
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22311 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22312 if (SWIG_arg_fail(1)) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 result
= (int)(arg1
)->MainLoop();
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= SWIG_From_int((int)(result
));
22329 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22332 PyObject
* obj0
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22339 if (SWIG_arg_fail(1)) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 Py_INCREF(Py_None
); resultobj
= Py_None
;
22354 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22364 if (SWIG_arg_fail(1)) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 (arg1
)->ExitMainLoop();
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 Py_INCREF(Py_None
); resultobj
= Py_None
;
22379 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22390 if (SWIG_arg_fail(1)) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 result
= (bool)(arg1
)->Pending();
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22407 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22418 if (SWIG_arg_fail(1)) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (bool)(arg1
)->Dispatch();
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22435 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22446 if (SWIG_arg_fail(1)) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= (bool)(arg1
)->ProcessIdle();
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22463 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22466 wxWindow
*arg2
= (wxWindow
*) 0 ;
22467 wxIdleEvent
*arg3
= 0 ;
22469 PyObject
* obj0
= 0 ;
22470 PyObject
* obj1
= 0 ;
22471 PyObject
* obj2
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self",(char *) "win",(char *) "event", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22478 if (SWIG_arg_fail(1)) SWIG_fail
;
22479 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22480 if (SWIG_arg_fail(2)) SWIG_fail
;
22482 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22483 if (SWIG_arg_fail(3)) SWIG_fail
;
22484 if (arg3
== NULL
) {
22485 SWIG_null_ref("wxIdleEvent");
22487 if (SWIG_arg_fail(3)) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22505 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
;
22507 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22509 PyObject
* obj0
= 0 ;
22510 char *kwnames
[] = {
22511 (char *) "self", NULL
22514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22516 if (SWIG_arg_fail(1)) SWIG_fail
;
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22533 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
;
22535 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22536 wxWindow
*arg2
= (wxWindow
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 PyObject
* obj1
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self",(char *) "win", NULL
22543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22545 if (SWIG_arg_fail(1)) SWIG_fail
;
22546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22547 if (SWIG_arg_fail(2)) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 (arg1
)->SetTopWindow(arg2
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 Py_INCREF(Py_None
); resultobj
= Py_None
;
22562 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22573 if (SWIG_arg_fail(1)) SWIG_fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= wxPyMake_wxObject(result
, 0);
22590 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22591 PyObject
*resultobj
;
22592 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22594 PyObject
* obj0
= 0 ;
22595 PyObject
* obj1
= 0 ;
22596 char *kwnames
[] = {
22597 (char *) "self",(char *) "flag", NULL
22600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22602 if (SWIG_arg_fail(1)) SWIG_fail
;
22604 arg2
= (bool)(SWIG_As_bool(obj1
));
22605 if (SWIG_arg_fail(2)) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 (arg1
)->SetExitOnFrameDelete(arg2
);
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22625 PyObject
* obj0
= 0 ;
22626 char *kwnames
[] = {
22627 (char *) "self", NULL
22630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22632 if (SWIG_arg_fail(1)) SWIG_fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22649 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 PyObject
* obj1
= 0 ;
22655 char *kwnames
[] = {
22656 (char *) "self",(char *) "flag", NULL
22659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22661 if (SWIG_arg_fail(1)) SWIG_fail
;
22663 arg2
= (bool)(SWIG_As_bool(obj1
));
22664 if (SWIG_arg_fail(2)) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 (arg1
)->SetUseBestVisual(arg2
);
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 Py_INCREF(Py_None
); resultobj
= Py_None
;
22680 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22682 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22684 PyObject
* obj0
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
22690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22691 if (SWIG_arg_fail(1)) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22708 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self",(char *) "mode", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22720 if (SWIG_arg_fail(1)) SWIG_fail
;
22722 arg2
= (int)(SWIG_As_int(obj1
));
22723 if (SWIG_arg_fail(2)) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 (arg1
)->SetPrintMode(arg2
);
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 Py_INCREF(Py_None
); resultobj
= Py_None
;
22739 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
22749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22750 if (SWIG_arg_fail(1)) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= SWIG_From_int((int)(result
));
22767 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22771 PyObject
* obj0
= 0 ;
22772 PyObject
* obj1
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self",(char *) "mode", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
22778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22779 if (SWIG_arg_fail(1)) SWIG_fail
;
22781 arg2
= (int)(SWIG_As_int(obj1
));
22782 if (SWIG_arg_fail(2)) SWIG_fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 (arg1
)->SetAssertMode(arg2
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 Py_INCREF(Py_None
); resultobj
= Py_None
;
22798 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
22808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22809 if (SWIG_arg_fail(1)) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= (int)(arg1
)->GetAssertMode();
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= SWIG_From_int((int)(result
));
22826 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
;
22829 char *kwnames
[] = {
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22850 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22851 PyObject
*resultobj
;
22853 char *kwnames
[] = {
22857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 result
= (long)wxPyApp::GetMacAboutMenuItemId();
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= SWIG_From_long((long)(result
));
22874 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22877 char *kwnames
[] = {
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= SWIG_From_long((long)(result
));
22898 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22901 char *kwnames
[] = {
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (long)wxPyApp::GetMacExitMenuItemId();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_From_long((long)(result
));
22922 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22925 char *kwnames
[] = {
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= wxPyApp::GetMacHelpMenuTitleName();
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22950 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22951 PyObject
*resultobj
;
22953 PyObject
* obj0
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "val", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
22960 arg1
= (bool)(SWIG_As_bool(obj0
));
22961 if (SWIG_arg_fail(1)) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 Py_INCREF(Py_None
); resultobj
= Py_None
;
22977 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22980 PyObject
* obj0
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "val", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
22987 arg1
= (long)(SWIG_As_long(obj0
));
22988 if (SWIG_arg_fail(1)) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 wxPyApp::SetMacAboutMenuItemId(arg1
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 Py_INCREF(Py_None
); resultobj
= Py_None
;
23004 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23007 PyObject
* obj0
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "val", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23014 arg1
= (long)(SWIG_As_long(obj0
));
23015 if (SWIG_arg_fail(1)) SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 Py_INCREF(Py_None
); resultobj
= Py_None
;
23031 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
;
23034 PyObject
* obj0
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "val", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23041 arg1
= (long)(SWIG_As_long(obj0
));
23042 if (SWIG_arg_fail(1)) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 wxPyApp::SetMacExitMenuItemId(arg1
);
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 Py_INCREF(Py_None
); resultobj
= Py_None
;
23058 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxString
*arg1
= 0 ;
23061 bool temp1
= false ;
23062 PyObject
* obj0
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "val", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23069 arg1
= wxString_in_helper(obj0
);
23070 if (arg1
== NULL
) SWIG_fail
;
23074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 Py_INCREF(Py_None
); resultobj
= Py_None
;
23095 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23098 PyObject
* obj0
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23105 if (SWIG_arg_fail(1)) SWIG_fail
;
23107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23108 (arg1
)->_BootstrapApp();
23110 wxPyEndAllowThreads(__tstate
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 Py_INCREF(Py_None
); resultobj
= Py_None
;
23120 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23123 char *kwnames
[] = {
23127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (int)PyApp_GetComCtl32Version();
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23136 resultobj
= SWIG_From_int((int)(result
));
23144 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23147 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23149 return Py_BuildValue((char *)"");
23151 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
;
23153 char *kwnames
[] = {
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 Py_INCREF(Py_None
); resultobj
= Py_None
;
23172 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23173 PyObject
*resultobj
;
23175 char *kwnames
[] = {
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 result
= (bool)wxYield();
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23196 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23199 char *kwnames
[] = {
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23206 result
= (bool)wxYieldIfNeeded();
23208 wxPyEndAllowThreads(__tstate
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23220 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxWindow
*arg1
= (wxWindow
*) NULL
;
23223 bool arg2
= (bool) false ;
23225 PyObject
* obj0
= 0 ;
23226 PyObject
* obj1
= 0 ;
23227 char *kwnames
[] = {
23228 (char *) "win",(char *) "onlyIfNeeded", NULL
23231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23234 if (SWIG_arg_fail(1)) SWIG_fail
;
23238 arg2
= (bool)(SWIG_As_bool(obj1
));
23239 if (SWIG_arg_fail(2)) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (bool)wxSafeYield(arg1
,arg2
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23258 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 char *kwnames
[] = {
23264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23282 wxEvent
*arg2
= 0 ;
23283 PyObject
* obj0
= 0 ;
23284 PyObject
* obj1
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "dest",(char *) "event", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23291 if (SWIG_arg_fail(1)) SWIG_fail
;
23293 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23294 if (SWIG_arg_fail(2)) SWIG_fail
;
23295 if (arg2
== NULL
) {
23296 SWIG_null_ref("wxEvent");
23298 if (SWIG_arg_fail(2)) SWIG_fail
;
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 wxPostEvent(arg1
,*arg2
);
23304 wxPyEndAllowThreads(__tstate
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 Py_INCREF(Py_None
); resultobj
= Py_None
;
23314 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 char *kwnames
[] = {
23320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 Py_INCREF(Py_None
); resultobj
= Py_None
;
23335 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23338 char *kwnames
[] = {
23342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 result
= (wxPyApp
*)wxPyGetApp();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= wxPyMake_wxObject(result
, 0);
23359 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
;
23361 char *arg1
= (char *) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "encoding", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23368 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23369 SWIG_arg_fail(1);SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 wxSetDefaultPyEncoding((char const *)arg1
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 Py_INCREF(Py_None
); resultobj
= Py_None
;
23385 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23388 char *kwnames
[] = {
23392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 result
= (char *)wxGetDefaultPyEncoding();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= SWIG_FromCharPtr(result
);
23407 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxEventLoop
*result
;
23410 char *kwnames
[] = {
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23417 result
= (wxEventLoop
*)new wxEventLoop();
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23429 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
;
23431 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23432 PyObject
* obj0
= 0 ;
23433 char *kwnames
[] = {
23434 (char *) "self", NULL
23437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23439 if (SWIG_arg_fail(1)) SWIG_fail
;
23441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 wxPyEndAllowThreads(__tstate
);
23445 if (PyErr_Occurred()) SWIG_fail
;
23447 Py_INCREF(Py_None
); resultobj
= Py_None
;
23454 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
;
23456 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23465 if (SWIG_arg_fail(1)) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (int)(arg1
)->Run();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_From_int((int)(result
));
23482 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
;
23484 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23485 int arg2
= (int) 0 ;
23486 PyObject
* obj0
= 0 ;
23487 PyObject
* obj1
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "self",(char *) "rc", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23494 if (SWIG_arg_fail(1)) SWIG_fail
;
23497 arg2
= (int)(SWIG_As_int(obj1
));
23498 if (SWIG_arg_fail(2)) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 (arg1
)->Exit(arg2
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 Py_INCREF(Py_None
); resultobj
= Py_None
;
23515 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23519 PyObject
* obj0
= 0 ;
23520 char *kwnames
[] = {
23521 (char *) "self", NULL
23524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23526 if (SWIG_arg_fail(1)) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23543 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23547 PyObject
* obj0
= 0 ;
23548 char *kwnames
[] = {
23549 (char *) "self", NULL
23552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23554 if (SWIG_arg_fail(1)) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= (bool)(arg1
)->Dispatch();
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23571 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23575 PyObject
* obj0
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "self", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23582 if (SWIG_arg_fail(1)) SWIG_fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23599 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23601 wxEventLoop
*result
;
23602 char *kwnames
[] = {
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23621 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "loop", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23631 if (SWIG_arg_fail(1)) SWIG_fail
;
23633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23634 wxEventLoop::SetActive(arg1
);
23636 wxPyEndAllowThreads(__tstate
);
23637 if (PyErr_Occurred()) SWIG_fail
;
23639 Py_INCREF(Py_None
); resultobj
= Py_None
;
23646 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23649 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23651 return Py_BuildValue((char *)"");
23653 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 int arg1
= (int) 0 ;
23656 int arg2
= (int) 0 ;
23657 int arg3
= (int) 0 ;
23658 wxAcceleratorEntry
*result
;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 PyObject
* obj2
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23669 arg1
= (int)(SWIG_As_int(obj0
));
23670 if (SWIG_arg_fail(1)) SWIG_fail
;
23675 arg2
= (int)(SWIG_As_int(obj1
));
23676 if (SWIG_arg_fail(2)) SWIG_fail
;
23681 arg3
= (int)(SWIG_As_int(obj2
));
23682 if (SWIG_arg_fail(3)) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
23699 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23702 PyObject
* obj0
= 0 ;
23703 char *kwnames
[] = {
23704 (char *) "self", NULL
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
23708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23709 if (SWIG_arg_fail(1)) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 Py_INCREF(Py_None
); resultobj
= Py_None
;
23724 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 PyObject
* obj2
= 0 ;
23733 PyObject
* obj3
= 0 ;
23734 char *kwnames
[] = {
23735 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23740 if (SWIG_arg_fail(1)) SWIG_fail
;
23742 arg2
= (int)(SWIG_As_int(obj1
));
23743 if (SWIG_arg_fail(2)) SWIG_fail
;
23746 arg3
= (int)(SWIG_As_int(obj2
));
23747 if (SWIG_arg_fail(3)) SWIG_fail
;
23750 arg4
= (int)(SWIG_As_int(obj3
));
23751 if (SWIG_arg_fail(4)) SWIG_fail
;
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 (arg1
)->Set(arg2
,arg3
,arg4
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 Py_INCREF(Py_None
); resultobj
= Py_None
;
23767 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
;
23769 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23771 PyObject
* obj0
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "self", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
23777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23778 if (SWIG_arg_fail(1)) SWIG_fail
;
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (int)(arg1
)->GetFlags();
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23787 resultobj
= SWIG_From_int((int)(result
));
23795 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23799 PyObject
* obj0
= 0 ;
23800 char *kwnames
[] = {
23801 (char *) "self", NULL
23804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23806 if (SWIG_arg_fail(1)) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (int)(arg1
)->GetKeyCode();
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_From_int((int)(result
));
23823 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
23827 PyObject
* obj0
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "self", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
23833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
23834 if (SWIG_arg_fail(1)) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (int)(arg1
)->GetCommand();
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_From_int((int)(result
));
23851 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
23853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23854 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
23856 return Py_BuildValue((char *)"");
23858 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23861 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
23862 wxAcceleratorTable
*result
;
23863 PyObject
* obj0
= 0 ;
23864 char *kwnames
[] = {
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23870 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
23871 if (arg2
) arg1
= PyList_Size(obj0
);
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
23894 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
;
23896 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23897 PyObject
* obj0
= 0 ;
23898 char *kwnames
[] = {
23899 (char *) "self", NULL
23902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
23903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23904 if (SWIG_arg_fail(1)) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 Py_INCREF(Py_None
); resultobj
= Py_None
;
23919 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
23923 PyObject
* obj0
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
23929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
23930 if (SWIG_arg_fail(1)) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23947 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
23949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23950 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
23952 return Py_BuildValue((char *)"");
23954 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
23955 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
23960 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
23963 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
23968 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxString
*arg1
= 0 ;
23971 wxAcceleratorEntry
*result
;
23972 bool temp1
= false ;
23973 PyObject
* obj0
= 0 ;
23974 char *kwnames
[] = {
23975 (char *) "label", NULL
23978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
23980 arg1
= wxString_in_helper(obj0
);
23981 if (arg1
== NULL
) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24006 static int _wrap_PanelNameStr_set(PyObject
*) {
24007 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24012 static PyObject
*_wrap_PanelNameStr_get(void) {
24017 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24019 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24026 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxVisualAttributes
*result
;
24029 char *kwnames
[] = {
24033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24048 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24051 PyObject
* obj0
= 0 ;
24052 char *kwnames
[] = {
24053 (char *) "self", NULL
24056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24058 if (SWIG_arg_fail(1)) SWIG_fail
;
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 delete_wxVisualAttributes(arg1
);
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24066 Py_INCREF(Py_None
); resultobj
= Py_None
;
24073 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24074 PyObject
*resultobj
;
24075 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24076 wxFont
*arg2
= (wxFont
*) 0 ;
24077 PyObject
* obj0
= 0 ;
24078 PyObject
* obj1
= 0 ;
24079 char *kwnames
[] = {
24080 (char *) "self",(char *) "font", NULL
24083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24085 if (SWIG_arg_fail(1)) SWIG_fail
;
24086 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24087 if (SWIG_arg_fail(2)) SWIG_fail
;
24088 if (arg1
) (arg1
)->font
= *arg2
;
24090 Py_INCREF(Py_None
); resultobj
= Py_None
;
24097 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24108 if (SWIG_arg_fail(1)) SWIG_fail
;
24109 result
= (wxFont
*)& ((arg1
)->font
);
24111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24118 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24121 wxColour
*arg2
= (wxColour
*) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 PyObject
* obj1
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self",(char *) "colFg", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24130 if (SWIG_arg_fail(1)) SWIG_fail
;
24131 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24132 if (SWIG_arg_fail(2)) SWIG_fail
;
24133 if (arg1
) (arg1
)->colFg
= *arg2
;
24135 Py_INCREF(Py_None
); resultobj
= Py_None
;
24142 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24144 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24146 PyObject
* obj0
= 0 ;
24147 char *kwnames
[] = {
24148 (char *) "self", NULL
24151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24153 if (SWIG_arg_fail(1)) SWIG_fail
;
24154 result
= (wxColour
*)& ((arg1
)->colFg
);
24156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24163 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24166 wxColour
*arg2
= (wxColour
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 PyObject
* obj1
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "self",(char *) "colBg", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24175 if (SWIG_arg_fail(1)) SWIG_fail
;
24176 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24177 if (SWIG_arg_fail(2)) SWIG_fail
;
24178 if (arg1
) (arg1
)->colBg
= *arg2
;
24180 Py_INCREF(Py_None
); resultobj
= Py_None
;
24187 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24198 if (SWIG_arg_fail(1)) SWIG_fail
;
24199 result
= (wxColour
*)& ((arg1
)->colBg
);
24201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24208 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24211 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24213 return Py_BuildValue((char *)"");
24215 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxWindow
*arg1
= (wxWindow
*) 0 ;
24218 int arg2
= (int) (int)-1 ;
24219 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24220 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24221 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24222 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24223 long arg5
= (long) 0 ;
24224 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24225 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24229 bool temp6
= false ;
24230 PyObject
* obj0
= 0 ;
24231 PyObject
* obj1
= 0 ;
24232 PyObject
* obj2
= 0 ;
24233 PyObject
* obj3
= 0 ;
24234 PyObject
* obj4
= 0 ;
24235 PyObject
* obj5
= 0 ;
24236 char *kwnames
[] = {
24237 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24242 if (SWIG_arg_fail(1)) SWIG_fail
;
24245 arg2
= (int const)(SWIG_As_int(obj1
));
24246 if (SWIG_arg_fail(2)) SWIG_fail
;
24252 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24258 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24263 arg5
= (long)(SWIG_As_long(obj4
));
24264 if (SWIG_arg_fail(5)) SWIG_fail
;
24269 arg6
= wxString_in_helper(obj5
);
24270 if (arg6
== NULL
) SWIG_fail
;
24275 if (!wxPyCheckForApp()) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24297 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
;
24300 char *kwnames
[] = {
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24306 if (!wxPyCheckForApp()) SWIG_fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (wxWindow
*)new wxWindow();
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24320 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxWindow
*arg1
= (wxWindow
*) 0 ;
24323 wxWindow
*arg2
= (wxWindow
*) 0 ;
24324 int arg3
= (int) (int)-1 ;
24325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24329 long arg6
= (long) 0 ;
24330 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24331 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24335 bool temp7
= false ;
24336 PyObject
* obj0
= 0 ;
24337 PyObject
* obj1
= 0 ;
24338 PyObject
* obj2
= 0 ;
24339 PyObject
* obj3
= 0 ;
24340 PyObject
* obj4
= 0 ;
24341 PyObject
* obj5
= 0 ;
24342 PyObject
* obj6
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24349 if (SWIG_arg_fail(1)) SWIG_fail
;
24350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24351 if (SWIG_arg_fail(2)) SWIG_fail
;
24354 arg3
= (int const)(SWIG_As_int(obj2
));
24355 if (SWIG_arg_fail(3)) SWIG_fail
;
24361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24372 arg6
= (long)(SWIG_As_long(obj5
));
24373 if (SWIG_arg_fail(6)) SWIG_fail
;
24378 arg7
= wxString_in_helper(obj6
);
24379 if (arg7
== NULL
) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24407 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 wxWindow
*arg1
= (wxWindow
*) 0 ;
24410 bool arg2
= (bool) false ;
24412 PyObject
* obj0
= 0 ;
24413 PyObject
* obj1
= 0 ;
24414 char *kwnames
[] = {
24415 (char *) "self",(char *) "force", NULL
24418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24420 if (SWIG_arg_fail(1)) SWIG_fail
;
24423 arg2
= (bool)(SWIG_As_bool(obj1
));
24424 if (SWIG_arg_fail(2)) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (bool)(arg1
)->Close(arg2
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24443 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
;
24445 wxWindow
*arg1
= (wxWindow
*) 0 ;
24447 PyObject
* obj0
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24454 if (SWIG_arg_fail(1)) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (bool)(arg1
)->Destroy();
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24471 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxWindow
*arg1
= (wxWindow
*) 0 ;
24475 PyObject
* obj0
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24482 if (SWIG_arg_fail(1)) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 result
= (bool)(arg1
)->DestroyChildren();
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24499 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxWindow
*arg1
= (wxWindow
*) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24510 if (SWIG_arg_fail(1)) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24527 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxWindow
*arg1
= (wxWindow
*) 0 ;
24530 wxString
*arg2
= 0 ;
24531 bool temp2
= false ;
24532 PyObject
* obj0
= 0 ;
24533 PyObject
* obj1
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self",(char *) "title", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24540 if (SWIG_arg_fail(1)) SWIG_fail
;
24542 arg2
= wxString_in_helper(obj1
);
24543 if (arg2
== NULL
) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 (arg1
)->SetTitle((wxString
const &)*arg2
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 Py_INCREF(Py_None
); resultobj
= Py_None
;
24568 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
;
24570 wxWindow
*arg1
= (wxWindow
*) 0 ;
24572 PyObject
* obj0
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24579 if (SWIG_arg_fail(1)) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 result
= ((wxWindow
const *)arg1
)->GetTitle();
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24600 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24601 PyObject
*resultobj
;
24602 wxWindow
*arg1
= (wxWindow
*) 0 ;
24603 wxString
*arg2
= 0 ;
24604 bool temp2
= false ;
24605 PyObject
* obj0
= 0 ;
24606 PyObject
* obj1
= 0 ;
24607 char *kwnames
[] = {
24608 (char *) "self",(char *) "label", NULL
24611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24613 if (SWIG_arg_fail(1)) SWIG_fail
;
24615 arg2
= wxString_in_helper(obj1
);
24616 if (arg2
== NULL
) SWIG_fail
;
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 (arg1
)->SetLabel((wxString
const &)*arg2
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 Py_INCREF(Py_None
); resultobj
= Py_None
;
24641 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24643 wxWindow
*arg1
= (wxWindow
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail
;
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 result
= ((wxWindow
const *)arg1
)->GetLabel();
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24673 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxWindow
*arg1
= (wxWindow
*) 0 ;
24676 wxString
*arg2
= 0 ;
24677 bool temp2
= false ;
24678 PyObject
* obj0
= 0 ;
24679 PyObject
* obj1
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self",(char *) "name", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
24685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24686 if (SWIG_arg_fail(1)) SWIG_fail
;
24688 arg2
= wxString_in_helper(obj1
);
24689 if (arg2
== NULL
) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 (arg1
)->SetName((wxString
const &)*arg2
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24699 Py_INCREF(Py_None
); resultobj
= Py_None
;
24714 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24715 PyObject
*resultobj
;
24716 wxWindow
*arg1
= (wxWindow
*) 0 ;
24718 PyObject
* obj0
= 0 ;
24719 char *kwnames
[] = {
24720 (char *) "self", NULL
24723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
24724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24725 if (SWIG_arg_fail(1)) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 result
= ((wxWindow
const *)arg1
)->GetName();
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24746 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxWindow
*arg1
= (wxWindow
*) 0 ;
24749 wxWindowVariant arg2
;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self",(char *) "variant", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
24757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24758 if (SWIG_arg_fail(1)) SWIG_fail
;
24760 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
24761 if (SWIG_arg_fail(2)) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 Py_INCREF(Py_None
); resultobj
= Py_None
;
24777 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxWindow
*arg1
= (wxWindow
*) 0 ;
24780 wxWindowVariant result
;
24781 PyObject
* obj0
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
24787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24788 if (SWIG_arg_fail(1)) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= SWIG_From_int((result
));
24803 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxWindow
*arg1
= (wxWindow
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self",(char *) "winid", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24815 if (SWIG_arg_fail(1)) SWIG_fail
;
24817 arg2
= (int)(SWIG_As_int(obj1
));
24818 if (SWIG_arg_fail(2)) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 (arg1
)->SetId(arg2
);
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 Py_INCREF(Py_None
); resultobj
= Py_None
;
24834 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxWindow
*arg1
= (wxWindow
*) 0 ;
24838 PyObject
* obj0
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
24844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24845 if (SWIG_arg_fail(1)) SWIG_fail
;
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (int)((wxWindow
const *)arg1
)->GetId();
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= SWIG_From_int((int)(result
));
24862 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24863 PyObject
*resultobj
;
24865 char *kwnames
[] = {
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= (int)wxWindow::NewControlId();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_From_int((int)(result
));
24886 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24890 PyObject
* obj0
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "winid", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
24897 arg1
= (int)(SWIG_As_int(obj0
));
24898 if (SWIG_arg_fail(1)) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24902 result
= (int)wxWindow::NextControlId(arg1
);
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24908 resultobj
= SWIG_From_int((int)(result
));
24916 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24920 PyObject
* obj0
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "winid", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
24927 arg1
= (int)(SWIG_As_int(obj0
));
24928 if (SWIG_arg_fail(1)) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (int)wxWindow::PrevControlId(arg1
);
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= SWIG_From_int((int)(result
));
24946 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxWindow
*arg1
= (wxWindow
*) 0 ;
24951 PyObject
* obj0
= 0 ;
24952 PyObject
* obj1
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "self",(char *) "size", NULL
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24959 if (SWIG_arg_fail(1)) SWIG_fail
;
24962 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 (arg1
)->SetSize((wxSize
const &)*arg2
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 Py_INCREF(Py_None
); resultobj
= Py_None
;
24978 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
;
24980 wxWindow
*arg1
= (wxWindow
*) 0 ;
24985 int arg6
= (int) wxSIZE_AUTO
;
24986 PyObject
* obj0
= 0 ;
24987 PyObject
* obj1
= 0 ;
24988 PyObject
* obj2
= 0 ;
24989 PyObject
* obj3
= 0 ;
24990 PyObject
* obj4
= 0 ;
24991 PyObject
* obj5
= 0 ;
24992 char *kwnames
[] = {
24993 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24998 if (SWIG_arg_fail(1)) SWIG_fail
;
25000 arg2
= (int)(SWIG_As_int(obj1
));
25001 if (SWIG_arg_fail(2)) SWIG_fail
;
25004 arg3
= (int)(SWIG_As_int(obj2
));
25005 if (SWIG_arg_fail(3)) SWIG_fail
;
25008 arg4
= (int)(SWIG_As_int(obj3
));
25009 if (SWIG_arg_fail(4)) SWIG_fail
;
25012 arg5
= (int)(SWIG_As_int(obj4
));
25013 if (SWIG_arg_fail(5)) SWIG_fail
;
25017 arg6
= (int)(SWIG_As_int(obj5
));
25018 if (SWIG_arg_fail(6)) SWIG_fail
;
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 Py_INCREF(Py_None
); resultobj
= Py_None
;
25035 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxWindow
*arg1
= (wxWindow
*) 0 ;
25039 int arg3
= (int) wxSIZE_AUTO
;
25041 PyObject
* obj0
= 0 ;
25042 PyObject
* obj1
= 0 ;
25043 PyObject
* obj2
= 0 ;
25044 char *kwnames
[] = {
25045 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25050 if (SWIG_arg_fail(1)) SWIG_fail
;
25053 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25057 arg3
= (int)(SWIG_As_int(obj2
));
25058 if (SWIG_arg_fail(3)) SWIG_fail
;
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25068 Py_INCREF(Py_None
); resultobj
= Py_None
;
25075 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxWindow
*arg1
= (wxWindow
*) 0 ;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 PyObject
* obj2
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self",(char *) "width",(char *) "height", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25089 if (SWIG_arg_fail(1)) SWIG_fail
;
25091 arg2
= (int)(SWIG_As_int(obj1
));
25092 if (SWIG_arg_fail(2)) SWIG_fail
;
25095 arg3
= (int)(SWIG_As_int(obj2
));
25096 if (SWIG_arg_fail(3)) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 (arg1
)->SetSize(arg2
,arg3
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 Py_INCREF(Py_None
); resultobj
= Py_None
;
25112 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxWindow
*arg1
= (wxWindow
*) 0 ;
25115 wxPoint
*arg2
= 0 ;
25116 int arg3
= (int) wxSIZE_USE_EXISTING
;
25118 PyObject
* obj0
= 0 ;
25119 PyObject
* obj1
= 0 ;
25120 PyObject
* obj2
= 0 ;
25121 char *kwnames
[] = {
25122 (char *) "self",(char *) "pt",(char *) "flags", NULL
25125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25127 if (SWIG_arg_fail(1)) SWIG_fail
;
25130 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25134 arg3
= (int)(SWIG_As_int(obj2
));
25135 if (SWIG_arg_fail(3)) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25145 Py_INCREF(Py_None
); resultobj
= Py_None
;
25152 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
;
25154 wxWindow
*arg1
= (wxWindow
*) 0 ;
25157 int arg4
= (int) wxSIZE_USE_EXISTING
;
25158 PyObject
* obj0
= 0 ;
25159 PyObject
* obj1
= 0 ;
25160 PyObject
* obj2
= 0 ;
25161 PyObject
* obj3
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25168 if (SWIG_arg_fail(1)) SWIG_fail
;
25170 arg2
= (int)(SWIG_As_int(obj1
));
25171 if (SWIG_arg_fail(2)) SWIG_fail
;
25174 arg3
= (int)(SWIG_As_int(obj2
));
25175 if (SWIG_arg_fail(3)) SWIG_fail
;
25179 arg4
= (int)(SWIG_As_int(obj3
));
25180 if (SWIG_arg_fail(4)) SWIG_fail
;
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 (arg1
)->Move(arg2
,arg3
,arg4
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 Py_INCREF(Py_None
); resultobj
= Py_None
;
25197 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxWindow
*arg1
= (wxWindow
*) 0 ;
25200 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25201 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25203 PyObject
* obj0
= 0 ;
25204 PyObject
* obj1
= 0 ;
25205 char *kwnames
[] = {
25206 (char *) "self",(char *) "size", NULL
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25211 if (SWIG_arg_fail(1)) SWIG_fail
;
25215 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 Py_INCREF(Py_None
); resultobj
= Py_None
;
25232 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
;
25234 wxWindow
*arg1
= (wxWindow
*) 0 ;
25235 PyObject
* obj0
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25242 if (SWIG_arg_fail(1)) SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 Py_INCREF(Py_None
); resultobj
= Py_None
;
25257 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxWindow
*arg1
= (wxWindow
*) 0 ;
25260 PyObject
* obj0
= 0 ;
25261 char *kwnames
[] = {
25262 (char *) "self", NULL
25265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25267 if (SWIG_arg_fail(1)) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxWindow
*arg1
= (wxWindow
*) 0 ;
25287 PyObject
* obj0
= 0 ;
25288 PyObject
* obj1
= 0 ;
25289 char *kwnames
[] = {
25290 (char *) "self",(char *) "size", NULL
25293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25295 if (SWIG_arg_fail(1)) SWIG_fail
;
25298 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 Py_INCREF(Py_None
); resultobj
= Py_None
;
25314 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxWindow
*arg1
= (wxWindow
*) 0 ;
25319 PyObject
* obj0
= 0 ;
25320 PyObject
* obj1
= 0 ;
25321 PyObject
* obj2
= 0 ;
25322 char *kwnames
[] = {
25323 (char *) "self",(char *) "width",(char *) "height", NULL
25326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25328 if (SWIG_arg_fail(1)) SWIG_fail
;
25330 arg2
= (int)(SWIG_As_int(obj1
));
25331 if (SWIG_arg_fail(2)) SWIG_fail
;
25334 arg3
= (int)(SWIG_As_int(obj2
));
25335 if (SWIG_arg_fail(3)) SWIG_fail
;
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25339 (arg1
)->SetClientSize(arg2
,arg3
);
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 Py_INCREF(Py_None
); resultobj
= Py_None
;
25351 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
;
25353 wxWindow
*arg1
= (wxWindow
*) 0 ;
25356 PyObject
* obj0
= 0 ;
25357 PyObject
* obj1
= 0 ;
25358 char *kwnames
[] = {
25359 (char *) "self",(char *) "rect", NULL
25362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25364 if (SWIG_arg_fail(1)) SWIG_fail
;
25367 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 Py_INCREF(Py_None
); resultobj
= Py_None
;
25383 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxWindow
*arg1
= (wxWindow
*) 0 ;
25387 PyObject
* obj0
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25394 if (SWIG_arg_fail(1)) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 result
= (arg1
)->GetPosition();
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25403 wxPoint
* resultptr
;
25404 resultptr
= new wxPoint((wxPoint
&)(result
));
25405 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25413 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxWindow
*arg1
= (wxWindow
*) 0 ;
25416 int *arg2
= (int *) 0 ;
25417 int *arg3
= (int *) 0 ;
25422 PyObject
* obj0
= 0 ;
25423 char *kwnames
[] = {
25424 (char *) "self", NULL
25427 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25428 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25431 if (SWIG_arg_fail(1)) SWIG_fail
;
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 (arg1
)->GetPosition(arg2
,arg3
);
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 Py_INCREF(Py_None
); resultobj
= Py_None
;
25440 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25441 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25442 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25443 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25450 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25451 PyObject
*resultobj
;
25452 wxWindow
*arg1
= (wxWindow
*) 0 ;
25454 PyObject
* obj0
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "self", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25461 if (SWIG_arg_fail(1)) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= ((wxWindow
const *)arg1
)->GetSize();
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25470 wxSize
* resultptr
;
25471 resultptr
= new wxSize((wxSize
&)(result
));
25472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25480 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25482 wxWindow
*arg1
= (wxWindow
*) 0 ;
25483 int *arg2
= (int *) 0 ;
25484 int *arg3
= (int *) 0 ;
25489 PyObject
* obj0
= 0 ;
25490 char *kwnames
[] = {
25491 (char *) "self", NULL
25494 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25495 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25498 if (SWIG_arg_fail(1)) SWIG_fail
;
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25503 wxPyEndAllowThreads(__tstate
);
25504 if (PyErr_Occurred()) SWIG_fail
;
25506 Py_INCREF(Py_None
); resultobj
= Py_None
;
25507 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25508 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25509 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25510 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25517 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25518 PyObject
*resultobj
;
25519 wxWindow
*arg1
= (wxWindow
*) 0 ;
25521 PyObject
* obj0
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25528 if (SWIG_arg_fail(1)) SWIG_fail
;
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25531 result
= ((wxWindow
const *)arg1
)->GetRect();
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25537 wxRect
* resultptr
;
25538 resultptr
= new wxRect((wxRect
&)(result
));
25539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25547 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxWindow
*arg1
= (wxWindow
*) 0 ;
25551 PyObject
* obj0
= 0 ;
25552 char *kwnames
[] = {
25553 (char *) "self", NULL
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25558 if (SWIG_arg_fail(1)) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 wxSize
* resultptr
;
25568 resultptr
= new wxSize((wxSize
&)(result
));
25569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25577 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25578 PyObject
*resultobj
;
25579 wxWindow
*arg1
= (wxWindow
*) 0 ;
25580 int *arg2
= (int *) 0 ;
25581 int *arg3
= (int *) 0 ;
25586 PyObject
* obj0
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self", NULL
25591 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25592 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25595 if (SWIG_arg_fail(1)) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25603 Py_INCREF(Py_None
); resultobj
= Py_None
;
25604 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25605 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25606 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25607 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25614 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxWindow
*arg1
= (wxWindow
*) 0 ;
25618 PyObject
* obj0
= 0 ;
25619 char *kwnames
[] = {
25620 (char *) "self", NULL
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25625 if (SWIG_arg_fail(1)) SWIG_fail
;
25627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25628 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25630 wxPyEndAllowThreads(__tstate
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25634 wxPoint
* resultptr
;
25635 resultptr
= new wxPoint((wxPoint
&)(result
));
25636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25644 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
;
25646 wxWindow
*arg1
= (wxWindow
*) 0 ;
25648 PyObject
* obj0
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25655 if (SWIG_arg_fail(1)) SWIG_fail
;
25657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25658 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25660 wxPyEndAllowThreads(__tstate
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25664 wxRect
* resultptr
;
25665 resultptr
= new wxRect((wxRect
&)(result
));
25666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25674 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25675 PyObject
*resultobj
;
25676 wxWindow
*arg1
= (wxWindow
*) 0 ;
25678 PyObject
* obj0
= 0 ;
25679 char *kwnames
[] = {
25680 (char *) "self", NULL
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
25684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25685 if (SWIG_arg_fail(1)) SWIG_fail
;
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 result
= ((wxWindow
const *)arg1
)->GetBestSize();
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25694 wxSize
* resultptr
;
25695 resultptr
= new wxSize((wxSize
&)(result
));
25696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25704 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxWindow
*arg1
= (wxWindow
*) 0 ;
25707 int *arg2
= (int *) 0 ;
25708 int *arg3
= (int *) 0 ;
25713 PyObject
* obj0
= 0 ;
25714 char *kwnames
[] = {
25715 (char *) "self", NULL
25718 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25719 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
25721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25722 if (SWIG_arg_fail(1)) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 Py_INCREF(Py_None
); resultobj
= Py_None
;
25731 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25732 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25733 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25734 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25741 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxWindow
*arg1
= (wxWindow
*) 0 ;
25744 PyObject
* obj0
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
25750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25751 if (SWIG_arg_fail(1)) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 (arg1
)->InvalidateBestSize();
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 Py_INCREF(Py_None
); resultobj
= Py_None
;
25766 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
;
25768 wxWindow
*arg1
= (wxWindow
*) 0 ;
25770 PyObject
* obj0
= 0 ;
25771 char *kwnames
[] = {
25772 (char *) "self", NULL
25775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
25776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25777 if (SWIG_arg_fail(1)) SWIG_fail
;
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25786 wxSize
* resultptr
;
25787 resultptr
= new wxSize((wxSize
&)(result
));
25788 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25796 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxWindow
*arg1
= (wxWindow
*) 0 ;
25800 PyObject
* obj0
= 0 ;
25801 char *kwnames
[] = {
25802 (char *) "self", NULL
25805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
25806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25807 if (SWIG_arg_fail(1)) SWIG_fail
;
25809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25810 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25816 wxSize
* resultptr
;
25817 resultptr
= new wxSize((wxSize
&)(result
));
25818 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25826 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxWindow
*arg1
= (wxWindow
*) 0 ;
25829 int arg2
= (int) wxBOTH
;
25830 PyObject
* obj0
= 0 ;
25831 PyObject
* obj1
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self",(char *) "direction", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
25837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25838 if (SWIG_arg_fail(1)) SWIG_fail
;
25841 arg2
= (int)(SWIG_As_int(obj1
));
25842 if (SWIG_arg_fail(2)) SWIG_fail
;
25846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25847 (arg1
)->Center(arg2
);
25849 wxPyEndAllowThreads(__tstate
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25852 Py_INCREF(Py_None
); resultobj
= Py_None
;
25859 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
;
25861 wxWindow
*arg1
= (wxWindow
*) 0 ;
25862 int arg2
= (int) wxBOTH
;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 char *kwnames
[] = {
25866 (char *) "self",(char *) "dir", NULL
25869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25871 if (SWIG_arg_fail(1)) SWIG_fail
;
25874 arg2
= (int)(SWIG_As_int(obj1
));
25875 if (SWIG_arg_fail(2)) SWIG_fail
;
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 (arg1
)->CenterOnScreen(arg2
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 Py_INCREF(Py_None
); resultobj
= Py_None
;
25892 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25893 PyObject
*resultobj
;
25894 wxWindow
*arg1
= (wxWindow
*) 0 ;
25895 int arg2
= (int) wxBOTH
;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self",(char *) "dir", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25904 if (SWIG_arg_fail(1)) SWIG_fail
;
25907 arg2
= (int)(SWIG_As_int(obj1
));
25908 if (SWIG_arg_fail(2)) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 (arg1
)->CenterOnParent(arg2
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 Py_INCREF(Py_None
); resultobj
= Py_None
;
25925 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxWindow
*arg1
= (wxWindow
*) 0 ;
25928 PyObject
* obj0
= 0 ;
25929 char *kwnames
[] = {
25930 (char *) "self", NULL
25933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
25934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25935 if (SWIG_arg_fail(1)) SWIG_fail
;
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 Py_INCREF(Py_None
); resultobj
= Py_None
;
25950 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25951 PyObject
*resultobj
;
25952 wxWindow
*arg1
= (wxWindow
*) 0 ;
25953 PyObject
* obj0
= 0 ;
25954 char *kwnames
[] = {
25955 (char *) "self", NULL
25958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
25959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25960 if (SWIG_arg_fail(1)) SWIG_fail
;
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 (arg1
)->FitInside();
25965 wxPyEndAllowThreads(__tstate
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 Py_INCREF(Py_None
); resultobj
= Py_None
;
25975 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25976 PyObject
*resultobj
;
25977 wxWindow
*arg1
= (wxWindow
*) 0 ;
25980 int arg4
= (int) -1 ;
25981 int arg5
= (int) -1 ;
25982 int arg6
= (int) -1 ;
25983 int arg7
= (int) -1 ;
25984 PyObject
* obj0
= 0 ;
25985 PyObject
* obj1
= 0 ;
25986 PyObject
* obj2
= 0 ;
25987 PyObject
* obj3
= 0 ;
25988 PyObject
* obj4
= 0 ;
25989 PyObject
* obj5
= 0 ;
25990 PyObject
* obj6
= 0 ;
25991 char *kwnames
[] = {
25992 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
25995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25997 if (SWIG_arg_fail(1)) SWIG_fail
;
25999 arg2
= (int)(SWIG_As_int(obj1
));
26000 if (SWIG_arg_fail(2)) SWIG_fail
;
26003 arg3
= (int)(SWIG_As_int(obj2
));
26004 if (SWIG_arg_fail(3)) SWIG_fail
;
26008 arg4
= (int)(SWIG_As_int(obj3
));
26009 if (SWIG_arg_fail(4)) SWIG_fail
;
26014 arg5
= (int)(SWIG_As_int(obj4
));
26015 if (SWIG_arg_fail(5)) SWIG_fail
;
26020 arg6
= (int)(SWIG_As_int(obj5
));
26021 if (SWIG_arg_fail(6)) SWIG_fail
;
26026 arg7
= (int)(SWIG_As_int(obj6
));
26027 if (SWIG_arg_fail(7)) SWIG_fail
;
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 Py_INCREF(Py_None
); resultobj
= Py_None
;
26044 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxWindow
*arg1
= (wxWindow
*) 0 ;
26048 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26049 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26050 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26051 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 PyObject
* obj2
= 0 ;
26058 PyObject
* obj3
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26065 if (SWIG_arg_fail(1)) SWIG_fail
;
26068 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26073 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26079 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 Py_INCREF(Py_None
); resultobj
= Py_None
;
26096 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxWindow
*arg1
= (wxWindow
*) 0 ;
26101 int arg4
= (int) -1 ;
26102 int arg5
= (int) -1 ;
26103 PyObject
* obj0
= 0 ;
26104 PyObject
* obj1
= 0 ;
26105 PyObject
* obj2
= 0 ;
26106 PyObject
* obj3
= 0 ;
26107 PyObject
* obj4
= 0 ;
26108 char *kwnames
[] = {
26109 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26114 if (SWIG_arg_fail(1)) SWIG_fail
;
26116 arg2
= (int)(SWIG_As_int(obj1
));
26117 if (SWIG_arg_fail(2)) SWIG_fail
;
26120 arg3
= (int)(SWIG_As_int(obj2
));
26121 if (SWIG_arg_fail(3)) SWIG_fail
;
26125 arg4
= (int)(SWIG_As_int(obj3
));
26126 if (SWIG_arg_fail(4)) SWIG_fail
;
26131 arg5
= (int)(SWIG_As_int(obj4
));
26132 if (SWIG_arg_fail(5)) SWIG_fail
;
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26139 wxPyEndAllowThreads(__tstate
);
26140 if (PyErr_Occurred()) SWIG_fail
;
26142 Py_INCREF(Py_None
); resultobj
= Py_None
;
26149 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26150 PyObject
*resultobj
;
26151 wxWindow
*arg1
= (wxWindow
*) 0 ;
26153 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26154 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26157 PyObject
* obj0
= 0 ;
26158 PyObject
* obj1
= 0 ;
26159 PyObject
* obj2
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26166 if (SWIG_arg_fail(1)) SWIG_fail
;
26169 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26174 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 Py_INCREF(Py_None
); resultobj
= Py_None
;
26191 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
;
26193 wxWindow
*arg1
= (wxWindow
*) 0 ;
26195 PyObject
* obj0
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26202 if (SWIG_arg_fail(1)) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26211 wxSize
* resultptr
;
26212 resultptr
= new wxSize((wxSize
&)(result
));
26213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26221 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxWindow
*arg1
= (wxWindow
*) 0 ;
26225 PyObject
* obj0
= 0 ;
26226 char *kwnames
[] = {
26227 (char *) "self", NULL
26230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26231 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26232 if (SWIG_arg_fail(1)) SWIG_fail
;
26234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26235 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26241 wxSize
* resultptr
;
26242 resultptr
= new wxSize((wxSize
&)(result
));
26243 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26251 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26252 PyObject
*resultobj
;
26253 wxWindow
*arg1
= (wxWindow
*) 0 ;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self",(char *) "minSize", NULL
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26264 if (SWIG_arg_fail(1)) SWIG_fail
;
26267 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 Py_INCREF(Py_None
); resultobj
= Py_None
;
26283 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26285 wxWindow
*arg1
= (wxWindow
*) 0 ;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "maxSize", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26296 if (SWIG_arg_fail(1)) SWIG_fail
;
26299 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 Py_INCREF(Py_None
); resultobj
= Py_None
;
26315 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxWindow
*arg1
= (wxWindow
*) 0 ;
26319 PyObject
* obj0
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26326 if (SWIG_arg_fail(1)) SWIG_fail
;
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26331 wxPyEndAllowThreads(__tstate
);
26332 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_From_int((int)(result
));
26343 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxWindow
*arg1
= (wxWindow
*) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26354 if (SWIG_arg_fail(1)) SWIG_fail
;
26356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26357 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26359 wxPyEndAllowThreads(__tstate
);
26360 if (PyErr_Occurred()) SWIG_fail
;
26363 resultobj
= SWIG_From_int((int)(result
));
26371 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26372 PyObject
*resultobj
;
26373 wxWindow
*arg1
= (wxWindow
*) 0 ;
26375 PyObject
* obj0
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26382 if (SWIG_arg_fail(1)) SWIG_fail
;
26384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26385 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26391 resultobj
= SWIG_From_int((int)(result
));
26399 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26400 PyObject
*resultobj
;
26401 wxWindow
*arg1
= (wxWindow
*) 0 ;
26403 PyObject
* obj0
= 0 ;
26404 char *kwnames
[] = {
26405 (char *) "self", NULL
26408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26410 if (SWIG_arg_fail(1)) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26419 resultobj
= SWIG_From_int((int)(result
));
26427 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
;
26429 wxWindow
*arg1
= (wxWindow
*) 0 ;
26432 PyObject
* obj0
= 0 ;
26433 PyObject
* obj1
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self",(char *) "size", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26440 if (SWIG_arg_fail(1)) SWIG_fail
;
26443 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 Py_INCREF(Py_None
); resultobj
= Py_None
;
26459 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
;
26461 wxWindow
*arg1
= (wxWindow
*) 0 ;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 PyObject
* obj2
= 0 ;
26467 char *kwnames
[] = {
26468 (char *) "self",(char *) "w",(char *) "h", NULL
26471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26473 if (SWIG_arg_fail(1)) SWIG_fail
;
26475 arg2
= (int)(SWIG_As_int(obj1
));
26476 if (SWIG_arg_fail(2)) SWIG_fail
;
26479 arg3
= (int)(SWIG_As_int(obj2
));
26480 if (SWIG_arg_fail(3)) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 (arg1
)->SetVirtualSize(arg2
,arg3
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 Py_INCREF(Py_None
); resultobj
= Py_None
;
26496 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
;
26498 wxWindow
*arg1
= (wxWindow
*) 0 ;
26500 PyObject
* obj0
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "self", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26507 if (SWIG_arg_fail(1)) SWIG_fail
;
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26516 wxSize
* resultptr
;
26517 resultptr
= new wxSize((wxSize
&)(result
));
26518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26526 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
;
26528 wxWindow
*arg1
= (wxWindow
*) 0 ;
26529 int *arg2
= (int *) 0 ;
26530 int *arg3
= (int *) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self", NULL
26540 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26541 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26544 if (SWIG_arg_fail(1)) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 Py_INCREF(Py_None
); resultobj
= Py_None
;
26553 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26554 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26555 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26556 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26563 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26564 PyObject
*resultobj
;
26565 wxWindow
*arg1
= (wxWindow
*) 0 ;
26567 PyObject
* obj0
= 0 ;
26568 char *kwnames
[] = {
26569 (char *) "self", NULL
26572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26574 if (SWIG_arg_fail(1)) SWIG_fail
;
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26583 wxSize
* resultptr
;
26584 resultptr
= new wxSize((wxSize
&)(result
));
26585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26593 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
;
26595 wxWindow
*arg1
= (wxWindow
*) 0 ;
26596 bool arg2
= (bool) true ;
26598 PyObject
* obj0
= 0 ;
26599 PyObject
* obj1
= 0 ;
26600 char *kwnames
[] = {
26601 (char *) "self",(char *) "show", NULL
26604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26606 if (SWIG_arg_fail(1)) SWIG_fail
;
26609 arg2
= (bool)(SWIG_As_bool(obj1
));
26610 if (SWIG_arg_fail(2)) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= (bool)(arg1
)->Show(arg2
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26629 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
;
26631 wxWindow
*arg1
= (wxWindow
*) 0 ;
26633 PyObject
* obj0
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26640 if (SWIG_arg_fail(1)) SWIG_fail
;
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 result
= (bool)(arg1
)->Hide();
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26657 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxWindow
*arg1
= (wxWindow
*) 0 ;
26660 bool arg2
= (bool) true ;
26662 PyObject
* obj0
= 0 ;
26663 PyObject
* obj1
= 0 ;
26664 char *kwnames
[] = {
26665 (char *) "self",(char *) "enable", NULL
26668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26670 if (SWIG_arg_fail(1)) SWIG_fail
;
26673 arg2
= (bool)(SWIG_As_bool(obj1
));
26674 if (SWIG_arg_fail(2)) SWIG_fail
;
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 result
= (bool)(arg1
)->Enable(arg2
);
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26693 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
;
26695 wxWindow
*arg1
= (wxWindow
*) 0 ;
26697 PyObject
* obj0
= 0 ;
26698 char *kwnames
[] = {
26699 (char *) "self", NULL
26702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
26703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26704 if (SWIG_arg_fail(1)) SWIG_fail
;
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= (bool)(arg1
)->Disable();
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26721 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxWindow
*arg1
= (wxWindow
*) 0 ;
26725 PyObject
* obj0
= 0 ;
26726 char *kwnames
[] = {
26727 (char *) "self", NULL
26730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
26731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26732 if (SWIG_arg_fail(1)) SWIG_fail
;
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26749 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
;
26751 wxWindow
*arg1
= (wxWindow
*) 0 ;
26753 PyObject
* obj0
= 0 ;
26754 char *kwnames
[] = {
26755 (char *) "self", NULL
26758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
26759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26760 if (SWIG_arg_fail(1)) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26777 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26778 PyObject
*resultobj
;
26779 wxWindow
*arg1
= (wxWindow
*) 0 ;
26781 PyObject
* obj0
= 0 ;
26782 PyObject
* obj1
= 0 ;
26783 char *kwnames
[] = {
26784 (char *) "self",(char *) "style", NULL
26787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26789 if (SWIG_arg_fail(1)) SWIG_fail
;
26791 arg2
= (long)(SWIG_As_long(obj1
));
26792 if (SWIG_arg_fail(2)) SWIG_fail
;
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 (arg1
)->SetWindowStyleFlag(arg2
);
26798 wxPyEndAllowThreads(__tstate
);
26799 if (PyErr_Occurred()) SWIG_fail
;
26801 Py_INCREF(Py_None
); resultobj
= Py_None
;
26808 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
;
26810 wxWindow
*arg1
= (wxWindow
*) 0 ;
26812 PyObject
* obj0
= 0 ;
26813 char *kwnames
[] = {
26814 (char *) "self", NULL
26817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
26818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26819 if (SWIG_arg_fail(1)) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26828 resultobj
= SWIG_From_long((long)(result
));
26836 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
;
26838 wxWindow
*arg1
= (wxWindow
*) 0 ;
26841 PyObject
* obj0
= 0 ;
26842 PyObject
* obj1
= 0 ;
26843 char *kwnames
[] = {
26844 (char *) "self",(char *) "flag", NULL
26847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
26848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26849 if (SWIG_arg_fail(1)) SWIG_fail
;
26851 arg2
= (int)(SWIG_As_int(obj1
));
26852 if (SWIG_arg_fail(2)) SWIG_fail
;
26855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26856 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26870 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26871 PyObject
*resultobj
;
26872 wxWindow
*arg1
= (wxWindow
*) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 char *kwnames
[] = {
26876 (char *) "self", NULL
26879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
26880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26881 if (SWIG_arg_fail(1)) SWIG_fail
;
26883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26884 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
26886 wxPyEndAllowThreads(__tstate
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26898 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
;
26900 wxWindow
*arg1
= (wxWindow
*) 0 ;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self",(char *) "exStyle", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
26909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26910 if (SWIG_arg_fail(1)) SWIG_fail
;
26912 arg2
= (long)(SWIG_As_long(obj1
));
26913 if (SWIG_arg_fail(2)) SWIG_fail
;
26916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 (arg1
)->SetExtraStyle(arg2
);
26919 wxPyEndAllowThreads(__tstate
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26922 Py_INCREF(Py_None
); resultobj
= Py_None
;
26929 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26930 PyObject
*resultobj
;
26931 wxWindow
*arg1
= (wxWindow
*) 0 ;
26933 PyObject
* obj0
= 0 ;
26934 char *kwnames
[] = {
26935 (char *) "self", NULL
26938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
26939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26940 if (SWIG_arg_fail(1)) SWIG_fail
;
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26949 resultobj
= SWIG_From_long((long)(result
));
26957 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26958 PyObject
*resultobj
;
26959 wxWindow
*arg1
= (wxWindow
*) 0 ;
26960 bool arg2
= (bool) true ;
26961 PyObject
* obj0
= 0 ;
26962 PyObject
* obj1
= 0 ;
26963 char *kwnames
[] = {
26964 (char *) "self",(char *) "modal", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
26968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26969 if (SWIG_arg_fail(1)) SWIG_fail
;
26972 arg2
= (bool)(SWIG_As_bool(obj1
));
26973 if (SWIG_arg_fail(2)) SWIG_fail
;
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 (arg1
)->MakeModal(arg2
);
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 Py_INCREF(Py_None
); resultobj
= Py_None
;
26990 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26991 PyObject
*resultobj
;
26992 wxWindow
*arg1
= (wxWindow
*) 0 ;
26994 PyObject
* obj0
= 0 ;
26995 PyObject
* obj1
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self",(char *) "enableTheme", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27002 if (SWIG_arg_fail(1)) SWIG_fail
;
27004 arg2
= (bool)(SWIG_As_bool(obj1
));
27005 if (SWIG_arg_fail(2)) SWIG_fail
;
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 (arg1
)->SetThemeEnabled(arg2
);
27011 wxPyEndAllowThreads(__tstate
);
27012 if (PyErr_Occurred()) SWIG_fail
;
27014 Py_INCREF(Py_None
); resultobj
= Py_None
;
27021 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27022 PyObject
*resultobj
;
27023 wxWindow
*arg1
= (wxWindow
*) 0 ;
27025 PyObject
* obj0
= 0 ;
27026 char *kwnames
[] = {
27027 (char *) "self", NULL
27030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27032 if (SWIG_arg_fail(1)) SWIG_fail
;
27034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27035 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27049 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27050 PyObject
*resultobj
;
27051 wxWindow
*arg1
= (wxWindow
*) 0 ;
27052 PyObject
* obj0
= 0 ;
27053 char *kwnames
[] = {
27054 (char *) "self", NULL
27057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27059 if (SWIG_arg_fail(1)) SWIG_fail
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 (arg1
)->SetFocus();
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 Py_INCREF(Py_None
); resultobj
= Py_None
;
27074 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxWindow
*arg1
= (wxWindow
*) 0 ;
27077 PyObject
* obj0
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27084 if (SWIG_arg_fail(1)) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 (arg1
)->SetFocusFromKbd();
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 Py_INCREF(Py_None
); resultobj
= Py_None
;
27099 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27100 PyObject
*resultobj
;
27102 char *kwnames
[] = {
27106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27108 if (!wxPyCheckForApp()) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (wxWindow
*)wxWindow::FindFocus();
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= wxPyMake_wxObject(result
, 0);
27124 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxWindow
*arg1
= (wxWindow
*) 0 ;
27128 PyObject
* obj0
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27135 if (SWIG_arg_fail(1)) SWIG_fail
;
27137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27138 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27152 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27153 PyObject
*resultobj
;
27154 wxWindow
*arg1
= (wxWindow
*) 0 ;
27156 PyObject
* obj0
= 0 ;
27157 char *kwnames
[] = {
27158 (char *) "self", NULL
27161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27163 if (SWIG_arg_fail(1)) SWIG_fail
;
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27180 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxWindow
*arg1
= (wxWindow
*) 0 ;
27184 PyObject
* obj0
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27191 if (SWIG_arg_fail(1)) SWIG_fail
;
27193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27194 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27196 wxPyEndAllowThreads(__tstate
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= wxPyMake_wxObject(result
, 0);
27208 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxWindow
*arg1
= (wxWindow
*) 0 ;
27211 wxWindow
*arg2
= (wxWindow
*) 0 ;
27213 PyObject
* obj0
= 0 ;
27214 PyObject
* obj1
= 0 ;
27215 char *kwnames
[] = {
27216 (char *) "self",(char *) "child", NULL
27219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(1)) SWIG_fail
;
27222 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27223 if (SWIG_arg_fail(2)) SWIG_fail
;
27225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27226 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27228 wxPyEndAllowThreads(__tstate
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= wxPyMake_wxObject(result
, 0);
27240 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
;
27242 wxWindow
*arg1
= (wxWindow
*) 0 ;
27243 wxWindow
*arg2
= (wxWindow
*) 0 ;
27244 PyObject
* obj0
= 0 ;
27245 PyObject
* obj1
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "self",(char *) "win", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27252 if (SWIG_arg_fail(1)) SWIG_fail
;
27253 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27254 if (SWIG_arg_fail(2)) SWIG_fail
;
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 (arg1
)->SetTmpDefaultItem(arg2
);
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 Py_INCREF(Py_None
); resultobj
= Py_None
;
27269 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27270 PyObject
*resultobj
;
27271 wxWindow
*arg1
= (wxWindow
*) 0 ;
27272 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27274 PyObject
* obj0
= 0 ;
27275 PyObject
* obj1
= 0 ;
27276 char *kwnames
[] = {
27277 (char *) "self",(char *) "flags", NULL
27280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27282 if (SWIG_arg_fail(1)) SWIG_fail
;
27285 arg2
= (int)(SWIG_As_int(obj1
));
27286 if (SWIG_arg_fail(2)) SWIG_fail
;
27290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27291 result
= (bool)(arg1
)->Navigate(arg2
);
27293 wxPyEndAllowThreads(__tstate
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27305 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27306 PyObject
*resultobj
;
27307 wxWindow
*arg1
= (wxWindow
*) 0 ;
27308 wxWindow
*arg2
= (wxWindow
*) 0 ;
27309 PyObject
* obj0
= 0 ;
27310 PyObject
* obj1
= 0 ;
27311 char *kwnames
[] = {
27312 (char *) "self",(char *) "win", NULL
27315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27317 if (SWIG_arg_fail(1)) SWIG_fail
;
27318 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27319 if (SWIG_arg_fail(2)) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 (arg1
)->MoveAfterInTabOrder(arg2
);
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 Py_INCREF(Py_None
); resultobj
= Py_None
;
27334 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxWindow
*arg1
= (wxWindow
*) 0 ;
27337 wxWindow
*arg2
= (wxWindow
*) 0 ;
27338 PyObject
* obj0
= 0 ;
27339 PyObject
* obj1
= 0 ;
27340 char *kwnames
[] = {
27341 (char *) "self",(char *) "win", NULL
27344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27346 if (SWIG_arg_fail(1)) SWIG_fail
;
27347 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27348 if (SWIG_arg_fail(2)) SWIG_fail
;
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 (arg1
)->MoveBeforeInTabOrder(arg2
);
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 Py_INCREF(Py_None
); resultobj
= Py_None
;
27363 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
;
27365 wxWindow
*arg1
= (wxWindow
*) 0 ;
27367 PyObject
* obj0
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27374 if (SWIG_arg_fail(1)) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27382 resultobj
= result
;
27389 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
;
27391 wxWindow
*arg1
= (wxWindow
*) 0 ;
27393 PyObject
* obj0
= 0 ;
27394 char *kwnames
[] = {
27395 (char *) "self", NULL
27398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27400 if (SWIG_arg_fail(1)) SWIG_fail
;
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27409 resultobj
= wxPyMake_wxObject(result
, 0);
27417 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27418 PyObject
*resultobj
;
27419 wxWindow
*arg1
= (wxWindow
*) 0 ;
27421 PyObject
* obj0
= 0 ;
27422 char *kwnames
[] = {
27423 (char *) "self", NULL
27426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27428 if (SWIG_arg_fail(1)) SWIG_fail
;
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27437 resultobj
= wxPyMake_wxObject(result
, 0);
27445 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27446 PyObject
*resultobj
;
27447 wxWindow
*arg1
= (wxWindow
*) 0 ;
27449 PyObject
* obj0
= 0 ;
27450 char *kwnames
[] = {
27451 (char *) "self", NULL
27454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27456 if (SWIG_arg_fail(1)) SWIG_fail
;
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27473 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27474 PyObject
*resultobj
;
27475 wxWindow
*arg1
= (wxWindow
*) 0 ;
27476 wxWindow
*arg2
= (wxWindow
*) 0 ;
27478 PyObject
* obj0
= 0 ;
27479 PyObject
* obj1
= 0 ;
27480 char *kwnames
[] = {
27481 (char *) "self",(char *) "newParent", NULL
27484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27486 if (SWIG_arg_fail(1)) SWIG_fail
;
27487 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27488 if (SWIG_arg_fail(2)) SWIG_fail
;
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 result
= (bool)(arg1
)->Reparent(arg2
);
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27505 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27506 PyObject
*resultobj
;
27507 wxWindow
*arg1
= (wxWindow
*) 0 ;
27508 wxWindow
*arg2
= (wxWindow
*) 0 ;
27509 PyObject
* obj0
= 0 ;
27510 PyObject
* obj1
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self",(char *) "child", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27517 if (SWIG_arg_fail(1)) SWIG_fail
;
27518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27519 if (SWIG_arg_fail(2)) SWIG_fail
;
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 (arg1
)->AddChild(arg2
);
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27527 Py_INCREF(Py_None
); resultobj
= Py_None
;
27534 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27535 PyObject
*resultobj
;
27536 wxWindow
*arg1
= (wxWindow
*) 0 ;
27537 wxWindow
*arg2
= (wxWindow
*) 0 ;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 char *kwnames
[] = {
27541 (char *) "self",(char *) "child", NULL
27544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27546 if (SWIG_arg_fail(1)) SWIG_fail
;
27547 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27548 if (SWIG_arg_fail(2)) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 (arg1
)->RemoveChild(arg2
);
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 Py_INCREF(Py_None
); resultobj
= Py_None
;
27563 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27564 PyObject
*resultobj
;
27565 wxWindow
*arg1
= (wxWindow
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 PyObject
* obj1
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self",(char *) "winid", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27576 if (SWIG_arg_fail(1)) SWIG_fail
;
27578 arg2
= (long)(SWIG_As_long(obj1
));
27579 if (SWIG_arg_fail(2)) SWIG_fail
;
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27589 resultobj
= wxPyMake_wxObject(result
, 0);
27597 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27598 PyObject
*resultobj
;
27599 wxWindow
*arg1
= (wxWindow
*) 0 ;
27600 wxString
*arg2
= 0 ;
27602 bool temp2
= false ;
27603 PyObject
* obj0
= 0 ;
27604 PyObject
* obj1
= 0 ;
27605 char *kwnames
[] = {
27606 (char *) "self",(char *) "name", NULL
27609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27611 if (SWIG_arg_fail(1)) SWIG_fail
;
27613 arg2
= wxString_in_helper(obj1
);
27614 if (arg2
== NULL
) SWIG_fail
;
27618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27621 wxPyEndAllowThreads(__tstate
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27625 resultobj
= wxPyMake_wxObject(result
, 0);
27641 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
;
27643 wxWindow
*arg1
= (wxWindow
*) 0 ;
27644 wxEvtHandler
*result
;
27645 PyObject
* obj0
= 0 ;
27646 char *kwnames
[] = {
27647 (char *) "self", NULL
27650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27652 if (SWIG_arg_fail(1)) SWIG_fail
;
27654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27661 resultobj
= wxPyMake_wxObject(result
, 0);
27669 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxWindow
*arg1
= (wxWindow
*) 0 ;
27672 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27673 PyObject
* obj0
= 0 ;
27674 PyObject
* obj1
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self",(char *) "handler", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27681 if (SWIG_arg_fail(1)) SWIG_fail
;
27682 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27683 if (SWIG_arg_fail(2)) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 (arg1
)->SetEventHandler(arg2
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27691 Py_INCREF(Py_None
); resultobj
= Py_None
;
27698 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27699 PyObject
*resultobj
;
27700 wxWindow
*arg1
= (wxWindow
*) 0 ;
27701 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self",(char *) "handler", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27710 if (SWIG_arg_fail(1)) SWIG_fail
;
27711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27712 if (SWIG_arg_fail(2)) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 (arg1
)->PushEventHandler(arg2
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27720 Py_INCREF(Py_None
); resultobj
= Py_None
;
27727 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27728 PyObject
*resultobj
;
27729 wxWindow
*arg1
= (wxWindow
*) 0 ;
27730 bool arg2
= (bool) false ;
27731 wxEvtHandler
*result
;
27732 PyObject
* obj0
= 0 ;
27733 PyObject
* obj1
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "self",(char *) "deleteHandler", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27740 if (SWIG_arg_fail(1)) SWIG_fail
;
27743 arg2
= (bool)(SWIG_As_bool(obj1
));
27744 if (SWIG_arg_fail(2)) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27755 resultobj
= wxPyMake_wxObject(result
, 0);
27763 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
;
27765 wxWindow
*arg1
= (wxWindow
*) 0 ;
27766 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27768 PyObject
* obj0
= 0 ;
27769 PyObject
* obj1
= 0 ;
27770 char *kwnames
[] = {
27771 (char *) "self",(char *) "handler", NULL
27774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
27775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27776 if (SWIG_arg_fail(1)) SWIG_fail
;
27777 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
27778 if (SWIG_arg_fail(2)) SWIG_fail
;
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27795 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
;
27797 wxWindow
*arg1
= (wxWindow
*) 0 ;
27798 wxValidator
*arg2
= 0 ;
27799 PyObject
* obj0
= 0 ;
27800 PyObject
* obj1
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "self",(char *) "validator", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
27806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27807 if (SWIG_arg_fail(1)) SWIG_fail
;
27809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
27810 if (SWIG_arg_fail(2)) SWIG_fail
;
27811 if (arg2
== NULL
) {
27812 SWIG_null_ref("wxValidator");
27814 if (SWIG_arg_fail(2)) SWIG_fail
;
27817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27818 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
27820 wxPyEndAllowThreads(__tstate
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27823 Py_INCREF(Py_None
); resultobj
= Py_None
;
27830 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27831 PyObject
*resultobj
;
27832 wxWindow
*arg1
= (wxWindow
*) 0 ;
27833 wxValidator
*result
;
27834 PyObject
* obj0
= 0 ;
27835 char *kwnames
[] = {
27836 (char *) "self", NULL
27839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
27840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27841 if (SWIG_arg_fail(1)) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= (wxValidator
*)(arg1
)->GetValidator();
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27850 resultobj
= wxPyMake_wxObject(result
, 0);
27858 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxWindow
*arg1
= (wxWindow
*) 0 ;
27862 PyObject
* obj0
= 0 ;
27863 char *kwnames
[] = {
27864 (char *) "self", NULL
27867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
27868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27869 if (SWIG_arg_fail(1)) SWIG_fail
;
27871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27872 result
= (bool)(arg1
)->Validate();
27874 wxPyEndAllowThreads(__tstate
);
27875 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27886 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27887 PyObject
*resultobj
;
27888 wxWindow
*arg1
= (wxWindow
*) 0 ;
27890 PyObject
* obj0
= 0 ;
27891 char *kwnames
[] = {
27892 (char *) "self", NULL
27895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27897 if (SWIG_arg_fail(1)) SWIG_fail
;
27899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27900 result
= (bool)(arg1
)->TransferDataToWindow();
27902 wxPyEndAllowThreads(__tstate
);
27903 if (PyErr_Occurred()) SWIG_fail
;
27906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27914 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27915 PyObject
*resultobj
;
27916 wxWindow
*arg1
= (wxWindow
*) 0 ;
27918 PyObject
* obj0
= 0 ;
27919 char *kwnames
[] = {
27920 (char *) "self", NULL
27923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27925 if (SWIG_arg_fail(1)) SWIG_fail
;
27927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27928 result
= (bool)(arg1
)->TransferDataFromWindow();
27930 wxPyEndAllowThreads(__tstate
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27942 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxWindow
*arg1
= (wxWindow
*) 0 ;
27945 PyObject
* obj0
= 0 ;
27946 char *kwnames
[] = {
27947 (char *) "self", NULL
27950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
27951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27952 if (SWIG_arg_fail(1)) SWIG_fail
;
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 (arg1
)->InitDialog();
27957 wxPyEndAllowThreads(__tstate
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27960 Py_INCREF(Py_None
); resultobj
= Py_None
;
27967 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
;
27969 wxWindow
*arg1
= (wxWindow
*) 0 ;
27970 wxAcceleratorTable
*arg2
= 0 ;
27971 PyObject
* obj0
= 0 ;
27972 PyObject
* obj1
= 0 ;
27973 char *kwnames
[] = {
27974 (char *) "self",(char *) "accel", NULL
27977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
27978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27979 if (SWIG_arg_fail(1)) SWIG_fail
;
27981 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
27982 if (SWIG_arg_fail(2)) SWIG_fail
;
27983 if (arg2
== NULL
) {
27984 SWIG_null_ref("wxAcceleratorTable");
27986 if (SWIG_arg_fail(2)) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28002 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
;
28004 wxWindow
*arg1
= (wxWindow
*) 0 ;
28005 wxAcceleratorTable
*result
;
28006 PyObject
* obj0
= 0 ;
28007 char *kwnames
[] = {
28008 (char *) "self", NULL
28011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28013 if (SWIG_arg_fail(1)) SWIG_fail
;
28015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28016 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28018 wxPyEndAllowThreads(__tstate
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28028 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28029 PyObject
*resultobj
;
28030 wxWindow
*arg1
= (wxWindow
*) 0 ;
28035 PyObject
* obj0
= 0 ;
28036 PyObject
* obj1
= 0 ;
28037 PyObject
* obj2
= 0 ;
28038 PyObject
* obj3
= 0 ;
28039 char *kwnames
[] = {
28040 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28045 if (SWIG_arg_fail(1)) SWIG_fail
;
28047 arg2
= (int)(SWIG_As_int(obj1
));
28048 if (SWIG_arg_fail(2)) SWIG_fail
;
28051 arg3
= (int)(SWIG_As_int(obj2
));
28052 if (SWIG_arg_fail(3)) SWIG_fail
;
28055 arg4
= (int)(SWIG_As_int(obj3
));
28056 if (SWIG_arg_fail(4)) SWIG_fail
;
28059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28060 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28074 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28075 PyObject
*resultobj
;
28076 wxWindow
*arg1
= (wxWindow
*) 0 ;
28079 PyObject
* obj0
= 0 ;
28080 PyObject
* obj1
= 0 ;
28081 char *kwnames
[] = {
28082 (char *) "self",(char *) "hotkeyId", NULL
28085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28087 if (SWIG_arg_fail(1)) SWIG_fail
;
28089 arg2
= (int)(SWIG_As_int(obj1
));
28090 if (SWIG_arg_fail(2)) SWIG_fail
;
28093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28094 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28096 wxPyEndAllowThreads(__tstate
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28108 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
;
28110 wxWindow
*arg1
= (wxWindow
*) 0 ;
28111 wxPoint
*arg2
= 0 ;
28114 PyObject
* obj0
= 0 ;
28115 PyObject
* obj1
= 0 ;
28116 char *kwnames
[] = {
28117 (char *) "self",(char *) "pt", NULL
28120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28122 if (SWIG_arg_fail(1)) SWIG_fail
;
28125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28129 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28131 wxPyEndAllowThreads(__tstate
);
28132 if (PyErr_Occurred()) SWIG_fail
;
28135 wxPoint
* resultptr
;
28136 resultptr
= new wxPoint((wxPoint
&)(result
));
28137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28145 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
;
28147 wxWindow
*arg1
= (wxWindow
*) 0 ;
28151 PyObject
* obj0
= 0 ;
28152 PyObject
* obj1
= 0 ;
28153 char *kwnames
[] = {
28154 (char *) "self",(char *) "sz", NULL
28157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28159 if (SWIG_arg_fail(1)) SWIG_fail
;
28162 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28172 wxSize
* resultptr
;
28173 resultptr
= new wxSize((wxSize
&)(result
));
28174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28182 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28183 PyObject
*resultobj
;
28184 wxWindow
*arg1
= (wxWindow
*) 0 ;
28185 wxPoint
*arg2
= 0 ;
28188 PyObject
* obj0
= 0 ;
28189 PyObject
* obj1
= 0 ;
28190 char *kwnames
[] = {
28191 (char *) "self",(char *) "pt", NULL
28194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28196 if (SWIG_arg_fail(1)) SWIG_fail
;
28199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28205 wxPyEndAllowThreads(__tstate
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28209 wxPoint
* resultptr
;
28210 resultptr
= new wxPoint((wxPoint
&)(result
));
28211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28219 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
;
28221 wxWindow
*arg1
= (wxWindow
*) 0 ;
28225 PyObject
* obj0
= 0 ;
28226 PyObject
* obj1
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "self",(char *) "sz", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28233 if (SWIG_arg_fail(1)) SWIG_fail
;
28236 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28242 wxPyEndAllowThreads(__tstate
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28246 wxSize
* resultptr
;
28247 resultptr
= new wxSize((wxSize
&)(result
));
28248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28256 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxWindow
*arg1
= (wxWindow
*) 0 ;
28259 wxPoint
*arg2
= 0 ;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 char *kwnames
[] = {
28265 (char *) "self",(char *) "pt", NULL
28268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28270 if (SWIG_arg_fail(1)) SWIG_fail
;
28273 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28277 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28279 wxPyEndAllowThreads(__tstate
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28283 wxPoint
* resultptr
;
28284 resultptr
= new wxPoint((wxPoint
&)(result
));
28285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28293 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28294 PyObject
*resultobj
;
28295 wxWindow
*arg1
= (wxWindow
*) 0 ;
28299 PyObject
* obj0
= 0 ;
28300 PyObject
* obj1
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self",(char *) "sz", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28307 if (SWIG_arg_fail(1)) SWIG_fail
;
28310 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28320 wxSize
* resultptr
;
28321 resultptr
= new wxSize((wxSize
&)(result
));
28322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28330 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28331 PyObject
*resultobj
;
28332 wxWindow
*arg1
= (wxWindow
*) 0 ;
28335 PyObject
* obj0
= 0 ;
28336 PyObject
* obj1
= 0 ;
28337 PyObject
* obj2
= 0 ;
28338 char *kwnames
[] = {
28339 (char *) "self",(char *) "x",(char *) "y", NULL
28342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28344 if (SWIG_arg_fail(1)) SWIG_fail
;
28346 arg2
= (int)(SWIG_As_int(obj1
));
28347 if (SWIG_arg_fail(2)) SWIG_fail
;
28350 arg3
= (int)(SWIG_As_int(obj2
));
28351 if (SWIG_arg_fail(3)) SWIG_fail
;
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 (arg1
)->WarpPointer(arg2
,arg3
);
28357 wxPyEndAllowThreads(__tstate
);
28358 if (PyErr_Occurred()) SWIG_fail
;
28360 Py_INCREF(Py_None
); resultobj
= Py_None
;
28367 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxWindow
*arg1
= (wxWindow
*) 0 ;
28370 PyObject
* obj0
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28377 if (SWIG_arg_fail(1)) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 (arg1
)->CaptureMouse();
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 Py_INCREF(Py_None
); resultobj
= Py_None
;
28392 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28393 PyObject
*resultobj
;
28394 wxWindow
*arg1
= (wxWindow
*) 0 ;
28395 PyObject
* obj0
= 0 ;
28396 char *kwnames
[] = {
28397 (char *) "self", NULL
28400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28402 if (SWIG_arg_fail(1)) SWIG_fail
;
28404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28405 (arg1
)->ReleaseMouse();
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 Py_INCREF(Py_None
); resultobj
= Py_None
;
28417 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28418 PyObject
*resultobj
;
28420 char *kwnames
[] = {
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28426 if (!wxPyCheckForApp()) SWIG_fail
;
28427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28428 result
= (wxWindow
*)wxWindow::GetCapture();
28430 wxPyEndAllowThreads(__tstate
);
28431 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= wxPyMake_wxObject(result
, 0);
28442 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxWindow
*arg1
= (wxWindow
*) 0 ;
28446 PyObject
* obj0
= 0 ;
28447 char *kwnames
[] = {
28448 (char *) "self", NULL
28451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28453 if (SWIG_arg_fail(1)) SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28470 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28471 PyObject
*resultobj
;
28472 wxWindow
*arg1
= (wxWindow
*) 0 ;
28473 bool arg2
= (bool) true ;
28474 wxRect
*arg3
= (wxRect
*) NULL
;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 PyObject
* obj2
= 0 ;
28478 char *kwnames
[] = {
28479 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28484 if (SWIG_arg_fail(1)) SWIG_fail
;
28487 arg2
= (bool)(SWIG_As_bool(obj1
));
28488 if (SWIG_arg_fail(2)) SWIG_fail
;
28492 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28493 if (SWIG_arg_fail(3)) SWIG_fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28502 Py_INCREF(Py_None
); resultobj
= Py_None
;
28509 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
;
28511 wxWindow
*arg1
= (wxWindow
*) 0 ;
28514 PyObject
* obj0
= 0 ;
28515 PyObject
* obj1
= 0 ;
28516 char *kwnames
[] = {
28517 (char *) "self",(char *) "rect", NULL
28520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28522 if (SWIG_arg_fail(1)) SWIG_fail
;
28525 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28529 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
28531 wxPyEndAllowThreads(__tstate
);
28532 if (PyErr_Occurred()) SWIG_fail
;
28534 Py_INCREF(Py_None
); resultobj
= Py_None
;
28541 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28542 PyObject
*resultobj
;
28543 wxWindow
*arg1
= (wxWindow
*) 0 ;
28544 PyObject
* obj0
= 0 ;
28545 char *kwnames
[] = {
28546 (char *) "self", NULL
28549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28550 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28551 if (SWIG_arg_fail(1)) SWIG_fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28556 wxPyEndAllowThreads(__tstate
);
28557 if (PyErr_Occurred()) SWIG_fail
;
28559 Py_INCREF(Py_None
); resultobj
= Py_None
;
28566 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28567 PyObject
*resultobj
;
28568 wxWindow
*arg1
= (wxWindow
*) 0 ;
28569 PyObject
* obj0
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28576 if (SWIG_arg_fail(1)) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 (arg1
)->ClearBackground();
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28584 Py_INCREF(Py_None
); resultobj
= Py_None
;
28591 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxWindow
*arg1
= (wxWindow
*) 0 ;
28594 PyObject
* obj0
= 0 ;
28595 char *kwnames
[] = {
28596 (char *) "self", NULL
28599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28601 if (SWIG_arg_fail(1)) SWIG_fail
;
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 Py_INCREF(Py_None
); resultobj
= Py_None
;
28616 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28617 PyObject
*resultobj
;
28618 wxWindow
*arg1
= (wxWindow
*) 0 ;
28619 PyObject
* obj0
= 0 ;
28620 char *kwnames
[] = {
28621 (char *) "self", NULL
28624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28626 if (SWIG_arg_fail(1)) SWIG_fail
;
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28631 wxPyEndAllowThreads(__tstate
);
28632 if (PyErr_Occurred()) SWIG_fail
;
28634 Py_INCREF(Py_None
); resultobj
= Py_None
;
28641 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28642 PyObject
*resultobj
;
28643 wxWindow
*arg1
= (wxWindow
*) 0 ;
28645 PyObject
* obj0
= 0 ;
28646 PyObject
* obj1
= 0 ;
28647 char *kwnames
[] = {
28648 (char *) "self",(char *) "dc", NULL
28651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28653 if (SWIG_arg_fail(1)) SWIG_fail
;
28655 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28656 if (SWIG_arg_fail(2)) SWIG_fail
;
28657 if (arg2
== NULL
) {
28658 SWIG_null_ref("wxDC");
28660 if (SWIG_arg_fail(2)) SWIG_fail
;
28663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28664 (arg1
)->PrepareDC(*arg2
);
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28669 Py_INCREF(Py_None
); resultobj
= Py_None
;
28676 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28677 PyObject
*resultobj
;
28678 wxWindow
*arg1
= (wxWindow
*) 0 ;
28680 PyObject
* obj0
= 0 ;
28681 char *kwnames
[] = {
28682 (char *) "self", NULL
28685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
28686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28687 if (SWIG_arg_fail(1)) SWIG_fail
;
28689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
28692 result
= (wxRegion
*) &_result_ref
;
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
28705 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
;
28707 wxWindow
*arg1
= (wxWindow
*) 0 ;
28709 PyObject
* obj0
= 0 ;
28710 char *kwnames
[] = {
28711 (char *) "self", NULL
28714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
28715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28716 if (SWIG_arg_fail(1)) SWIG_fail
;
28718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28719 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
28721 wxPyEndAllowThreads(__tstate
);
28722 if (PyErr_Occurred()) SWIG_fail
;
28725 wxRect
* resultptr
;
28726 resultptr
= new wxRect((wxRect
&)(result
));
28727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28735 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28736 PyObject
*resultobj
;
28737 wxWindow
*arg1
= (wxWindow
*) 0 ;
28740 int arg4
= (int) 1 ;
28741 int arg5
= (int) 1 ;
28743 PyObject
* obj0
= 0 ;
28744 PyObject
* obj1
= 0 ;
28745 PyObject
* obj2
= 0 ;
28746 PyObject
* obj3
= 0 ;
28747 PyObject
* obj4
= 0 ;
28748 char *kwnames
[] = {
28749 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
28752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28754 if (SWIG_arg_fail(1)) SWIG_fail
;
28756 arg2
= (int)(SWIG_As_int(obj1
));
28757 if (SWIG_arg_fail(2)) SWIG_fail
;
28760 arg3
= (int)(SWIG_As_int(obj2
));
28761 if (SWIG_arg_fail(3)) SWIG_fail
;
28765 arg4
= (int)(SWIG_As_int(obj3
));
28766 if (SWIG_arg_fail(4)) SWIG_fail
;
28771 arg5
= (int)(SWIG_As_int(obj4
));
28772 if (SWIG_arg_fail(5)) SWIG_fail
;
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28791 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28792 PyObject
*resultobj
;
28793 wxWindow
*arg1
= (wxWindow
*) 0 ;
28794 wxPoint
*arg2
= 0 ;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 char *kwnames
[] = {
28800 (char *) "self",(char *) "pt", NULL
28803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
28804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28805 if (SWIG_arg_fail(1)) SWIG_fail
;
28808 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28826 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxWindow
*arg1
= (wxWindow
*) 0 ;
28832 PyObject
* obj0
= 0 ;
28833 PyObject
* obj1
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self",(char *) "rect", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28840 if (SWIG_arg_fail(1)) SWIG_fail
;
28843 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28847 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
28849 wxPyEndAllowThreads(__tstate
);
28850 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28861 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxWindow
*arg1
= (wxWindow
*) 0 ;
28864 wxVisualAttributes result
;
28865 PyObject
* obj0
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28872 if (SWIG_arg_fail(1)) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 wxVisualAttributes
* resultptr
;
28882 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28891 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
;
28893 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
28894 wxVisualAttributes result
;
28895 PyObject
* obj0
= 0 ;
28896 char *kwnames
[] = {
28897 (char *) "variant", NULL
28900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28903 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
28904 if (SWIG_arg_fail(1)) SWIG_fail
;
28908 if (!wxPyCheckForApp()) SWIG_fail
;
28909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28910 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28912 wxPyEndAllowThreads(__tstate
);
28913 if (PyErr_Occurred()) SWIG_fail
;
28916 wxVisualAttributes
* resultptr
;
28917 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
28918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28926 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
;
28928 wxWindow
*arg1
= (wxWindow
*) 0 ;
28929 wxColour
*arg2
= 0 ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 char *kwnames
[] = {
28935 (char *) "self",(char *) "colour", NULL
28938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28940 if (SWIG_arg_fail(1)) SWIG_fail
;
28943 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28947 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28961 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28962 PyObject
*resultobj
;
28963 wxWindow
*arg1
= (wxWindow
*) 0 ;
28964 wxColour
*arg2
= 0 ;
28966 PyObject
* obj0
= 0 ;
28967 PyObject
* obj1
= 0 ;
28968 char *kwnames
[] = {
28969 (char *) "self",(char *) "colour", NULL
28972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28974 if (SWIG_arg_fail(1)) SWIG_fail
;
28977 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28986 Py_INCREF(Py_None
); resultobj
= Py_None
;
28993 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28994 PyObject
*resultobj
;
28995 wxWindow
*arg1
= (wxWindow
*) 0 ;
28996 wxColour
*arg2
= 0 ;
28999 PyObject
* obj0
= 0 ;
29000 PyObject
* obj1
= 0 ;
29001 char *kwnames
[] = {
29002 (char *) "self",(char *) "colour", NULL
29005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29007 if (SWIG_arg_fail(1)) SWIG_fail
;
29010 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29028 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
;
29030 wxWindow
*arg1
= (wxWindow
*) 0 ;
29031 wxColour
*arg2
= 0 ;
29033 PyObject
* obj0
= 0 ;
29034 PyObject
* obj1
= 0 ;
29035 char *kwnames
[] = {
29036 (char *) "self",(char *) "colour", NULL
29039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29041 if (SWIG_arg_fail(1)) SWIG_fail
;
29044 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29050 wxPyEndAllowThreads(__tstate
);
29051 if (PyErr_Occurred()) SWIG_fail
;
29053 Py_INCREF(Py_None
); resultobj
= Py_None
;
29060 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29061 PyObject
*resultobj
;
29062 wxWindow
*arg1
= (wxWindow
*) 0 ;
29064 PyObject
* obj0
= 0 ;
29065 char *kwnames
[] = {
29066 (char *) "self", NULL
29069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29071 if (SWIG_arg_fail(1)) SWIG_fail
;
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29080 wxColour
* resultptr
;
29081 resultptr
= new wxColour((wxColour
&)(result
));
29082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29090 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxWindow
*arg1
= (wxWindow
*) 0 ;
29094 PyObject
* obj0
= 0 ;
29095 char *kwnames
[] = {
29096 (char *) "self", NULL
29099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29101 if (SWIG_arg_fail(1)) SWIG_fail
;
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29110 wxColour
* resultptr
;
29111 resultptr
= new wxColour((wxColour
&)(result
));
29112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29120 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29121 PyObject
*resultobj
;
29122 wxWindow
*arg1
= (wxWindow
*) 0 ;
29123 wxBackgroundStyle arg2
;
29125 PyObject
* obj0
= 0 ;
29126 PyObject
* obj1
= 0 ;
29127 char *kwnames
[] = {
29128 (char *) "self",(char *) "style", NULL
29131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29133 if (SWIG_arg_fail(1)) SWIG_fail
;
29135 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29136 if (SWIG_arg_fail(2)) SWIG_fail
;
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29142 wxPyEndAllowThreads(__tstate
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29154 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
;
29156 wxWindow
*arg1
= (wxWindow
*) 0 ;
29157 wxBackgroundStyle result
;
29158 PyObject
* obj0
= 0 ;
29159 char *kwnames
[] = {
29160 (char *) "self", NULL
29163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29165 if (SWIG_arg_fail(1)) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29173 resultobj
= SWIG_From_int((result
));
29180 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
;
29182 wxWindow
*arg1
= (wxWindow
*) 0 ;
29183 wxCursor
*arg2
= 0 ;
29185 PyObject
* obj0
= 0 ;
29186 PyObject
* obj1
= 0 ;
29187 char *kwnames
[] = {
29188 (char *) "self",(char *) "cursor", NULL
29191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29193 if (SWIG_arg_fail(1)) SWIG_fail
;
29195 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29196 if (SWIG_arg_fail(2)) SWIG_fail
;
29197 if (arg2
== NULL
) {
29198 SWIG_null_ref("wxCursor");
29200 if (SWIG_arg_fail(2)) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29218 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
;
29220 wxWindow
*arg1
= (wxWindow
*) 0 ;
29222 PyObject
* obj0
= 0 ;
29223 char *kwnames
[] = {
29224 (char *) "self", NULL
29227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29229 if (SWIG_arg_fail(1)) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 result
= (arg1
)->GetCursor();
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29238 wxCursor
* resultptr
;
29239 resultptr
= new wxCursor((wxCursor
&)(result
));
29240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29248 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29249 PyObject
*resultobj
;
29250 wxWindow
*arg1
= (wxWindow
*) 0 ;
29253 PyObject
* obj0
= 0 ;
29254 PyObject
* obj1
= 0 ;
29255 char *kwnames
[] = {
29256 (char *) "self",(char *) "font", NULL
29259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29261 if (SWIG_arg_fail(1)) SWIG_fail
;
29263 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29264 if (SWIG_arg_fail(2)) SWIG_fail
;
29265 if (arg2
== NULL
) {
29266 SWIG_null_ref("wxFont");
29268 if (SWIG_arg_fail(2)) SWIG_fail
;
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29286 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29287 PyObject
*resultobj
;
29288 wxWindow
*arg1
= (wxWindow
*) 0 ;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 char *kwnames
[] = {
29293 (char *) "self",(char *) "font", NULL
29296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29298 if (SWIG_arg_fail(1)) SWIG_fail
;
29300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29301 if (SWIG_arg_fail(2)) SWIG_fail
;
29302 if (arg2
== NULL
) {
29303 SWIG_null_ref("wxFont");
29305 if (SWIG_arg_fail(2)) SWIG_fail
;
29308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29309 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29314 Py_INCREF(Py_None
); resultobj
= Py_None
;
29321 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29322 PyObject
*resultobj
;
29323 wxWindow
*arg1
= (wxWindow
*) 0 ;
29325 PyObject
* obj0
= 0 ;
29326 char *kwnames
[] = {
29327 (char *) "self", NULL
29330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29332 if (SWIG_arg_fail(1)) SWIG_fail
;
29334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 result
= (arg1
)->GetFont();
29337 wxPyEndAllowThreads(__tstate
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29341 wxFont
* resultptr
;
29342 resultptr
= new wxFont((wxFont
&)(result
));
29343 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29351 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 wxWindow
*arg1
= (wxWindow
*) 0 ;
29354 wxCaret
*arg2
= (wxCaret
*) 0 ;
29355 PyObject
* obj0
= 0 ;
29356 PyObject
* obj1
= 0 ;
29357 char *kwnames
[] = {
29358 (char *) "self",(char *) "caret", NULL
29361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29363 if (SWIG_arg_fail(1)) SWIG_fail
;
29364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29365 if (SWIG_arg_fail(2)) SWIG_fail
;
29367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29368 (arg1
)->SetCaret(arg2
);
29370 wxPyEndAllowThreads(__tstate
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29373 Py_INCREF(Py_None
); resultobj
= Py_None
;
29380 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29381 PyObject
*resultobj
;
29382 wxWindow
*arg1
= (wxWindow
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29391 if (SWIG_arg_fail(1)) SWIG_fail
;
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29394 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29406 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxWindow
*arg1
= (wxWindow
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29417 if (SWIG_arg_fail(1)) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= SWIG_From_int((int)(result
));
29434 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29435 PyObject
*resultobj
;
29436 wxWindow
*arg1
= (wxWindow
*) 0 ;
29438 PyObject
* obj0
= 0 ;
29439 char *kwnames
[] = {
29440 (char *) "self", NULL
29443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29445 if (SWIG_arg_fail(1)) SWIG_fail
;
29447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29448 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29450 wxPyEndAllowThreads(__tstate
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29454 resultobj
= SWIG_From_int((int)(result
));
29462 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29463 PyObject
*resultobj
;
29464 wxWindow
*arg1
= (wxWindow
*) 0 ;
29465 wxString
*arg2
= 0 ;
29466 int *arg3
= (int *) 0 ;
29467 int *arg4
= (int *) 0 ;
29468 bool temp2
= false ;
29473 PyObject
* obj0
= 0 ;
29474 PyObject
* obj1
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self",(char *) "string", NULL
29479 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29480 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29483 if (SWIG_arg_fail(1)) SWIG_fail
;
29485 arg2
= wxString_in_helper(obj1
);
29486 if (arg2
== NULL
) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29496 Py_INCREF(Py_None
); resultobj
= Py_None
;
29497 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29498 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29499 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29500 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29515 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29516 PyObject
*resultobj
;
29517 wxWindow
*arg1
= (wxWindow
*) 0 ;
29518 wxString
*arg2
= 0 ;
29519 int *arg3
= (int *) 0 ;
29520 int *arg4
= (int *) 0 ;
29521 int *arg5
= (int *) 0 ;
29522 int *arg6
= (int *) 0 ;
29523 wxFont
*arg7
= (wxFont
*) NULL
;
29524 bool temp2
= false ;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 PyObject
* obj2
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self",(char *) "string",(char *) "font", NULL
29540 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29541 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29542 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29543 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29546 if (SWIG_arg_fail(1)) SWIG_fail
;
29548 arg2
= wxString_in_helper(obj1
);
29549 if (arg2
== NULL
) SWIG_fail
;
29553 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29554 if (SWIG_arg_fail(7)) SWIG_fail
;
29557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29558 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29560 wxPyEndAllowThreads(__tstate
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 Py_INCREF(Py_None
); resultobj
= Py_None
;
29564 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29565 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29566 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29567 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29568 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29569 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29570 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29571 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29586 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29588 wxWindow
*arg1
= (wxWindow
*) 0 ;
29589 int *arg2
= (int *) 0 ;
29590 int *arg3
= (int *) 0 ;
29595 PyObject
* obj0
= 0 ;
29596 PyObject
* obj1
= 0 ;
29597 PyObject
* obj2
= 0 ;
29598 char *kwnames
[] = {
29599 (char *) "self",(char *) "x",(char *) "y", NULL
29602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29604 if (SWIG_arg_fail(1)) SWIG_fail
;
29606 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29607 temp2
= SWIG_As_int(obj1
);
29608 if (SWIG_arg_fail(2)) SWIG_fail
;
29610 res2
= SWIG_NEWOBJ
;
29614 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29615 temp3
= SWIG_As_int(obj2
);
29616 if (SWIG_arg_fail(3)) SWIG_fail
;
29618 res3
= SWIG_NEWOBJ
;
29622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29623 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29625 wxPyEndAllowThreads(__tstate
);
29626 if (PyErr_Occurred()) SWIG_fail
;
29628 Py_INCREF(Py_None
); resultobj
= Py_None
;
29629 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29630 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29631 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29632 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29639 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
;
29641 wxWindow
*arg1
= (wxWindow
*) 0 ;
29642 int *arg2
= (int *) 0 ;
29643 int *arg3
= (int *) 0 ;
29648 PyObject
* obj0
= 0 ;
29649 PyObject
* obj1
= 0 ;
29650 PyObject
* obj2
= 0 ;
29651 char *kwnames
[] = {
29652 (char *) "self",(char *) "x",(char *) "y", NULL
29655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29657 if (SWIG_arg_fail(1)) SWIG_fail
;
29659 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29660 temp2
= SWIG_As_int(obj1
);
29661 if (SWIG_arg_fail(2)) SWIG_fail
;
29663 res2
= SWIG_NEWOBJ
;
29667 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29668 temp3
= SWIG_As_int(obj2
);
29669 if (SWIG_arg_fail(3)) SWIG_fail
;
29671 res3
= SWIG_NEWOBJ
;
29675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29676 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
29678 wxPyEndAllowThreads(__tstate
);
29679 if (PyErr_Occurred()) SWIG_fail
;
29681 Py_INCREF(Py_None
); resultobj
= Py_None
;
29682 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29683 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29684 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29685 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29692 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxWindow
*arg1
= (wxWindow
*) 0 ;
29695 wxPoint
*arg2
= 0 ;
29698 PyObject
* obj0
= 0 ;
29699 PyObject
* obj1
= 0 ;
29700 char *kwnames
[] = {
29701 (char *) "self",(char *) "pt", NULL
29704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
29705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29706 if (SWIG_arg_fail(1)) SWIG_fail
;
29709 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29719 wxPoint
* resultptr
;
29720 resultptr
= new wxPoint((wxPoint
&)(result
));
29721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29729 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
;
29731 wxWindow
*arg1
= (wxWindow
*) 0 ;
29732 wxPoint
*arg2
= 0 ;
29735 PyObject
* obj0
= 0 ;
29736 PyObject
* obj1
= 0 ;
29737 char *kwnames
[] = {
29738 (char *) "self",(char *) "pt", NULL
29741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
29742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29743 if (SWIG_arg_fail(1)) SWIG_fail
;
29746 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29756 wxPoint
* resultptr
;
29757 resultptr
= new wxPoint((wxPoint
&)(result
));
29758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29766 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29767 PyObject
*resultobj
;
29768 wxWindow
*arg1
= (wxWindow
*) 0 ;
29772 PyObject
* obj0
= 0 ;
29773 PyObject
* obj1
= 0 ;
29774 PyObject
* obj2
= 0 ;
29775 char *kwnames
[] = {
29776 (char *) "self",(char *) "x",(char *) "y", NULL
29779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29781 if (SWIG_arg_fail(1)) SWIG_fail
;
29783 arg2
= (int)(SWIG_As_int(obj1
));
29784 if (SWIG_arg_fail(2)) SWIG_fail
;
29787 arg3
= (int)(SWIG_As_int(obj2
));
29788 if (SWIG_arg_fail(3)) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_From_int((result
));
29804 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxWindow
*arg1
= (wxWindow
*) 0 ;
29807 wxPoint
*arg2
= 0 ;
29810 PyObject
* obj0
= 0 ;
29811 PyObject
* obj1
= 0 ;
29812 char *kwnames
[] = {
29813 (char *) "self",(char *) "pt", NULL
29816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
29817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29818 if (SWIG_arg_fail(1)) SWIG_fail
;
29821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29825 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
29827 wxPyEndAllowThreads(__tstate
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= SWIG_From_int((result
));
29837 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
29838 PyObject
*resultobj
;
29839 wxWindow
*arg1
= (wxWindow
*) 0 ;
29842 PyObject
* obj0
= 0 ;
29843 PyObject
* obj1
= 0 ;
29845 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
29846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29847 if (SWIG_arg_fail(1)) SWIG_fail
;
29849 arg2
= (long)(SWIG_As_long(obj1
));
29850 if (SWIG_arg_fail(2)) SWIG_fail
;
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29859 resultobj
= SWIG_From_int((result
));
29866 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
29867 PyObject
*resultobj
;
29868 wxWindow
*arg1
= (wxWindow
*) 0 ;
29870 PyObject
* obj0
= 0 ;
29872 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
29873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29874 if (SWIG_arg_fail(1)) SWIG_fail
;
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= SWIG_From_int((result
));
29889 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
29894 argc
= PyObject_Length(args
);
29895 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
29896 argv
[ii
] = PyTuple_GetItem(args
,ii
);
29902 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29910 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
29917 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
29925 _v
= SWIG_Check_long(argv
[1]);
29927 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
29932 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
29937 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
;
29939 wxWindow
*arg1
= (wxWindow
*) 0 ;
29940 long arg2
= (long) wxUPDATE_UI_NONE
;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 char *kwnames
[] = {
29944 (char *) "self",(char *) "flags", NULL
29947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29949 if (SWIG_arg_fail(1)) SWIG_fail
;
29952 arg2
= (long)(SWIG_As_long(obj1
));
29953 if (SWIG_arg_fail(2)) SWIG_fail
;
29957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29958 (arg1
)->UpdateWindowUI(arg2
);
29960 wxPyEndAllowThreads(__tstate
);
29961 if (PyErr_Occurred()) SWIG_fail
;
29963 Py_INCREF(Py_None
); resultobj
= Py_None
;
29970 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
;
29972 wxWindow
*arg1
= (wxWindow
*) 0 ;
29973 wxMenu
*arg2
= (wxMenu
*) 0 ;
29974 int arg3
= (int) -1 ;
29975 int arg4
= (int) -1 ;
29977 PyObject
* obj0
= 0 ;
29978 PyObject
* obj1
= 0 ;
29979 PyObject
* obj2
= 0 ;
29980 PyObject
* obj3
= 0 ;
29981 char *kwnames
[] = {
29982 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
29985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29987 if (SWIG_arg_fail(1)) SWIG_fail
;
29988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
29989 if (SWIG_arg_fail(2)) SWIG_fail
;
29992 arg3
= (int)(SWIG_As_int(obj2
));
29993 if (SWIG_arg_fail(3)) SWIG_fail
;
29998 arg4
= (int)(SWIG_As_int(obj3
));
29999 if (SWIG_arg_fail(4)) SWIG_fail
;
30003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30004 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30006 wxPyEndAllowThreads(__tstate
);
30007 if (PyErr_Occurred()) SWIG_fail
;
30010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30018 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30019 PyObject
*resultobj
;
30020 wxWindow
*arg1
= (wxWindow
*) 0 ;
30021 wxMenu
*arg2
= (wxMenu
*) 0 ;
30022 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30023 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30026 PyObject
* obj0
= 0 ;
30027 PyObject
* obj1
= 0 ;
30028 PyObject
* obj2
= 0 ;
30029 char *kwnames
[] = {
30030 (char *) "self",(char *) "menu",(char *) "pos", NULL
30033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30035 if (SWIG_arg_fail(1)) SWIG_fail
;
30036 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30037 if (SWIG_arg_fail(2)) SWIG_fail
;
30041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30060 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
;
30062 wxWindow
*arg1
= (wxWindow
*) 0 ;
30064 PyObject
* obj0
= 0 ;
30065 char *kwnames
[] = {
30066 (char *) "self", NULL
30069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30071 if (SWIG_arg_fail(1)) SWIG_fail
;
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 result
= (long)wxWindow_GetHandle(arg1
);
30076 wxPyEndAllowThreads(__tstate
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30080 resultobj
= SWIG_From_long((long)(result
));
30088 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
;
30090 wxWindow
*arg1
= (wxWindow
*) 0 ;
30092 PyObject
* obj0
= 0 ;
30093 PyObject
* obj1
= 0 ;
30094 char *kwnames
[] = {
30095 (char *) "self",(char *) "handle", NULL
30098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30100 if (SWIG_arg_fail(1)) SWIG_fail
;
30102 arg2
= (long)(SWIG_As_long(obj1
));
30103 if (SWIG_arg_fail(2)) SWIG_fail
;
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30107 wxWindow_AssociateHandle(arg1
,arg2
);
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 Py_INCREF(Py_None
); resultobj
= Py_None
;
30119 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
;
30121 wxWindow
*arg1
= (wxWindow
*) 0 ;
30122 PyObject
* obj0
= 0 ;
30123 char *kwnames
[] = {
30124 (char *) "self", NULL
30127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30129 if (SWIG_arg_fail(1)) SWIG_fail
;
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 (arg1
)->DissociateHandle();
30134 wxPyEndAllowThreads(__tstate
);
30135 if (PyErr_Occurred()) SWIG_fail
;
30137 Py_INCREF(Py_None
); resultobj
= Py_None
;
30144 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30145 PyObject
*resultobj
;
30146 wxWindow
*arg1
= (wxWindow
*) 0 ;
30149 PyObject
* obj0
= 0 ;
30150 PyObject
* obj1
= 0 ;
30151 char *kwnames
[] = {
30152 (char *) "self",(char *) "orient", NULL
30155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
30160 if (SWIG_arg_fail(2)) SWIG_fail
;
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30164 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30166 wxPyEndAllowThreads(__tstate
);
30167 if (PyErr_Occurred()) SWIG_fail
;
30170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30178 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30179 PyObject
*resultobj
;
30180 wxWindow
*arg1
= (wxWindow
*) 0 ;
30185 bool arg6
= (bool) true ;
30186 PyObject
* obj0
= 0 ;
30187 PyObject
* obj1
= 0 ;
30188 PyObject
* obj2
= 0 ;
30189 PyObject
* obj3
= 0 ;
30190 PyObject
* obj4
= 0 ;
30191 PyObject
* obj5
= 0 ;
30192 char *kwnames
[] = {
30193 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30198 if (SWIG_arg_fail(1)) SWIG_fail
;
30200 arg2
= (int)(SWIG_As_int(obj1
));
30201 if (SWIG_arg_fail(2)) SWIG_fail
;
30204 arg3
= (int)(SWIG_As_int(obj2
));
30205 if (SWIG_arg_fail(3)) SWIG_fail
;
30208 arg4
= (int)(SWIG_As_int(obj3
));
30209 if (SWIG_arg_fail(4)) SWIG_fail
;
30212 arg5
= (int)(SWIG_As_int(obj4
));
30213 if (SWIG_arg_fail(5)) SWIG_fail
;
30217 arg6
= (bool)(SWIG_As_bool(obj5
));
30218 if (SWIG_arg_fail(6)) SWIG_fail
;
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 Py_INCREF(Py_None
); resultobj
= Py_None
;
30235 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
;
30237 wxWindow
*arg1
= (wxWindow
*) 0 ;
30240 bool arg4
= (bool) true ;
30241 PyObject
* obj0
= 0 ;
30242 PyObject
* obj1
= 0 ;
30243 PyObject
* obj2
= 0 ;
30244 PyObject
* obj3
= 0 ;
30245 char *kwnames
[] = {
30246 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30251 if (SWIG_arg_fail(1)) SWIG_fail
;
30253 arg2
= (int)(SWIG_As_int(obj1
));
30254 if (SWIG_arg_fail(2)) SWIG_fail
;
30257 arg3
= (int)(SWIG_As_int(obj2
));
30258 if (SWIG_arg_fail(3)) SWIG_fail
;
30262 arg4
= (bool)(SWIG_As_bool(obj3
));
30263 if (SWIG_arg_fail(4)) SWIG_fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 Py_INCREF(Py_None
); resultobj
= Py_None
;
30280 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
;
30282 wxWindow
*arg1
= (wxWindow
*) 0 ;
30285 PyObject
* obj0
= 0 ;
30286 PyObject
* obj1
= 0 ;
30287 char *kwnames
[] = {
30288 (char *) "self",(char *) "orientation", NULL
30291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30293 if (SWIG_arg_fail(1)) SWIG_fail
;
30295 arg2
= (int)(SWIG_As_int(obj1
));
30296 if (SWIG_arg_fail(2)) SWIG_fail
;
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30300 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30302 wxPyEndAllowThreads(__tstate
);
30303 if (PyErr_Occurred()) SWIG_fail
;
30306 resultobj
= SWIG_From_int((int)(result
));
30314 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30315 PyObject
*resultobj
;
30316 wxWindow
*arg1
= (wxWindow
*) 0 ;
30319 PyObject
* obj0
= 0 ;
30320 PyObject
* obj1
= 0 ;
30321 char *kwnames
[] = {
30322 (char *) "self",(char *) "orientation", NULL
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30327 if (SWIG_arg_fail(1)) SWIG_fail
;
30329 arg2
= (int)(SWIG_As_int(obj1
));
30330 if (SWIG_arg_fail(2)) SWIG_fail
;
30333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30334 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30336 wxPyEndAllowThreads(__tstate
);
30337 if (PyErr_Occurred()) SWIG_fail
;
30340 resultobj
= SWIG_From_int((int)(result
));
30348 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30349 PyObject
*resultobj
;
30350 wxWindow
*arg1
= (wxWindow
*) 0 ;
30353 PyObject
* obj0
= 0 ;
30354 PyObject
* obj1
= 0 ;
30355 char *kwnames
[] = {
30356 (char *) "self",(char *) "orientation", NULL
30359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30361 if (SWIG_arg_fail(1)) SWIG_fail
;
30363 arg2
= (int)(SWIG_As_int(obj1
));
30364 if (SWIG_arg_fail(2)) SWIG_fail
;
30367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30368 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30370 wxPyEndAllowThreads(__tstate
);
30371 if (PyErr_Occurred()) SWIG_fail
;
30374 resultobj
= SWIG_From_int((int)(result
));
30382 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
;
30384 wxWindow
*arg1
= (wxWindow
*) 0 ;
30387 wxRect
*arg4
= (wxRect
*) NULL
;
30388 PyObject
* obj0
= 0 ;
30389 PyObject
* obj1
= 0 ;
30390 PyObject
* obj2
= 0 ;
30391 PyObject
* obj3
= 0 ;
30392 char *kwnames
[] = {
30393 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30398 if (SWIG_arg_fail(1)) SWIG_fail
;
30400 arg2
= (int)(SWIG_As_int(obj1
));
30401 if (SWIG_arg_fail(2)) SWIG_fail
;
30404 arg3
= (int)(SWIG_As_int(obj2
));
30405 if (SWIG_arg_fail(3)) SWIG_fail
;
30408 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30409 if (SWIG_arg_fail(4)) SWIG_fail
;
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30415 wxPyEndAllowThreads(__tstate
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30418 Py_INCREF(Py_None
); resultobj
= Py_None
;
30425 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30426 PyObject
*resultobj
;
30427 wxWindow
*arg1
= (wxWindow
*) 0 ;
30430 PyObject
* obj0
= 0 ;
30431 PyObject
* obj1
= 0 ;
30432 char *kwnames
[] = {
30433 (char *) "self",(char *) "lines", NULL
30436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30438 if (SWIG_arg_fail(1)) SWIG_fail
;
30440 arg2
= (int)(SWIG_As_int(obj1
));
30441 if (SWIG_arg_fail(2)) SWIG_fail
;
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30445 result
= (bool)(arg1
)->ScrollLines(arg2
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30459 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30460 PyObject
*resultobj
;
30461 wxWindow
*arg1
= (wxWindow
*) 0 ;
30464 PyObject
* obj0
= 0 ;
30465 PyObject
* obj1
= 0 ;
30466 char *kwnames
[] = {
30467 (char *) "self",(char *) "pages", NULL
30470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30472 if (SWIG_arg_fail(1)) SWIG_fail
;
30474 arg2
= (int)(SWIG_As_int(obj1
));
30475 if (SWIG_arg_fail(2)) SWIG_fail
;
30478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30479 result
= (bool)(arg1
)->ScrollPages(arg2
);
30481 wxPyEndAllowThreads(__tstate
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30493 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
;
30495 wxWindow
*arg1
= (wxWindow
*) 0 ;
30497 PyObject
* obj0
= 0 ;
30498 char *kwnames
[] = {
30499 (char *) "self", NULL
30502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30503 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30504 if (SWIG_arg_fail(1)) SWIG_fail
;
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 result
= (bool)(arg1
)->LineUp();
30509 wxPyEndAllowThreads(__tstate
);
30510 if (PyErr_Occurred()) SWIG_fail
;
30513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30521 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30522 PyObject
*resultobj
;
30523 wxWindow
*arg1
= (wxWindow
*) 0 ;
30525 PyObject
* obj0
= 0 ;
30526 char *kwnames
[] = {
30527 (char *) "self", NULL
30530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30532 if (SWIG_arg_fail(1)) SWIG_fail
;
30534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30535 result
= (bool)(arg1
)->LineDown();
30537 wxPyEndAllowThreads(__tstate
);
30538 if (PyErr_Occurred()) SWIG_fail
;
30541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30549 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
;
30551 wxWindow
*arg1
= (wxWindow
*) 0 ;
30553 PyObject
* obj0
= 0 ;
30554 char *kwnames
[] = {
30555 (char *) "self", NULL
30558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30560 if (SWIG_arg_fail(1)) SWIG_fail
;
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 result
= (bool)(arg1
)->PageUp();
30565 wxPyEndAllowThreads(__tstate
);
30566 if (PyErr_Occurred()) SWIG_fail
;
30569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30577 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30578 PyObject
*resultobj
;
30579 wxWindow
*arg1
= (wxWindow
*) 0 ;
30581 PyObject
* obj0
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30588 if (SWIG_arg_fail(1)) SWIG_fail
;
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 result
= (bool)(arg1
)->PageDown();
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30605 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30606 PyObject
*resultobj
;
30607 wxWindow
*arg1
= (wxWindow
*) 0 ;
30608 wxString
*arg2
= 0 ;
30609 bool temp2
= false ;
30610 PyObject
* obj0
= 0 ;
30611 PyObject
* obj1
= 0 ;
30612 char *kwnames
[] = {
30613 (char *) "self",(char *) "text", NULL
30616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30618 if (SWIG_arg_fail(1)) SWIG_fail
;
30620 arg2
= wxString_in_helper(obj1
);
30621 if (arg2
== NULL
) SWIG_fail
;
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 Py_INCREF(Py_None
); resultobj
= Py_None
;
30646 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
;
30648 wxWindow
*arg1
= (wxWindow
*) 0 ;
30649 wxString
*arg2
= 0 ;
30650 bool temp2
= false ;
30651 PyObject
* obj0
= 0 ;
30652 PyObject
* obj1
= 0 ;
30653 char *kwnames
[] = {
30654 (char *) "self",(char *) "text", NULL
30657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
30658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30659 if (SWIG_arg_fail(1)) SWIG_fail
;
30661 arg2
= wxString_in_helper(obj1
);
30662 if (arg2
== NULL
) SWIG_fail
;
30666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30667 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
30669 wxPyEndAllowThreads(__tstate
);
30670 if (PyErr_Occurred()) SWIG_fail
;
30672 Py_INCREF(Py_None
); resultobj
= Py_None
;
30687 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30688 PyObject
*resultobj
;
30689 wxWindow
*arg1
= (wxWindow
*) 0 ;
30691 PyObject
* obj0
= 0 ;
30692 char *kwnames
[] = {
30693 (char *) "self", NULL
30696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
30697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30698 if (SWIG_arg_fail(1)) SWIG_fail
;
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 result
= ((wxWindow
const *)arg1
)->GetHelpText();
30703 wxPyEndAllowThreads(__tstate
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30719 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30720 PyObject
*resultobj
;
30721 wxWindow
*arg1
= (wxWindow
*) 0 ;
30722 wxString
*arg2
= 0 ;
30723 bool temp2
= false ;
30724 PyObject
* obj0
= 0 ;
30725 PyObject
* obj1
= 0 ;
30726 char *kwnames
[] = {
30727 (char *) "self",(char *) "tip", NULL
30730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
30731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30732 if (SWIG_arg_fail(1)) SWIG_fail
;
30734 arg2
= wxString_in_helper(obj1
);
30735 if (arg2
== NULL
) SWIG_fail
;
30739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30740 (arg1
)->SetToolTip((wxString
const &)*arg2
);
30742 wxPyEndAllowThreads(__tstate
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 Py_INCREF(Py_None
); resultobj
= Py_None
;
30760 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 wxWindow
*arg1
= (wxWindow
*) 0 ;
30763 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
30764 PyObject
* obj0
= 0 ;
30765 PyObject
* obj1
= 0 ;
30766 char *kwnames
[] = {
30767 (char *) "self",(char *) "tip", NULL
30770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
30771 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30772 if (SWIG_arg_fail(1)) SWIG_fail
;
30773 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
30774 if (SWIG_arg_fail(2)) SWIG_fail
;
30776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30777 (arg1
)->SetToolTip(arg2
);
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 Py_INCREF(Py_None
); resultobj
= Py_None
;
30789 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxWindow
*arg1
= (wxWindow
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 char *kwnames
[] = {
30795 (char *) "self", NULL
30798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
30799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30800 if (SWIG_arg_fail(1)) SWIG_fail
;
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30809 resultobj
= wxPyMake_wxObject(result
, 0);
30817 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30818 PyObject
*resultobj
;
30819 wxWindow
*arg1
= (wxWindow
*) 0 ;
30820 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
30821 PyObject
* obj0
= 0 ;
30822 PyObject
* obj1
= 0 ;
30823 char *kwnames
[] = {
30824 (char *) "self",(char *) "dropTarget", NULL
30827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30829 if (SWIG_arg_fail(1)) SWIG_fail
;
30830 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
30831 if (SWIG_arg_fail(2)) SWIG_fail
;
30833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30834 (arg1
)->SetDropTarget(arg2
);
30836 wxPyEndAllowThreads(__tstate
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30839 Py_INCREF(Py_None
); resultobj
= Py_None
;
30846 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
;
30848 wxWindow
*arg1
= (wxWindow
*) 0 ;
30849 wxPyDropTarget
*result
;
30850 PyObject
* obj0
= 0 ;
30851 char *kwnames
[] = {
30852 (char *) "self", NULL
30855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
30856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30857 if (SWIG_arg_fail(1)) SWIG_fail
;
30859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30860 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
30872 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30873 PyObject
*resultobj
;
30874 wxWindow
*arg1
= (wxWindow
*) 0 ;
30875 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
30876 PyObject
* obj0
= 0 ;
30877 PyObject
* obj1
= 0 ;
30878 char *kwnames
[] = {
30879 (char *) "self",(char *) "constraints", NULL
30882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
30883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30884 if (SWIG_arg_fail(1)) SWIG_fail
;
30885 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
30886 if (SWIG_arg_fail(2)) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 (arg1
)->SetConstraints(arg2
);
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30894 Py_INCREF(Py_None
); resultobj
= Py_None
;
30901 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30902 PyObject
*resultobj
;
30903 wxWindow
*arg1
= (wxWindow
*) 0 ;
30904 wxLayoutConstraints
*result
;
30905 PyObject
* obj0
= 0 ;
30906 char *kwnames
[] = {
30907 (char *) "self", NULL
30910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
30911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30912 if (SWIG_arg_fail(1)) SWIG_fail
;
30914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30915 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
30927 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30928 PyObject
*resultobj
;
30929 wxWindow
*arg1
= (wxWindow
*) 0 ;
30931 PyObject
* obj0
= 0 ;
30932 PyObject
* obj1
= 0 ;
30933 char *kwnames
[] = {
30934 (char *) "self",(char *) "autoLayout", NULL
30937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
30938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30939 if (SWIG_arg_fail(1)) SWIG_fail
;
30941 arg2
= (bool)(SWIG_As_bool(obj1
));
30942 if (SWIG_arg_fail(2)) SWIG_fail
;
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 (arg1
)->SetAutoLayout(arg2
);
30948 wxPyEndAllowThreads(__tstate
);
30949 if (PyErr_Occurred()) SWIG_fail
;
30951 Py_INCREF(Py_None
); resultobj
= Py_None
;
30958 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30959 PyObject
*resultobj
;
30960 wxWindow
*arg1
= (wxWindow
*) 0 ;
30962 PyObject
* obj0
= 0 ;
30963 char *kwnames
[] = {
30964 (char *) "self", NULL
30967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
30968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30969 if (SWIG_arg_fail(1)) SWIG_fail
;
30971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30972 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30986 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30987 PyObject
*resultobj
;
30988 wxWindow
*arg1
= (wxWindow
*) 0 ;
30990 PyObject
* obj0
= 0 ;
30991 char *kwnames
[] = {
30992 (char *) "self", NULL
30995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
30996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30997 if (SWIG_arg_fail(1)) SWIG_fail
;
30999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31000 result
= (bool)(arg1
)->Layout();
31002 wxPyEndAllowThreads(__tstate
);
31003 if (PyErr_Occurred()) SWIG_fail
;
31006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31014 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
;
31016 wxWindow
*arg1
= (wxWindow
*) 0 ;
31017 wxSizer
*arg2
= (wxSizer
*) 0 ;
31018 bool arg3
= (bool) true ;
31019 PyObject
* obj0
= 0 ;
31020 PyObject
* obj1
= 0 ;
31021 PyObject
* obj2
= 0 ;
31022 char *kwnames
[] = {
31023 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31028 if (SWIG_arg_fail(1)) SWIG_fail
;
31029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31030 if (SWIG_arg_fail(2)) SWIG_fail
;
31033 arg3
= (bool)(SWIG_As_bool(obj2
));
31034 if (SWIG_arg_fail(3)) SWIG_fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 (arg1
)->SetSizer(arg2
,arg3
);
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31044 Py_INCREF(Py_None
); resultobj
= Py_None
;
31051 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxWindow
*arg1
= (wxWindow
*) 0 ;
31054 wxSizer
*arg2
= (wxSizer
*) 0 ;
31055 bool arg3
= (bool) true ;
31056 PyObject
* obj0
= 0 ;
31057 PyObject
* obj1
= 0 ;
31058 PyObject
* obj2
= 0 ;
31059 char *kwnames
[] = {
31060 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31065 if (SWIG_arg_fail(1)) SWIG_fail
;
31066 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31067 if (SWIG_arg_fail(2)) SWIG_fail
;
31070 arg3
= (bool)(SWIG_As_bool(obj2
));
31071 if (SWIG_arg_fail(3)) SWIG_fail
;
31075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31078 wxPyEndAllowThreads(__tstate
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31081 Py_INCREF(Py_None
); resultobj
= Py_None
;
31088 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31089 PyObject
*resultobj
;
31090 wxWindow
*arg1
= (wxWindow
*) 0 ;
31092 PyObject
* obj0
= 0 ;
31093 char *kwnames
[] = {
31094 (char *) "self", NULL
31097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31099 if (SWIG_arg_fail(1)) SWIG_fail
;
31101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31102 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31108 resultobj
= wxPyMake_wxSizer(result
, 0);
31116 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31117 PyObject
*resultobj
;
31118 wxWindow
*arg1
= (wxWindow
*) 0 ;
31119 wxSizer
*arg2
= (wxSizer
*) 0 ;
31120 PyObject
* obj0
= 0 ;
31121 PyObject
* obj1
= 0 ;
31122 char *kwnames
[] = {
31123 (char *) "self",(char *) "sizer", NULL
31126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31128 if (SWIG_arg_fail(1)) SWIG_fail
;
31129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31130 if (SWIG_arg_fail(2)) SWIG_fail
;
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 (arg1
)->SetContainingSizer(arg2
);
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31138 Py_INCREF(Py_None
); resultobj
= Py_None
;
31145 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxWindow
*arg1
= (wxWindow
*) 0 ;
31149 PyObject
* obj0
= 0 ;
31150 char *kwnames
[] = {
31151 (char *) "self", NULL
31154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31156 if (SWIG_arg_fail(1)) SWIG_fail
;
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31165 resultobj
= wxPyMake_wxSizer(result
, 0);
31173 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
;
31175 wxWindow
*arg1
= (wxWindow
*) 0 ;
31176 PyObject
* obj0
= 0 ;
31177 char *kwnames
[] = {
31178 (char *) "self", NULL
31181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31183 if (SWIG_arg_fail(1)) SWIG_fail
;
31185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31186 (arg1
)->InheritAttributes();
31188 wxPyEndAllowThreads(__tstate
);
31189 if (PyErr_Occurred()) SWIG_fail
;
31191 Py_INCREF(Py_None
); resultobj
= Py_None
;
31198 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31199 PyObject
*resultobj
;
31200 wxWindow
*arg1
= (wxWindow
*) 0 ;
31202 PyObject
* obj0
= 0 ;
31203 char *kwnames
[] = {
31204 (char *) "self", NULL
31207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31209 if (SWIG_arg_fail(1)) SWIG_fail
;
31211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31212 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31226 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31229 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31231 return Py_BuildValue((char *)"");
31233 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
;
31236 wxWindow
*arg2
= (wxWindow
*) NULL
;
31238 PyObject
* obj0
= 0 ;
31239 PyObject
* obj1
= 0 ;
31240 char *kwnames
[] = {
31241 (char *) "id",(char *) "parent", NULL
31244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31246 arg1
= (long)(SWIG_As_long(obj0
));
31247 if (SWIG_arg_fail(1)) SWIG_fail
;
31250 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31251 if (SWIG_arg_fail(2)) SWIG_fail
;
31254 if (!wxPyCheckForApp()) SWIG_fail
;
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31262 resultobj
= wxPyMake_wxObject(result
, 0);
31270 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31271 PyObject
*resultobj
;
31272 wxString
*arg1
= 0 ;
31273 wxWindow
*arg2
= (wxWindow
*) NULL
;
31275 bool temp1
= false ;
31276 PyObject
* obj0
= 0 ;
31277 PyObject
* obj1
= 0 ;
31278 char *kwnames
[] = {
31279 (char *) "name",(char *) "parent", NULL
31282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31284 arg1
= wxString_in_helper(obj0
);
31285 if (arg1
== NULL
) SWIG_fail
;
31289 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31290 if (SWIG_arg_fail(2)) SWIG_fail
;
31293 if (!wxPyCheckForApp()) SWIG_fail
;
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31297 wxPyEndAllowThreads(__tstate
);
31298 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= wxPyMake_wxObject(result
, 0);
31317 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxString
*arg1
= 0 ;
31320 wxWindow
*arg2
= (wxWindow
*) NULL
;
31322 bool temp1
= false ;
31323 PyObject
* obj0
= 0 ;
31324 PyObject
* obj1
= 0 ;
31325 char *kwnames
[] = {
31326 (char *) "label",(char *) "parent", NULL
31329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31331 arg1
= wxString_in_helper(obj0
);
31332 if (arg1
== NULL
) SWIG_fail
;
31336 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31337 if (SWIG_arg_fail(2)) SWIG_fail
;
31340 if (!wxPyCheckForApp()) SWIG_fail
;
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31344 wxPyEndAllowThreads(__tstate
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= wxPyMake_wxObject(result
, 0);
31364 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31365 PyObject
*resultobj
;
31366 wxWindow
*arg1
= (wxWindow
*) 0 ;
31367 unsigned long arg2
;
31369 PyObject
* obj0
= 0 ;
31370 PyObject
* obj1
= 0 ;
31371 char *kwnames
[] = {
31372 (char *) "parent",(char *) "_hWnd", NULL
31375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31377 if (SWIG_arg_fail(1)) SWIG_fail
;
31379 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31380 if (SWIG_arg_fail(2)) SWIG_fail
;
31383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31384 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31390 resultobj
= wxPyMake_wxObject(result
, 0);
31398 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
;
31400 wxValidator
*result
;
31401 char *kwnames
[] = {
31405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 result
= (wxValidator
*)new wxValidator();
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31420 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
;
31422 wxValidator
*arg1
= (wxValidator
*) 0 ;
31423 wxValidator
*result
;
31424 PyObject
* obj0
= 0 ;
31425 char *kwnames
[] = {
31426 (char *) "self", NULL
31429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31431 if (SWIG_arg_fail(1)) SWIG_fail
;
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 result
= (wxValidator
*)(arg1
)->Clone();
31436 wxPyEndAllowThreads(__tstate
);
31437 if (PyErr_Occurred()) SWIG_fail
;
31440 resultobj
= wxPyMake_wxObject(result
, 0);
31448 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31449 PyObject
*resultobj
;
31450 wxValidator
*arg1
= (wxValidator
*) 0 ;
31451 wxWindow
*arg2
= (wxWindow
*) 0 ;
31453 PyObject
* obj0
= 0 ;
31454 PyObject
* obj1
= 0 ;
31455 char *kwnames
[] = {
31456 (char *) "self",(char *) "parent", NULL
31459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31461 if (SWIG_arg_fail(1)) SWIG_fail
;
31462 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31463 if (SWIG_arg_fail(2)) SWIG_fail
;
31465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 result
= (bool)(arg1
)->Validate(arg2
);
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31480 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31481 PyObject
*resultobj
;
31482 wxValidator
*arg1
= (wxValidator
*) 0 ;
31484 PyObject
* obj0
= 0 ;
31485 char *kwnames
[] = {
31486 (char *) "self", NULL
31489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31491 if (SWIG_arg_fail(1)) SWIG_fail
;
31493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31494 result
= (bool)(arg1
)->TransferToWindow();
31496 wxPyEndAllowThreads(__tstate
);
31497 if (PyErr_Occurred()) SWIG_fail
;
31500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31508 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31509 PyObject
*resultobj
;
31510 wxValidator
*arg1
= (wxValidator
*) 0 ;
31512 PyObject
* obj0
= 0 ;
31513 char *kwnames
[] = {
31514 (char *) "self", NULL
31517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31519 if (SWIG_arg_fail(1)) SWIG_fail
;
31521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31522 result
= (bool)(arg1
)->TransferFromWindow();
31524 wxPyEndAllowThreads(__tstate
);
31525 if (PyErr_Occurred()) SWIG_fail
;
31528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31536 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
;
31538 wxValidator
*arg1
= (wxValidator
*) 0 ;
31540 PyObject
* obj0
= 0 ;
31541 char *kwnames
[] = {
31542 (char *) "self", NULL
31545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31547 if (SWIG_arg_fail(1)) SWIG_fail
;
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 result
= (wxWindow
*)(arg1
)->GetWindow();
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31556 resultobj
= wxPyMake_wxObject(result
, 0);
31564 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31565 PyObject
*resultobj
;
31566 wxValidator
*arg1
= (wxValidator
*) 0 ;
31567 wxWindow
*arg2
= (wxWindow
*) 0 ;
31568 PyObject
* obj0
= 0 ;
31569 PyObject
* obj1
= 0 ;
31570 char *kwnames
[] = {
31571 (char *) "self",(char *) "window", NULL
31574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31576 if (SWIG_arg_fail(1)) SWIG_fail
;
31577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31578 if (SWIG_arg_fail(2)) SWIG_fail
;
31580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31581 (arg1
)->SetWindow(arg2
);
31583 wxPyEndAllowThreads(__tstate
);
31584 if (PyErr_Occurred()) SWIG_fail
;
31586 Py_INCREF(Py_None
); resultobj
= Py_None
;
31593 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31594 PyObject
*resultobj
;
31596 char *kwnames
[] = {
31600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31603 result
= (bool)wxValidator::IsSilent();
31605 wxPyEndAllowThreads(__tstate
);
31606 if (PyErr_Occurred()) SWIG_fail
;
31609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31617 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31618 PyObject
*resultobj
;
31619 int arg1
= (int) true ;
31620 PyObject
* obj0
= 0 ;
31621 char *kwnames
[] = {
31622 (char *) "doIt", NULL
31625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31628 arg1
= (int)(SWIG_As_int(obj0
));
31629 if (SWIG_arg_fail(1)) SWIG_fail
;
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 wxValidator::SetBellOnError(arg1
);
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 Py_INCREF(Py_None
); resultobj
= Py_None
;
31646 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
31648 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31649 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
31651 return Py_BuildValue((char *)"");
31653 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31654 PyObject
*resultobj
;
31655 wxPyValidator
*result
;
31656 char *kwnames
[] = {
31660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31663 result
= (wxPyValidator
*)new wxPyValidator();
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
31675 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31676 PyObject
*resultobj
;
31677 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
31678 PyObject
*arg2
= (PyObject
*) 0 ;
31679 PyObject
*arg3
= (PyObject
*) 0 ;
31680 int arg4
= (int) true ;
31681 PyObject
* obj0
= 0 ;
31682 PyObject
* obj1
= 0 ;
31683 PyObject
* obj2
= 0 ;
31684 PyObject
* obj3
= 0 ;
31685 char *kwnames
[] = {
31686 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
31689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
31691 if (SWIG_arg_fail(1)) SWIG_fail
;
31696 arg4
= (int)(SWIG_As_int(obj3
));
31697 if (SWIG_arg_fail(4)) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 Py_INCREF(Py_None
); resultobj
= Py_None
;
31714 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
31716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31717 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
31719 return Py_BuildValue((char *)"");
31721 static int _wrap_DefaultValidator_set(PyObject
*) {
31722 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
31727 static PyObject
*_wrap_DefaultValidator_get(void) {
31730 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
31735 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31736 PyObject
*resultobj
;
31737 wxString
const &arg1_defvalue
= wxPyEmptyString
;
31738 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
31739 long arg2
= (long) 0 ;
31741 bool temp1
= false ;
31742 PyObject
* obj0
= 0 ;
31743 PyObject
* obj1
= 0 ;
31744 char *kwnames
[] = {
31745 (char *) "title",(char *) "style", NULL
31748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
31751 arg1
= wxString_in_helper(obj0
);
31752 if (arg1
== NULL
) SWIG_fail
;
31758 arg2
= (long)(SWIG_As_long(obj1
));
31759 if (SWIG_arg_fail(2)) SWIG_fail
;
31763 if (!wxPyCheckForApp()) SWIG_fail
;
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
31785 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
;
31787 wxMenu
*arg1
= (wxMenu
*) 0 ;
31789 wxString
*arg3
= 0 ;
31790 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31791 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31792 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
31793 wxMenuItem
*result
;
31794 bool temp3
= false ;
31795 bool temp4
= false ;
31796 PyObject
* obj0
= 0 ;
31797 PyObject
* obj1
= 0 ;
31798 PyObject
* obj2
= 0 ;
31799 PyObject
* obj3
= 0 ;
31800 PyObject
* obj4
= 0 ;
31801 char *kwnames
[] = {
31802 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
31805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31807 if (SWIG_arg_fail(1)) SWIG_fail
;
31809 arg2
= (int)(SWIG_As_int(obj1
));
31810 if (SWIG_arg_fail(2)) SWIG_fail
;
31813 arg3
= wxString_in_helper(obj2
);
31814 if (arg3
== NULL
) SWIG_fail
;
31819 arg4
= wxString_in_helper(obj3
);
31820 if (arg4
== NULL
) SWIG_fail
;
31826 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
31827 if (SWIG_arg_fail(5)) SWIG_fail
;
31831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31832 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
31834 wxPyEndAllowThreads(__tstate
);
31835 if (PyErr_Occurred()) SWIG_fail
;
31838 resultobj
= wxPyMake_wxObject(result
, 0);
31862 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
;
31864 wxMenu
*arg1
= (wxMenu
*) 0 ;
31865 wxMenuItem
*result
;
31866 PyObject
* obj0
= 0 ;
31867 char *kwnames
[] = {
31868 (char *) "self", NULL
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
31872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31873 if (SWIG_arg_fail(1)) SWIG_fail
;
31875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= wxPyMake_wxObject(result
, 0);
31890 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31891 PyObject
*resultobj
;
31892 wxMenu
*arg1
= (wxMenu
*) 0 ;
31894 wxString
*arg3
= 0 ;
31895 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31896 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31897 wxMenuItem
*result
;
31898 bool temp3
= false ;
31899 bool temp4
= false ;
31900 PyObject
* obj0
= 0 ;
31901 PyObject
* obj1
= 0 ;
31902 PyObject
* obj2
= 0 ;
31903 PyObject
* obj3
= 0 ;
31904 char *kwnames
[] = {
31905 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
31908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31910 if (SWIG_arg_fail(1)) SWIG_fail
;
31912 arg2
= (int)(SWIG_As_int(obj1
));
31913 if (SWIG_arg_fail(2)) SWIG_fail
;
31916 arg3
= wxString_in_helper(obj2
);
31917 if (arg3
== NULL
) SWIG_fail
;
31922 arg4
= wxString_in_helper(obj3
);
31923 if (arg4
== NULL
) SWIG_fail
;
31928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31929 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
31931 wxPyEndAllowThreads(__tstate
);
31932 if (PyErr_Occurred()) SWIG_fail
;
31935 resultobj
= wxPyMake_wxObject(result
, 0);
31959 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31960 PyObject
*resultobj
;
31961 wxMenu
*arg1
= (wxMenu
*) 0 ;
31963 wxString
*arg3
= 0 ;
31964 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31965 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31966 wxMenuItem
*result
;
31967 bool temp3
= false ;
31968 bool temp4
= false ;
31969 PyObject
* obj0
= 0 ;
31970 PyObject
* obj1
= 0 ;
31971 PyObject
* obj2
= 0 ;
31972 PyObject
* obj3
= 0 ;
31973 char *kwnames
[] = {
31974 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
31977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
31979 if (SWIG_arg_fail(1)) SWIG_fail
;
31981 arg2
= (int)(SWIG_As_int(obj1
));
31982 if (SWIG_arg_fail(2)) SWIG_fail
;
31985 arg3
= wxString_in_helper(obj2
);
31986 if (arg3
== NULL
) SWIG_fail
;
31991 arg4
= wxString_in_helper(obj3
);
31992 if (arg4
== NULL
) SWIG_fail
;
31997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31998 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32000 wxPyEndAllowThreads(__tstate
);
32001 if (PyErr_Occurred()) SWIG_fail
;
32004 resultobj
= wxPyMake_wxObject(result
, 0);
32028 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32029 PyObject
*resultobj
;
32030 wxMenu
*arg1
= (wxMenu
*) 0 ;
32032 wxString
*arg3
= 0 ;
32033 wxMenu
*arg4
= (wxMenu
*) 0 ;
32034 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32035 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32036 wxMenuItem
*result
;
32037 bool temp3
= false ;
32038 bool temp5
= false ;
32039 PyObject
* obj0
= 0 ;
32040 PyObject
* obj1
= 0 ;
32041 PyObject
* obj2
= 0 ;
32042 PyObject
* obj3
= 0 ;
32043 PyObject
* obj4
= 0 ;
32044 char *kwnames
[] = {
32045 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32050 if (SWIG_arg_fail(1)) SWIG_fail
;
32052 arg2
= (int)(SWIG_As_int(obj1
));
32053 if (SWIG_arg_fail(2)) SWIG_fail
;
32056 arg3
= wxString_in_helper(obj2
);
32057 if (arg3
== NULL
) SWIG_fail
;
32060 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32061 if (SWIG_arg_fail(4)) SWIG_fail
;
32064 arg5
= wxString_in_helper(obj4
);
32065 if (arg5
== NULL
) SWIG_fail
;
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32077 resultobj
= wxPyMake_wxObject(result
, 0);
32101 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32102 PyObject
*resultobj
;
32103 wxMenu
*arg1
= (wxMenu
*) 0 ;
32104 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32105 wxMenuItem
*result
;
32106 PyObject
* obj0
= 0 ;
32107 PyObject
* obj1
= 0 ;
32108 char *kwnames
[] = {
32109 (char *) "self",(char *) "item", NULL
32112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32114 if (SWIG_arg_fail(1)) SWIG_fail
;
32115 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32116 if (SWIG_arg_fail(2)) SWIG_fail
;
32118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32119 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32121 wxPyEndAllowThreads(__tstate
);
32122 if (PyErr_Occurred()) SWIG_fail
;
32125 resultobj
= wxPyMake_wxObject(result
, 0);
32133 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32134 PyObject
*resultobj
;
32135 wxMenu
*arg1
= (wxMenu
*) 0 ;
32136 PyObject
* obj0
= 0 ;
32137 char *kwnames
[] = {
32138 (char *) "self", NULL
32141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32143 if (SWIG_arg_fail(1)) SWIG_fail
;
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32151 Py_INCREF(Py_None
); resultobj
= Py_None
;
32158 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32159 PyObject
*resultobj
;
32160 wxMenu
*arg1
= (wxMenu
*) 0 ;
32162 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32163 wxMenuItem
*result
;
32164 PyObject
* obj0
= 0 ;
32165 PyObject
* obj1
= 0 ;
32166 PyObject
* obj2
= 0 ;
32167 char *kwnames
[] = {
32168 (char *) "self",(char *) "pos",(char *) "item", NULL
32171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32173 if (SWIG_arg_fail(1)) SWIG_fail
;
32175 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32176 if (SWIG_arg_fail(2)) SWIG_fail
;
32178 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32179 if (SWIG_arg_fail(3)) SWIG_fail
;
32181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32182 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32184 wxPyEndAllowThreads(__tstate
);
32185 if (PyErr_Occurred()) SWIG_fail
;
32188 resultobj
= wxPyMake_wxObject(result
, 0);
32196 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32197 PyObject
*resultobj
;
32198 wxMenu
*arg1
= (wxMenu
*) 0 ;
32201 wxString
*arg4
= 0 ;
32202 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32203 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32204 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32205 wxMenuItem
*result
;
32206 bool temp4
= false ;
32207 bool temp5
= false ;
32208 PyObject
* obj0
= 0 ;
32209 PyObject
* obj1
= 0 ;
32210 PyObject
* obj2
= 0 ;
32211 PyObject
* obj3
= 0 ;
32212 PyObject
* obj4
= 0 ;
32213 PyObject
* obj5
= 0 ;
32214 char *kwnames
[] = {
32215 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32220 if (SWIG_arg_fail(1)) SWIG_fail
;
32222 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32223 if (SWIG_arg_fail(2)) SWIG_fail
;
32226 arg3
= (int)(SWIG_As_int(obj2
));
32227 if (SWIG_arg_fail(3)) SWIG_fail
;
32230 arg4
= wxString_in_helper(obj3
);
32231 if (arg4
== NULL
) SWIG_fail
;
32236 arg5
= wxString_in_helper(obj4
);
32237 if (arg5
== NULL
) SWIG_fail
;
32243 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32244 if (SWIG_arg_fail(6)) SWIG_fail
;
32248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32249 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32255 resultobj
= wxPyMake_wxObject(result
, 0);
32279 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32280 PyObject
*resultobj
;
32281 wxMenu
*arg1
= (wxMenu
*) 0 ;
32283 wxMenuItem
*result
;
32284 PyObject
* obj0
= 0 ;
32285 PyObject
* obj1
= 0 ;
32286 char *kwnames
[] = {
32287 (char *) "self",(char *) "pos", NULL
32290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32292 if (SWIG_arg_fail(1)) SWIG_fail
;
32294 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32295 if (SWIG_arg_fail(2)) SWIG_fail
;
32298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32299 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32301 wxPyEndAllowThreads(__tstate
);
32302 if (PyErr_Occurred()) SWIG_fail
;
32305 resultobj
= wxPyMake_wxObject(result
, 0);
32313 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32314 PyObject
*resultobj
;
32315 wxMenu
*arg1
= (wxMenu
*) 0 ;
32318 wxString
*arg4
= 0 ;
32319 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32320 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32321 wxMenuItem
*result
;
32322 bool temp4
= false ;
32323 bool temp5
= false ;
32324 PyObject
* obj0
= 0 ;
32325 PyObject
* obj1
= 0 ;
32326 PyObject
* obj2
= 0 ;
32327 PyObject
* obj3
= 0 ;
32328 PyObject
* obj4
= 0 ;
32329 char *kwnames
[] = {
32330 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32335 if (SWIG_arg_fail(1)) SWIG_fail
;
32337 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32338 if (SWIG_arg_fail(2)) SWIG_fail
;
32341 arg3
= (int)(SWIG_As_int(obj2
));
32342 if (SWIG_arg_fail(3)) SWIG_fail
;
32345 arg4
= wxString_in_helper(obj3
);
32346 if (arg4
== NULL
) SWIG_fail
;
32351 arg5
= wxString_in_helper(obj4
);
32352 if (arg5
== NULL
) SWIG_fail
;
32357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32358 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32360 wxPyEndAllowThreads(__tstate
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32364 resultobj
= wxPyMake_wxObject(result
, 0);
32388 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32389 PyObject
*resultobj
;
32390 wxMenu
*arg1
= (wxMenu
*) 0 ;
32393 wxString
*arg4
= 0 ;
32394 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32395 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32396 wxMenuItem
*result
;
32397 bool temp4
= false ;
32398 bool temp5
= false ;
32399 PyObject
* obj0
= 0 ;
32400 PyObject
* obj1
= 0 ;
32401 PyObject
* obj2
= 0 ;
32402 PyObject
* obj3
= 0 ;
32403 PyObject
* obj4
= 0 ;
32404 char *kwnames
[] = {
32405 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32410 if (SWIG_arg_fail(1)) SWIG_fail
;
32412 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32413 if (SWIG_arg_fail(2)) SWIG_fail
;
32416 arg3
= (int)(SWIG_As_int(obj2
));
32417 if (SWIG_arg_fail(3)) SWIG_fail
;
32420 arg4
= wxString_in_helper(obj3
);
32421 if (arg4
== NULL
) SWIG_fail
;
32426 arg5
= wxString_in_helper(obj4
);
32427 if (arg5
== NULL
) SWIG_fail
;
32432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32433 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32435 wxPyEndAllowThreads(__tstate
);
32436 if (PyErr_Occurred()) SWIG_fail
;
32439 resultobj
= wxPyMake_wxObject(result
, 0);
32463 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32464 PyObject
*resultobj
;
32465 wxMenu
*arg1
= (wxMenu
*) 0 ;
32468 wxString
*arg4
= 0 ;
32469 wxMenu
*arg5
= (wxMenu
*) 0 ;
32470 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32471 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32472 wxMenuItem
*result
;
32473 bool temp4
= false ;
32474 bool temp6
= false ;
32475 PyObject
* obj0
= 0 ;
32476 PyObject
* obj1
= 0 ;
32477 PyObject
* obj2
= 0 ;
32478 PyObject
* obj3
= 0 ;
32479 PyObject
* obj4
= 0 ;
32480 PyObject
* obj5
= 0 ;
32481 char *kwnames
[] = {
32482 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32487 if (SWIG_arg_fail(1)) SWIG_fail
;
32489 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32490 if (SWIG_arg_fail(2)) SWIG_fail
;
32493 arg3
= (int)(SWIG_As_int(obj2
));
32494 if (SWIG_arg_fail(3)) SWIG_fail
;
32497 arg4
= wxString_in_helper(obj3
);
32498 if (arg4
== NULL
) SWIG_fail
;
32501 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32502 if (SWIG_arg_fail(5)) SWIG_fail
;
32505 arg6
= wxString_in_helper(obj5
);
32506 if (arg6
== NULL
) SWIG_fail
;
32511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32514 wxPyEndAllowThreads(__tstate
);
32515 if (PyErr_Occurred()) SWIG_fail
;
32518 resultobj
= wxPyMake_wxObject(result
, 0);
32542 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32543 PyObject
*resultobj
;
32544 wxMenu
*arg1
= (wxMenu
*) 0 ;
32545 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32546 wxMenuItem
*result
;
32547 PyObject
* obj0
= 0 ;
32548 PyObject
* obj1
= 0 ;
32549 char *kwnames
[] = {
32550 (char *) "self",(char *) "item", NULL
32553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32555 if (SWIG_arg_fail(1)) SWIG_fail
;
32556 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32557 if (SWIG_arg_fail(2)) SWIG_fail
;
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32562 wxPyEndAllowThreads(__tstate
);
32563 if (PyErr_Occurred()) SWIG_fail
;
32566 resultobj
= wxPyMake_wxObject(result
, 0);
32574 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32575 PyObject
*resultobj
;
32576 wxMenu
*arg1
= (wxMenu
*) 0 ;
32578 wxString
*arg3
= 0 ;
32579 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32580 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32581 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32582 wxMenuItem
*result
;
32583 bool temp3
= false ;
32584 bool temp4
= false ;
32585 PyObject
* obj0
= 0 ;
32586 PyObject
* obj1
= 0 ;
32587 PyObject
* obj2
= 0 ;
32588 PyObject
* obj3
= 0 ;
32589 PyObject
* obj4
= 0 ;
32590 char *kwnames
[] = {
32591 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32596 if (SWIG_arg_fail(1)) SWIG_fail
;
32598 arg2
= (int)(SWIG_As_int(obj1
));
32599 if (SWIG_arg_fail(2)) SWIG_fail
;
32602 arg3
= wxString_in_helper(obj2
);
32603 if (arg3
== NULL
) SWIG_fail
;
32608 arg4
= wxString_in_helper(obj3
);
32609 if (arg4
== NULL
) SWIG_fail
;
32615 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32616 if (SWIG_arg_fail(5)) SWIG_fail
;
32620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32621 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32627 resultobj
= wxPyMake_wxObject(result
, 0);
32651 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32652 PyObject
*resultobj
;
32653 wxMenu
*arg1
= (wxMenu
*) 0 ;
32654 wxMenuItem
*result
;
32655 PyObject
* obj0
= 0 ;
32656 char *kwnames
[] = {
32657 (char *) "self", NULL
32660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
32661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32662 if (SWIG_arg_fail(1)) SWIG_fail
;
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
32667 wxPyEndAllowThreads(__tstate
);
32668 if (PyErr_Occurred()) SWIG_fail
;
32671 resultobj
= wxPyMake_wxObject(result
, 0);
32679 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32680 PyObject
*resultobj
;
32681 wxMenu
*arg1
= (wxMenu
*) 0 ;
32683 wxString
*arg3
= 0 ;
32684 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32685 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32686 wxMenuItem
*result
;
32687 bool temp3
= false ;
32688 bool temp4
= false ;
32689 PyObject
* obj0
= 0 ;
32690 PyObject
* obj1
= 0 ;
32691 PyObject
* obj2
= 0 ;
32692 PyObject
* obj3
= 0 ;
32693 char *kwnames
[] = {
32694 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32699 if (SWIG_arg_fail(1)) SWIG_fail
;
32701 arg2
= (int)(SWIG_As_int(obj1
));
32702 if (SWIG_arg_fail(2)) SWIG_fail
;
32705 arg3
= wxString_in_helper(obj2
);
32706 if (arg3
== NULL
) SWIG_fail
;
32711 arg4
= wxString_in_helper(obj3
);
32712 if (arg4
== NULL
) SWIG_fail
;
32717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32724 resultobj
= wxPyMake_wxObject(result
, 0);
32748 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32749 PyObject
*resultobj
;
32750 wxMenu
*arg1
= (wxMenu
*) 0 ;
32752 wxString
*arg3
= 0 ;
32753 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32754 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32755 wxMenuItem
*result
;
32756 bool temp3
= false ;
32757 bool temp4
= false ;
32758 PyObject
* obj0
= 0 ;
32759 PyObject
* obj1
= 0 ;
32760 PyObject
* obj2
= 0 ;
32761 PyObject
* obj3
= 0 ;
32762 char *kwnames
[] = {
32763 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32768 if (SWIG_arg_fail(1)) SWIG_fail
;
32770 arg2
= (int)(SWIG_As_int(obj1
));
32771 if (SWIG_arg_fail(2)) SWIG_fail
;
32774 arg3
= wxString_in_helper(obj2
);
32775 if (arg3
== NULL
) SWIG_fail
;
32780 arg4
= wxString_in_helper(obj3
);
32781 if (arg4
== NULL
) SWIG_fail
;
32786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32787 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32789 wxPyEndAllowThreads(__tstate
);
32790 if (PyErr_Occurred()) SWIG_fail
;
32793 resultobj
= wxPyMake_wxObject(result
, 0);
32817 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32818 PyObject
*resultobj
;
32819 wxMenu
*arg1
= (wxMenu
*) 0 ;
32821 wxString
*arg3
= 0 ;
32822 wxMenu
*arg4
= (wxMenu
*) 0 ;
32823 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32824 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32825 wxMenuItem
*result
;
32826 bool temp3
= false ;
32827 bool temp5
= false ;
32828 PyObject
* obj0
= 0 ;
32829 PyObject
* obj1
= 0 ;
32830 PyObject
* obj2
= 0 ;
32831 PyObject
* obj3
= 0 ;
32832 PyObject
* obj4
= 0 ;
32833 char *kwnames
[] = {
32834 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32839 if (SWIG_arg_fail(1)) SWIG_fail
;
32841 arg2
= (int)(SWIG_As_int(obj1
));
32842 if (SWIG_arg_fail(2)) SWIG_fail
;
32845 arg3
= wxString_in_helper(obj2
);
32846 if (arg3
== NULL
) SWIG_fail
;
32849 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32850 if (SWIG_arg_fail(4)) SWIG_fail
;
32853 arg5
= wxString_in_helper(obj4
);
32854 if (arg5
== NULL
) SWIG_fail
;
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32862 wxPyEndAllowThreads(__tstate
);
32863 if (PyErr_Occurred()) SWIG_fail
;
32866 resultobj
= wxPyMake_wxObject(result
, 0);
32890 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32891 PyObject
*resultobj
;
32892 wxMenu
*arg1
= (wxMenu
*) 0 ;
32894 wxMenuItem
*result
;
32895 PyObject
* obj0
= 0 ;
32896 PyObject
* obj1
= 0 ;
32897 char *kwnames
[] = {
32898 (char *) "self",(char *) "id", NULL
32901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
32902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32903 if (SWIG_arg_fail(1)) SWIG_fail
;
32905 arg2
= (int)(SWIG_As_int(obj1
));
32906 if (SWIG_arg_fail(2)) SWIG_fail
;
32909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32910 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
32912 wxPyEndAllowThreads(__tstate
);
32913 if (PyErr_Occurred()) SWIG_fail
;
32916 resultobj
= wxPyMake_wxObject(result
, 0);
32924 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32925 PyObject
*resultobj
;
32926 wxMenu
*arg1
= (wxMenu
*) 0 ;
32927 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32928 wxMenuItem
*result
;
32929 PyObject
* obj0
= 0 ;
32930 PyObject
* obj1
= 0 ;
32931 char *kwnames
[] = {
32932 (char *) "self",(char *) "item", NULL
32935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32937 if (SWIG_arg_fail(1)) SWIG_fail
;
32938 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32939 if (SWIG_arg_fail(2)) SWIG_fail
;
32941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32942 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32948 resultobj
= wxPyMake_wxObject(result
, 0);
32956 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32957 PyObject
*resultobj
;
32958 wxMenu
*arg1
= (wxMenu
*) 0 ;
32961 PyObject
* obj0
= 0 ;
32962 PyObject
* obj1
= 0 ;
32963 char *kwnames
[] = {
32964 (char *) "self",(char *) "id", NULL
32967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32969 if (SWIG_arg_fail(1)) SWIG_fail
;
32971 arg2
= (int)(SWIG_As_int(obj1
));
32972 if (SWIG_arg_fail(2)) SWIG_fail
;
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 result
= (bool)(arg1
)->Delete(arg2
);
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32990 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32991 PyObject
*resultobj
;
32992 wxMenu
*arg1
= (wxMenu
*) 0 ;
32993 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32995 PyObject
* obj0
= 0 ;
32996 PyObject
* obj1
= 0 ;
32997 char *kwnames
[] = {
32998 (char *) "self",(char *) "item", NULL
33001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33003 if (SWIG_arg_fail(1)) SWIG_fail
;
33004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33005 if (SWIG_arg_fail(2)) SWIG_fail
;
33007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33008 result
= (bool)(arg1
)->Delete(arg2
);
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33022 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33023 PyObject
*resultobj
;
33024 wxMenu
*arg1
= (wxMenu
*) 0 ;
33025 PyObject
* obj0
= 0 ;
33026 char *kwnames
[] = {
33027 (char *) "self", NULL
33030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33032 if (SWIG_arg_fail(1)) SWIG_fail
;
33034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33035 wxMenu_Destroy(arg1
);
33037 wxPyEndAllowThreads(__tstate
);
33038 if (PyErr_Occurred()) SWIG_fail
;
33040 Py_INCREF(Py_None
); resultobj
= Py_None
;
33047 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33048 PyObject
*resultobj
;
33049 wxMenu
*arg1
= (wxMenu
*) 0 ;
33052 PyObject
* obj0
= 0 ;
33053 PyObject
* obj1
= 0 ;
33054 char *kwnames
[] = {
33055 (char *) "self",(char *) "id", NULL
33058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33060 if (SWIG_arg_fail(1)) SWIG_fail
;
33062 arg2
= (int)(SWIG_As_int(obj1
));
33063 if (SWIG_arg_fail(2)) SWIG_fail
;
33066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33067 result
= (bool)(arg1
)->Destroy(arg2
);
33069 wxPyEndAllowThreads(__tstate
);
33070 if (PyErr_Occurred()) SWIG_fail
;
33073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33081 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33082 PyObject
*resultobj
;
33083 wxMenu
*arg1
= (wxMenu
*) 0 ;
33084 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33086 PyObject
* obj0
= 0 ;
33087 PyObject
* obj1
= 0 ;
33088 char *kwnames
[] = {
33089 (char *) "self",(char *) "item", NULL
33092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33094 if (SWIG_arg_fail(1)) SWIG_fail
;
33095 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33096 if (SWIG_arg_fail(2)) SWIG_fail
;
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 result
= (bool)(arg1
)->Destroy(arg2
);
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33113 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33114 PyObject
*resultobj
;
33115 wxMenu
*arg1
= (wxMenu
*) 0 ;
33117 PyObject
* obj0
= 0 ;
33118 char *kwnames
[] = {
33119 (char *) "self", NULL
33122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33124 if (SWIG_arg_fail(1)) SWIG_fail
;
33126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33127 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33133 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33141 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33142 PyObject
*resultobj
;
33143 wxMenu
*arg1
= (wxMenu
*) 0 ;
33145 PyObject
* obj0
= 0 ;
33146 char *kwnames
[] = {
33147 (char *) "self", NULL
33150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33152 if (SWIG_arg_fail(1)) SWIG_fail
;
33154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33155 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33160 resultobj
= result
;
33167 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33168 PyObject
*resultobj
;
33169 wxMenu
*arg1
= (wxMenu
*) 0 ;
33170 wxString
*arg2
= 0 ;
33172 bool temp2
= false ;
33173 PyObject
* obj0
= 0 ;
33174 PyObject
* obj1
= 0 ;
33175 char *kwnames
[] = {
33176 (char *) "self",(char *) "item", NULL
33179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33181 if (SWIG_arg_fail(1)) SWIG_fail
;
33183 arg2
= wxString_in_helper(obj1
);
33184 if (arg2
== NULL
) SWIG_fail
;
33188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33191 wxPyEndAllowThreads(__tstate
);
33192 if (PyErr_Occurred()) SWIG_fail
;
33195 resultobj
= SWIG_From_int((int)(result
));
33211 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33212 PyObject
*resultobj
;
33213 wxMenu
*arg1
= (wxMenu
*) 0 ;
33215 wxMenuItem
*result
;
33216 PyObject
* obj0
= 0 ;
33217 PyObject
* obj1
= 0 ;
33218 char *kwnames
[] = {
33219 (char *) "self",(char *) "id", NULL
33222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33224 if (SWIG_arg_fail(1)) SWIG_fail
;
33226 arg2
= (int)(SWIG_As_int(obj1
));
33227 if (SWIG_arg_fail(2)) SWIG_fail
;
33230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33237 resultobj
= wxPyMake_wxObject(result
, 0);
33245 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33246 PyObject
*resultobj
;
33247 wxMenu
*arg1
= (wxMenu
*) 0 ;
33249 wxMenuItem
*result
;
33250 PyObject
* obj0
= 0 ;
33251 PyObject
* obj1
= 0 ;
33252 char *kwnames
[] = {
33253 (char *) "self",(char *) "position", NULL
33256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33258 if (SWIG_arg_fail(1)) SWIG_fail
;
33260 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33261 if (SWIG_arg_fail(2)) SWIG_fail
;
33264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33265 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33267 wxPyEndAllowThreads(__tstate
);
33268 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= wxPyMake_wxObject(result
, 0);
33279 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33280 PyObject
*resultobj
;
33281 wxMenu
*arg1
= (wxMenu
*) 0 ;
33284 PyObject
* obj0
= 0 ;
33285 PyObject
* obj1
= 0 ;
33286 PyObject
* obj2
= 0 ;
33287 char *kwnames
[] = {
33288 (char *) "self",(char *) "id",(char *) "enable", NULL
33291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33293 if (SWIG_arg_fail(1)) SWIG_fail
;
33295 arg2
= (int)(SWIG_As_int(obj1
));
33296 if (SWIG_arg_fail(2)) SWIG_fail
;
33299 arg3
= (bool)(SWIG_As_bool(obj2
));
33300 if (SWIG_arg_fail(3)) SWIG_fail
;
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 (arg1
)->Enable(arg2
,arg3
);
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 Py_INCREF(Py_None
); resultobj
= Py_None
;
33316 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
;
33318 wxMenu
*arg1
= (wxMenu
*) 0 ;
33321 PyObject
* obj0
= 0 ;
33322 PyObject
* obj1
= 0 ;
33323 char *kwnames
[] = {
33324 (char *) "self",(char *) "id", NULL
33327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33329 if (SWIG_arg_fail(1)) SWIG_fail
;
33331 arg2
= (int)(SWIG_As_int(obj1
));
33332 if (SWIG_arg_fail(2)) SWIG_fail
;
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33350 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33351 PyObject
*resultobj
;
33352 wxMenu
*arg1
= (wxMenu
*) 0 ;
33355 PyObject
* obj0
= 0 ;
33356 PyObject
* obj1
= 0 ;
33357 PyObject
* obj2
= 0 ;
33358 char *kwnames
[] = {
33359 (char *) "self",(char *) "id",(char *) "check", NULL
33362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33363 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33364 if (SWIG_arg_fail(1)) SWIG_fail
;
33366 arg2
= (int)(SWIG_As_int(obj1
));
33367 if (SWIG_arg_fail(2)) SWIG_fail
;
33370 arg3
= (bool)(SWIG_As_bool(obj2
));
33371 if (SWIG_arg_fail(3)) SWIG_fail
;
33374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33375 (arg1
)->Check(arg2
,arg3
);
33377 wxPyEndAllowThreads(__tstate
);
33378 if (PyErr_Occurred()) SWIG_fail
;
33380 Py_INCREF(Py_None
); resultobj
= Py_None
;
33387 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33388 PyObject
*resultobj
;
33389 wxMenu
*arg1
= (wxMenu
*) 0 ;
33392 PyObject
* obj0
= 0 ;
33393 PyObject
* obj1
= 0 ;
33394 char *kwnames
[] = {
33395 (char *) "self",(char *) "id", NULL
33398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33400 if (SWIG_arg_fail(1)) SWIG_fail
;
33402 arg2
= (int)(SWIG_As_int(obj1
));
33403 if (SWIG_arg_fail(2)) SWIG_fail
;
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33409 wxPyEndAllowThreads(__tstate
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33421 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33422 PyObject
*resultobj
;
33423 wxMenu
*arg1
= (wxMenu
*) 0 ;
33425 wxString
*arg3
= 0 ;
33426 bool temp3
= false ;
33427 PyObject
* obj0
= 0 ;
33428 PyObject
* obj1
= 0 ;
33429 PyObject
* obj2
= 0 ;
33430 char *kwnames
[] = {
33431 (char *) "self",(char *) "id",(char *) "label", NULL
33434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33436 if (SWIG_arg_fail(1)) SWIG_fail
;
33438 arg2
= (int)(SWIG_As_int(obj1
));
33439 if (SWIG_arg_fail(2)) SWIG_fail
;
33442 arg3
= wxString_in_helper(obj2
);
33443 if (arg3
== NULL
) SWIG_fail
;
33447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33448 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33450 wxPyEndAllowThreads(__tstate
);
33451 if (PyErr_Occurred()) SWIG_fail
;
33453 Py_INCREF(Py_None
); resultobj
= Py_None
;
33468 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33469 PyObject
*resultobj
;
33470 wxMenu
*arg1
= (wxMenu
*) 0 ;
33473 PyObject
* obj0
= 0 ;
33474 PyObject
* obj1
= 0 ;
33475 char *kwnames
[] = {
33476 (char *) "self",(char *) "id", NULL
33479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33481 if (SWIG_arg_fail(1)) SWIG_fail
;
33483 arg2
= (int)(SWIG_As_int(obj1
));
33484 if (SWIG_arg_fail(2)) SWIG_fail
;
33487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33488 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33506 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33507 PyObject
*resultobj
;
33508 wxMenu
*arg1
= (wxMenu
*) 0 ;
33510 wxString
*arg3
= 0 ;
33511 bool temp3
= false ;
33512 PyObject
* obj0
= 0 ;
33513 PyObject
* obj1
= 0 ;
33514 PyObject
* obj2
= 0 ;
33515 char *kwnames
[] = {
33516 (char *) "self",(char *) "id",(char *) "helpString", NULL
33519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33521 if (SWIG_arg_fail(1)) SWIG_fail
;
33523 arg2
= (int)(SWIG_As_int(obj1
));
33524 if (SWIG_arg_fail(2)) SWIG_fail
;
33527 arg3
= wxString_in_helper(obj2
);
33528 if (arg3
== NULL
) SWIG_fail
;
33532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33533 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33535 wxPyEndAllowThreads(__tstate
);
33536 if (PyErr_Occurred()) SWIG_fail
;
33538 Py_INCREF(Py_None
); resultobj
= Py_None
;
33553 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33554 PyObject
*resultobj
;
33555 wxMenu
*arg1
= (wxMenu
*) 0 ;
33558 PyObject
* obj0
= 0 ;
33559 PyObject
* obj1
= 0 ;
33560 char *kwnames
[] = {
33561 (char *) "self",(char *) "id", NULL
33564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33566 if (SWIG_arg_fail(1)) SWIG_fail
;
33568 arg2
= (int)(SWIG_As_int(obj1
));
33569 if (SWIG_arg_fail(2)) SWIG_fail
;
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33573 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33591 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33592 PyObject
*resultobj
;
33593 wxMenu
*arg1
= (wxMenu
*) 0 ;
33594 wxString
*arg2
= 0 ;
33595 bool temp2
= false ;
33596 PyObject
* obj0
= 0 ;
33597 PyObject
* obj1
= 0 ;
33598 char *kwnames
[] = {
33599 (char *) "self",(char *) "title", NULL
33602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33604 if (SWIG_arg_fail(1)) SWIG_fail
;
33606 arg2
= wxString_in_helper(obj1
);
33607 if (arg2
== NULL
) SWIG_fail
;
33611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33612 (arg1
)->SetTitle((wxString
const &)*arg2
);
33614 wxPyEndAllowThreads(__tstate
);
33615 if (PyErr_Occurred()) SWIG_fail
;
33617 Py_INCREF(Py_None
); resultobj
= Py_None
;
33632 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
;
33634 wxMenu
*arg1
= (wxMenu
*) 0 ;
33636 PyObject
* obj0
= 0 ;
33637 char *kwnames
[] = {
33638 (char *) "self", NULL
33641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
33642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33643 if (SWIG_arg_fail(1)) SWIG_fail
;
33645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33646 result
= ((wxMenu
const *)arg1
)->GetTitle();
33648 wxPyEndAllowThreads(__tstate
);
33649 if (PyErr_Occurred()) SWIG_fail
;
33653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33664 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33665 PyObject
*resultobj
;
33666 wxMenu
*arg1
= (wxMenu
*) 0 ;
33667 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33668 PyObject
* obj0
= 0 ;
33669 PyObject
* obj1
= 0 ;
33670 char *kwnames
[] = {
33671 (char *) "self",(char *) "handler", NULL
33674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
33675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33676 if (SWIG_arg_fail(1)) SWIG_fail
;
33677 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33678 if (SWIG_arg_fail(2)) SWIG_fail
;
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 (arg1
)->SetEventHandler(arg2
);
33683 wxPyEndAllowThreads(__tstate
);
33684 if (PyErr_Occurred()) SWIG_fail
;
33686 Py_INCREF(Py_None
); resultobj
= Py_None
;
33693 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33694 PyObject
*resultobj
;
33695 wxMenu
*arg1
= (wxMenu
*) 0 ;
33696 wxEvtHandler
*result
;
33697 PyObject
* obj0
= 0 ;
33698 char *kwnames
[] = {
33699 (char *) "self", NULL
33702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
33703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33704 if (SWIG_arg_fail(1)) SWIG_fail
;
33706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33707 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
33709 wxPyEndAllowThreads(__tstate
);
33710 if (PyErr_Occurred()) SWIG_fail
;
33713 resultobj
= wxPyMake_wxObject(result
, 0);
33721 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33722 PyObject
*resultobj
;
33723 wxMenu
*arg1
= (wxMenu
*) 0 ;
33724 wxWindow
*arg2
= (wxWindow
*) 0 ;
33725 PyObject
* obj0
= 0 ;
33726 PyObject
* obj1
= 0 ;
33727 char *kwnames
[] = {
33728 (char *) "self",(char *) "win", NULL
33731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33732 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33733 if (SWIG_arg_fail(1)) SWIG_fail
;
33734 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
33735 if (SWIG_arg_fail(2)) SWIG_fail
;
33737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33738 (arg1
)->SetInvokingWindow(arg2
);
33740 wxPyEndAllowThreads(__tstate
);
33741 if (PyErr_Occurred()) SWIG_fail
;
33743 Py_INCREF(Py_None
); resultobj
= Py_None
;
33750 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33751 PyObject
*resultobj
;
33752 wxMenu
*arg1
= (wxMenu
*) 0 ;
33754 PyObject
* obj0
= 0 ;
33755 char *kwnames
[] = {
33756 (char *) "self", NULL
33759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
33760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33761 if (SWIG_arg_fail(1)) SWIG_fail
;
33763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33764 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
33766 wxPyEndAllowThreads(__tstate
);
33767 if (PyErr_Occurred()) SWIG_fail
;
33770 resultobj
= wxPyMake_wxObject(result
, 0);
33778 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33779 PyObject
*resultobj
;
33780 wxMenu
*arg1
= (wxMenu
*) 0 ;
33782 PyObject
* obj0
= 0 ;
33783 char *kwnames
[] = {
33784 (char *) "self", NULL
33787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
33788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33789 if (SWIG_arg_fail(1)) SWIG_fail
;
33791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33792 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
33794 wxPyEndAllowThreads(__tstate
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33798 resultobj
= SWIG_From_long((long)(result
));
33806 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33807 PyObject
*resultobj
;
33808 wxMenu
*arg1
= (wxMenu
*) 0 ;
33809 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
33810 PyObject
* obj0
= 0 ;
33811 PyObject
* obj1
= 0 ;
33812 char *kwnames
[] = {
33813 (char *) "self",(char *) "source", NULL
33816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
33817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33818 if (SWIG_arg_fail(1)) SWIG_fail
;
33820 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
33821 if (SWIG_arg_fail(2)) SWIG_fail
;
33824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 (arg1
)->UpdateUI(arg2
);
33827 wxPyEndAllowThreads(__tstate
);
33828 if (PyErr_Occurred()) SWIG_fail
;
33830 Py_INCREF(Py_None
); resultobj
= Py_None
;
33837 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33838 PyObject
*resultobj
;
33839 wxMenu
*arg1
= (wxMenu
*) 0 ;
33841 PyObject
* obj0
= 0 ;
33842 char *kwnames
[] = {
33843 (char *) "self", NULL
33846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
33847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33848 if (SWIG_arg_fail(1)) SWIG_fail
;
33850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33851 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
33853 wxPyEndAllowThreads(__tstate
);
33854 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= wxPyMake_wxObject(result
, 0);
33865 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33866 PyObject
*resultobj
;
33867 wxMenu
*arg1
= (wxMenu
*) 0 ;
33868 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
33869 PyObject
* obj0
= 0 ;
33870 PyObject
* obj1
= 0 ;
33871 char *kwnames
[] = {
33872 (char *) "self",(char *) "menubar", NULL
33875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
33876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33877 if (SWIG_arg_fail(1)) SWIG_fail
;
33878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
33879 if (SWIG_arg_fail(2)) SWIG_fail
;
33881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33882 (arg1
)->Attach(arg2
);
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33887 Py_INCREF(Py_None
); resultobj
= Py_None
;
33894 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33895 PyObject
*resultobj
;
33896 wxMenu
*arg1
= (wxMenu
*) 0 ;
33897 PyObject
* obj0
= 0 ;
33898 char *kwnames
[] = {
33899 (char *) "self", NULL
33902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
33903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33904 if (SWIG_arg_fail(1)) SWIG_fail
;
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33912 Py_INCREF(Py_None
); resultobj
= Py_None
;
33919 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33920 PyObject
*resultobj
;
33921 wxMenu
*arg1
= (wxMenu
*) 0 ;
33923 PyObject
* obj0
= 0 ;
33924 char *kwnames
[] = {
33925 (char *) "self", NULL
33928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
33929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33930 if (SWIG_arg_fail(1)) SWIG_fail
;
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33947 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33948 PyObject
*resultobj
;
33949 wxMenu
*arg1
= (wxMenu
*) 0 ;
33950 wxMenu
*arg2
= (wxMenu
*) 0 ;
33951 PyObject
* obj0
= 0 ;
33952 PyObject
* obj1
= 0 ;
33953 char *kwnames
[] = {
33954 (char *) "self",(char *) "parent", NULL
33957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",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_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33961 if (SWIG_arg_fail(2)) SWIG_fail
;
33963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33964 (arg1
)->SetParent(arg2
);
33966 wxPyEndAllowThreads(__tstate
);
33967 if (PyErr_Occurred()) SWIG_fail
;
33969 Py_INCREF(Py_None
); resultobj
= Py_None
;
33976 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33977 PyObject
*resultobj
;
33978 wxMenu
*arg1
= (wxMenu
*) 0 ;
33980 PyObject
* obj0
= 0 ;
33981 char *kwnames
[] = {
33982 (char *) "self", NULL
33985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",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
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
33992 wxPyEndAllowThreads(__tstate
);
33993 if (PyErr_Occurred()) SWIG_fail
;
33996 resultobj
= wxPyMake_wxObject(result
, 0);
34004 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34007 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34009 return Py_BuildValue((char *)"");
34011 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34012 PyObject
*resultobj
;
34013 long arg1
= (long) 0 ;
34015 PyObject
* obj0
= 0 ;
34016 char *kwnames
[] = {
34017 (char *) "style", NULL
34020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34023 arg1
= (long)(SWIG_As_long(obj0
));
34024 if (SWIG_arg_fail(1)) SWIG_fail
;
34028 if (!wxPyCheckForApp()) SWIG_fail
;
34029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34030 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34032 wxPyEndAllowThreads(__tstate
);
34033 if (PyErr_Occurred()) SWIG_fail
;
34035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34042 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34043 PyObject
*resultobj
;
34044 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34045 wxMenu
*arg2
= (wxMenu
*) 0 ;
34046 wxString
*arg3
= 0 ;
34048 bool temp3
= false ;
34049 PyObject
* obj0
= 0 ;
34050 PyObject
* obj1
= 0 ;
34051 PyObject
* obj2
= 0 ;
34052 char *kwnames
[] = {
34053 (char *) "self",(char *) "menu",(char *) "title", NULL
34056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34058 if (SWIG_arg_fail(1)) SWIG_fail
;
34059 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34060 if (SWIG_arg_fail(2)) SWIG_fail
;
34062 arg3
= wxString_in_helper(obj2
);
34063 if (arg3
== NULL
) SWIG_fail
;
34067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34068 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34070 wxPyEndAllowThreads(__tstate
);
34071 if (PyErr_Occurred()) SWIG_fail
;
34074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34090 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34091 PyObject
*resultobj
;
34092 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34094 wxMenu
*arg3
= (wxMenu
*) 0 ;
34095 wxString
*arg4
= 0 ;
34097 bool temp4
= false ;
34098 PyObject
* obj0
= 0 ;
34099 PyObject
* obj1
= 0 ;
34100 PyObject
* obj2
= 0 ;
34101 PyObject
* obj3
= 0 ;
34102 char *kwnames
[] = {
34103 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34108 if (SWIG_arg_fail(1)) SWIG_fail
;
34110 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34111 if (SWIG_arg_fail(2)) SWIG_fail
;
34113 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34114 if (SWIG_arg_fail(3)) SWIG_fail
;
34116 arg4
= wxString_in_helper(obj3
);
34117 if (arg4
== NULL
) SWIG_fail
;
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34124 wxPyEndAllowThreads(__tstate
);
34125 if (PyErr_Occurred()) SWIG_fail
;
34128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34144 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
;
34146 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34148 PyObject
* obj0
= 0 ;
34149 char *kwnames
[] = {
34150 (char *) "self", NULL
34153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34155 if (SWIG_arg_fail(1)) SWIG_fail
;
34157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34158 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34164 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34172 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34173 PyObject
*resultobj
;
34174 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34177 PyObject
* obj0
= 0 ;
34178 PyObject
* obj1
= 0 ;
34179 char *kwnames
[] = {
34180 (char *) "self",(char *) "pos", NULL
34183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34185 if (SWIG_arg_fail(1)) SWIG_fail
;
34187 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34188 if (SWIG_arg_fail(2)) SWIG_fail
;
34191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34192 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34194 wxPyEndAllowThreads(__tstate
);
34195 if (PyErr_Occurred()) SWIG_fail
;
34198 resultobj
= wxPyMake_wxObject(result
, 0);
34206 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34207 PyObject
*resultobj
;
34208 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34210 wxMenu
*arg3
= (wxMenu
*) 0 ;
34211 wxString
*arg4
= 0 ;
34213 bool temp4
= false ;
34214 PyObject
* obj0
= 0 ;
34215 PyObject
* obj1
= 0 ;
34216 PyObject
* obj2
= 0 ;
34217 PyObject
* obj3
= 0 ;
34218 char *kwnames
[] = {
34219 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34224 if (SWIG_arg_fail(1)) SWIG_fail
;
34226 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34227 if (SWIG_arg_fail(2)) SWIG_fail
;
34229 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34230 if (SWIG_arg_fail(3)) SWIG_fail
;
34232 arg4
= wxString_in_helper(obj3
);
34233 if (arg4
== NULL
) SWIG_fail
;
34237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34238 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34240 wxPyEndAllowThreads(__tstate
);
34241 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= wxPyMake_wxObject(result
, 0);
34260 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34261 PyObject
*resultobj
;
34262 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34265 PyObject
* obj0
= 0 ;
34266 PyObject
* obj1
= 0 ;
34267 char *kwnames
[] = {
34268 (char *) "self",(char *) "pos", NULL
34271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34273 if (SWIG_arg_fail(1)) SWIG_fail
;
34275 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34276 if (SWIG_arg_fail(2)) SWIG_fail
;
34279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34280 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34282 wxPyEndAllowThreads(__tstate
);
34283 if (PyErr_Occurred()) SWIG_fail
;
34286 resultobj
= wxPyMake_wxObject(result
, 0);
34294 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
;
34296 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34299 PyObject
* obj0
= 0 ;
34300 PyObject
* obj1
= 0 ;
34301 PyObject
* obj2
= 0 ;
34302 char *kwnames
[] = {
34303 (char *) "self",(char *) "pos",(char *) "enable", NULL
34306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34308 if (SWIG_arg_fail(1)) SWIG_fail
;
34310 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34311 if (SWIG_arg_fail(2)) SWIG_fail
;
34314 arg3
= (bool)(SWIG_As_bool(obj2
));
34315 if (SWIG_arg_fail(3)) SWIG_fail
;
34318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34319 (arg1
)->EnableTop(arg2
,arg3
);
34321 wxPyEndAllowThreads(__tstate
);
34322 if (PyErr_Occurred()) SWIG_fail
;
34324 Py_INCREF(Py_None
); resultobj
= Py_None
;
34331 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34332 PyObject
*resultobj
;
34333 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34336 PyObject
* obj0
= 0 ;
34337 PyObject
* obj1
= 0 ;
34338 char *kwnames
[] = {
34339 (char *) "self",(char *) "pos", NULL
34342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34344 if (SWIG_arg_fail(1)) SWIG_fail
;
34346 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34347 if (SWIG_arg_fail(2)) SWIG_fail
;
34350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34351 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34353 wxPyEndAllowThreads(__tstate
);
34354 if (PyErr_Occurred()) SWIG_fail
;
34357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34365 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34366 PyObject
*resultobj
;
34367 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34369 wxString
*arg3
= 0 ;
34370 bool temp3
= false ;
34371 PyObject
* obj0
= 0 ;
34372 PyObject
* obj1
= 0 ;
34373 PyObject
* obj2
= 0 ;
34374 char *kwnames
[] = {
34375 (char *) "self",(char *) "pos",(char *) "label", NULL
34378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34380 if (SWIG_arg_fail(1)) SWIG_fail
;
34382 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34383 if (SWIG_arg_fail(2)) SWIG_fail
;
34386 arg3
= wxString_in_helper(obj2
);
34387 if (arg3
== NULL
) SWIG_fail
;
34391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34392 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34394 wxPyEndAllowThreads(__tstate
);
34395 if (PyErr_Occurred()) SWIG_fail
;
34397 Py_INCREF(Py_None
); resultobj
= Py_None
;
34412 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34413 PyObject
*resultobj
;
34414 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34417 PyObject
* obj0
= 0 ;
34418 PyObject
* obj1
= 0 ;
34419 char *kwnames
[] = {
34420 (char *) "self",(char *) "pos", NULL
34423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34425 if (SWIG_arg_fail(1)) SWIG_fail
;
34427 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34428 if (SWIG_arg_fail(2)) SWIG_fail
;
34431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34432 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34434 wxPyEndAllowThreads(__tstate
);
34435 if (PyErr_Occurred()) SWIG_fail
;
34439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34450 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
;
34452 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34453 wxString
*arg2
= 0 ;
34454 wxString
*arg3
= 0 ;
34456 bool temp2
= false ;
34457 bool temp3
= false ;
34458 PyObject
* obj0
= 0 ;
34459 PyObject
* obj1
= 0 ;
34460 PyObject
* obj2
= 0 ;
34461 char *kwnames
[] = {
34462 (char *) "self",(char *) "menu",(char *) "item", NULL
34465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34467 if (SWIG_arg_fail(1)) SWIG_fail
;
34469 arg2
= wxString_in_helper(obj1
);
34470 if (arg2
== NULL
) SWIG_fail
;
34474 arg3
= wxString_in_helper(obj2
);
34475 if (arg3
== NULL
) SWIG_fail
;
34479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34480 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34482 wxPyEndAllowThreads(__tstate
);
34483 if (PyErr_Occurred()) SWIG_fail
;
34486 resultobj
= SWIG_From_int((int)(result
));
34510 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34511 PyObject
*resultobj
;
34512 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34514 wxMenuItem
*result
;
34515 PyObject
* obj0
= 0 ;
34516 PyObject
* obj1
= 0 ;
34517 char *kwnames
[] = {
34518 (char *) "self",(char *) "id", NULL
34521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34523 if (SWIG_arg_fail(1)) SWIG_fail
;
34525 arg2
= (int)(SWIG_As_int(obj1
));
34526 if (SWIG_arg_fail(2)) SWIG_fail
;
34529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34530 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34532 wxPyEndAllowThreads(__tstate
);
34533 if (PyErr_Occurred()) SWIG_fail
;
34536 resultobj
= wxPyMake_wxObject(result
, 0);
34544 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34545 PyObject
*resultobj
;
34546 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34547 wxString
*arg2
= 0 ;
34549 bool temp2
= false ;
34550 PyObject
* obj0
= 0 ;
34551 PyObject
* obj1
= 0 ;
34552 char *kwnames
[] = {
34553 (char *) "self",(char *) "title", NULL
34556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34558 if (SWIG_arg_fail(1)) SWIG_fail
;
34560 arg2
= wxString_in_helper(obj1
);
34561 if (arg2
== NULL
) SWIG_fail
;
34565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34566 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34568 wxPyEndAllowThreads(__tstate
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34572 resultobj
= SWIG_From_int((int)(result
));
34588 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34589 PyObject
*resultobj
;
34590 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 PyObject
* obj1
= 0 ;
34595 PyObject
* obj2
= 0 ;
34596 char *kwnames
[] = {
34597 (char *) "self",(char *) "id",(char *) "enable", NULL
34600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34602 if (SWIG_arg_fail(1)) SWIG_fail
;
34604 arg2
= (int)(SWIG_As_int(obj1
));
34605 if (SWIG_arg_fail(2)) SWIG_fail
;
34608 arg3
= (bool)(SWIG_As_bool(obj2
));
34609 if (SWIG_arg_fail(3)) SWIG_fail
;
34612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34613 (arg1
)->Enable(arg2
,arg3
);
34615 wxPyEndAllowThreads(__tstate
);
34616 if (PyErr_Occurred()) SWIG_fail
;
34618 Py_INCREF(Py_None
); resultobj
= Py_None
;
34625 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34626 PyObject
*resultobj
;
34627 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34630 PyObject
* obj0
= 0 ;
34631 PyObject
* obj1
= 0 ;
34632 PyObject
* obj2
= 0 ;
34633 char *kwnames
[] = {
34634 (char *) "self",(char *) "id",(char *) "check", NULL
34637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34639 if (SWIG_arg_fail(1)) SWIG_fail
;
34641 arg2
= (int)(SWIG_As_int(obj1
));
34642 if (SWIG_arg_fail(2)) SWIG_fail
;
34645 arg3
= (bool)(SWIG_As_bool(obj2
));
34646 if (SWIG_arg_fail(3)) SWIG_fail
;
34649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34650 (arg1
)->Check(arg2
,arg3
);
34652 wxPyEndAllowThreads(__tstate
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34655 Py_INCREF(Py_None
); resultobj
= Py_None
;
34662 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
;
34664 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34667 PyObject
* obj0
= 0 ;
34668 PyObject
* obj1
= 0 ;
34669 char *kwnames
[] = {
34670 (char *) "self",(char *) "id", NULL
34673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34675 if (SWIG_arg_fail(1)) SWIG_fail
;
34677 arg2
= (int)(SWIG_As_int(obj1
));
34678 if (SWIG_arg_fail(2)) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34696 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34697 PyObject
*resultobj
;
34698 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 char *kwnames
[] = {
34704 (char *) "self",(char *) "id", NULL
34707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34709 if (SWIG_arg_fail(1)) SWIG_fail
;
34711 arg2
= (int)(SWIG_As_int(obj1
));
34712 if (SWIG_arg_fail(2)) SWIG_fail
;
34715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
34718 wxPyEndAllowThreads(__tstate
);
34719 if (PyErr_Occurred()) SWIG_fail
;
34722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34730 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34731 PyObject
*resultobj
;
34732 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34734 wxString
*arg3
= 0 ;
34735 bool temp3
= false ;
34736 PyObject
* obj0
= 0 ;
34737 PyObject
* obj1
= 0 ;
34738 PyObject
* obj2
= 0 ;
34739 char *kwnames
[] = {
34740 (char *) "self",(char *) "id",(char *) "label", NULL
34743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34745 if (SWIG_arg_fail(1)) SWIG_fail
;
34747 arg2
= (int)(SWIG_As_int(obj1
));
34748 if (SWIG_arg_fail(2)) SWIG_fail
;
34751 arg3
= wxString_in_helper(obj2
);
34752 if (arg3
== NULL
) SWIG_fail
;
34756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34757 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 Py_INCREF(Py_None
); resultobj
= Py_None
;
34777 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
;
34779 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34782 PyObject
* obj0
= 0 ;
34783 PyObject
* obj1
= 0 ;
34784 char *kwnames
[] = {
34785 (char *) "self",(char *) "id", NULL
34788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34790 if (SWIG_arg_fail(1)) SWIG_fail
;
34792 arg2
= (int)(SWIG_As_int(obj1
));
34793 if (SWIG_arg_fail(2)) SWIG_fail
;
34796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34797 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
34799 wxPyEndAllowThreads(__tstate
);
34800 if (PyErr_Occurred()) SWIG_fail
;
34804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34815 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34816 PyObject
*resultobj
;
34817 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34819 wxString
*arg3
= 0 ;
34820 bool temp3
= false ;
34821 PyObject
* obj0
= 0 ;
34822 PyObject
* obj1
= 0 ;
34823 PyObject
* obj2
= 0 ;
34824 char *kwnames
[] = {
34825 (char *) "self",(char *) "id",(char *) "helpString", NULL
34828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34830 if (SWIG_arg_fail(1)) SWIG_fail
;
34832 arg2
= (int)(SWIG_As_int(obj1
));
34833 if (SWIG_arg_fail(2)) SWIG_fail
;
34836 arg3
= wxString_in_helper(obj2
);
34837 if (arg3
== NULL
) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34847 Py_INCREF(Py_None
); resultobj
= Py_None
;
34862 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34863 PyObject
*resultobj
;
34864 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34867 PyObject
* obj0
= 0 ;
34868 PyObject
* obj1
= 0 ;
34869 char *kwnames
[] = {
34870 (char *) "self",(char *) "id", NULL
34873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34875 if (SWIG_arg_fail(1)) SWIG_fail
;
34877 arg2
= (int)(SWIG_As_int(obj1
));
34878 if (SWIG_arg_fail(2)) SWIG_fail
;
34881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34882 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34900 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34901 PyObject
*resultobj
;
34902 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34904 PyObject
* obj0
= 0 ;
34905 char *kwnames
[] = {
34906 (char *) "self", NULL
34909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
34910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34911 if (SWIG_arg_fail(1)) SWIG_fail
;
34913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34914 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
34916 wxPyEndAllowThreads(__tstate
);
34917 if (PyErr_Occurred()) SWIG_fail
;
34920 resultobj
= wxPyMake_wxObject(result
, 0);
34928 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34929 PyObject
*resultobj
;
34930 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34932 PyObject
* obj0
= 0 ;
34933 char *kwnames
[] = {
34934 (char *) "self", NULL
34937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
34938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34939 if (SWIG_arg_fail(1)) SWIG_fail
;
34941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34942 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
34944 wxPyEndAllowThreads(__tstate
);
34945 if (PyErr_Occurred()) SWIG_fail
;
34948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34956 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34957 PyObject
*resultobj
;
34958 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34959 wxFrame
*arg2
= (wxFrame
*) 0 ;
34960 PyObject
* obj0
= 0 ;
34961 PyObject
* obj1
= 0 ;
34962 char *kwnames
[] = {
34963 (char *) "self",(char *) "frame", NULL
34966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34968 if (SWIG_arg_fail(1)) SWIG_fail
;
34969 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
34970 if (SWIG_arg_fail(2)) SWIG_fail
;
34972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34973 (arg1
)->Attach(arg2
);
34975 wxPyEndAllowThreads(__tstate
);
34976 if (PyErr_Occurred()) SWIG_fail
;
34978 Py_INCREF(Py_None
); resultobj
= Py_None
;
34985 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34986 PyObject
*resultobj
;
34987 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34988 PyObject
* obj0
= 0 ;
34989 char *kwnames
[] = {
34990 (char *) "self", NULL
34993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
34994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34995 if (SWIG_arg_fail(1)) SWIG_fail
;
34997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 Py_INCREF(Py_None
); resultobj
= Py_None
;
35010 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35013 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35015 return Py_BuildValue((char *)"");
35017 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35018 PyObject
*resultobj
;
35019 wxMenu
*arg1
= (wxMenu
*) NULL
;
35020 int arg2
= (int) wxID_ANY
;
35021 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35022 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35023 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35024 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35025 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35026 wxMenu
*arg6
= (wxMenu
*) NULL
;
35027 wxMenuItem
*result
;
35028 bool temp3
= false ;
35029 bool temp4
= false ;
35030 PyObject
* obj0
= 0 ;
35031 PyObject
* obj1
= 0 ;
35032 PyObject
* obj2
= 0 ;
35033 PyObject
* obj3
= 0 ;
35034 PyObject
* obj4
= 0 ;
35035 PyObject
* obj5
= 0 ;
35036 char *kwnames
[] = {
35037 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35043 if (SWIG_arg_fail(1)) SWIG_fail
;
35047 arg2
= (int)(SWIG_As_int(obj1
));
35048 if (SWIG_arg_fail(2)) SWIG_fail
;
35053 arg3
= wxString_in_helper(obj2
);
35054 if (arg3
== NULL
) SWIG_fail
;
35060 arg4
= wxString_in_helper(obj3
);
35061 if (arg4
== NULL
) SWIG_fail
;
35067 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35068 if (SWIG_arg_fail(5)) SWIG_fail
;
35072 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35073 if (SWIG_arg_fail(6)) SWIG_fail
;
35076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35077 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35079 wxPyEndAllowThreads(__tstate
);
35080 if (PyErr_Occurred()) SWIG_fail
;
35083 resultobj
= wxPyMake_wxObject(result
, 1);
35107 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35108 PyObject
*resultobj
;
35109 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35111 PyObject
* obj0
= 0 ;
35112 char *kwnames
[] = {
35113 (char *) "self", NULL
35116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35118 if (SWIG_arg_fail(1)) SWIG_fail
;
35120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35121 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35123 wxPyEndAllowThreads(__tstate
);
35124 if (PyErr_Occurred()) SWIG_fail
;
35127 resultobj
= wxPyMake_wxObject(result
, 0);
35135 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35136 PyObject
*resultobj
;
35137 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35138 wxMenu
*arg2
= (wxMenu
*) 0 ;
35139 PyObject
* obj0
= 0 ;
35140 PyObject
* obj1
= 0 ;
35141 char *kwnames
[] = {
35142 (char *) "self",(char *) "menu", NULL
35145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35147 if (SWIG_arg_fail(1)) SWIG_fail
;
35148 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35149 if (SWIG_arg_fail(2)) SWIG_fail
;
35151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35152 (arg1
)->SetMenu(arg2
);
35154 wxPyEndAllowThreads(__tstate
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35157 Py_INCREF(Py_None
); resultobj
= Py_None
;
35164 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35165 PyObject
*resultobj
;
35166 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35168 PyObject
* obj0
= 0 ;
35169 PyObject
* obj1
= 0 ;
35170 char *kwnames
[] = {
35171 (char *) "self",(char *) "id", NULL
35174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35176 if (SWIG_arg_fail(1)) SWIG_fail
;
35178 arg2
= (int)(SWIG_As_int(obj1
));
35179 if (SWIG_arg_fail(2)) SWIG_fail
;
35182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35183 (arg1
)->SetId(arg2
);
35185 wxPyEndAllowThreads(__tstate
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35188 Py_INCREF(Py_None
); resultobj
= Py_None
;
35195 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35196 PyObject
*resultobj
;
35197 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35199 PyObject
* obj0
= 0 ;
35200 char *kwnames
[] = {
35201 (char *) "self", NULL
35204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35206 if (SWIG_arg_fail(1)) SWIG_fail
;
35208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35209 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35211 wxPyEndAllowThreads(__tstate
);
35212 if (PyErr_Occurred()) SWIG_fail
;
35215 resultobj
= SWIG_From_int((int)(result
));
35223 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35224 PyObject
*resultobj
;
35225 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35227 PyObject
* obj0
= 0 ;
35228 char *kwnames
[] = {
35229 (char *) "self", NULL
35232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35234 if (SWIG_arg_fail(1)) SWIG_fail
;
35236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35237 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35239 wxPyEndAllowThreads(__tstate
);
35240 if (PyErr_Occurred()) SWIG_fail
;
35243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35251 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35252 PyObject
*resultobj
;
35253 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35254 wxString
*arg2
= 0 ;
35255 bool temp2
= false ;
35256 PyObject
* obj0
= 0 ;
35257 PyObject
* obj1
= 0 ;
35258 char *kwnames
[] = {
35259 (char *) "self",(char *) "str", NULL
35262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35264 if (SWIG_arg_fail(1)) SWIG_fail
;
35266 arg2
= wxString_in_helper(obj1
);
35267 if (arg2
== NULL
) SWIG_fail
;
35271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35272 (arg1
)->SetText((wxString
const &)*arg2
);
35274 wxPyEndAllowThreads(__tstate
);
35275 if (PyErr_Occurred()) SWIG_fail
;
35277 Py_INCREF(Py_None
); resultobj
= Py_None
;
35292 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35293 PyObject
*resultobj
;
35294 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35296 PyObject
* obj0
= 0 ;
35297 char *kwnames
[] = {
35298 (char *) "self", NULL
35301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35303 if (SWIG_arg_fail(1)) SWIG_fail
;
35305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35306 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35308 wxPyEndAllowThreads(__tstate
);
35309 if (PyErr_Occurred()) SWIG_fail
;
35313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35324 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35325 PyObject
*resultobj
;
35326 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35328 PyObject
* obj0
= 0 ;
35329 char *kwnames
[] = {
35330 (char *) "self", NULL
35333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35335 if (SWIG_arg_fail(1)) SWIG_fail
;
35337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35339 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35340 result
= (wxString
*) &_result_ref
;
35343 wxPyEndAllowThreads(__tstate
);
35344 if (PyErr_Occurred()) SWIG_fail
;
35348 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35350 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35359 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
;
35361 wxString
*arg1
= 0 ;
35363 bool temp1
= false ;
35364 PyObject
* obj0
= 0 ;
35365 char *kwnames
[] = {
35366 (char *) "text", NULL
35369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35371 arg1
= wxString_in_helper(obj0
);
35372 if (arg1
== NULL
) SWIG_fail
;
35376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35377 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35379 wxPyEndAllowThreads(__tstate
);
35380 if (PyErr_Occurred()) SWIG_fail
;
35384 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35386 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35403 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35404 PyObject
*resultobj
;
35405 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35407 PyObject
* obj0
= 0 ;
35408 char *kwnames
[] = {
35409 (char *) "self", NULL
35412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35414 if (SWIG_arg_fail(1)) SWIG_fail
;
35416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35417 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35419 wxPyEndAllowThreads(__tstate
);
35420 if (PyErr_Occurred()) SWIG_fail
;
35422 resultobj
= SWIG_From_int((result
));
35429 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35430 PyObject
*resultobj
;
35431 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35433 PyObject
* obj0
= 0 ;
35434 PyObject
* obj1
= 0 ;
35435 char *kwnames
[] = {
35436 (char *) "self",(char *) "kind", NULL
35439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35441 if (SWIG_arg_fail(1)) SWIG_fail
;
35443 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35444 if (SWIG_arg_fail(2)) SWIG_fail
;
35447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35448 (arg1
)->SetKind((wxItemKind
)arg2
);
35450 wxPyEndAllowThreads(__tstate
);
35451 if (PyErr_Occurred()) SWIG_fail
;
35453 Py_INCREF(Py_None
); resultobj
= Py_None
;
35460 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35461 PyObject
*resultobj
;
35462 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35464 PyObject
* obj0
= 0 ;
35465 PyObject
* obj1
= 0 ;
35466 char *kwnames
[] = {
35467 (char *) "self",(char *) "checkable", NULL
35470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35472 if (SWIG_arg_fail(1)) SWIG_fail
;
35474 arg2
= (bool)(SWIG_As_bool(obj1
));
35475 if (SWIG_arg_fail(2)) SWIG_fail
;
35478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35479 (arg1
)->SetCheckable(arg2
);
35481 wxPyEndAllowThreads(__tstate
);
35482 if (PyErr_Occurred()) SWIG_fail
;
35484 Py_INCREF(Py_None
); resultobj
= Py_None
;
35491 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
;
35493 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35495 PyObject
* obj0
= 0 ;
35496 char *kwnames
[] = {
35497 (char *) "self", NULL
35500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35502 if (SWIG_arg_fail(1)) SWIG_fail
;
35504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35505 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35507 wxPyEndAllowThreads(__tstate
);
35508 if (PyErr_Occurred()) SWIG_fail
;
35511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35519 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35520 PyObject
*resultobj
;
35521 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35523 PyObject
* obj0
= 0 ;
35524 char *kwnames
[] = {
35525 (char *) "self", NULL
35528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35530 if (SWIG_arg_fail(1)) SWIG_fail
;
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35535 wxPyEndAllowThreads(__tstate
);
35536 if (PyErr_Occurred()) SWIG_fail
;
35539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35547 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35548 PyObject
*resultobj
;
35549 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35550 wxMenu
*arg2
= (wxMenu
*) 0 ;
35551 PyObject
* obj0
= 0 ;
35552 PyObject
* obj1
= 0 ;
35553 char *kwnames
[] = {
35554 (char *) "self",(char *) "menu", NULL
35557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35559 if (SWIG_arg_fail(1)) SWIG_fail
;
35560 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35561 if (SWIG_arg_fail(2)) SWIG_fail
;
35563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35564 (arg1
)->SetSubMenu(arg2
);
35566 wxPyEndAllowThreads(__tstate
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35569 Py_INCREF(Py_None
); resultobj
= Py_None
;
35576 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35577 PyObject
*resultobj
;
35578 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35580 PyObject
* obj0
= 0 ;
35581 char *kwnames
[] = {
35582 (char *) "self", NULL
35585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35587 if (SWIG_arg_fail(1)) SWIG_fail
;
35589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35590 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35592 wxPyEndAllowThreads(__tstate
);
35593 if (PyErr_Occurred()) SWIG_fail
;
35596 resultobj
= wxPyMake_wxObject(result
, 0);
35604 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35605 PyObject
*resultobj
;
35606 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35607 bool arg2
= (bool) true ;
35608 PyObject
* obj0
= 0 ;
35609 PyObject
* obj1
= 0 ;
35610 char *kwnames
[] = {
35611 (char *) "self",(char *) "enable", NULL
35614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35616 if (SWIG_arg_fail(1)) SWIG_fail
;
35619 arg2
= (bool)(SWIG_As_bool(obj1
));
35620 if (SWIG_arg_fail(2)) SWIG_fail
;
35624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35625 (arg1
)->Enable(arg2
);
35627 wxPyEndAllowThreads(__tstate
);
35628 if (PyErr_Occurred()) SWIG_fail
;
35630 Py_INCREF(Py_None
); resultobj
= Py_None
;
35637 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35638 PyObject
*resultobj
;
35639 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35641 PyObject
* obj0
= 0 ;
35642 char *kwnames
[] = {
35643 (char *) "self", NULL
35646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
35647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35648 if (SWIG_arg_fail(1)) SWIG_fail
;
35650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35651 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
35653 wxPyEndAllowThreads(__tstate
);
35654 if (PyErr_Occurred()) SWIG_fail
;
35657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35665 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35666 PyObject
*resultobj
;
35667 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35668 bool arg2
= (bool) true ;
35669 PyObject
* obj0
= 0 ;
35670 PyObject
* obj1
= 0 ;
35671 char *kwnames
[] = {
35672 (char *) "self",(char *) "check", NULL
35675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
35676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35677 if (SWIG_arg_fail(1)) SWIG_fail
;
35680 arg2
= (bool)(SWIG_As_bool(obj1
));
35681 if (SWIG_arg_fail(2)) SWIG_fail
;
35685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35686 (arg1
)->Check(arg2
);
35688 wxPyEndAllowThreads(__tstate
);
35689 if (PyErr_Occurred()) SWIG_fail
;
35691 Py_INCREF(Py_None
); resultobj
= Py_None
;
35698 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35699 PyObject
*resultobj
;
35700 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35702 PyObject
* obj0
= 0 ;
35703 char *kwnames
[] = {
35704 (char *) "self", NULL
35707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
35708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35709 if (SWIG_arg_fail(1)) SWIG_fail
;
35711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35712 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
35714 wxPyEndAllowThreads(__tstate
);
35715 if (PyErr_Occurred()) SWIG_fail
;
35718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35726 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35727 PyObject
*resultobj
;
35728 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35729 PyObject
* obj0
= 0 ;
35730 char *kwnames
[] = {
35731 (char *) "self", NULL
35734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
35735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35736 if (SWIG_arg_fail(1)) SWIG_fail
;
35738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 wxPyEndAllowThreads(__tstate
);
35742 if (PyErr_Occurred()) SWIG_fail
;
35744 Py_INCREF(Py_None
); resultobj
= Py_None
;
35751 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
;
35753 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35754 wxString
*arg2
= 0 ;
35755 bool temp2
= false ;
35756 PyObject
* obj0
= 0 ;
35757 PyObject
* obj1
= 0 ;
35758 char *kwnames
[] = {
35759 (char *) "self",(char *) "str", NULL
35762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
35763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35764 if (SWIG_arg_fail(1)) SWIG_fail
;
35766 arg2
= wxString_in_helper(obj1
);
35767 if (arg2
== NULL
) SWIG_fail
;
35771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35772 (arg1
)->SetHelp((wxString
const &)*arg2
);
35774 wxPyEndAllowThreads(__tstate
);
35775 if (PyErr_Occurred()) SWIG_fail
;
35777 Py_INCREF(Py_None
); resultobj
= Py_None
;
35792 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35793 PyObject
*resultobj
;
35794 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35796 PyObject
* obj0
= 0 ;
35797 char *kwnames
[] = {
35798 (char *) "self", NULL
35801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
35802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35803 if (SWIG_arg_fail(1)) SWIG_fail
;
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35807 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
35808 result
= (wxString
*) &_result_ref
;
35811 wxPyEndAllowThreads(__tstate
);
35812 if (PyErr_Occurred()) SWIG_fail
;
35816 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35818 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35827 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35828 PyObject
*resultobj
;
35829 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35830 wxAcceleratorEntry
*result
;
35831 PyObject
* obj0
= 0 ;
35832 char *kwnames
[] = {
35833 (char *) "self", NULL
35836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
35837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35838 if (SWIG_arg_fail(1)) SWIG_fail
;
35840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35841 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
35843 wxPyEndAllowThreads(__tstate
);
35844 if (PyErr_Occurred()) SWIG_fail
;
35846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
35853 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35854 PyObject
*resultobj
;
35855 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35856 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
35857 PyObject
* obj0
= 0 ;
35858 PyObject
* obj1
= 0 ;
35859 char *kwnames
[] = {
35860 (char *) "self",(char *) "accel", NULL
35863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
35864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35865 if (SWIG_arg_fail(1)) SWIG_fail
;
35866 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
35867 if (SWIG_arg_fail(2)) SWIG_fail
;
35869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35870 (arg1
)->SetAccel(arg2
);
35872 wxPyEndAllowThreads(__tstate
);
35873 if (PyErr_Occurred()) SWIG_fail
;
35875 Py_INCREF(Py_None
); resultobj
= Py_None
;
35882 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35883 PyObject
*resultobj
;
35885 char *kwnames
[] = {
35889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
35891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35892 result
= (int)MenuItem_GetDefaultMarginWidth();
35894 wxPyEndAllowThreads(__tstate
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35898 resultobj
= SWIG_From_int((int)(result
));
35906 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35907 PyObject
*resultobj
;
35908 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35909 wxBitmap
*arg2
= 0 ;
35910 PyObject
* obj0
= 0 ;
35911 PyObject
* obj1
= 0 ;
35912 char *kwnames
[] = {
35913 (char *) "self",(char *) "bitmap", NULL
35916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
35917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35918 if (SWIG_arg_fail(1)) SWIG_fail
;
35920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
35921 if (SWIG_arg_fail(2)) SWIG_fail
;
35922 if (arg2
== NULL
) {
35923 SWIG_null_ref("wxBitmap");
35925 if (SWIG_arg_fail(2)) SWIG_fail
;
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35934 Py_INCREF(Py_None
); resultobj
= Py_None
;
35941 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35942 PyObject
*resultobj
;
35943 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35945 PyObject
* obj0
= 0 ;
35946 char *kwnames
[] = {
35947 (char *) "self", NULL
35950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
35951 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35952 if (SWIG_arg_fail(1)) SWIG_fail
;
35954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35956 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
35957 result
= (wxBitmap
*) &_result_ref
;
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35964 wxBitmap
* resultptr
= new wxBitmap(*result
);
35965 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
35973 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
35975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35976 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
35978 return Py_BuildValue((char *)"");
35980 static int _wrap_ControlNameStr_set(PyObject
*) {
35981 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
35986 static PyObject
*_wrap_ControlNameStr_get(void) {
35991 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
35993 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36000 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36001 PyObject
*resultobj
;
36002 wxWindow
*arg1
= (wxWindow
*) 0 ;
36003 int arg2
= (int) -1 ;
36004 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36005 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36006 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36007 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36008 long arg5
= (long) 0 ;
36009 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36010 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36011 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36016 bool temp7
= false ;
36017 PyObject
* obj0
= 0 ;
36018 PyObject
* obj1
= 0 ;
36019 PyObject
* obj2
= 0 ;
36020 PyObject
* obj3
= 0 ;
36021 PyObject
* obj4
= 0 ;
36022 PyObject
* obj5
= 0 ;
36023 PyObject
* obj6
= 0 ;
36024 char *kwnames
[] = {
36025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36030 if (SWIG_arg_fail(1)) SWIG_fail
;
36033 arg2
= (int)(SWIG_As_int(obj1
));
36034 if (SWIG_arg_fail(2)) SWIG_fail
;
36040 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36046 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36051 arg5
= (long)(SWIG_As_long(obj4
));
36052 if (SWIG_arg_fail(5)) SWIG_fail
;
36057 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36058 if (SWIG_arg_fail(6)) SWIG_fail
;
36059 if (arg6
== NULL
) {
36060 SWIG_null_ref("wxValidator");
36062 if (SWIG_arg_fail(6)) SWIG_fail
;
36067 arg7
= wxString_in_helper(obj6
);
36068 if (arg7
== NULL
) SWIG_fail
;
36073 if (!wxPyCheckForApp()) SWIG_fail
;
36074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36075 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36077 wxPyEndAllowThreads(__tstate
);
36078 if (PyErr_Occurred()) SWIG_fail
;
36080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36095 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36096 PyObject
*resultobj
;
36098 char *kwnames
[] = {
36102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36104 if (!wxPyCheckForApp()) SWIG_fail
;
36105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36106 result
= (wxControl
*)new wxControl();
36108 wxPyEndAllowThreads(__tstate
);
36109 if (PyErr_Occurred()) SWIG_fail
;
36111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36118 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36119 PyObject
*resultobj
;
36120 wxControl
*arg1
= (wxControl
*) 0 ;
36121 wxWindow
*arg2
= (wxWindow
*) 0 ;
36122 int arg3
= (int) -1 ;
36123 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36124 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36125 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36126 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36127 long arg6
= (long) 0 ;
36128 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36129 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36130 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36131 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36135 bool temp8
= false ;
36136 PyObject
* obj0
= 0 ;
36137 PyObject
* obj1
= 0 ;
36138 PyObject
* obj2
= 0 ;
36139 PyObject
* obj3
= 0 ;
36140 PyObject
* obj4
= 0 ;
36141 PyObject
* obj5
= 0 ;
36142 PyObject
* obj6
= 0 ;
36143 PyObject
* obj7
= 0 ;
36144 char *kwnames
[] = {
36145 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36150 if (SWIG_arg_fail(1)) SWIG_fail
;
36151 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36152 if (SWIG_arg_fail(2)) SWIG_fail
;
36155 arg3
= (int)(SWIG_As_int(obj2
));
36156 if (SWIG_arg_fail(3)) SWIG_fail
;
36162 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36168 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36173 arg6
= (long)(SWIG_As_long(obj5
));
36174 if (SWIG_arg_fail(6)) SWIG_fail
;
36179 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36180 if (SWIG_arg_fail(7)) SWIG_fail
;
36181 if (arg7
== NULL
) {
36182 SWIG_null_ref("wxValidator");
36184 if (SWIG_arg_fail(7)) SWIG_fail
;
36189 arg8
= wxString_in_helper(obj7
);
36190 if (arg8
== NULL
) SWIG_fail
;
36195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
36198 wxPyEndAllowThreads(__tstate
);
36199 if (PyErr_Occurred()) SWIG_fail
;
36202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36218 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36219 PyObject
*resultobj
;
36220 wxControl
*arg1
= (wxControl
*) 0 ;
36221 wxCommandEvent
*arg2
= 0 ;
36222 PyObject
* obj0
= 0 ;
36223 PyObject
* obj1
= 0 ;
36224 char *kwnames
[] = {
36225 (char *) "self",(char *) "event", NULL
36228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
36229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36230 if (SWIG_arg_fail(1)) SWIG_fail
;
36232 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
36233 if (SWIG_arg_fail(2)) SWIG_fail
;
36234 if (arg2
== NULL
) {
36235 SWIG_null_ref("wxCommandEvent");
36237 if (SWIG_arg_fail(2)) SWIG_fail
;
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 (arg1
)->Command(*arg2
);
36243 wxPyEndAllowThreads(__tstate
);
36244 if (PyErr_Occurred()) SWIG_fail
;
36246 Py_INCREF(Py_None
); resultobj
= Py_None
;
36253 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36254 PyObject
*resultobj
;
36255 wxControl
*arg1
= (wxControl
*) 0 ;
36257 PyObject
* obj0
= 0 ;
36258 char *kwnames
[] = {
36259 (char *) "self", NULL
36262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
36263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36264 if (SWIG_arg_fail(1)) SWIG_fail
;
36266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36267 result
= (arg1
)->GetLabel();
36269 wxPyEndAllowThreads(__tstate
);
36270 if (PyErr_Occurred()) SWIG_fail
;
36274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36285 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36286 PyObject
*resultobj
;
36287 wxControl
*arg1
= (wxControl
*) 0 ;
36288 wxString
*arg2
= 0 ;
36289 bool temp2
= false ;
36290 PyObject
* obj0
= 0 ;
36291 PyObject
* obj1
= 0 ;
36292 char *kwnames
[] = {
36293 (char *) "self",(char *) "label", NULL
36296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
36297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36298 if (SWIG_arg_fail(1)) SWIG_fail
;
36300 arg2
= wxString_in_helper(obj1
);
36301 if (arg2
== NULL
) SWIG_fail
;
36305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36306 (arg1
)->SetLabel((wxString
const &)*arg2
);
36308 wxPyEndAllowThreads(__tstate
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36311 Py_INCREF(Py_None
); resultobj
= Py_None
;
36326 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36327 PyObject
*resultobj
;
36328 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36329 wxVisualAttributes result
;
36330 PyObject
* obj0
= 0 ;
36331 char *kwnames
[] = {
36332 (char *) "variant", NULL
36335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
36338 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
36339 if (SWIG_arg_fail(1)) SWIG_fail
;
36343 if (!wxPyCheckForApp()) SWIG_fail
;
36344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36345 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
36347 wxPyEndAllowThreads(__tstate
);
36348 if (PyErr_Occurred()) SWIG_fail
;
36351 wxVisualAttributes
* resultptr
;
36352 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
36353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
36361 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
36363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36364 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
36366 return Py_BuildValue((char *)"");
36368 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36369 PyObject
*resultobj
;
36370 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36371 wxString
*arg2
= 0 ;
36372 PyObject
*arg3
= (PyObject
*) NULL
;
36374 bool temp2
= false ;
36375 PyObject
* obj0
= 0 ;
36376 PyObject
* obj1
= 0 ;
36377 PyObject
* obj2
= 0 ;
36378 char *kwnames
[] = {
36379 (char *) "self",(char *) "item",(char *) "clientData", NULL
36382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36384 if (SWIG_arg_fail(1)) SWIG_fail
;
36386 arg2
= wxString_in_helper(obj1
);
36387 if (arg2
== NULL
) SWIG_fail
;
36394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36395 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
36397 wxPyEndAllowThreads(__tstate
);
36398 if (PyErr_Occurred()) SWIG_fail
;
36401 resultobj
= SWIG_From_int((int)(result
));
36417 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36418 PyObject
*resultobj
;
36419 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36420 wxArrayString
*arg2
= 0 ;
36421 bool temp2
= false ;
36422 PyObject
* obj0
= 0 ;
36423 PyObject
* obj1
= 0 ;
36424 char *kwnames
[] = {
36425 (char *) "self",(char *) "strings", NULL
36428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36430 if (SWIG_arg_fail(1)) SWIG_fail
;
36432 if (! PySequence_Check(obj1
)) {
36433 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
36436 arg2
= new wxArrayString
;
36438 int i
, len
=PySequence_Length(obj1
);
36439 for (i
=0; i
<len
; i
++) {
36440 PyObject
* item
= PySequence_GetItem(obj1
, i
);
36442 PyObject
* str
= PyObject_Unicode(item
);
36444 PyObject
* str
= PyObject_Str(item
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36447 arg2
->Add(Py2wxString(str
));
36453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36454 (arg1
)->Append((wxArrayString
const &)*arg2
);
36456 wxPyEndAllowThreads(__tstate
);
36457 if (PyErr_Occurred()) SWIG_fail
;
36459 Py_INCREF(Py_None
); resultobj
= Py_None
;
36461 if (temp2
) delete arg2
;
36466 if (temp2
) delete arg2
;
36472 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36473 PyObject
*resultobj
;
36474 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36475 wxString
*arg2
= 0 ;
36477 PyObject
*arg4
= (PyObject
*) NULL
;
36479 bool temp2
= false ;
36480 PyObject
* obj0
= 0 ;
36481 PyObject
* obj1
= 0 ;
36482 PyObject
* obj2
= 0 ;
36483 PyObject
* obj3
= 0 ;
36484 char *kwnames
[] = {
36485 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
36488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36490 if (SWIG_arg_fail(1)) SWIG_fail
;
36492 arg2
= wxString_in_helper(obj1
);
36493 if (arg2
== NULL
) SWIG_fail
;
36497 arg3
= (int)(SWIG_As_int(obj2
));
36498 if (SWIG_arg_fail(3)) SWIG_fail
;
36504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36505 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
36507 wxPyEndAllowThreads(__tstate
);
36508 if (PyErr_Occurred()) SWIG_fail
;
36511 resultobj
= SWIG_From_int((int)(result
));
36527 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36528 PyObject
*resultobj
;
36529 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36530 PyObject
* obj0
= 0 ;
36531 char *kwnames
[] = {
36532 (char *) "self", NULL
36535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
36536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36537 if (SWIG_arg_fail(1)) SWIG_fail
;
36539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36542 wxPyEndAllowThreads(__tstate
);
36543 if (PyErr_Occurred()) SWIG_fail
;
36545 Py_INCREF(Py_None
); resultobj
= Py_None
;
36552 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36553 PyObject
*resultobj
;
36554 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36556 PyObject
* obj0
= 0 ;
36557 PyObject
* obj1
= 0 ;
36558 char *kwnames
[] = {
36559 (char *) "self",(char *) "n", NULL
36562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
36563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36564 if (SWIG_arg_fail(1)) SWIG_fail
;
36566 arg2
= (int)(SWIG_As_int(obj1
));
36567 if (SWIG_arg_fail(2)) SWIG_fail
;
36570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36571 (arg1
)->Delete(arg2
);
36573 wxPyEndAllowThreads(__tstate
);
36574 if (PyErr_Occurred()) SWIG_fail
;
36576 Py_INCREF(Py_None
); resultobj
= Py_None
;
36583 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36584 PyObject
*resultobj
;
36585 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36587 PyObject
* obj0
= 0 ;
36588 char *kwnames
[] = {
36589 (char *) "self", NULL
36592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
36593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36594 if (SWIG_arg_fail(1)) SWIG_fail
;
36596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36597 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
36599 wxPyEndAllowThreads(__tstate
);
36600 if (PyErr_Occurred()) SWIG_fail
;
36603 resultobj
= SWIG_From_int((int)(result
));
36611 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36612 PyObject
*resultobj
;
36613 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36615 PyObject
* obj0
= 0 ;
36616 char *kwnames
[] = {
36617 (char *) "self", NULL
36620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
36621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36622 if (SWIG_arg_fail(1)) SWIG_fail
;
36624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36625 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
36627 wxPyEndAllowThreads(__tstate
);
36628 if (PyErr_Occurred()) SWIG_fail
;
36631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36639 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36640 PyObject
*resultobj
;
36641 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36644 PyObject
* obj0
= 0 ;
36645 PyObject
* obj1
= 0 ;
36646 char *kwnames
[] = {
36647 (char *) "self",(char *) "n", NULL
36650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
36651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36652 if (SWIG_arg_fail(1)) SWIG_fail
;
36654 arg2
= (int)(SWIG_As_int(obj1
));
36655 if (SWIG_arg_fail(2)) SWIG_fail
;
36658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36659 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
36661 wxPyEndAllowThreads(__tstate
);
36662 if (PyErr_Occurred()) SWIG_fail
;
36666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36677 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36678 PyObject
*resultobj
;
36679 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36680 wxArrayString result
;
36681 PyObject
* obj0
= 0 ;
36682 char *kwnames
[] = {
36683 (char *) "self", NULL
36686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
36687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36688 if (SWIG_arg_fail(1)) SWIG_fail
;
36690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36691 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
36693 wxPyEndAllowThreads(__tstate
);
36694 if (PyErr_Occurred()) SWIG_fail
;
36697 resultobj
= wxArrayString2PyList_helper(result
);
36705 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36706 PyObject
*resultobj
;
36707 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36709 wxString
*arg3
= 0 ;
36710 bool temp3
= false ;
36711 PyObject
* obj0
= 0 ;
36712 PyObject
* obj1
= 0 ;
36713 PyObject
* obj2
= 0 ;
36714 char *kwnames
[] = {
36715 (char *) "self",(char *) "n",(char *) "s", NULL
36718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36720 if (SWIG_arg_fail(1)) SWIG_fail
;
36722 arg2
= (int)(SWIG_As_int(obj1
));
36723 if (SWIG_arg_fail(2)) SWIG_fail
;
36726 arg3
= wxString_in_helper(obj2
);
36727 if (arg3
== NULL
) SWIG_fail
;
36731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36732 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
36734 wxPyEndAllowThreads(__tstate
);
36735 if (PyErr_Occurred()) SWIG_fail
;
36737 Py_INCREF(Py_None
); resultobj
= Py_None
;
36752 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36753 PyObject
*resultobj
;
36754 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36755 wxString
*arg2
= 0 ;
36757 bool temp2
= false ;
36758 PyObject
* obj0
= 0 ;
36759 PyObject
* obj1
= 0 ;
36760 char *kwnames
[] = {
36761 (char *) "self",(char *) "s", NULL
36764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
36765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36766 if (SWIG_arg_fail(1)) SWIG_fail
;
36768 arg2
= wxString_in_helper(obj1
);
36769 if (arg2
== NULL
) SWIG_fail
;
36773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36774 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
36776 wxPyEndAllowThreads(__tstate
);
36777 if (PyErr_Occurred()) SWIG_fail
;
36780 resultobj
= SWIG_From_int((int)(result
));
36796 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36797 PyObject
*resultobj
;
36798 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36800 PyObject
* obj0
= 0 ;
36801 PyObject
* obj1
= 0 ;
36802 char *kwnames
[] = {
36803 (char *) "self",(char *) "n", NULL
36806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
36807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36808 if (SWIG_arg_fail(1)) SWIG_fail
;
36810 arg2
= (int)(SWIG_As_int(obj1
));
36811 if (SWIG_arg_fail(2)) SWIG_fail
;
36814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36815 (arg1
)->Select(arg2
);
36817 wxPyEndAllowThreads(__tstate
);
36818 if (PyErr_Occurred()) SWIG_fail
;
36820 Py_INCREF(Py_None
); resultobj
= Py_None
;
36827 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36828 PyObject
*resultobj
;
36829 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36831 PyObject
* obj0
= 0 ;
36832 char *kwnames
[] = {
36833 (char *) "self", NULL
36836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
36837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36838 if (SWIG_arg_fail(1)) SWIG_fail
;
36840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36841 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
36843 wxPyEndAllowThreads(__tstate
);
36844 if (PyErr_Occurred()) SWIG_fail
;
36847 resultobj
= SWIG_From_int((int)(result
));
36855 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36856 PyObject
*resultobj
;
36857 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36859 PyObject
* obj0
= 0 ;
36860 char *kwnames
[] = {
36861 (char *) "self", NULL
36864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
36865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36866 if (SWIG_arg_fail(1)) SWIG_fail
;
36868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36869 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
36871 wxPyEndAllowThreads(__tstate
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36887 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36888 PyObject
*resultobj
;
36889 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36892 PyObject
* obj0
= 0 ;
36893 PyObject
* obj1
= 0 ;
36894 char *kwnames
[] = {
36895 (char *) "self",(char *) "n", NULL
36898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
36899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36900 if (SWIG_arg_fail(1)) SWIG_fail
;
36902 arg2
= (int)(SWIG_As_int(obj1
));
36903 if (SWIG_arg_fail(2)) SWIG_fail
;
36906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36907 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
36909 wxPyEndAllowThreads(__tstate
);
36910 if (PyErr_Occurred()) SWIG_fail
;
36912 resultobj
= result
;
36919 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36920 PyObject
*resultobj
;
36921 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
36923 PyObject
*arg3
= (PyObject
*) 0 ;
36924 PyObject
* obj0
= 0 ;
36925 PyObject
* obj1
= 0 ;
36926 PyObject
* obj2
= 0 ;
36927 char *kwnames
[] = {
36928 (char *) "self",(char *) "n",(char *) "clientData", NULL
36931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
36933 if (SWIG_arg_fail(1)) SWIG_fail
;
36935 arg2
= (int)(SWIG_As_int(obj1
));
36936 if (SWIG_arg_fail(2)) SWIG_fail
;
36940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36941 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
36943 wxPyEndAllowThreads(__tstate
);
36944 if (PyErr_Occurred()) SWIG_fail
;
36946 Py_INCREF(Py_None
); resultobj
= Py_None
;
36953 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
36955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36956 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
36958 return Py_BuildValue((char *)"");
36960 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
36962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36963 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
36965 return Py_BuildValue((char *)"");
36967 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36968 PyObject
*resultobj
;
36969 wxSizerItem
*result
;
36970 char *kwnames
[] = {
36974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
36976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36977 result
= (wxSizerItem
*)new wxSizerItem();
36979 wxPyEndAllowThreads(__tstate
);
36980 if (PyErr_Occurred()) SWIG_fail
;
36982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
36989 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36990 PyObject
*resultobj
;
36991 wxWindow
*arg1
= (wxWindow
*) 0 ;
36995 PyObject
*arg5
= (PyObject
*) NULL
;
36996 wxSizerItem
*result
;
36997 PyObject
* obj0
= 0 ;
36998 PyObject
* obj1
= 0 ;
36999 PyObject
* obj2
= 0 ;
37000 PyObject
* obj3
= 0 ;
37001 PyObject
* obj4
= 0 ;
37002 char *kwnames
[] = {
37003 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37008 if (SWIG_arg_fail(1)) SWIG_fail
;
37010 arg2
= (int)(SWIG_As_int(obj1
));
37011 if (SWIG_arg_fail(2)) SWIG_fail
;
37014 arg3
= (int)(SWIG_As_int(obj2
));
37015 if (SWIG_arg_fail(3)) SWIG_fail
;
37018 arg4
= (int)(SWIG_As_int(obj3
));
37019 if (SWIG_arg_fail(4)) SWIG_fail
;
37025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37026 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37028 wxPyEndAllowThreads(__tstate
);
37029 if (PyErr_Occurred()) SWIG_fail
;
37031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37038 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37039 PyObject
*resultobj
;
37045 PyObject
*arg6
= (PyObject
*) NULL
;
37046 wxSizerItem
*result
;
37047 PyObject
* obj0
= 0 ;
37048 PyObject
* obj1
= 0 ;
37049 PyObject
* obj2
= 0 ;
37050 PyObject
* obj3
= 0 ;
37051 PyObject
* obj4
= 0 ;
37052 PyObject
* obj5
= 0 ;
37053 char *kwnames
[] = {
37054 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37059 arg1
= (int)(SWIG_As_int(obj0
));
37060 if (SWIG_arg_fail(1)) SWIG_fail
;
37063 arg2
= (int)(SWIG_As_int(obj1
));
37064 if (SWIG_arg_fail(2)) SWIG_fail
;
37067 arg3
= (int)(SWIG_As_int(obj2
));
37068 if (SWIG_arg_fail(3)) SWIG_fail
;
37071 arg4
= (int)(SWIG_As_int(obj3
));
37072 if (SWIG_arg_fail(4)) SWIG_fail
;
37075 arg5
= (int)(SWIG_As_int(obj4
));
37076 if (SWIG_arg_fail(5)) SWIG_fail
;
37082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37083 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37085 wxPyEndAllowThreads(__tstate
);
37086 if (PyErr_Occurred()) SWIG_fail
;
37088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37095 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37096 PyObject
*resultobj
;
37097 wxSizer
*arg1
= (wxSizer
*) 0 ;
37101 PyObject
*arg5
= (PyObject
*) NULL
;
37102 wxSizerItem
*result
;
37103 PyObject
* obj0
= 0 ;
37104 PyObject
* obj1
= 0 ;
37105 PyObject
* obj2
= 0 ;
37106 PyObject
* obj3
= 0 ;
37107 PyObject
* obj4
= 0 ;
37108 char *kwnames
[] = {
37109 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37114 if (SWIG_arg_fail(1)) SWIG_fail
;
37116 arg2
= (int)(SWIG_As_int(obj1
));
37117 if (SWIG_arg_fail(2)) SWIG_fail
;
37120 arg3
= (int)(SWIG_As_int(obj2
));
37121 if (SWIG_arg_fail(3)) SWIG_fail
;
37124 arg4
= (int)(SWIG_As_int(obj3
));
37125 if (SWIG_arg_fail(4)) SWIG_fail
;
37131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37132 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37134 wxPyEndAllowThreads(__tstate
);
37135 if (PyErr_Occurred()) SWIG_fail
;
37137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37144 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37145 PyObject
*resultobj
;
37146 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37147 PyObject
* obj0
= 0 ;
37148 char *kwnames
[] = {
37149 (char *) "self", NULL
37152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
37153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37154 if (SWIG_arg_fail(1)) SWIG_fail
;
37156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37157 (arg1
)->DeleteWindows();
37159 wxPyEndAllowThreads(__tstate
);
37160 if (PyErr_Occurred()) SWIG_fail
;
37162 Py_INCREF(Py_None
); resultobj
= Py_None
;
37169 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37170 PyObject
*resultobj
;
37171 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37172 PyObject
* obj0
= 0 ;
37173 char *kwnames
[] = {
37174 (char *) "self", NULL
37177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
37178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37179 if (SWIG_arg_fail(1)) SWIG_fail
;
37181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37182 (arg1
)->DetachSizer();
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37187 Py_INCREF(Py_None
); resultobj
= Py_None
;
37194 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37195 PyObject
*resultobj
;
37196 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37198 PyObject
* obj0
= 0 ;
37199 char *kwnames
[] = {
37200 (char *) "self", NULL
37203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
37204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37205 if (SWIG_arg_fail(1)) SWIG_fail
;
37207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37208 result
= (arg1
)->GetSize();
37210 wxPyEndAllowThreads(__tstate
);
37211 if (PyErr_Occurred()) SWIG_fail
;
37214 wxSize
* resultptr
;
37215 resultptr
= new wxSize((wxSize
&)(result
));
37216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37224 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37225 PyObject
*resultobj
;
37226 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37228 PyObject
* obj0
= 0 ;
37229 char *kwnames
[] = {
37230 (char *) "self", NULL
37233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
37234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37235 if (SWIG_arg_fail(1)) SWIG_fail
;
37237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37238 result
= (arg1
)->CalcMin();
37240 wxPyEndAllowThreads(__tstate
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37244 wxSize
* resultptr
;
37245 resultptr
= new wxSize((wxSize
&)(result
));
37246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37254 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37255 PyObject
*resultobj
;
37256 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37259 PyObject
* obj0
= 0 ;
37260 PyObject
* obj1
= 0 ;
37261 PyObject
* obj2
= 0 ;
37262 char *kwnames
[] = {
37263 (char *) "self",(char *) "pos",(char *) "size", NULL
37266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37268 if (SWIG_arg_fail(1)) SWIG_fail
;
37271 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
37272 if (SWIG_arg_fail(2)) SWIG_fail
;
37273 if (argp
== NULL
) {
37274 SWIG_null_ref("wxPoint");
37276 if (SWIG_arg_fail(2)) SWIG_fail
;
37281 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37282 if (SWIG_arg_fail(3)) SWIG_fail
;
37283 if (argp
== NULL
) {
37284 SWIG_null_ref("wxSize");
37286 if (SWIG_arg_fail(3)) SWIG_fail
;
37290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37291 (arg1
)->SetDimension(arg2
,arg3
);
37293 wxPyEndAllowThreads(__tstate
);
37294 if (PyErr_Occurred()) SWIG_fail
;
37296 Py_INCREF(Py_None
); resultobj
= Py_None
;
37303 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37304 PyObject
*resultobj
;
37305 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37307 PyObject
* obj0
= 0 ;
37308 char *kwnames
[] = {
37309 (char *) "self", NULL
37312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
37313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37314 if (SWIG_arg_fail(1)) SWIG_fail
;
37316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37317 result
= (arg1
)->GetMinSize();
37319 wxPyEndAllowThreads(__tstate
);
37320 if (PyErr_Occurred()) SWIG_fail
;
37323 wxSize
* resultptr
;
37324 resultptr
= new wxSize((wxSize
&)(result
));
37325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37333 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37334 PyObject
*resultobj
;
37335 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37337 PyObject
* obj0
= 0 ;
37338 char *kwnames
[] = {
37339 (char *) "self", NULL
37342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
37343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37344 if (SWIG_arg_fail(1)) SWIG_fail
;
37346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37347 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
37349 wxPyEndAllowThreads(__tstate
);
37350 if (PyErr_Occurred()) SWIG_fail
;
37353 wxSize
* resultptr
;
37354 resultptr
= new wxSize((wxSize
&)(result
));
37355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37363 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37364 PyObject
*resultobj
;
37365 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37368 PyObject
* obj0
= 0 ;
37369 PyObject
* obj1
= 0 ;
37370 PyObject
* obj2
= 0 ;
37371 char *kwnames
[] = {
37372 (char *) "self",(char *) "x",(char *) "y", NULL
37375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37377 if (SWIG_arg_fail(1)) SWIG_fail
;
37379 arg2
= (int)(SWIG_As_int(obj1
));
37380 if (SWIG_arg_fail(2)) SWIG_fail
;
37383 arg3
= (int)(SWIG_As_int(obj2
));
37384 if (SWIG_arg_fail(3)) SWIG_fail
;
37387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37388 (arg1
)->SetInitSize(arg2
,arg3
);
37390 wxPyEndAllowThreads(__tstate
);
37391 if (PyErr_Occurred()) SWIG_fail
;
37393 Py_INCREF(Py_None
); resultobj
= Py_None
;
37400 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37401 PyObject
*resultobj
;
37402 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37405 PyObject
* obj0
= 0 ;
37406 PyObject
* obj1
= 0 ;
37407 PyObject
* obj2
= 0 ;
37408 char *kwnames
[] = {
37409 (char *) "self",(char *) "width",(char *) "height", NULL
37412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37414 if (SWIG_arg_fail(1)) SWIG_fail
;
37416 arg2
= (int)(SWIG_As_int(obj1
));
37417 if (SWIG_arg_fail(2)) SWIG_fail
;
37420 arg3
= (int)(SWIG_As_int(obj2
));
37421 if (SWIG_arg_fail(3)) SWIG_fail
;
37424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37425 (arg1
)->SetRatio(arg2
,arg3
);
37427 wxPyEndAllowThreads(__tstate
);
37428 if (PyErr_Occurred()) SWIG_fail
;
37430 Py_INCREF(Py_None
); resultobj
= Py_None
;
37437 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37438 PyObject
*resultobj
;
37439 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37441 PyObject
* obj0
= 0 ;
37442 PyObject
* obj1
= 0 ;
37443 char *kwnames
[] = {
37444 (char *) "self",(char *) "size", NULL
37447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37449 if (SWIG_arg_fail(1)) SWIG_fail
;
37452 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
37453 if (SWIG_arg_fail(2)) SWIG_fail
;
37454 if (argp
== NULL
) {
37455 SWIG_null_ref("wxSize");
37457 if (SWIG_arg_fail(2)) SWIG_fail
;
37461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37462 (arg1
)->SetRatio(arg2
);
37464 wxPyEndAllowThreads(__tstate
);
37465 if (PyErr_Occurred()) SWIG_fail
;
37467 Py_INCREF(Py_None
); resultobj
= Py_None
;
37474 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37475 PyObject
*resultobj
;
37476 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37478 PyObject
* obj0
= 0 ;
37479 PyObject
* obj1
= 0 ;
37480 char *kwnames
[] = {
37481 (char *) "self",(char *) "ratio", NULL
37484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
37485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37486 if (SWIG_arg_fail(1)) SWIG_fail
;
37488 arg2
= (float)(SWIG_As_float(obj1
));
37489 if (SWIG_arg_fail(2)) SWIG_fail
;
37492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37493 (arg1
)->SetRatio(arg2
);
37495 wxPyEndAllowThreads(__tstate
);
37496 if (PyErr_Occurred()) SWIG_fail
;
37498 Py_INCREF(Py_None
); resultobj
= Py_None
;
37505 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37506 PyObject
*resultobj
;
37507 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37509 PyObject
* obj0
= 0 ;
37510 char *kwnames
[] = {
37511 (char *) "self", NULL
37514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
37515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37516 if (SWIG_arg_fail(1)) SWIG_fail
;
37518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37519 result
= (float)(arg1
)->GetRatio();
37521 wxPyEndAllowThreads(__tstate
);
37522 if (PyErr_Occurred()) SWIG_fail
;
37525 resultobj
= SWIG_From_float((float)(result
));
37533 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37534 PyObject
*resultobj
;
37535 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37537 PyObject
* obj0
= 0 ;
37538 char *kwnames
[] = {
37539 (char *) "self", NULL
37542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
37543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37544 if (SWIG_arg_fail(1)) SWIG_fail
;
37546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37547 result
= (arg1
)->GetRect();
37549 wxPyEndAllowThreads(__tstate
);
37550 if (PyErr_Occurred()) SWIG_fail
;
37553 wxRect
* resultptr
;
37554 resultptr
= new wxRect((wxRect
&)(result
));
37555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
37563 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37564 PyObject
*resultobj
;
37565 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37567 PyObject
* obj0
= 0 ;
37568 char *kwnames
[] = {
37569 (char *) "self", NULL
37572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
37573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37574 if (SWIG_arg_fail(1)) SWIG_fail
;
37576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37577 result
= (bool)(arg1
)->IsWindow();
37579 wxPyEndAllowThreads(__tstate
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37591 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37592 PyObject
*resultobj
;
37593 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37595 PyObject
* obj0
= 0 ;
37596 char *kwnames
[] = {
37597 (char *) "self", NULL
37600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
37601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37602 if (SWIG_arg_fail(1)) SWIG_fail
;
37604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37605 result
= (bool)(arg1
)->IsSizer();
37607 wxPyEndAllowThreads(__tstate
);
37608 if (PyErr_Occurred()) SWIG_fail
;
37611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37619 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37620 PyObject
*resultobj
;
37621 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37623 PyObject
* obj0
= 0 ;
37624 char *kwnames
[] = {
37625 (char *) "self", NULL
37628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
37629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37630 if (SWIG_arg_fail(1)) SWIG_fail
;
37632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37633 result
= (bool)(arg1
)->IsSpacer();
37635 wxPyEndAllowThreads(__tstate
);
37636 if (PyErr_Occurred()) SWIG_fail
;
37639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37647 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37648 PyObject
*resultobj
;
37649 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37651 PyObject
* obj0
= 0 ;
37652 PyObject
* obj1
= 0 ;
37653 char *kwnames
[] = {
37654 (char *) "self",(char *) "proportion", NULL
37657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
37658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37659 if (SWIG_arg_fail(1)) SWIG_fail
;
37661 arg2
= (int)(SWIG_As_int(obj1
));
37662 if (SWIG_arg_fail(2)) SWIG_fail
;
37665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37666 (arg1
)->SetProportion(arg2
);
37668 wxPyEndAllowThreads(__tstate
);
37669 if (PyErr_Occurred()) SWIG_fail
;
37671 Py_INCREF(Py_None
); resultobj
= Py_None
;
37678 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37679 PyObject
*resultobj
;
37680 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37682 PyObject
* obj0
= 0 ;
37683 char *kwnames
[] = {
37684 (char *) "self", NULL
37687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
37688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37689 if (SWIG_arg_fail(1)) SWIG_fail
;
37691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37692 result
= (int)(arg1
)->GetProportion();
37694 wxPyEndAllowThreads(__tstate
);
37695 if (PyErr_Occurred()) SWIG_fail
;
37698 resultobj
= SWIG_From_int((int)(result
));
37706 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37707 PyObject
*resultobj
;
37708 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37710 PyObject
* obj0
= 0 ;
37711 PyObject
* obj1
= 0 ;
37712 char *kwnames
[] = {
37713 (char *) "self",(char *) "flag", NULL
37716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
37717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37718 if (SWIG_arg_fail(1)) SWIG_fail
;
37720 arg2
= (int)(SWIG_As_int(obj1
));
37721 if (SWIG_arg_fail(2)) SWIG_fail
;
37724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37725 (arg1
)->SetFlag(arg2
);
37727 wxPyEndAllowThreads(__tstate
);
37728 if (PyErr_Occurred()) SWIG_fail
;
37730 Py_INCREF(Py_None
); resultobj
= Py_None
;
37737 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37738 PyObject
*resultobj
;
37739 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37741 PyObject
* obj0
= 0 ;
37742 char *kwnames
[] = {
37743 (char *) "self", NULL
37746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
37747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37748 if (SWIG_arg_fail(1)) SWIG_fail
;
37750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37751 result
= (int)(arg1
)->GetFlag();
37753 wxPyEndAllowThreads(__tstate
);
37754 if (PyErr_Occurred()) SWIG_fail
;
37757 resultobj
= SWIG_From_int((int)(result
));
37765 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37766 PyObject
*resultobj
;
37767 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37769 PyObject
* obj0
= 0 ;
37770 PyObject
* obj1
= 0 ;
37771 char *kwnames
[] = {
37772 (char *) "self",(char *) "border", NULL
37775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
37776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37777 if (SWIG_arg_fail(1)) SWIG_fail
;
37779 arg2
= (int)(SWIG_As_int(obj1
));
37780 if (SWIG_arg_fail(2)) SWIG_fail
;
37783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37784 (arg1
)->SetBorder(arg2
);
37786 wxPyEndAllowThreads(__tstate
);
37787 if (PyErr_Occurred()) SWIG_fail
;
37789 Py_INCREF(Py_None
); resultobj
= Py_None
;
37796 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37797 PyObject
*resultobj
;
37798 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37800 PyObject
* obj0
= 0 ;
37801 char *kwnames
[] = {
37802 (char *) "self", NULL
37805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
37806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37807 if (SWIG_arg_fail(1)) SWIG_fail
;
37809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37810 result
= (int)(arg1
)->GetBorder();
37812 wxPyEndAllowThreads(__tstate
);
37813 if (PyErr_Occurred()) SWIG_fail
;
37816 resultobj
= SWIG_From_int((int)(result
));
37824 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37825 PyObject
*resultobj
;
37826 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37828 PyObject
* obj0
= 0 ;
37829 char *kwnames
[] = {
37830 (char *) "self", NULL
37833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
37834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37835 if (SWIG_arg_fail(1)) SWIG_fail
;
37837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37838 result
= (wxWindow
*)(arg1
)->GetWindow();
37840 wxPyEndAllowThreads(__tstate
);
37841 if (PyErr_Occurred()) SWIG_fail
;
37844 resultobj
= wxPyMake_wxObject(result
, 0);
37852 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37853 PyObject
*resultobj
;
37854 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37855 wxWindow
*arg2
= (wxWindow
*) 0 ;
37856 PyObject
* obj0
= 0 ;
37857 PyObject
* obj1
= 0 ;
37858 char *kwnames
[] = {
37859 (char *) "self",(char *) "window", NULL
37862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
37863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37864 if (SWIG_arg_fail(1)) SWIG_fail
;
37865 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37866 if (SWIG_arg_fail(2)) SWIG_fail
;
37868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37869 (arg1
)->SetWindow(arg2
);
37871 wxPyEndAllowThreads(__tstate
);
37872 if (PyErr_Occurred()) SWIG_fail
;
37874 Py_INCREF(Py_None
); resultobj
= Py_None
;
37881 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37882 PyObject
*resultobj
;
37883 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37885 PyObject
* obj0
= 0 ;
37886 char *kwnames
[] = {
37887 (char *) "self", NULL
37890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
37891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37892 if (SWIG_arg_fail(1)) SWIG_fail
;
37894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37895 result
= (wxSizer
*)(arg1
)->GetSizer();
37897 wxPyEndAllowThreads(__tstate
);
37898 if (PyErr_Occurred()) SWIG_fail
;
37901 resultobj
= wxPyMake_wxSizer(result
, 0);
37909 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37910 PyObject
*resultobj
;
37911 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37912 wxSizer
*arg2
= (wxSizer
*) 0 ;
37913 PyObject
* obj0
= 0 ;
37914 PyObject
* obj1
= 0 ;
37915 char *kwnames
[] = {
37916 (char *) "self",(char *) "sizer", NULL
37919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37921 if (SWIG_arg_fail(1)) SWIG_fail
;
37922 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37923 if (SWIG_arg_fail(2)) SWIG_fail
;
37925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37926 (arg1
)->SetSizer(arg2
);
37928 wxPyEndAllowThreads(__tstate
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37931 Py_INCREF(Py_None
); resultobj
= Py_None
;
37938 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37939 PyObject
*resultobj
;
37940 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37942 PyObject
* obj0
= 0 ;
37943 char *kwnames
[] = {
37944 (char *) "self", NULL
37947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
37948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37949 if (SWIG_arg_fail(1)) SWIG_fail
;
37951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37953 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
37954 result
= (wxSize
*) &_result_ref
;
37957 wxPyEndAllowThreads(__tstate
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
37967 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37968 PyObject
*resultobj
;
37969 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
37972 PyObject
* obj0
= 0 ;
37973 PyObject
* obj1
= 0 ;
37974 char *kwnames
[] = {
37975 (char *) "self",(char *) "size", NULL
37978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
37979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
37980 if (SWIG_arg_fail(1)) SWIG_fail
;
37983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37987 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
37989 wxPyEndAllowThreads(__tstate
);
37990 if (PyErr_Occurred()) SWIG_fail
;
37992 Py_INCREF(Py_None
); resultobj
= Py_None
;
37999 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38000 PyObject
*resultobj
;
38001 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38003 PyObject
* obj0
= 0 ;
38004 PyObject
* obj1
= 0 ;
38005 char *kwnames
[] = {
38006 (char *) "self",(char *) "show", NULL
38009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38011 if (SWIG_arg_fail(1)) SWIG_fail
;
38013 arg2
= (bool)(SWIG_As_bool(obj1
));
38014 if (SWIG_arg_fail(2)) SWIG_fail
;
38017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38018 (arg1
)->Show(arg2
);
38020 wxPyEndAllowThreads(__tstate
);
38021 if (PyErr_Occurred()) SWIG_fail
;
38023 Py_INCREF(Py_None
); resultobj
= Py_None
;
38030 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38031 PyObject
*resultobj
;
38032 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38034 PyObject
* obj0
= 0 ;
38035 char *kwnames
[] = {
38036 (char *) "self", NULL
38039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38041 if (SWIG_arg_fail(1)) SWIG_fail
;
38043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38044 result
= (bool)(arg1
)->IsShown();
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38058 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38059 PyObject
*resultobj
;
38060 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38062 PyObject
* obj0
= 0 ;
38063 char *kwnames
[] = {
38064 (char *) "self", NULL
38067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38069 if (SWIG_arg_fail(1)) SWIG_fail
;
38071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38072 result
= (arg1
)->GetPosition();
38074 wxPyEndAllowThreads(__tstate
);
38075 if (PyErr_Occurred()) SWIG_fail
;
38078 wxPoint
* resultptr
;
38079 resultptr
= new wxPoint((wxPoint
&)(result
));
38080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38088 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38089 PyObject
*resultobj
;
38090 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38092 PyObject
* obj0
= 0 ;
38093 char *kwnames
[] = {
38094 (char *) "self", NULL
38097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38099 if (SWIG_arg_fail(1)) SWIG_fail
;
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38104 wxPyEndAllowThreads(__tstate
);
38105 if (PyErr_Occurred()) SWIG_fail
;
38107 resultobj
= result
;
38114 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
38116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38117 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
38119 return Py_BuildValue((char *)"");
38121 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38122 PyObject
*resultobj
;
38123 wxSizer
*arg1
= (wxSizer
*) 0 ;
38124 PyObject
*arg2
= (PyObject
*) 0 ;
38125 PyObject
* obj0
= 0 ;
38126 PyObject
* obj1
= 0 ;
38127 char *kwnames
[] = {
38128 (char *) "self",(char *) "_self", NULL
38131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
38132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38133 if (SWIG_arg_fail(1)) SWIG_fail
;
38136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38137 wxSizer__setOORInfo(arg1
,arg2
);
38139 wxPyEndAllowThreads(__tstate
);
38140 if (PyErr_Occurred()) SWIG_fail
;
38142 Py_INCREF(Py_None
); resultobj
= Py_None
;
38149 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38150 PyObject
*resultobj
;
38151 wxSizer
*arg1
= (wxSizer
*) 0 ;
38152 PyObject
*arg2
= (PyObject
*) 0 ;
38153 int arg3
= (int) 0 ;
38154 int arg4
= (int) 0 ;
38155 int arg5
= (int) 0 ;
38156 PyObject
*arg6
= (PyObject
*) NULL
;
38157 wxSizerItem
*result
;
38158 PyObject
* obj0
= 0 ;
38159 PyObject
* obj1
= 0 ;
38160 PyObject
* obj2
= 0 ;
38161 PyObject
* obj3
= 0 ;
38162 PyObject
* obj4
= 0 ;
38163 PyObject
* obj5
= 0 ;
38164 char *kwnames
[] = {
38165 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38169 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38170 if (SWIG_arg_fail(1)) SWIG_fail
;
38174 arg3
= (int)(SWIG_As_int(obj2
));
38175 if (SWIG_arg_fail(3)) SWIG_fail
;
38180 arg4
= (int)(SWIG_As_int(obj3
));
38181 if (SWIG_arg_fail(4)) SWIG_fail
;
38186 arg5
= (int)(SWIG_As_int(obj4
));
38187 if (SWIG_arg_fail(5)) SWIG_fail
;
38194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38195 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38197 wxPyEndAllowThreads(__tstate
);
38198 if (PyErr_Occurred()) SWIG_fail
;
38200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38207 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38208 PyObject
*resultobj
;
38209 wxSizer
*arg1
= (wxSizer
*) 0 ;
38211 PyObject
*arg3
= (PyObject
*) 0 ;
38212 int arg4
= (int) 0 ;
38213 int arg5
= (int) 0 ;
38214 int arg6
= (int) 0 ;
38215 PyObject
*arg7
= (PyObject
*) NULL
;
38216 wxSizerItem
*result
;
38217 PyObject
* obj0
= 0 ;
38218 PyObject
* obj1
= 0 ;
38219 PyObject
* obj2
= 0 ;
38220 PyObject
* obj3
= 0 ;
38221 PyObject
* obj4
= 0 ;
38222 PyObject
* obj5
= 0 ;
38223 PyObject
* obj6
= 0 ;
38224 char *kwnames
[] = {
38225 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38230 if (SWIG_arg_fail(1)) SWIG_fail
;
38232 arg2
= (int)(SWIG_As_int(obj1
));
38233 if (SWIG_arg_fail(2)) SWIG_fail
;
38238 arg4
= (int)(SWIG_As_int(obj3
));
38239 if (SWIG_arg_fail(4)) SWIG_fail
;
38244 arg5
= (int)(SWIG_As_int(obj4
));
38245 if (SWIG_arg_fail(5)) SWIG_fail
;
38250 arg6
= (int)(SWIG_As_int(obj5
));
38251 if (SWIG_arg_fail(6)) SWIG_fail
;
38258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38259 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38271 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38272 PyObject
*resultobj
;
38273 wxSizer
*arg1
= (wxSizer
*) 0 ;
38274 PyObject
*arg2
= (PyObject
*) 0 ;
38275 int arg3
= (int) 0 ;
38276 int arg4
= (int) 0 ;
38277 int arg5
= (int) 0 ;
38278 PyObject
*arg6
= (PyObject
*) NULL
;
38279 wxSizerItem
*result
;
38280 PyObject
* obj0
= 0 ;
38281 PyObject
* obj1
= 0 ;
38282 PyObject
* obj2
= 0 ;
38283 PyObject
* obj3
= 0 ;
38284 PyObject
* obj4
= 0 ;
38285 PyObject
* obj5
= 0 ;
38286 char *kwnames
[] = {
38287 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38292 if (SWIG_arg_fail(1)) SWIG_fail
;
38296 arg3
= (int)(SWIG_As_int(obj2
));
38297 if (SWIG_arg_fail(3)) SWIG_fail
;
38302 arg4
= (int)(SWIG_As_int(obj3
));
38303 if (SWIG_arg_fail(4)) SWIG_fail
;
38308 arg5
= (int)(SWIG_As_int(obj4
));
38309 if (SWIG_arg_fail(5)) SWIG_fail
;
38316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38317 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38319 wxPyEndAllowThreads(__tstate
);
38320 if (PyErr_Occurred()) SWIG_fail
;
38322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38329 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38330 PyObject
*resultobj
;
38331 wxSizer
*arg1
= (wxSizer
*) 0 ;
38332 PyObject
*arg2
= (PyObject
*) 0 ;
38334 PyObject
* obj0
= 0 ;
38335 PyObject
* obj1
= 0 ;
38336 char *kwnames
[] = {
38337 (char *) "self",(char *) "item", NULL
38340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
38341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38342 if (SWIG_arg_fail(1)) SWIG_fail
;
38345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38346 result
= (bool)wxSizer_Remove(arg1
,arg2
);
38348 wxPyEndAllowThreads(__tstate
);
38349 if (PyErr_Occurred()) SWIG_fail
;
38352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38360 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38361 PyObject
*resultobj
;
38362 wxSizer
*arg1
= (wxSizer
*) 0 ;
38363 PyObject
*arg2
= (PyObject
*) 0 ;
38365 PyObject
* obj0
= 0 ;
38366 PyObject
* obj1
= 0 ;
38367 char *kwnames
[] = {
38368 (char *) "self",(char *) "item", NULL
38371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
38372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38373 if (SWIG_arg_fail(1)) SWIG_fail
;
38376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38377 result
= (bool)wxSizer_Detach(arg1
,arg2
);
38379 wxPyEndAllowThreads(__tstate
);
38380 if (PyErr_Occurred()) SWIG_fail
;
38383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38391 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38392 PyObject
*resultobj
;
38393 wxSizer
*arg1
= (wxSizer
*) 0 ;
38394 PyObject
*arg2
= (PyObject
*) 0 ;
38395 wxSizerItem
*result
;
38396 PyObject
* obj0
= 0 ;
38397 PyObject
* obj1
= 0 ;
38398 char *kwnames
[] = {
38399 (char *) "self",(char *) "item", NULL
38402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38404 if (SWIG_arg_fail(1)) SWIG_fail
;
38407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38408 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
38410 wxPyEndAllowThreads(__tstate
);
38411 if (PyErr_Occurred()) SWIG_fail
;
38413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38420 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38421 PyObject
*resultobj
;
38422 wxSizer
*arg1
= (wxSizer
*) 0 ;
38423 PyObject
*arg2
= (PyObject
*) 0 ;
38426 PyObject
* obj0
= 0 ;
38427 PyObject
* obj1
= 0 ;
38428 PyObject
* obj2
= 0 ;
38429 char *kwnames
[] = {
38430 (char *) "self",(char *) "item",(char *) "size", NULL
38433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38435 if (SWIG_arg_fail(1)) SWIG_fail
;
38439 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
38442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38443 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
38445 wxPyEndAllowThreads(__tstate
);
38446 if (PyErr_Occurred()) SWIG_fail
;
38448 Py_INCREF(Py_None
); resultobj
= Py_None
;
38455 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38456 PyObject
*resultobj
;
38457 wxSizer
*arg1
= (wxSizer
*) 0 ;
38458 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38459 wxSizerItem
*result
;
38460 PyObject
* obj0
= 0 ;
38461 PyObject
* obj1
= 0 ;
38462 char *kwnames
[] = {
38463 (char *) "self",(char *) "item", NULL
38466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38468 if (SWIG_arg_fail(1)) SWIG_fail
;
38469 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38470 if (SWIG_arg_fail(2)) SWIG_fail
;
38472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38473 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
38475 wxPyEndAllowThreads(__tstate
);
38476 if (PyErr_Occurred()) SWIG_fail
;
38478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38485 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38486 PyObject
*resultobj
;
38487 wxSizer
*arg1
= (wxSizer
*) 0 ;
38489 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
38490 wxSizerItem
*result
;
38491 PyObject
* obj0
= 0 ;
38492 PyObject
* obj1
= 0 ;
38493 PyObject
* obj2
= 0 ;
38494 char *kwnames
[] = {
38495 (char *) "self",(char *) "index",(char *) "item", NULL
38498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38500 if (SWIG_arg_fail(1)) SWIG_fail
;
38502 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
38503 if (SWIG_arg_fail(2)) SWIG_fail
;
38505 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38506 if (SWIG_arg_fail(3)) SWIG_fail
;
38508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38509 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
38511 wxPyEndAllowThreads(__tstate
);
38512 if (PyErr_Occurred()) SWIG_fail
;
38514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38521 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38522 PyObject
*resultobj
;
38523 wxSizer
*arg1
= (wxSizer
*) 0 ;
38524 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
38525 wxSizerItem
*result
;
38526 PyObject
* obj0
= 0 ;
38527 PyObject
* obj1
= 0 ;
38528 char *kwnames
[] = {
38529 (char *) "self",(char *) "item", NULL
38532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38534 if (SWIG_arg_fail(1)) SWIG_fail
;
38535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38536 if (SWIG_arg_fail(2)) SWIG_fail
;
38538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38539 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
38541 wxPyEndAllowThreads(__tstate
);
38542 if (PyErr_Occurred()) SWIG_fail
;
38544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
38551 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38552 PyObject
*resultobj
;
38553 wxSizer
*arg1
= (wxSizer
*) 0 ;
38558 PyObject
* obj0
= 0 ;
38559 PyObject
* obj1
= 0 ;
38560 PyObject
* obj2
= 0 ;
38561 PyObject
* obj3
= 0 ;
38562 PyObject
* obj4
= 0 ;
38563 char *kwnames
[] = {
38564 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38569 if (SWIG_arg_fail(1)) SWIG_fail
;
38571 arg2
= (int)(SWIG_As_int(obj1
));
38572 if (SWIG_arg_fail(2)) SWIG_fail
;
38575 arg3
= (int)(SWIG_As_int(obj2
));
38576 if (SWIG_arg_fail(3)) SWIG_fail
;
38579 arg4
= (int)(SWIG_As_int(obj3
));
38580 if (SWIG_arg_fail(4)) SWIG_fail
;
38583 arg5
= (int)(SWIG_As_int(obj4
));
38584 if (SWIG_arg_fail(5)) SWIG_fail
;
38587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38588 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
38590 wxPyEndAllowThreads(__tstate
);
38591 if (PyErr_Occurred()) SWIG_fail
;
38593 Py_INCREF(Py_None
); resultobj
= Py_None
;
38600 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38601 PyObject
*resultobj
;
38602 wxSizer
*arg1
= (wxSizer
*) 0 ;
38605 PyObject
* obj0
= 0 ;
38606 PyObject
* obj1
= 0 ;
38607 char *kwnames
[] = {
38608 (char *) "self",(char *) "size", NULL
38611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38613 if (SWIG_arg_fail(1)) SWIG_fail
;
38616 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38620 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
38622 wxPyEndAllowThreads(__tstate
);
38623 if (PyErr_Occurred()) SWIG_fail
;
38625 Py_INCREF(Py_None
); resultobj
= Py_None
;
38632 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38633 PyObject
*resultobj
;
38634 wxSizer
*arg1
= (wxSizer
*) 0 ;
38636 PyObject
* obj0
= 0 ;
38637 char *kwnames
[] = {
38638 (char *) "self", NULL
38641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
38642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38643 if (SWIG_arg_fail(1)) SWIG_fail
;
38645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38646 result
= (arg1
)->GetSize();
38648 wxPyEndAllowThreads(__tstate
);
38649 if (PyErr_Occurred()) SWIG_fail
;
38652 wxSize
* resultptr
;
38653 resultptr
= new wxSize((wxSize
&)(result
));
38654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38662 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38663 PyObject
*resultobj
;
38664 wxSizer
*arg1
= (wxSizer
*) 0 ;
38666 PyObject
* obj0
= 0 ;
38667 char *kwnames
[] = {
38668 (char *) "self", NULL
38671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
38672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38673 if (SWIG_arg_fail(1)) SWIG_fail
;
38675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38676 result
= (arg1
)->GetPosition();
38678 wxPyEndAllowThreads(__tstate
);
38679 if (PyErr_Occurred()) SWIG_fail
;
38682 wxPoint
* resultptr
;
38683 resultptr
= new wxPoint((wxPoint
&)(result
));
38684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38692 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38693 PyObject
*resultobj
;
38694 wxSizer
*arg1
= (wxSizer
*) 0 ;
38696 PyObject
* obj0
= 0 ;
38697 char *kwnames
[] = {
38698 (char *) "self", NULL
38701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
38702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38703 if (SWIG_arg_fail(1)) SWIG_fail
;
38705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38706 result
= (arg1
)->GetMinSize();
38708 wxPyEndAllowThreads(__tstate
);
38709 if (PyErr_Occurred()) SWIG_fail
;
38712 wxSize
* resultptr
;
38713 resultptr
= new wxSize((wxSize
&)(result
));
38714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38722 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38723 PyObject
*resultobj
;
38724 wxSizer
*arg1
= (wxSizer
*) 0 ;
38725 PyObject
* obj0
= 0 ;
38726 char *kwnames
[] = {
38727 (char *) "self", NULL
38730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38732 if (SWIG_arg_fail(1)) SWIG_fail
;
38734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38735 (arg1
)->RecalcSizes();
38737 wxPyEndAllowThreads(__tstate
);
38738 if (PyErr_Occurred()) SWIG_fail
;
38740 Py_INCREF(Py_None
); resultobj
= Py_None
;
38747 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38748 PyObject
*resultobj
;
38749 wxSizer
*arg1
= (wxSizer
*) 0 ;
38751 PyObject
* obj0
= 0 ;
38752 char *kwnames
[] = {
38753 (char *) "self", NULL
38756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38758 if (SWIG_arg_fail(1)) SWIG_fail
;
38760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38761 result
= (arg1
)->CalcMin();
38763 wxPyEndAllowThreads(__tstate
);
38764 if (PyErr_Occurred()) SWIG_fail
;
38767 wxSize
* resultptr
;
38768 resultptr
= new wxSize((wxSize
&)(result
));
38769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38777 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38778 PyObject
*resultobj
;
38779 wxSizer
*arg1
= (wxSizer
*) 0 ;
38780 PyObject
* obj0
= 0 ;
38781 char *kwnames
[] = {
38782 (char *) "self", NULL
38785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
38786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38787 if (SWIG_arg_fail(1)) SWIG_fail
;
38789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38792 wxPyEndAllowThreads(__tstate
);
38793 if (PyErr_Occurred()) SWIG_fail
;
38795 Py_INCREF(Py_None
); resultobj
= Py_None
;
38802 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38803 PyObject
*resultobj
;
38804 wxSizer
*arg1
= (wxSizer
*) 0 ;
38805 wxWindow
*arg2
= (wxWindow
*) 0 ;
38807 PyObject
* obj0
= 0 ;
38808 PyObject
* obj1
= 0 ;
38809 char *kwnames
[] = {
38810 (char *) "self",(char *) "window", NULL
38813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
38814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38815 if (SWIG_arg_fail(1)) SWIG_fail
;
38816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38817 if (SWIG_arg_fail(2)) SWIG_fail
;
38819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38820 result
= (arg1
)->Fit(arg2
);
38822 wxPyEndAllowThreads(__tstate
);
38823 if (PyErr_Occurred()) SWIG_fail
;
38826 wxSize
* resultptr
;
38827 resultptr
= new wxSize((wxSize
&)(result
));
38828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38836 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38837 PyObject
*resultobj
;
38838 wxSizer
*arg1
= (wxSizer
*) 0 ;
38839 wxWindow
*arg2
= (wxWindow
*) 0 ;
38840 PyObject
* obj0
= 0 ;
38841 PyObject
* obj1
= 0 ;
38842 char *kwnames
[] = {
38843 (char *) "self",(char *) "window", NULL
38846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
38847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38848 if (SWIG_arg_fail(1)) SWIG_fail
;
38849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38850 if (SWIG_arg_fail(2)) SWIG_fail
;
38852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38853 (arg1
)->FitInside(arg2
);
38855 wxPyEndAllowThreads(__tstate
);
38856 if (PyErr_Occurred()) SWIG_fail
;
38858 Py_INCREF(Py_None
); resultobj
= Py_None
;
38865 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38866 PyObject
*resultobj
;
38867 wxSizer
*arg1
= (wxSizer
*) 0 ;
38868 wxWindow
*arg2
= (wxWindow
*) 0 ;
38869 PyObject
* obj0
= 0 ;
38870 PyObject
* obj1
= 0 ;
38871 char *kwnames
[] = {
38872 (char *) "self",(char *) "window", NULL
38875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
38876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38877 if (SWIG_arg_fail(1)) SWIG_fail
;
38878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38879 if (SWIG_arg_fail(2)) SWIG_fail
;
38881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38882 (arg1
)->SetSizeHints(arg2
);
38884 wxPyEndAllowThreads(__tstate
);
38885 if (PyErr_Occurred()) SWIG_fail
;
38887 Py_INCREF(Py_None
); resultobj
= Py_None
;
38894 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38895 PyObject
*resultobj
;
38896 wxSizer
*arg1
= (wxSizer
*) 0 ;
38897 wxWindow
*arg2
= (wxWindow
*) 0 ;
38898 PyObject
* obj0
= 0 ;
38899 PyObject
* obj1
= 0 ;
38900 char *kwnames
[] = {
38901 (char *) "self",(char *) "window", NULL
38904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
38905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38906 if (SWIG_arg_fail(1)) SWIG_fail
;
38907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38908 if (SWIG_arg_fail(2)) SWIG_fail
;
38910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38911 (arg1
)->SetVirtualSizeHints(arg2
);
38913 wxPyEndAllowThreads(__tstate
);
38914 if (PyErr_Occurred()) SWIG_fail
;
38916 Py_INCREF(Py_None
); resultobj
= Py_None
;
38923 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38924 PyObject
*resultobj
;
38925 wxSizer
*arg1
= (wxSizer
*) 0 ;
38926 bool arg2
= (bool) false ;
38927 PyObject
* obj0
= 0 ;
38928 PyObject
* obj1
= 0 ;
38929 char *kwnames
[] = {
38930 (char *) "self",(char *) "deleteWindows", NULL
38933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
38934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38935 if (SWIG_arg_fail(1)) SWIG_fail
;
38938 arg2
= (bool)(SWIG_As_bool(obj1
));
38939 if (SWIG_arg_fail(2)) SWIG_fail
;
38943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38944 (arg1
)->Clear(arg2
);
38946 wxPyEndAllowThreads(__tstate
);
38947 if (PyErr_Occurred()) SWIG_fail
;
38949 Py_INCREF(Py_None
); resultobj
= Py_None
;
38956 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38957 PyObject
*resultobj
;
38958 wxSizer
*arg1
= (wxSizer
*) 0 ;
38959 PyObject
* obj0
= 0 ;
38960 char *kwnames
[] = {
38961 (char *) "self", NULL
38964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38966 if (SWIG_arg_fail(1)) SWIG_fail
;
38968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38969 (arg1
)->DeleteWindows();
38971 wxPyEndAllowThreads(__tstate
);
38972 if (PyErr_Occurred()) SWIG_fail
;
38974 Py_INCREF(Py_None
); resultobj
= Py_None
;
38981 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38982 PyObject
*resultobj
;
38983 wxSizer
*arg1
= (wxSizer
*) 0 ;
38985 PyObject
* obj0
= 0 ;
38986 char *kwnames
[] = {
38987 (char *) "self", NULL
38990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
38991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38992 if (SWIG_arg_fail(1)) SWIG_fail
;
38994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38995 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
38997 wxPyEndAllowThreads(__tstate
);
38998 if (PyErr_Occurred()) SWIG_fail
;
39000 resultobj
= result
;
39007 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39008 PyObject
*resultobj
;
39009 wxSizer
*arg1
= (wxSizer
*) 0 ;
39010 PyObject
*arg2
= (PyObject
*) 0 ;
39011 bool arg3
= (bool) true ;
39012 bool arg4
= (bool) false ;
39014 PyObject
* obj0
= 0 ;
39015 PyObject
* obj1
= 0 ;
39016 PyObject
* obj2
= 0 ;
39017 PyObject
* obj3
= 0 ;
39018 char *kwnames
[] = {
39019 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39024 if (SWIG_arg_fail(1)) SWIG_fail
;
39028 arg3
= (bool)(SWIG_As_bool(obj2
));
39029 if (SWIG_arg_fail(3)) SWIG_fail
;
39034 arg4
= (bool)(SWIG_As_bool(obj3
));
39035 if (SWIG_arg_fail(4)) SWIG_fail
;
39039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39040 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39042 wxPyEndAllowThreads(__tstate
);
39043 if (PyErr_Occurred()) SWIG_fail
;
39046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39054 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39055 PyObject
*resultobj
;
39056 wxSizer
*arg1
= (wxSizer
*) 0 ;
39057 PyObject
*arg2
= (PyObject
*) 0 ;
39059 PyObject
* obj0
= 0 ;
39060 PyObject
* obj1
= 0 ;
39061 char *kwnames
[] = {
39062 (char *) "self",(char *) "item", NULL
39065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39067 if (SWIG_arg_fail(1)) SWIG_fail
;
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39073 wxPyEndAllowThreads(__tstate
);
39074 if (PyErr_Occurred()) SWIG_fail
;
39077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39085 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39086 PyObject
*resultobj
;
39087 wxSizer
*arg1
= (wxSizer
*) 0 ;
39089 PyObject
* obj0
= 0 ;
39090 PyObject
* obj1
= 0 ;
39091 char *kwnames
[] = {
39092 (char *) "self",(char *) "show", NULL
39095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39097 if (SWIG_arg_fail(1)) SWIG_fail
;
39099 arg2
= (bool)(SWIG_As_bool(obj1
));
39100 if (SWIG_arg_fail(2)) SWIG_fail
;
39103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39104 (arg1
)->ShowItems(arg2
);
39106 wxPyEndAllowThreads(__tstate
);
39107 if (PyErr_Occurred()) SWIG_fail
;
39109 Py_INCREF(Py_None
); resultobj
= Py_None
;
39116 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
39118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39119 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
39121 return Py_BuildValue((char *)"");
39123 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39124 PyObject
*resultobj
;
39126 char *kwnames
[] = {
39130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
39132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39133 result
= (wxPySizer
*)new wxPySizer();
39135 wxPyEndAllowThreads(__tstate
);
39136 if (PyErr_Occurred()) SWIG_fail
;
39138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
39145 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39146 PyObject
*resultobj
;
39147 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
39148 PyObject
*arg2
= (PyObject
*) 0 ;
39149 PyObject
*arg3
= (PyObject
*) 0 ;
39150 PyObject
* obj0
= 0 ;
39151 PyObject
* obj1
= 0 ;
39152 PyObject
* obj2
= 0 ;
39153 char *kwnames
[] = {
39154 (char *) "self",(char *) "self",(char *) "_class", NULL
39157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
39159 if (SWIG_arg_fail(1)) SWIG_fail
;
39163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39164 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39166 wxPyEndAllowThreads(__tstate
);
39167 if (PyErr_Occurred()) SWIG_fail
;
39169 Py_INCREF(Py_None
); resultobj
= Py_None
;
39176 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
39178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39179 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
39181 return Py_BuildValue((char *)"");
39183 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39184 PyObject
*resultobj
;
39185 int arg1
= (int) wxHORIZONTAL
;
39186 wxBoxSizer
*result
;
39187 PyObject
* obj0
= 0 ;
39188 char *kwnames
[] = {
39189 (char *) "orient", NULL
39192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
39195 arg1
= (int)(SWIG_As_int(obj0
));
39196 if (SWIG_arg_fail(1)) SWIG_fail
;
39200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39201 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
39203 wxPyEndAllowThreads(__tstate
);
39204 if (PyErr_Occurred()) SWIG_fail
;
39206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
39213 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39214 PyObject
*resultobj
;
39215 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39217 PyObject
* obj0
= 0 ;
39218 char *kwnames
[] = {
39219 (char *) "self", NULL
39222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
39223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39224 if (SWIG_arg_fail(1)) SWIG_fail
;
39226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39227 result
= (int)(arg1
)->GetOrientation();
39229 wxPyEndAllowThreads(__tstate
);
39230 if (PyErr_Occurred()) SWIG_fail
;
39233 resultobj
= SWIG_From_int((int)(result
));
39241 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39242 PyObject
*resultobj
;
39243 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
39245 PyObject
* obj0
= 0 ;
39246 PyObject
* obj1
= 0 ;
39247 char *kwnames
[] = {
39248 (char *) "self",(char *) "orient", NULL
39251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
39252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39253 if (SWIG_arg_fail(1)) SWIG_fail
;
39255 arg2
= (int)(SWIG_As_int(obj1
));
39256 if (SWIG_arg_fail(2)) SWIG_fail
;
39259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39260 (arg1
)->SetOrientation(arg2
);
39262 wxPyEndAllowThreads(__tstate
);
39263 if (PyErr_Occurred()) SWIG_fail
;
39265 Py_INCREF(Py_None
); resultobj
= Py_None
;
39272 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39275 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
39277 return Py_BuildValue((char *)"");
39279 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39280 PyObject
*resultobj
;
39281 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
39282 int arg2
= (int) wxHORIZONTAL
;
39283 wxStaticBoxSizer
*result
;
39284 PyObject
* obj0
= 0 ;
39285 PyObject
* obj1
= 0 ;
39286 char *kwnames
[] = {
39287 (char *) "box",(char *) "orient", NULL
39290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
39292 if (SWIG_arg_fail(1)) SWIG_fail
;
39295 arg2
= (int)(SWIG_As_int(obj1
));
39296 if (SWIG_arg_fail(2)) SWIG_fail
;
39300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39301 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
39303 wxPyEndAllowThreads(__tstate
);
39304 if (PyErr_Occurred()) SWIG_fail
;
39306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
39313 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39314 PyObject
*resultobj
;
39315 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
39316 wxStaticBox
*result
;
39317 PyObject
* obj0
= 0 ;
39318 char *kwnames
[] = {
39319 (char *) "self", NULL
39322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
39323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39324 if (SWIG_arg_fail(1)) SWIG_fail
;
39326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39327 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
39329 wxPyEndAllowThreads(__tstate
);
39330 if (PyErr_Occurred()) SWIG_fail
;
39333 resultobj
= wxPyMake_wxObject(result
, 0);
39341 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
39343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39344 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
39346 return Py_BuildValue((char *)"");
39348 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39349 PyObject
*resultobj
;
39350 int arg1
= (int) 1 ;
39351 int arg2
= (int) 0 ;
39352 int arg3
= (int) 0 ;
39353 int arg4
= (int) 0 ;
39354 wxGridSizer
*result
;
39355 PyObject
* obj0
= 0 ;
39356 PyObject
* obj1
= 0 ;
39357 PyObject
* obj2
= 0 ;
39358 PyObject
* obj3
= 0 ;
39359 char *kwnames
[] = {
39360 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
39363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39366 arg1
= (int)(SWIG_As_int(obj0
));
39367 if (SWIG_arg_fail(1)) SWIG_fail
;
39372 arg2
= (int)(SWIG_As_int(obj1
));
39373 if (SWIG_arg_fail(2)) SWIG_fail
;
39378 arg3
= (int)(SWIG_As_int(obj2
));
39379 if (SWIG_arg_fail(3)) SWIG_fail
;
39384 arg4
= (int)(SWIG_As_int(obj3
));
39385 if (SWIG_arg_fail(4)) SWIG_fail
;
39389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39390 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
39392 wxPyEndAllowThreads(__tstate
);
39393 if (PyErr_Occurred()) SWIG_fail
;
39395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
39402 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39403 PyObject
*resultobj
;
39404 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39406 PyObject
* obj0
= 0 ;
39407 PyObject
* obj1
= 0 ;
39408 char *kwnames
[] = {
39409 (char *) "self",(char *) "cols", NULL
39412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
39413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39414 if (SWIG_arg_fail(1)) SWIG_fail
;
39416 arg2
= (int)(SWIG_As_int(obj1
));
39417 if (SWIG_arg_fail(2)) SWIG_fail
;
39420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39421 (arg1
)->SetCols(arg2
);
39423 wxPyEndAllowThreads(__tstate
);
39424 if (PyErr_Occurred()) SWIG_fail
;
39426 Py_INCREF(Py_None
); resultobj
= Py_None
;
39433 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39434 PyObject
*resultobj
;
39435 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39437 PyObject
* obj0
= 0 ;
39438 PyObject
* obj1
= 0 ;
39439 char *kwnames
[] = {
39440 (char *) "self",(char *) "rows", NULL
39443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
39444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39445 if (SWIG_arg_fail(1)) SWIG_fail
;
39447 arg2
= (int)(SWIG_As_int(obj1
));
39448 if (SWIG_arg_fail(2)) SWIG_fail
;
39451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39452 (arg1
)->SetRows(arg2
);
39454 wxPyEndAllowThreads(__tstate
);
39455 if (PyErr_Occurred()) SWIG_fail
;
39457 Py_INCREF(Py_None
); resultobj
= Py_None
;
39464 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39465 PyObject
*resultobj
;
39466 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39468 PyObject
* obj0
= 0 ;
39469 PyObject
* obj1
= 0 ;
39470 char *kwnames
[] = {
39471 (char *) "self",(char *) "gap", NULL
39474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39476 if (SWIG_arg_fail(1)) SWIG_fail
;
39478 arg2
= (int)(SWIG_As_int(obj1
));
39479 if (SWIG_arg_fail(2)) SWIG_fail
;
39482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39483 (arg1
)->SetVGap(arg2
);
39485 wxPyEndAllowThreads(__tstate
);
39486 if (PyErr_Occurred()) SWIG_fail
;
39488 Py_INCREF(Py_None
); resultobj
= Py_None
;
39495 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39496 PyObject
*resultobj
;
39497 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39499 PyObject
* obj0
= 0 ;
39500 PyObject
* obj1
= 0 ;
39501 char *kwnames
[] = {
39502 (char *) "self",(char *) "gap", NULL
39505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
39506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39507 if (SWIG_arg_fail(1)) SWIG_fail
;
39509 arg2
= (int)(SWIG_As_int(obj1
));
39510 if (SWIG_arg_fail(2)) SWIG_fail
;
39513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39514 (arg1
)->SetHGap(arg2
);
39516 wxPyEndAllowThreads(__tstate
);
39517 if (PyErr_Occurred()) SWIG_fail
;
39519 Py_INCREF(Py_None
); resultobj
= Py_None
;
39526 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39527 PyObject
*resultobj
;
39528 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39530 PyObject
* obj0
= 0 ;
39531 char *kwnames
[] = {
39532 (char *) "self", NULL
39535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
39536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39537 if (SWIG_arg_fail(1)) SWIG_fail
;
39539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39540 result
= (int)(arg1
)->GetCols();
39542 wxPyEndAllowThreads(__tstate
);
39543 if (PyErr_Occurred()) SWIG_fail
;
39546 resultobj
= SWIG_From_int((int)(result
));
39554 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39555 PyObject
*resultobj
;
39556 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39558 PyObject
* obj0
= 0 ;
39559 char *kwnames
[] = {
39560 (char *) "self", NULL
39563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
39564 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39565 if (SWIG_arg_fail(1)) SWIG_fail
;
39567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39568 result
= (int)(arg1
)->GetRows();
39570 wxPyEndAllowThreads(__tstate
);
39571 if (PyErr_Occurred()) SWIG_fail
;
39574 resultobj
= SWIG_From_int((int)(result
));
39582 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39583 PyObject
*resultobj
;
39584 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39586 PyObject
* obj0
= 0 ;
39587 char *kwnames
[] = {
39588 (char *) "self", NULL
39591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
39592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39593 if (SWIG_arg_fail(1)) SWIG_fail
;
39595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39596 result
= (int)(arg1
)->GetVGap();
39598 wxPyEndAllowThreads(__tstate
);
39599 if (PyErr_Occurred()) SWIG_fail
;
39602 resultobj
= SWIG_From_int((int)(result
));
39610 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39611 PyObject
*resultobj
;
39612 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
39614 PyObject
* obj0
= 0 ;
39615 char *kwnames
[] = {
39616 (char *) "self", NULL
39619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
39620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39621 if (SWIG_arg_fail(1)) SWIG_fail
;
39623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39624 result
= (int)(arg1
)->GetHGap();
39626 wxPyEndAllowThreads(__tstate
);
39627 if (PyErr_Occurred()) SWIG_fail
;
39630 resultobj
= SWIG_From_int((int)(result
));
39638 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
39640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39641 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
39643 return Py_BuildValue((char *)"");
39645 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39646 PyObject
*resultobj
;
39647 int arg1
= (int) 1 ;
39648 int arg2
= (int) 0 ;
39649 int arg3
= (int) 0 ;
39650 int arg4
= (int) 0 ;
39651 wxFlexGridSizer
*result
;
39652 PyObject
* obj0
= 0 ;
39653 PyObject
* obj1
= 0 ;
39654 PyObject
* obj2
= 0 ;
39655 PyObject
* obj3
= 0 ;
39656 char *kwnames
[] = {
39657 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
39660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39663 arg1
= (int)(SWIG_As_int(obj0
));
39664 if (SWIG_arg_fail(1)) SWIG_fail
;
39669 arg2
= (int)(SWIG_As_int(obj1
));
39670 if (SWIG_arg_fail(2)) SWIG_fail
;
39675 arg3
= (int)(SWIG_As_int(obj2
));
39676 if (SWIG_arg_fail(3)) SWIG_fail
;
39681 arg4
= (int)(SWIG_As_int(obj3
));
39682 if (SWIG_arg_fail(4)) SWIG_fail
;
39686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39687 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
39689 wxPyEndAllowThreads(__tstate
);
39690 if (PyErr_Occurred()) SWIG_fail
;
39692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
39699 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39700 PyObject
*resultobj
;
39701 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39703 int arg3
= (int) 0 ;
39704 PyObject
* obj0
= 0 ;
39705 PyObject
* obj1
= 0 ;
39706 PyObject
* obj2
= 0 ;
39707 char *kwnames
[] = {
39708 (char *) "self",(char *) "idx",(char *) "proportion", NULL
39711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39713 if (SWIG_arg_fail(1)) SWIG_fail
;
39715 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39716 if (SWIG_arg_fail(2)) SWIG_fail
;
39720 arg3
= (int)(SWIG_As_int(obj2
));
39721 if (SWIG_arg_fail(3)) SWIG_fail
;
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 (arg1
)->AddGrowableRow(arg2
,arg3
);
39728 wxPyEndAllowThreads(__tstate
);
39729 if (PyErr_Occurred()) SWIG_fail
;
39731 Py_INCREF(Py_None
); resultobj
= Py_None
;
39738 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39739 PyObject
*resultobj
;
39740 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39742 PyObject
* obj0
= 0 ;
39743 PyObject
* obj1
= 0 ;
39744 char *kwnames
[] = {
39745 (char *) "self",(char *) "idx", NULL
39748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
39749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39750 if (SWIG_arg_fail(1)) SWIG_fail
;
39752 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39753 if (SWIG_arg_fail(2)) SWIG_fail
;
39756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39757 (arg1
)->RemoveGrowableRow(arg2
);
39759 wxPyEndAllowThreads(__tstate
);
39760 if (PyErr_Occurred()) SWIG_fail
;
39762 Py_INCREF(Py_None
); resultobj
= Py_None
;
39769 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39770 PyObject
*resultobj
;
39771 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39773 int arg3
= (int) 0 ;
39774 PyObject
* obj0
= 0 ;
39775 PyObject
* obj1
= 0 ;
39776 PyObject
* obj2
= 0 ;
39777 char *kwnames
[] = {
39778 (char *) "self",(char *) "idx",(char *) "proportion", NULL
39781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39783 if (SWIG_arg_fail(1)) SWIG_fail
;
39785 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39786 if (SWIG_arg_fail(2)) SWIG_fail
;
39790 arg3
= (int)(SWIG_As_int(obj2
));
39791 if (SWIG_arg_fail(3)) SWIG_fail
;
39795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39796 (arg1
)->AddGrowableCol(arg2
,arg3
);
39798 wxPyEndAllowThreads(__tstate
);
39799 if (PyErr_Occurred()) SWIG_fail
;
39801 Py_INCREF(Py_None
); resultobj
= Py_None
;
39808 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39809 PyObject
*resultobj
;
39810 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39812 PyObject
* obj0
= 0 ;
39813 PyObject
* obj1
= 0 ;
39814 char *kwnames
[] = {
39815 (char *) "self",(char *) "idx", NULL
39818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
39819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39820 if (SWIG_arg_fail(1)) SWIG_fail
;
39822 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39823 if (SWIG_arg_fail(2)) SWIG_fail
;
39826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39827 (arg1
)->RemoveGrowableCol(arg2
);
39829 wxPyEndAllowThreads(__tstate
);
39830 if (PyErr_Occurred()) SWIG_fail
;
39832 Py_INCREF(Py_None
); resultobj
= Py_None
;
39839 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39840 PyObject
*resultobj
;
39841 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39843 PyObject
* obj0
= 0 ;
39844 PyObject
* obj1
= 0 ;
39845 char *kwnames
[] = {
39846 (char *) "self",(char *) "direction", NULL
39849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
39850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39851 if (SWIG_arg_fail(1)) SWIG_fail
;
39853 arg2
= (int)(SWIG_As_int(obj1
));
39854 if (SWIG_arg_fail(2)) SWIG_fail
;
39857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39858 (arg1
)->SetFlexibleDirection(arg2
);
39860 wxPyEndAllowThreads(__tstate
);
39861 if (PyErr_Occurred()) SWIG_fail
;
39863 Py_INCREF(Py_None
); resultobj
= Py_None
;
39870 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39871 PyObject
*resultobj
;
39872 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39874 PyObject
* obj0
= 0 ;
39875 char *kwnames
[] = {
39876 (char *) "self", NULL
39879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
39880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39881 if (SWIG_arg_fail(1)) SWIG_fail
;
39883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39884 result
= (int)(arg1
)->GetFlexibleDirection();
39886 wxPyEndAllowThreads(__tstate
);
39887 if (PyErr_Occurred()) SWIG_fail
;
39890 resultobj
= SWIG_From_int((int)(result
));
39898 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39899 PyObject
*resultobj
;
39900 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39901 wxFlexSizerGrowMode arg2
;
39902 PyObject
* obj0
= 0 ;
39903 PyObject
* obj1
= 0 ;
39904 char *kwnames
[] = {
39905 (char *) "self",(char *) "mode", NULL
39908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
39909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39910 if (SWIG_arg_fail(1)) SWIG_fail
;
39912 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
39913 if (SWIG_arg_fail(2)) SWIG_fail
;
39916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39917 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
39919 wxPyEndAllowThreads(__tstate
);
39920 if (PyErr_Occurred()) SWIG_fail
;
39922 Py_INCREF(Py_None
); resultobj
= Py_None
;
39929 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39930 PyObject
*resultobj
;
39931 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39932 wxFlexSizerGrowMode result
;
39933 PyObject
* obj0
= 0 ;
39934 char *kwnames
[] = {
39935 (char *) "self", NULL
39938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
39939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39940 if (SWIG_arg_fail(1)) SWIG_fail
;
39942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39943 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
39945 wxPyEndAllowThreads(__tstate
);
39946 if (PyErr_Occurred()) SWIG_fail
;
39948 resultobj
= SWIG_From_int((result
));
39955 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39956 PyObject
*resultobj
;
39957 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39958 wxArrayInt
*result
;
39959 PyObject
* obj0
= 0 ;
39960 char *kwnames
[] = {
39961 (char *) "self", NULL
39964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
39965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
39966 if (SWIG_arg_fail(1)) SWIG_fail
;
39968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39970 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
39971 result
= (wxArrayInt
*) &_result_ref
;
39974 wxPyEndAllowThreads(__tstate
);
39975 if (PyErr_Occurred()) SWIG_fail
;
39978 resultobj
= PyList_New(0);
39980 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
39981 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
39982 PyList_Append(resultobj
, val
);
39992 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39993 PyObject
*resultobj
;
39994 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
39995 wxArrayInt
*result
;
39996 PyObject
* obj0
= 0 ;
39997 char *kwnames
[] = {
39998 (char *) "self", NULL
40001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40003 if (SWIG_arg_fail(1)) SWIG_fail
;
40005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40007 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40008 result
= (wxArrayInt
*) &_result_ref
;
40011 wxPyEndAllowThreads(__tstate
);
40012 if (PyErr_Occurred()) SWIG_fail
;
40015 resultobj
= PyList_New(0);
40017 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40018 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40019 PyList_Append(resultobj
, val
);
40029 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40032 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40034 return Py_BuildValue((char *)"");
40036 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40037 PyObject
*resultobj
;
40038 wxStdDialogButtonSizer
*result
;
40039 char *kwnames
[] = {
40043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40046 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40048 wxPyEndAllowThreads(__tstate
);
40049 if (PyErr_Occurred()) SWIG_fail
;
40051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40058 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40059 PyObject
*resultobj
;
40060 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40061 wxButton
*arg2
= (wxButton
*) 0 ;
40062 PyObject
* obj0
= 0 ;
40063 PyObject
* obj1
= 0 ;
40064 char *kwnames
[] = {
40065 (char *) "self",(char *) "button", NULL
40068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40070 if (SWIG_arg_fail(1)) SWIG_fail
;
40071 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40072 if (SWIG_arg_fail(2)) SWIG_fail
;
40074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40075 (arg1
)->AddButton(arg2
);
40077 wxPyEndAllowThreads(__tstate
);
40078 if (PyErr_Occurred()) SWIG_fail
;
40080 Py_INCREF(Py_None
); resultobj
= Py_None
;
40087 static PyObject
*_wrap_StdDialogButtonSizer_Finalise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40088 PyObject
*resultobj
;
40089 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40090 PyObject
* obj0
= 0 ;
40091 char *kwnames
[] = {
40092 (char *) "self", NULL
40095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Finalise",kwnames
,&obj0
)) goto fail
;
40096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40097 if (SWIG_arg_fail(1)) SWIG_fail
;
40099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40100 (arg1
)->Finalise();
40102 wxPyEndAllowThreads(__tstate
);
40103 if (PyErr_Occurred()) SWIG_fail
;
40105 Py_INCREF(Py_None
); resultobj
= Py_None
;
40112 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40113 PyObject
*resultobj
;
40114 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40116 PyObject
* obj0
= 0 ;
40117 char *kwnames
[] = {
40118 (char *) "self", NULL
40121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
40122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40123 if (SWIG_arg_fail(1)) SWIG_fail
;
40125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40126 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
40128 wxPyEndAllowThreads(__tstate
);
40129 if (PyErr_Occurred()) SWIG_fail
;
40132 resultobj
= wxPyMake_wxObject(result
, 0);
40140 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40141 PyObject
*resultobj
;
40142 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40144 PyObject
* obj0
= 0 ;
40145 char *kwnames
[] = {
40146 (char *) "self", NULL
40149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
40150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40151 if (SWIG_arg_fail(1)) SWIG_fail
;
40153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40154 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
40156 wxPyEndAllowThreads(__tstate
);
40157 if (PyErr_Occurred()) SWIG_fail
;
40160 resultobj
= wxPyMake_wxObject(result
, 0);
40168 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40169 PyObject
*resultobj
;
40170 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40172 PyObject
* obj0
= 0 ;
40173 char *kwnames
[] = {
40174 (char *) "self", NULL
40177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
40178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40179 if (SWIG_arg_fail(1)) SWIG_fail
;
40181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40182 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
40184 wxPyEndAllowThreads(__tstate
);
40185 if (PyErr_Occurred()) SWIG_fail
;
40188 resultobj
= wxPyMake_wxObject(result
, 0);
40196 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40197 PyObject
*resultobj
;
40198 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40200 PyObject
* obj0
= 0 ;
40201 char *kwnames
[] = {
40202 (char *) "self", NULL
40205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
40206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40207 if (SWIG_arg_fail(1)) SWIG_fail
;
40209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40210 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
40212 wxPyEndAllowThreads(__tstate
);
40213 if (PyErr_Occurred()) SWIG_fail
;
40216 resultobj
= wxPyMake_wxObject(result
, 0);
40224 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40225 PyObject
*resultobj
;
40226 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40228 PyObject
* obj0
= 0 ;
40229 char *kwnames
[] = {
40230 (char *) "self", NULL
40233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
40234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40235 if (SWIG_arg_fail(1)) SWIG_fail
;
40237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40238 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
40240 wxPyEndAllowThreads(__tstate
);
40241 if (PyErr_Occurred()) SWIG_fail
;
40244 resultobj
= wxPyMake_wxObject(result
, 0);
40252 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
40254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40255 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
40257 return Py_BuildValue((char *)"");
40259 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40260 PyObject
*resultobj
;
40261 int arg1
= (int) 0 ;
40262 int arg2
= (int) 0 ;
40263 wxGBPosition
*result
;
40264 PyObject
* obj0
= 0 ;
40265 PyObject
* obj1
= 0 ;
40266 char *kwnames
[] = {
40267 (char *) "row",(char *) "col", NULL
40270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
40273 arg1
= (int)(SWIG_As_int(obj0
));
40274 if (SWIG_arg_fail(1)) SWIG_fail
;
40279 arg2
= (int)(SWIG_As_int(obj1
));
40280 if (SWIG_arg_fail(2)) SWIG_fail
;
40284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40285 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
40287 wxPyEndAllowThreads(__tstate
);
40288 if (PyErr_Occurred()) SWIG_fail
;
40290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
40297 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40298 PyObject
*resultobj
;
40299 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40301 PyObject
* obj0
= 0 ;
40302 char *kwnames
[] = {
40303 (char *) "self", NULL
40306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
40307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40308 if (SWIG_arg_fail(1)) SWIG_fail
;
40310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40311 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
40313 wxPyEndAllowThreads(__tstate
);
40314 if (PyErr_Occurred()) SWIG_fail
;
40317 resultobj
= SWIG_From_int((int)(result
));
40325 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40326 PyObject
*resultobj
;
40327 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40329 PyObject
* obj0
= 0 ;
40330 char *kwnames
[] = {
40331 (char *) "self", NULL
40334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
40335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40336 if (SWIG_arg_fail(1)) SWIG_fail
;
40338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40339 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
40341 wxPyEndAllowThreads(__tstate
);
40342 if (PyErr_Occurred()) SWIG_fail
;
40345 resultobj
= SWIG_From_int((int)(result
));
40353 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40354 PyObject
*resultobj
;
40355 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40357 PyObject
* obj0
= 0 ;
40358 PyObject
* obj1
= 0 ;
40359 char *kwnames
[] = {
40360 (char *) "self",(char *) "row", NULL
40363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40365 if (SWIG_arg_fail(1)) SWIG_fail
;
40367 arg2
= (int)(SWIG_As_int(obj1
));
40368 if (SWIG_arg_fail(2)) SWIG_fail
;
40371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40372 (arg1
)->SetRow(arg2
);
40374 wxPyEndAllowThreads(__tstate
);
40375 if (PyErr_Occurred()) SWIG_fail
;
40377 Py_INCREF(Py_None
); resultobj
= Py_None
;
40384 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40385 PyObject
*resultobj
;
40386 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40388 PyObject
* obj0
= 0 ;
40389 PyObject
* obj1
= 0 ;
40390 char *kwnames
[] = {
40391 (char *) "self",(char *) "col", NULL
40394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40396 if (SWIG_arg_fail(1)) SWIG_fail
;
40398 arg2
= (int)(SWIG_As_int(obj1
));
40399 if (SWIG_arg_fail(2)) SWIG_fail
;
40402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40403 (arg1
)->SetCol(arg2
);
40405 wxPyEndAllowThreads(__tstate
);
40406 if (PyErr_Occurred()) SWIG_fail
;
40408 Py_INCREF(Py_None
); resultobj
= Py_None
;
40415 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40416 PyObject
*resultobj
;
40417 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40418 wxGBPosition
*arg2
= 0 ;
40420 wxGBPosition temp2
;
40421 PyObject
* obj0
= 0 ;
40422 PyObject
* obj1
= 0 ;
40423 char *kwnames
[] = {
40424 (char *) "self",(char *) "other", NULL
40427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
40428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40429 if (SWIG_arg_fail(1)) SWIG_fail
;
40432 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40436 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
40438 wxPyEndAllowThreads(__tstate
);
40439 if (PyErr_Occurred()) SWIG_fail
;
40442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40450 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40451 PyObject
*resultobj
;
40452 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40453 wxGBPosition
*arg2
= 0 ;
40455 wxGBPosition temp2
;
40456 PyObject
* obj0
= 0 ;
40457 PyObject
* obj1
= 0 ;
40458 char *kwnames
[] = {
40459 (char *) "self",(char *) "other", NULL
40462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
40463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40464 if (SWIG_arg_fail(1)) SWIG_fail
;
40467 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40471 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
40473 wxPyEndAllowThreads(__tstate
);
40474 if (PyErr_Occurred()) SWIG_fail
;
40477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40485 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40486 PyObject
*resultobj
;
40487 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40488 int arg2
= (int) 0 ;
40489 int arg3
= (int) 0 ;
40490 PyObject
* obj0
= 0 ;
40491 PyObject
* obj1
= 0 ;
40492 PyObject
* obj2
= 0 ;
40493 char *kwnames
[] = {
40494 (char *) "self",(char *) "row",(char *) "col", NULL
40497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40499 if (SWIG_arg_fail(1)) SWIG_fail
;
40502 arg2
= (int)(SWIG_As_int(obj1
));
40503 if (SWIG_arg_fail(2)) SWIG_fail
;
40508 arg3
= (int)(SWIG_As_int(obj2
));
40509 if (SWIG_arg_fail(3)) SWIG_fail
;
40513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40514 wxGBPosition_Set(arg1
,arg2
,arg3
);
40516 wxPyEndAllowThreads(__tstate
);
40517 if (PyErr_Occurred()) SWIG_fail
;
40519 Py_INCREF(Py_None
); resultobj
= Py_None
;
40526 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40527 PyObject
*resultobj
;
40528 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
40530 PyObject
* obj0
= 0 ;
40531 char *kwnames
[] = {
40532 (char *) "self", NULL
40535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
40536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
40537 if (SWIG_arg_fail(1)) SWIG_fail
;
40539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40540 result
= (PyObject
*)wxGBPosition_Get(arg1
);
40542 wxPyEndAllowThreads(__tstate
);
40543 if (PyErr_Occurred()) SWIG_fail
;
40545 resultobj
= result
;
40552 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
40554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40555 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
40557 return Py_BuildValue((char *)"");
40559 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40560 PyObject
*resultobj
;
40561 int arg1
= (int) 1 ;
40562 int arg2
= (int) 1 ;
40564 PyObject
* obj0
= 0 ;
40565 PyObject
* obj1
= 0 ;
40566 char *kwnames
[] = {
40567 (char *) "rowspan",(char *) "colspan", NULL
40570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
40573 arg1
= (int)(SWIG_As_int(obj0
));
40574 if (SWIG_arg_fail(1)) SWIG_fail
;
40579 arg2
= (int)(SWIG_As_int(obj1
));
40580 if (SWIG_arg_fail(2)) SWIG_fail
;
40584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40585 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
40587 wxPyEndAllowThreads(__tstate
);
40588 if (PyErr_Occurred()) SWIG_fail
;
40590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
40597 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40598 PyObject
*resultobj
;
40599 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40601 PyObject
* obj0
= 0 ;
40602 char *kwnames
[] = {
40603 (char *) "self", NULL
40606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
40607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40608 if (SWIG_arg_fail(1)) SWIG_fail
;
40610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40611 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
40613 wxPyEndAllowThreads(__tstate
);
40614 if (PyErr_Occurred()) SWIG_fail
;
40617 resultobj
= SWIG_From_int((int)(result
));
40625 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40626 PyObject
*resultobj
;
40627 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40629 PyObject
* obj0
= 0 ;
40630 char *kwnames
[] = {
40631 (char *) "self", NULL
40634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
40635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40636 if (SWIG_arg_fail(1)) SWIG_fail
;
40638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40639 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
40641 wxPyEndAllowThreads(__tstate
);
40642 if (PyErr_Occurred()) SWIG_fail
;
40645 resultobj
= SWIG_From_int((int)(result
));
40653 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40654 PyObject
*resultobj
;
40655 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40657 PyObject
* obj0
= 0 ;
40658 PyObject
* obj1
= 0 ;
40659 char *kwnames
[] = {
40660 (char *) "self",(char *) "rowspan", NULL
40663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
40664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40665 if (SWIG_arg_fail(1)) SWIG_fail
;
40667 arg2
= (int)(SWIG_As_int(obj1
));
40668 if (SWIG_arg_fail(2)) SWIG_fail
;
40671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40672 (arg1
)->SetRowspan(arg2
);
40674 wxPyEndAllowThreads(__tstate
);
40675 if (PyErr_Occurred()) SWIG_fail
;
40677 Py_INCREF(Py_None
); resultobj
= Py_None
;
40684 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40685 PyObject
*resultobj
;
40686 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40688 PyObject
* obj0
= 0 ;
40689 PyObject
* obj1
= 0 ;
40690 char *kwnames
[] = {
40691 (char *) "self",(char *) "colspan", NULL
40694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
40695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40696 if (SWIG_arg_fail(1)) SWIG_fail
;
40698 arg2
= (int)(SWIG_As_int(obj1
));
40699 if (SWIG_arg_fail(2)) SWIG_fail
;
40702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40703 (arg1
)->SetColspan(arg2
);
40705 wxPyEndAllowThreads(__tstate
);
40706 if (PyErr_Occurred()) SWIG_fail
;
40708 Py_INCREF(Py_None
); resultobj
= Py_None
;
40715 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40716 PyObject
*resultobj
;
40717 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40718 wxGBSpan
*arg2
= 0 ;
40721 PyObject
* obj0
= 0 ;
40722 PyObject
* obj1
= 0 ;
40723 char *kwnames
[] = {
40724 (char *) "self",(char *) "other", NULL
40727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
40728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40729 if (SWIG_arg_fail(1)) SWIG_fail
;
40732 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
40735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40736 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
40738 wxPyEndAllowThreads(__tstate
);
40739 if (PyErr_Occurred()) SWIG_fail
;
40742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40750 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40751 PyObject
*resultobj
;
40752 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40753 wxGBSpan
*arg2
= 0 ;
40756 PyObject
* obj0
= 0 ;
40757 PyObject
* obj1
= 0 ;
40758 char *kwnames
[] = {
40759 (char *) "self",(char *) "other", NULL
40762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
40763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40764 if (SWIG_arg_fail(1)) SWIG_fail
;
40767 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
40770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40771 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
40773 wxPyEndAllowThreads(__tstate
);
40774 if (PyErr_Occurred()) SWIG_fail
;
40777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40785 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40786 PyObject
*resultobj
;
40787 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40788 int arg2
= (int) 1 ;
40789 int arg3
= (int) 1 ;
40790 PyObject
* obj0
= 0 ;
40791 PyObject
* obj1
= 0 ;
40792 PyObject
* obj2
= 0 ;
40793 char *kwnames
[] = {
40794 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
40797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40799 if (SWIG_arg_fail(1)) SWIG_fail
;
40802 arg2
= (int)(SWIG_As_int(obj1
));
40803 if (SWIG_arg_fail(2)) SWIG_fail
;
40808 arg3
= (int)(SWIG_As_int(obj2
));
40809 if (SWIG_arg_fail(3)) SWIG_fail
;
40813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40814 wxGBSpan_Set(arg1
,arg2
,arg3
);
40816 wxPyEndAllowThreads(__tstate
);
40817 if (PyErr_Occurred()) SWIG_fail
;
40819 Py_INCREF(Py_None
); resultobj
= Py_None
;
40826 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40827 PyObject
*resultobj
;
40828 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
40830 PyObject
* obj0
= 0 ;
40831 char *kwnames
[] = {
40832 (char *) "self", NULL
40835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
40836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
40837 if (SWIG_arg_fail(1)) SWIG_fail
;
40839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40840 result
= (PyObject
*)wxGBSpan_Get(arg1
);
40842 wxPyEndAllowThreads(__tstate
);
40843 if (PyErr_Occurred()) SWIG_fail
;
40845 resultobj
= result
;
40852 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
40854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40855 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
40857 return Py_BuildValue((char *)"");
40859 static int _wrap_DefaultSpan_set(PyObject
*) {
40860 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
40865 static PyObject
*_wrap_DefaultSpan_get(void) {
40868 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
40873 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40874 PyObject
*resultobj
;
40875 wxGBSizerItem
*result
;
40876 char *kwnames
[] = {
40880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
40882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40883 result
= (wxGBSizerItem
*)new wxGBSizerItem();
40885 wxPyEndAllowThreads(__tstate
);
40886 if (PyErr_Occurred()) SWIG_fail
;
40888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
40895 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40896 PyObject
*resultobj
;
40897 wxWindow
*arg1
= (wxWindow
*) 0 ;
40898 wxGBPosition
*arg2
= 0 ;
40899 wxGBSpan
*arg3
= 0 ;
40902 PyObject
*arg6
= (PyObject
*) NULL
;
40903 wxGBSizerItem
*result
;
40904 wxGBPosition temp2
;
40906 PyObject
* obj0
= 0 ;
40907 PyObject
* obj1
= 0 ;
40908 PyObject
* obj2
= 0 ;
40909 PyObject
* obj3
= 0 ;
40910 PyObject
* obj4
= 0 ;
40911 PyObject
* obj5
= 0 ;
40912 char *kwnames
[] = {
40913 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
40916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40918 if (SWIG_arg_fail(1)) SWIG_fail
;
40921 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40925 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40928 arg4
= (int)(SWIG_As_int(obj3
));
40929 if (SWIG_arg_fail(4)) SWIG_fail
;
40932 arg5
= (int)(SWIG_As_int(obj4
));
40933 if (SWIG_arg_fail(5)) SWIG_fail
;
40939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40940 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
40942 wxPyEndAllowThreads(__tstate
);
40943 if (PyErr_Occurred()) SWIG_fail
;
40945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
40952 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40953 PyObject
*resultobj
;
40954 wxSizer
*arg1
= (wxSizer
*) 0 ;
40955 wxGBPosition
*arg2
= 0 ;
40956 wxGBSpan
*arg3
= 0 ;
40959 PyObject
*arg6
= (PyObject
*) NULL
;
40960 wxGBSizerItem
*result
;
40961 wxGBPosition temp2
;
40963 PyObject
* obj0
= 0 ;
40964 PyObject
* obj1
= 0 ;
40965 PyObject
* obj2
= 0 ;
40966 PyObject
* obj3
= 0 ;
40967 PyObject
* obj4
= 0 ;
40968 PyObject
* obj5
= 0 ;
40969 char *kwnames
[] = {
40970 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
40973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
40974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40975 if (SWIG_arg_fail(1)) SWIG_fail
;
40978 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
40982 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
40985 arg4
= (int)(SWIG_As_int(obj3
));
40986 if (SWIG_arg_fail(4)) SWIG_fail
;
40989 arg5
= (int)(SWIG_As_int(obj4
));
40990 if (SWIG_arg_fail(5)) SWIG_fail
;
40996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40997 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
40999 wxPyEndAllowThreads(__tstate
);
41000 if (PyErr_Occurred()) SWIG_fail
;
41002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41009 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41010 PyObject
*resultobj
;
41013 wxGBPosition
*arg3
= 0 ;
41014 wxGBSpan
*arg4
= 0 ;
41017 PyObject
*arg7
= (PyObject
*) NULL
;
41018 wxGBSizerItem
*result
;
41019 wxGBPosition temp3
;
41021 PyObject
* obj0
= 0 ;
41022 PyObject
* obj1
= 0 ;
41023 PyObject
* obj2
= 0 ;
41024 PyObject
* obj3
= 0 ;
41025 PyObject
* obj4
= 0 ;
41026 PyObject
* obj5
= 0 ;
41027 PyObject
* obj6
= 0 ;
41028 char *kwnames
[] = {
41029 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41034 arg1
= (int)(SWIG_As_int(obj0
));
41035 if (SWIG_arg_fail(1)) SWIG_fail
;
41038 arg2
= (int)(SWIG_As_int(obj1
));
41039 if (SWIG_arg_fail(2)) SWIG_fail
;
41043 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41047 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41050 arg5
= (int)(SWIG_As_int(obj4
));
41051 if (SWIG_arg_fail(5)) SWIG_fail
;
41054 arg6
= (int)(SWIG_As_int(obj5
));
41055 if (SWIG_arg_fail(6)) SWIG_fail
;
41061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41062 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41064 wxPyEndAllowThreads(__tstate
);
41065 if (PyErr_Occurred()) SWIG_fail
;
41067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41074 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41075 PyObject
*resultobj
;
41076 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41077 wxGBPosition result
;
41078 PyObject
* obj0
= 0 ;
41079 char *kwnames
[] = {
41080 (char *) "self", NULL
41083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
41084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41085 if (SWIG_arg_fail(1)) SWIG_fail
;
41087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41088 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
41090 wxPyEndAllowThreads(__tstate
);
41091 if (PyErr_Occurred()) SWIG_fail
;
41094 wxGBPosition
* resultptr
;
41095 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41104 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41105 PyObject
*resultobj
;
41106 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41108 PyObject
* obj0
= 0 ;
41109 char *kwnames
[] = {
41110 (char *) "self", NULL
41113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
41114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41115 if (SWIG_arg_fail(1)) SWIG_fail
;
41117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41118 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
41120 wxPyEndAllowThreads(__tstate
);
41121 if (PyErr_Occurred()) SWIG_fail
;
41124 wxGBSpan
* resultptr
;
41125 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
41126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
41134 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41135 PyObject
*resultobj
;
41136 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41137 wxGBPosition
*arg2
= 0 ;
41139 wxGBPosition temp2
;
41140 PyObject
* obj0
= 0 ;
41141 PyObject
* obj1
= 0 ;
41142 char *kwnames
[] = {
41143 (char *) "self",(char *) "pos", NULL
41146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
41147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41148 if (SWIG_arg_fail(1)) SWIG_fail
;
41151 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41155 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
41157 wxPyEndAllowThreads(__tstate
);
41158 if (PyErr_Occurred()) SWIG_fail
;
41161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41169 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41170 PyObject
*resultobj
;
41171 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41172 wxGBSpan
*arg2
= 0 ;
41175 PyObject
* obj0
= 0 ;
41176 PyObject
* obj1
= 0 ;
41177 char *kwnames
[] = {
41178 (char *) "self",(char *) "span", NULL
41181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41183 if (SWIG_arg_fail(1)) SWIG_fail
;
41186 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41190 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
41192 wxPyEndAllowThreads(__tstate
);
41193 if (PyErr_Occurred()) SWIG_fail
;
41196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41204 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41205 PyObject
*resultobj
;
41206 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41207 wxGBSizerItem
*arg2
= 0 ;
41209 PyObject
* obj0
= 0 ;
41210 PyObject
* obj1
= 0 ;
41211 char *kwnames
[] = {
41212 (char *) "self",(char *) "other", NULL
41215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
41216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41217 if (SWIG_arg_fail(1)) SWIG_fail
;
41219 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41220 if (SWIG_arg_fail(2)) SWIG_fail
;
41221 if (arg2
== NULL
) {
41222 SWIG_null_ref("wxGBSizerItem");
41224 if (SWIG_arg_fail(2)) SWIG_fail
;
41227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41228 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
41230 wxPyEndAllowThreads(__tstate
);
41231 if (PyErr_Occurred()) SWIG_fail
;
41234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41242 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41243 PyObject
*resultobj
;
41244 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41245 wxGBPosition
*arg2
= 0 ;
41246 wxGBSpan
*arg3
= 0 ;
41248 wxGBPosition temp2
;
41250 PyObject
* obj0
= 0 ;
41251 PyObject
* obj1
= 0 ;
41252 PyObject
* obj2
= 0 ;
41253 char *kwnames
[] = {
41254 (char *) "self",(char *) "pos",(char *) "span", NULL
41257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41259 if (SWIG_arg_fail(1)) SWIG_fail
;
41262 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41266 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41270 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
41272 wxPyEndAllowThreads(__tstate
);
41273 if (PyErr_Occurred()) SWIG_fail
;
41276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41284 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41285 PyObject
*resultobj
;
41286 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41287 wxGBPosition result
;
41288 PyObject
* obj0
= 0 ;
41289 char *kwnames
[] = {
41290 (char *) "self", NULL
41293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
41294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41295 if (SWIG_arg_fail(1)) SWIG_fail
;
41297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41298 result
= wxGBSizerItem_GetEndPos(arg1
);
41300 wxPyEndAllowThreads(__tstate
);
41301 if (PyErr_Occurred()) SWIG_fail
;
41304 wxGBPosition
* resultptr
;
41305 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41314 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41315 PyObject
*resultobj
;
41316 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41317 wxGridBagSizer
*result
;
41318 PyObject
* obj0
= 0 ;
41319 char *kwnames
[] = {
41320 (char *) "self", NULL
41323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
41324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41325 if (SWIG_arg_fail(1)) SWIG_fail
;
41327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41328 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
41330 wxPyEndAllowThreads(__tstate
);
41331 if (PyErr_Occurred()) SWIG_fail
;
41333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
41340 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41341 PyObject
*resultobj
;
41342 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
41343 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
41344 PyObject
* obj0
= 0 ;
41345 PyObject
* obj1
= 0 ;
41346 char *kwnames
[] = {
41347 (char *) "self",(char *) "sizer", NULL
41350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41352 if (SWIG_arg_fail(1)) SWIG_fail
;
41353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41354 if (SWIG_arg_fail(2)) SWIG_fail
;
41356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41357 (arg1
)->SetGBSizer(arg2
);
41359 wxPyEndAllowThreads(__tstate
);
41360 if (PyErr_Occurred()) SWIG_fail
;
41362 Py_INCREF(Py_None
); resultobj
= Py_None
;
41369 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
41371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41372 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
41374 return Py_BuildValue((char *)"");
41376 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41377 PyObject
*resultobj
;
41378 int arg1
= (int) 0 ;
41379 int arg2
= (int) 0 ;
41380 wxGridBagSizer
*result
;
41381 PyObject
* obj0
= 0 ;
41382 PyObject
* obj1
= 0 ;
41383 char *kwnames
[] = {
41384 (char *) "vgap",(char *) "hgap", NULL
41387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
41390 arg1
= (int)(SWIG_As_int(obj0
));
41391 if (SWIG_arg_fail(1)) SWIG_fail
;
41396 arg2
= (int)(SWIG_As_int(obj1
));
41397 if (SWIG_arg_fail(2)) SWIG_fail
;
41401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41402 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
41404 wxPyEndAllowThreads(__tstate
);
41405 if (PyErr_Occurred()) SWIG_fail
;
41407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
41414 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41415 PyObject
*resultobj
;
41416 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41417 PyObject
*arg2
= (PyObject
*) 0 ;
41418 wxGBPosition
*arg3
= 0 ;
41419 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
41420 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
41421 int arg5
= (int) 0 ;
41422 int arg6
= (int) 0 ;
41423 PyObject
*arg7
= (PyObject
*) NULL
;
41424 wxGBSizerItem
*result
;
41425 wxGBPosition temp3
;
41427 PyObject
* obj0
= 0 ;
41428 PyObject
* obj1
= 0 ;
41429 PyObject
* obj2
= 0 ;
41430 PyObject
* obj3
= 0 ;
41431 PyObject
* obj4
= 0 ;
41432 PyObject
* obj5
= 0 ;
41433 PyObject
* obj6
= 0 ;
41434 char *kwnames
[] = {
41435 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
41439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41440 if (SWIG_arg_fail(1)) SWIG_fail
;
41444 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41449 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
41454 arg5
= (int)(SWIG_As_int(obj4
));
41455 if (SWIG_arg_fail(5)) SWIG_fail
;
41460 arg6
= (int)(SWIG_As_int(obj5
));
41461 if (SWIG_arg_fail(6)) SWIG_fail
;
41468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41469 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
41471 wxPyEndAllowThreads(__tstate
);
41472 if (PyErr_Occurred()) SWIG_fail
;
41474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41481 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41482 PyObject
*resultobj
;
41483 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41484 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
41485 wxGBSizerItem
*result
;
41486 PyObject
* obj0
= 0 ;
41487 PyObject
* obj1
= 0 ;
41488 char *kwnames
[] = {
41489 (char *) "self",(char *) "item", NULL
41492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
41493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41494 if (SWIG_arg_fail(1)) SWIG_fail
;
41495 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
41496 if (SWIG_arg_fail(2)) SWIG_fail
;
41498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41499 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
41501 wxPyEndAllowThreads(__tstate
);
41502 if (PyErr_Occurred()) SWIG_fail
;
41504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
41511 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41512 PyObject
*resultobj
;
41513 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41517 PyObject
* obj0
= 0 ;
41518 PyObject
* obj1
= 0 ;
41519 PyObject
* obj2
= 0 ;
41520 char *kwnames
[] = {
41521 (char *) "self",(char *) "row",(char *) "col", NULL
41524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41526 if (SWIG_arg_fail(1)) SWIG_fail
;
41528 arg2
= (int)(SWIG_As_int(obj1
));
41529 if (SWIG_arg_fail(2)) SWIG_fail
;
41532 arg3
= (int)(SWIG_As_int(obj2
));
41533 if (SWIG_arg_fail(3)) SWIG_fail
;
41536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41537 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
41539 wxPyEndAllowThreads(__tstate
);
41540 if (PyErr_Occurred()) SWIG_fail
;
41543 wxSize
* resultptr
;
41544 resultptr
= new wxSize((wxSize
&)(result
));
41545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
41553 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41554 PyObject
*resultobj
;
41555 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41557 PyObject
* obj0
= 0 ;
41558 char *kwnames
[] = {
41559 (char *) "self", NULL
41562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
41563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41564 if (SWIG_arg_fail(1)) SWIG_fail
;
41566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41567 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
41569 wxPyEndAllowThreads(__tstate
);
41570 if (PyErr_Occurred()) SWIG_fail
;
41573 wxSize
* resultptr
;
41574 resultptr
= new wxSize((wxSize
&)(result
));
41575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
41583 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41584 PyObject
*resultobj
;
41585 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41588 PyObject
* obj0
= 0 ;
41589 PyObject
* obj1
= 0 ;
41590 char *kwnames
[] = {
41591 (char *) "self",(char *) "sz", NULL
41594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
41595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41596 if (SWIG_arg_fail(1)) SWIG_fail
;
41599 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
41602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41603 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
41605 wxPyEndAllowThreads(__tstate
);
41606 if (PyErr_Occurred()) SWIG_fail
;
41608 Py_INCREF(Py_None
); resultobj
= Py_None
;
41615 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
41616 PyObject
*resultobj
;
41617 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41618 wxWindow
*arg2
= (wxWindow
*) 0 ;
41619 wxGBPosition result
;
41620 PyObject
* obj0
= 0 ;
41621 PyObject
* obj1
= 0 ;
41623 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41625 if (SWIG_arg_fail(1)) SWIG_fail
;
41626 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41627 if (SWIG_arg_fail(2)) SWIG_fail
;
41629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41630 result
= (arg1
)->GetItemPosition(arg2
);
41632 wxPyEndAllowThreads(__tstate
);
41633 if (PyErr_Occurred()) SWIG_fail
;
41636 wxGBPosition
* resultptr
;
41637 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41646 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
41647 PyObject
*resultobj
;
41648 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41649 wxSizer
*arg2
= (wxSizer
*) 0 ;
41650 wxGBPosition result
;
41651 PyObject
* obj0
= 0 ;
41652 PyObject
* obj1
= 0 ;
41654 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41656 if (SWIG_arg_fail(1)) SWIG_fail
;
41657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41658 if (SWIG_arg_fail(2)) SWIG_fail
;
41660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41661 result
= (arg1
)->GetItemPosition(arg2
);
41663 wxPyEndAllowThreads(__tstate
);
41664 if (PyErr_Occurred()) SWIG_fail
;
41667 wxGBPosition
* resultptr
;
41668 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41677 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
41678 PyObject
*resultobj
;
41679 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41681 wxGBPosition result
;
41682 PyObject
* obj0
= 0 ;
41683 PyObject
* obj1
= 0 ;
41685 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
41686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41687 if (SWIG_arg_fail(1)) SWIG_fail
;
41689 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41690 if (SWIG_arg_fail(2)) SWIG_fail
;
41693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41694 result
= (arg1
)->GetItemPosition(arg2
);
41696 wxPyEndAllowThreads(__tstate
);
41697 if (PyErr_Occurred()) SWIG_fail
;
41700 wxGBPosition
* resultptr
;
41701 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
41702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
41710 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
41715 argc
= PyObject_Length(args
);
41716 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
41717 argv
[ii
] = PyTuple_GetItem(args
,ii
);
41723 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41733 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
41741 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
41749 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41759 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
41767 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
41775 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41783 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
41785 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
41790 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
41795 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
41796 PyObject
*resultobj
;
41797 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41798 wxWindow
*arg2
= (wxWindow
*) 0 ;
41799 wxGBPosition
*arg3
= 0 ;
41801 wxGBPosition temp3
;
41802 PyObject
* obj0
= 0 ;
41803 PyObject
* obj1
= 0 ;
41804 PyObject
* obj2
= 0 ;
41806 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
41807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41808 if (SWIG_arg_fail(1)) SWIG_fail
;
41809 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41810 if (SWIG_arg_fail(2)) SWIG_fail
;
41813 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41817 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
41819 wxPyEndAllowThreads(__tstate
);
41820 if (PyErr_Occurred()) SWIG_fail
;
41823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41831 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
41832 PyObject
*resultobj
;
41833 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41834 wxSizer
*arg2
= (wxSizer
*) 0 ;
41835 wxGBPosition
*arg3
= 0 ;
41837 wxGBPosition temp3
;
41838 PyObject
* obj0
= 0 ;
41839 PyObject
* obj1
= 0 ;
41840 PyObject
* obj2
= 0 ;
41842 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
41843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41844 if (SWIG_arg_fail(1)) SWIG_fail
;
41845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41846 if (SWIG_arg_fail(2)) SWIG_fail
;
41849 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41853 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
41855 wxPyEndAllowThreads(__tstate
);
41856 if (PyErr_Occurred()) SWIG_fail
;
41859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41867 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
41868 PyObject
*resultobj
;
41869 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
41871 wxGBPosition
*arg3
= 0 ;
41873 wxGBPosition temp3
;
41874 PyObject
* obj0
= 0 ;
41875 PyObject
* obj1
= 0 ;
41876 PyObject
* obj2
= 0 ;
41878 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
41879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
41880 if (SWIG_arg_fail(1)) SWIG_fail
;
41882 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41883 if (SWIG_arg_fail(2)) SWIG_fail
;
41887 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
41890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41891 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
41893 wxPyEndAllowThreads(__tstate
);
41894 if (PyErr_Occurred()) SWIG_fail
;
41897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41905 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
41910 argc
= PyObject_Length(args
);
41911 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
41912 argv
[ii
] = PyTuple_GetItem(args
,ii
);
41918 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41928 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
41937 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
41940 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
41949 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41959 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
41968 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
41971 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
41980 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
41988 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
41991 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
41994 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42000 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42005 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42006 PyObject
*resultobj
;
42007 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42008 wxWindow
*arg2
= (wxWindow
*) 0 ;
42010 PyObject
* obj0
= 0 ;
42011 PyObject
* obj1
= 0 ;
42013 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42015 if (SWIG_arg_fail(1)) SWIG_fail
;
42016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42017 if (SWIG_arg_fail(2)) SWIG_fail
;
42019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42020 result
= (arg1
)->GetItemSpan(arg2
);
42022 wxPyEndAllowThreads(__tstate
);
42023 if (PyErr_Occurred()) SWIG_fail
;
42026 wxGBSpan
* resultptr
;
42027 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42036 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42037 PyObject
*resultobj
;
42038 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42039 wxSizer
*arg2
= (wxSizer
*) 0 ;
42041 PyObject
* obj0
= 0 ;
42042 PyObject
* obj1
= 0 ;
42044 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42046 if (SWIG_arg_fail(1)) SWIG_fail
;
42047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42048 if (SWIG_arg_fail(2)) SWIG_fail
;
42050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42051 result
= (arg1
)->GetItemSpan(arg2
);
42053 wxPyEndAllowThreads(__tstate
);
42054 if (PyErr_Occurred()) SWIG_fail
;
42057 wxGBSpan
* resultptr
;
42058 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42067 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42068 PyObject
*resultobj
;
42069 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42072 PyObject
* obj0
= 0 ;
42073 PyObject
* obj1
= 0 ;
42075 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42077 if (SWIG_arg_fail(1)) SWIG_fail
;
42079 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42080 if (SWIG_arg_fail(2)) SWIG_fail
;
42083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42084 result
= (arg1
)->GetItemSpan(arg2
);
42086 wxPyEndAllowThreads(__tstate
);
42087 if (PyErr_Occurred()) SWIG_fail
;
42090 wxGBSpan
* resultptr
;
42091 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42100 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
42105 argc
= PyObject_Length(args
);
42106 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42107 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42113 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42123 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42131 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
42139 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42149 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42157 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
42165 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42173 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42175 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
42180 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
42185 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42186 PyObject
*resultobj
;
42187 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42188 wxWindow
*arg2
= (wxWindow
*) 0 ;
42189 wxGBSpan
*arg3
= 0 ;
42192 PyObject
* obj0
= 0 ;
42193 PyObject
* obj1
= 0 ;
42194 PyObject
* obj2
= 0 ;
42196 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42198 if (SWIG_arg_fail(1)) SWIG_fail
;
42199 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42200 if (SWIG_arg_fail(2)) SWIG_fail
;
42203 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42207 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42209 wxPyEndAllowThreads(__tstate
);
42210 if (PyErr_Occurred()) SWIG_fail
;
42213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42221 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
42222 PyObject
*resultobj
;
42223 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42224 wxSizer
*arg2
= (wxSizer
*) 0 ;
42225 wxGBSpan
*arg3
= 0 ;
42228 PyObject
* obj0
= 0 ;
42229 PyObject
* obj1
= 0 ;
42230 PyObject
* obj2
= 0 ;
42232 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42234 if (SWIG_arg_fail(1)) SWIG_fail
;
42235 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42236 if (SWIG_arg_fail(2)) SWIG_fail
;
42239 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42243 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42245 wxPyEndAllowThreads(__tstate
);
42246 if (PyErr_Occurred()) SWIG_fail
;
42249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42257 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
42258 PyObject
*resultobj
;
42259 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42261 wxGBSpan
*arg3
= 0 ;
42264 PyObject
* obj0
= 0 ;
42265 PyObject
* obj1
= 0 ;
42266 PyObject
* obj2
= 0 ;
42268 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
42269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42270 if (SWIG_arg_fail(1)) SWIG_fail
;
42272 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42273 if (SWIG_arg_fail(2)) SWIG_fail
;
42277 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42281 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
42283 wxPyEndAllowThreads(__tstate
);
42284 if (PyErr_Occurred()) SWIG_fail
;
42287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42295 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
42300 argc
= PyObject_Length(args
);
42301 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42302 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42308 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42318 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42327 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42330 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
42339 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42349 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42358 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42361 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
42370 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42378 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42381 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
42384 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
42390 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
42395 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
42396 PyObject
*resultobj
;
42397 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42398 wxWindow
*arg2
= (wxWindow
*) 0 ;
42399 wxGBSizerItem
*result
;
42400 PyObject
* obj0
= 0 ;
42401 PyObject
* obj1
= 0 ;
42403 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42405 if (SWIG_arg_fail(1)) SWIG_fail
;
42406 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42407 if (SWIG_arg_fail(2)) SWIG_fail
;
42409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42410 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42412 wxPyEndAllowThreads(__tstate
);
42413 if (PyErr_Occurred()) SWIG_fail
;
42415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42422 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
42423 PyObject
*resultobj
;
42424 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42425 wxSizer
*arg2
= (wxSizer
*) 0 ;
42426 wxGBSizerItem
*result
;
42427 PyObject
* obj0
= 0 ;
42428 PyObject
* obj1
= 0 ;
42430 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
42431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42432 if (SWIG_arg_fail(1)) SWIG_fail
;
42433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42434 if (SWIG_arg_fail(2)) SWIG_fail
;
42436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42437 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
42439 wxPyEndAllowThreads(__tstate
);
42440 if (PyErr_Occurred()) SWIG_fail
;
42442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42449 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
42454 argc
= PyObject_Length(args
);
42455 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42456 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42462 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42472 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42480 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
42488 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42498 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42506 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
42511 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
42516 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42517 PyObject
*resultobj
;
42518 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42519 wxGBPosition
*arg2
= 0 ;
42520 wxGBSizerItem
*result
;
42521 wxGBPosition temp2
;
42522 PyObject
* obj0
= 0 ;
42523 PyObject
* obj1
= 0 ;
42524 char *kwnames
[] = {
42525 (char *) "self",(char *) "pos", NULL
42528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
42529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42530 if (SWIG_arg_fail(1)) SWIG_fail
;
42533 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42537 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
42539 wxPyEndAllowThreads(__tstate
);
42540 if (PyErr_Occurred()) SWIG_fail
;
42542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42549 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42550 PyObject
*resultobj
;
42551 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42552 wxPoint
*arg2
= 0 ;
42553 wxGBSizerItem
*result
;
42555 PyObject
* obj0
= 0 ;
42556 PyObject
* obj1
= 0 ;
42557 char *kwnames
[] = {
42558 (char *) "self",(char *) "pt", NULL
42561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
42562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42563 if (SWIG_arg_fail(1)) SWIG_fail
;
42566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
42569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42570 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
42572 wxPyEndAllowThreads(__tstate
);
42573 if (PyErr_Occurred()) SWIG_fail
;
42575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42582 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42583 PyObject
*resultobj
;
42584 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42585 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42586 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
42588 PyObject
* obj0
= 0 ;
42589 PyObject
* obj1
= 0 ;
42590 PyObject
* obj2
= 0 ;
42591 char *kwnames
[] = {
42592 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
42595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42597 if (SWIG_arg_fail(1)) SWIG_fail
;
42598 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42599 if (SWIG_arg_fail(2)) SWIG_fail
;
42601 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42602 if (SWIG_arg_fail(3)) SWIG_fail
;
42605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42606 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
42608 wxPyEndAllowThreads(__tstate
);
42609 if (PyErr_Occurred()) SWIG_fail
;
42612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42620 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42621 PyObject
*resultobj
;
42622 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42623 wxGBPosition
*arg2
= 0 ;
42624 wxGBSpan
*arg3
= 0 ;
42625 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
42627 wxGBPosition temp2
;
42629 PyObject
* obj0
= 0 ;
42630 PyObject
* obj1
= 0 ;
42631 PyObject
* obj2
= 0 ;
42632 PyObject
* obj3
= 0 ;
42633 char *kwnames
[] = {
42634 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
42637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
42638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42639 if (SWIG_arg_fail(1)) SWIG_fail
;
42642 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42646 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42649 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42650 if (SWIG_arg_fail(4)) SWIG_fail
;
42653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42654 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
42656 wxPyEndAllowThreads(__tstate
);
42657 if (PyErr_Occurred()) SWIG_fail
;
42660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42668 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
42670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42671 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
42673 return Py_BuildValue((char *)"");
42675 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42676 PyObject
*resultobj
;
42677 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42678 wxRelationship arg2
;
42679 wxWindow
*arg3
= (wxWindow
*) 0 ;
42681 int arg5
= (int) 0 ;
42682 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
42683 PyObject
* obj0
= 0 ;
42684 PyObject
* obj1
= 0 ;
42685 PyObject
* obj2
= 0 ;
42686 PyObject
* obj3
= 0 ;
42687 PyObject
* obj4
= 0 ;
42688 PyObject
* obj5
= 0 ;
42689 char *kwnames
[] = {
42690 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
42693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42695 if (SWIG_arg_fail(1)) SWIG_fail
;
42697 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
42698 if (SWIG_arg_fail(2)) SWIG_fail
;
42700 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42701 if (SWIG_arg_fail(3)) SWIG_fail
;
42703 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
42704 if (SWIG_arg_fail(4)) SWIG_fail
;
42708 arg5
= (int)(SWIG_As_int(obj4
));
42709 if (SWIG_arg_fail(5)) SWIG_fail
;
42714 arg6
= (int)(SWIG_As_int(obj5
));
42715 if (SWIG_arg_fail(6)) SWIG_fail
;
42719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42720 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
42722 wxPyEndAllowThreads(__tstate
);
42723 if (PyErr_Occurred()) SWIG_fail
;
42725 Py_INCREF(Py_None
); resultobj
= Py_None
;
42732 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42733 PyObject
*resultobj
;
42734 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42735 wxWindow
*arg2
= (wxWindow
*) 0 ;
42736 int arg3
= (int) 0 ;
42737 PyObject
* obj0
= 0 ;
42738 PyObject
* obj1
= 0 ;
42739 PyObject
* obj2
= 0 ;
42740 char *kwnames
[] = {
42741 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42746 if (SWIG_arg_fail(1)) SWIG_fail
;
42747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42748 if (SWIG_arg_fail(2)) SWIG_fail
;
42751 arg3
= (int)(SWIG_As_int(obj2
));
42752 if (SWIG_arg_fail(3)) SWIG_fail
;
42756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42757 (arg1
)->LeftOf(arg2
,arg3
);
42759 wxPyEndAllowThreads(__tstate
);
42760 if (PyErr_Occurred()) SWIG_fail
;
42762 Py_INCREF(Py_None
); resultobj
= Py_None
;
42769 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42770 PyObject
*resultobj
;
42771 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42772 wxWindow
*arg2
= (wxWindow
*) 0 ;
42773 int arg3
= (int) 0 ;
42774 PyObject
* obj0
= 0 ;
42775 PyObject
* obj1
= 0 ;
42776 PyObject
* obj2
= 0 ;
42777 char *kwnames
[] = {
42778 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42783 if (SWIG_arg_fail(1)) SWIG_fail
;
42784 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42785 if (SWIG_arg_fail(2)) SWIG_fail
;
42788 arg3
= (int)(SWIG_As_int(obj2
));
42789 if (SWIG_arg_fail(3)) SWIG_fail
;
42793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42794 (arg1
)->RightOf(arg2
,arg3
);
42796 wxPyEndAllowThreads(__tstate
);
42797 if (PyErr_Occurred()) SWIG_fail
;
42799 Py_INCREF(Py_None
); resultobj
= Py_None
;
42806 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42807 PyObject
*resultobj
;
42808 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42809 wxWindow
*arg2
= (wxWindow
*) 0 ;
42810 int arg3
= (int) 0 ;
42811 PyObject
* obj0
= 0 ;
42812 PyObject
* obj1
= 0 ;
42813 PyObject
* obj2
= 0 ;
42814 char *kwnames
[] = {
42815 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42820 if (SWIG_arg_fail(1)) SWIG_fail
;
42821 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42822 if (SWIG_arg_fail(2)) SWIG_fail
;
42825 arg3
= (int)(SWIG_As_int(obj2
));
42826 if (SWIG_arg_fail(3)) SWIG_fail
;
42830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42831 (arg1
)->Above(arg2
,arg3
);
42833 wxPyEndAllowThreads(__tstate
);
42834 if (PyErr_Occurred()) SWIG_fail
;
42836 Py_INCREF(Py_None
); resultobj
= Py_None
;
42843 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42844 PyObject
*resultobj
;
42845 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42846 wxWindow
*arg2
= (wxWindow
*) 0 ;
42847 int arg3
= (int) 0 ;
42848 PyObject
* obj0
= 0 ;
42849 PyObject
* obj1
= 0 ;
42850 PyObject
* obj2
= 0 ;
42851 char *kwnames
[] = {
42852 (char *) "self",(char *) "sibling",(char *) "marg", NULL
42855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42857 if (SWIG_arg_fail(1)) SWIG_fail
;
42858 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42859 if (SWIG_arg_fail(2)) SWIG_fail
;
42862 arg3
= (int)(SWIG_As_int(obj2
));
42863 if (SWIG_arg_fail(3)) SWIG_fail
;
42867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42868 (arg1
)->Below(arg2
,arg3
);
42870 wxPyEndAllowThreads(__tstate
);
42871 if (PyErr_Occurred()) SWIG_fail
;
42873 Py_INCREF(Py_None
); resultobj
= Py_None
;
42880 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42881 PyObject
*resultobj
;
42882 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42883 wxWindow
*arg2
= (wxWindow
*) 0 ;
42885 int arg4
= (int) 0 ;
42886 PyObject
* obj0
= 0 ;
42887 PyObject
* obj1
= 0 ;
42888 PyObject
* obj2
= 0 ;
42889 PyObject
* obj3
= 0 ;
42890 char *kwnames
[] = {
42891 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
42894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
42895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42896 if (SWIG_arg_fail(1)) SWIG_fail
;
42897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42898 if (SWIG_arg_fail(2)) SWIG_fail
;
42900 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
42901 if (SWIG_arg_fail(3)) SWIG_fail
;
42905 arg4
= (int)(SWIG_As_int(obj3
));
42906 if (SWIG_arg_fail(4)) SWIG_fail
;
42910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42911 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
42913 wxPyEndAllowThreads(__tstate
);
42914 if (PyErr_Occurred()) SWIG_fail
;
42916 Py_INCREF(Py_None
); resultobj
= Py_None
;
42923 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42924 PyObject
*resultobj
;
42925 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42926 wxWindow
*arg2
= (wxWindow
*) 0 ;
42929 PyObject
* obj0
= 0 ;
42930 PyObject
* obj1
= 0 ;
42931 PyObject
* obj2
= 0 ;
42932 PyObject
* obj3
= 0 ;
42933 char *kwnames
[] = {
42934 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
42937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
42938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42939 if (SWIG_arg_fail(1)) SWIG_fail
;
42940 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42941 if (SWIG_arg_fail(2)) SWIG_fail
;
42943 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
42944 if (SWIG_arg_fail(3)) SWIG_fail
;
42947 arg4
= (int)(SWIG_As_int(obj3
));
42948 if (SWIG_arg_fail(4)) SWIG_fail
;
42951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42952 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
42954 wxPyEndAllowThreads(__tstate
);
42955 if (PyErr_Occurred()) SWIG_fail
;
42957 Py_INCREF(Py_None
); resultobj
= Py_None
;
42964 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42965 PyObject
*resultobj
;
42966 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42968 PyObject
* obj0
= 0 ;
42969 PyObject
* obj1
= 0 ;
42970 char *kwnames
[] = {
42971 (char *) "self",(char *) "val", NULL
42974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
42975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
42976 if (SWIG_arg_fail(1)) SWIG_fail
;
42978 arg2
= (int)(SWIG_As_int(obj1
));
42979 if (SWIG_arg_fail(2)) SWIG_fail
;
42982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42983 (arg1
)->Absolute(arg2
);
42985 wxPyEndAllowThreads(__tstate
);
42986 if (PyErr_Occurred()) SWIG_fail
;
42988 Py_INCREF(Py_None
); resultobj
= Py_None
;
42995 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42996 PyObject
*resultobj
;
42997 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
42998 PyObject
* obj0
= 0 ;
42999 char *kwnames
[] = {
43000 (char *) "self", NULL
43003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43005 if (SWIG_arg_fail(1)) SWIG_fail
;
43007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43008 (arg1
)->Unconstrained();
43010 wxPyEndAllowThreads(__tstate
);
43011 if (PyErr_Occurred()) SWIG_fail
;
43013 Py_INCREF(Py_None
); resultobj
= Py_None
;
43020 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43021 PyObject
*resultobj
;
43022 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43023 PyObject
* obj0
= 0 ;
43024 char *kwnames
[] = {
43025 (char *) "self", NULL
43028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
43029 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43030 if (SWIG_arg_fail(1)) SWIG_fail
;
43032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43035 wxPyEndAllowThreads(__tstate
);
43036 if (PyErr_Occurred()) SWIG_fail
;
43038 Py_INCREF(Py_None
); resultobj
= Py_None
;
43045 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43046 PyObject
*resultobj
;
43047 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43049 PyObject
* obj0
= 0 ;
43050 char *kwnames
[] = {
43051 (char *) "self", NULL
43054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
43055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43056 if (SWIG_arg_fail(1)) SWIG_fail
;
43058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43059 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
43061 wxPyEndAllowThreads(__tstate
);
43062 if (PyErr_Occurred()) SWIG_fail
;
43065 resultobj
= wxPyMake_wxObject(result
, 0);
43073 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43074 PyObject
*resultobj
;
43075 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43077 PyObject
* obj0
= 0 ;
43078 char *kwnames
[] = {
43079 (char *) "self", NULL
43082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
43083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43084 if (SWIG_arg_fail(1)) SWIG_fail
;
43086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43087 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
43089 wxPyEndAllowThreads(__tstate
);
43090 if (PyErr_Occurred()) SWIG_fail
;
43092 resultobj
= SWIG_From_int((result
));
43099 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43100 PyObject
*resultobj
;
43101 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43103 PyObject
* obj0
= 0 ;
43104 PyObject
* obj1
= 0 ;
43105 char *kwnames
[] = {
43106 (char *) "self",(char *) "which", NULL
43109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
43110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43111 if (SWIG_arg_fail(1)) SWIG_fail
;
43113 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43114 if (SWIG_arg_fail(2)) SWIG_fail
;
43117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43118 (arg1
)->SetEdge((wxEdge
)arg2
);
43120 wxPyEndAllowThreads(__tstate
);
43121 if (PyErr_Occurred()) SWIG_fail
;
43123 Py_INCREF(Py_None
); resultobj
= Py_None
;
43130 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43131 PyObject
*resultobj
;
43132 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43134 PyObject
* obj0
= 0 ;
43135 PyObject
* obj1
= 0 ;
43136 char *kwnames
[] = {
43137 (char *) "self",(char *) "v", NULL
43140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
43141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43142 if (SWIG_arg_fail(1)) SWIG_fail
;
43144 arg2
= (int)(SWIG_As_int(obj1
));
43145 if (SWIG_arg_fail(2)) SWIG_fail
;
43148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43149 (arg1
)->SetValue(arg2
);
43151 wxPyEndAllowThreads(__tstate
);
43152 if (PyErr_Occurred()) SWIG_fail
;
43154 Py_INCREF(Py_None
); resultobj
= Py_None
;
43161 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43162 PyObject
*resultobj
;
43163 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43165 PyObject
* obj0
= 0 ;
43166 char *kwnames
[] = {
43167 (char *) "self", NULL
43170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
43171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43172 if (SWIG_arg_fail(1)) SWIG_fail
;
43174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43175 result
= (int)(arg1
)->GetMargin();
43177 wxPyEndAllowThreads(__tstate
);
43178 if (PyErr_Occurred()) SWIG_fail
;
43181 resultobj
= SWIG_From_int((int)(result
));
43189 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43190 PyObject
*resultobj
;
43191 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43193 PyObject
* obj0
= 0 ;
43194 PyObject
* obj1
= 0 ;
43195 char *kwnames
[] = {
43196 (char *) "self",(char *) "m", NULL
43199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
43200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43201 if (SWIG_arg_fail(1)) SWIG_fail
;
43203 arg2
= (int)(SWIG_As_int(obj1
));
43204 if (SWIG_arg_fail(2)) SWIG_fail
;
43207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43208 (arg1
)->SetMargin(arg2
);
43210 wxPyEndAllowThreads(__tstate
);
43211 if (PyErr_Occurred()) SWIG_fail
;
43213 Py_INCREF(Py_None
); resultobj
= Py_None
;
43220 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43221 PyObject
*resultobj
;
43222 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43224 PyObject
* obj0
= 0 ;
43225 char *kwnames
[] = {
43226 (char *) "self", NULL
43229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
43230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43231 if (SWIG_arg_fail(1)) SWIG_fail
;
43233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43234 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
43236 wxPyEndAllowThreads(__tstate
);
43237 if (PyErr_Occurred()) SWIG_fail
;
43240 resultobj
= SWIG_From_int((int)(result
));
43248 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43249 PyObject
*resultobj
;
43250 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43252 PyObject
* obj0
= 0 ;
43253 char *kwnames
[] = {
43254 (char *) "self", NULL
43257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
43258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43259 if (SWIG_arg_fail(1)) SWIG_fail
;
43261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43262 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
43264 wxPyEndAllowThreads(__tstate
);
43265 if (PyErr_Occurred()) SWIG_fail
;
43268 resultobj
= SWIG_From_int((int)(result
));
43276 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43277 PyObject
*resultobj
;
43278 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43280 PyObject
* obj0
= 0 ;
43281 char *kwnames
[] = {
43282 (char *) "self", NULL
43285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
43286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43287 if (SWIG_arg_fail(1)) SWIG_fail
;
43289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43290 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
43292 wxPyEndAllowThreads(__tstate
);
43293 if (PyErr_Occurred()) SWIG_fail
;
43296 resultobj
= SWIG_From_int((int)(result
));
43304 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43305 PyObject
*resultobj
;
43306 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43308 PyObject
* obj0
= 0 ;
43309 char *kwnames
[] = {
43310 (char *) "self", NULL
43313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
43314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43315 if (SWIG_arg_fail(1)) SWIG_fail
;
43317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43318 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
43320 wxPyEndAllowThreads(__tstate
);
43321 if (PyErr_Occurred()) SWIG_fail
;
43324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43332 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43333 PyObject
*resultobj
;
43334 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43336 PyObject
* obj0
= 0 ;
43337 PyObject
* obj1
= 0 ;
43338 char *kwnames
[] = {
43339 (char *) "self",(char *) "d", NULL
43342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
43343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43344 if (SWIG_arg_fail(1)) SWIG_fail
;
43346 arg2
= (bool)(SWIG_As_bool(obj1
));
43347 if (SWIG_arg_fail(2)) SWIG_fail
;
43350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43351 (arg1
)->SetDone(arg2
);
43353 wxPyEndAllowThreads(__tstate
);
43354 if (PyErr_Occurred()) SWIG_fail
;
43356 Py_INCREF(Py_None
); resultobj
= Py_None
;
43363 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43364 PyObject
*resultobj
;
43365 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43366 wxRelationship result
;
43367 PyObject
* obj0
= 0 ;
43368 char *kwnames
[] = {
43369 (char *) "self", NULL
43372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
43373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43374 if (SWIG_arg_fail(1)) SWIG_fail
;
43376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43377 result
= (wxRelationship
)(arg1
)->GetRelationship();
43379 wxPyEndAllowThreads(__tstate
);
43380 if (PyErr_Occurred()) SWIG_fail
;
43382 resultobj
= SWIG_From_int((result
));
43389 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43390 PyObject
*resultobj
;
43391 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43392 wxRelationship arg2
;
43393 PyObject
* obj0
= 0 ;
43394 PyObject
* obj1
= 0 ;
43395 char *kwnames
[] = {
43396 (char *) "self",(char *) "r", NULL
43399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
43400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43401 if (SWIG_arg_fail(1)) SWIG_fail
;
43403 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43404 if (SWIG_arg_fail(2)) SWIG_fail
;
43407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43408 (arg1
)->SetRelationship((wxRelationship
)arg2
);
43410 wxPyEndAllowThreads(__tstate
);
43411 if (PyErr_Occurred()) SWIG_fail
;
43413 Py_INCREF(Py_None
); resultobj
= Py_None
;
43420 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43421 PyObject
*resultobj
;
43422 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43423 wxWindow
*arg2
= (wxWindow
*) 0 ;
43425 PyObject
* obj0
= 0 ;
43426 PyObject
* obj1
= 0 ;
43427 char *kwnames
[] = {
43428 (char *) "self",(char *) "otherW", NULL
43431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
43432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43433 if (SWIG_arg_fail(1)) SWIG_fail
;
43434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43435 if (SWIG_arg_fail(2)) SWIG_fail
;
43437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43438 result
= (bool)(arg1
)->ResetIfWin(arg2
);
43440 wxPyEndAllowThreads(__tstate
);
43441 if (PyErr_Occurred()) SWIG_fail
;
43444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43452 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43453 PyObject
*resultobj
;
43454 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43455 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
43456 wxWindow
*arg3
= (wxWindow
*) 0 ;
43458 PyObject
* obj0
= 0 ;
43459 PyObject
* obj1
= 0 ;
43460 PyObject
* obj2
= 0 ;
43461 char *kwnames
[] = {
43462 (char *) "self",(char *) "constraints",(char *) "win", NULL
43465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43467 if (SWIG_arg_fail(1)) SWIG_fail
;
43468 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43469 if (SWIG_arg_fail(2)) SWIG_fail
;
43470 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43471 if (SWIG_arg_fail(3)) SWIG_fail
;
43473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43474 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
43476 wxPyEndAllowThreads(__tstate
);
43477 if (PyErr_Occurred()) SWIG_fail
;
43480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43488 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43489 PyObject
*resultobj
;
43490 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43492 wxWindow
*arg3
= (wxWindow
*) 0 ;
43493 wxWindow
*arg4
= (wxWindow
*) 0 ;
43495 PyObject
* obj0
= 0 ;
43496 PyObject
* obj1
= 0 ;
43497 PyObject
* obj2
= 0 ;
43498 PyObject
* obj3
= 0 ;
43499 char *kwnames
[] = {
43500 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
43503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43505 if (SWIG_arg_fail(1)) SWIG_fail
;
43507 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
43508 if (SWIG_arg_fail(2)) SWIG_fail
;
43510 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43511 if (SWIG_arg_fail(3)) SWIG_fail
;
43512 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43513 if (SWIG_arg_fail(4)) SWIG_fail
;
43515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43516 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
43518 wxPyEndAllowThreads(__tstate
);
43519 if (PyErr_Occurred()) SWIG_fail
;
43522 resultobj
= SWIG_From_int((int)(result
));
43530 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
43532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43533 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
43535 return Py_BuildValue((char *)"");
43537 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43538 PyObject
*resultobj
;
43539 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43540 wxIndividualLayoutConstraint
*result
;
43541 PyObject
* obj0
= 0 ;
43542 char *kwnames
[] = {
43543 (char *) "self", NULL
43546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
43547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43548 if (SWIG_arg_fail(1)) SWIG_fail
;
43549 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
43551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43558 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43559 PyObject
*resultobj
;
43560 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43561 wxIndividualLayoutConstraint
*result
;
43562 PyObject
* obj0
= 0 ;
43563 char *kwnames
[] = {
43564 (char *) "self", NULL
43567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
43568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43569 if (SWIG_arg_fail(1)) SWIG_fail
;
43570 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
43572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43579 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43580 PyObject
*resultobj
;
43581 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43582 wxIndividualLayoutConstraint
*result
;
43583 PyObject
* obj0
= 0 ;
43584 char *kwnames
[] = {
43585 (char *) "self", NULL
43588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
43589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43590 if (SWIG_arg_fail(1)) SWIG_fail
;
43591 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
43593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43600 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43601 PyObject
*resultobj
;
43602 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43603 wxIndividualLayoutConstraint
*result
;
43604 PyObject
* obj0
= 0 ;
43605 char *kwnames
[] = {
43606 (char *) "self", NULL
43609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
43610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43611 if (SWIG_arg_fail(1)) SWIG_fail
;
43612 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
43614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43621 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43622 PyObject
*resultobj
;
43623 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43624 wxIndividualLayoutConstraint
*result
;
43625 PyObject
* obj0
= 0 ;
43626 char *kwnames
[] = {
43627 (char *) "self", NULL
43630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
43631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43632 if (SWIG_arg_fail(1)) SWIG_fail
;
43633 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
43635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43642 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43643 PyObject
*resultobj
;
43644 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43645 wxIndividualLayoutConstraint
*result
;
43646 PyObject
* obj0
= 0 ;
43647 char *kwnames
[] = {
43648 (char *) "self", NULL
43651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
43652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43653 if (SWIG_arg_fail(1)) SWIG_fail
;
43654 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
43656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43663 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43664 PyObject
*resultobj
;
43665 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43666 wxIndividualLayoutConstraint
*result
;
43667 PyObject
* obj0
= 0 ;
43668 char *kwnames
[] = {
43669 (char *) "self", NULL
43672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
43673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43674 if (SWIG_arg_fail(1)) SWIG_fail
;
43675 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
43677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43684 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43685 PyObject
*resultobj
;
43686 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43687 wxIndividualLayoutConstraint
*result
;
43688 PyObject
* obj0
= 0 ;
43689 char *kwnames
[] = {
43690 (char *) "self", NULL
43693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
43694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43695 if (SWIG_arg_fail(1)) SWIG_fail
;
43696 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
43698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
43705 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43706 PyObject
*resultobj
;
43707 wxLayoutConstraints
*result
;
43708 char *kwnames
[] = {
43712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
43714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43715 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
43717 wxPyEndAllowThreads(__tstate
);
43718 if (PyErr_Occurred()) SWIG_fail
;
43720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
43727 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43728 PyObject
*resultobj
;
43729 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43730 wxWindow
*arg2
= (wxWindow
*) 0 ;
43731 int *arg3
= (int *) 0 ;
43735 PyObject
* obj0
= 0 ;
43736 PyObject
* obj1
= 0 ;
43737 char *kwnames
[] = {
43738 (char *) "self",(char *) "win", NULL
43741 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
43742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
43743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43744 if (SWIG_arg_fail(1)) SWIG_fail
;
43745 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43746 if (SWIG_arg_fail(2)) SWIG_fail
;
43748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43749 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
43751 wxPyEndAllowThreads(__tstate
);
43752 if (PyErr_Occurred()) SWIG_fail
;
43755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43757 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
43758 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
43765 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43766 PyObject
*resultobj
;
43767 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
43769 PyObject
* obj0
= 0 ;
43770 char *kwnames
[] = {
43771 (char *) "self", NULL
43774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
43775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
43776 if (SWIG_arg_fail(1)) SWIG_fail
;
43778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43779 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
43781 wxPyEndAllowThreads(__tstate
);
43782 if (PyErr_Occurred()) SWIG_fail
;
43785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43793 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
43795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43796 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
43798 return Py_BuildValue((char *)"");
43800 static PyMethodDef SwigMethods
[] = {
43801 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
43802 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
43803 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43804 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43805 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
43806 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43807 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43808 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43809 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43810 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43811 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43812 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43813 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43814 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43815 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43816 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43817 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43818 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43819 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43820 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43821 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43822 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43823 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43824 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43825 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43826 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
43827 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43828 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43829 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43830 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43831 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43832 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43833 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43834 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43835 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43836 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43837 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43838 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43839 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
43840 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43841 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43842 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43843 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43844 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43845 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43846 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43847 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43848 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43849 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43850 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43851 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43852 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43853 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43854 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
43855 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43856 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43857 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43858 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43859 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43860 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43861 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43862 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43863 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43864 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43865 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43866 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43867 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43868 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43869 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43870 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43871 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43872 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43873 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43874 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43875 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43876 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43877 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43878 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43879 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43880 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43881 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43882 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43883 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43884 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43885 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43886 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43887 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43888 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43889 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43890 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43891 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43892 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43893 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43894 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43895 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43896 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43897 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43898 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43899 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43900 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43901 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43902 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43903 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43904 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43905 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43906 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43907 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
43908 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43909 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43910 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43911 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43912 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43913 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43914 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43915 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43916 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43917 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43918 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43919 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43920 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43921 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43922 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43923 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43924 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43925 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43926 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43927 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43928 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43929 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43930 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43931 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43932 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43933 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43934 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43935 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
43936 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43937 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43938 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43939 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43940 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43941 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43942 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43943 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43944 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43945 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43946 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43947 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43948 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43949 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43950 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43951 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43952 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43953 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43954 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
43955 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43956 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
43957 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43958 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43959 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43960 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43961 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43962 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43963 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43964 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
43965 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
43966 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43967 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43968 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43969 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43970 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43971 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43972 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43973 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43974 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43975 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43976 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43977 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
43978 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43979 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43980 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43981 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43982 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43983 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43984 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43985 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43986 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43987 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43988 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43989 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
43990 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43991 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43992 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43993 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
43994 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43995 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43996 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43997 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43998 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
43999 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44000 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44001 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44002 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44003 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44004 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44005 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44006 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44007 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44008 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44009 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44010 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44011 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44012 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44013 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44014 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44015 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44016 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44017 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44018 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44019 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44020 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44021 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44022 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44023 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44024 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44025 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44026 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44027 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44028 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44029 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44030 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44031 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44032 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44033 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44034 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44035 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44036 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44037 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44038 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44039 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44040 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44041 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44042 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44043 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44044 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44045 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44046 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44047 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44048 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44049 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44050 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44051 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44052 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44053 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44054 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44055 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44056 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44057 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44058 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44059 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44060 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44061 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44062 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44063 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44064 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44065 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44066 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44067 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44068 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44069 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44070 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44071 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44072 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44073 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44074 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44075 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44076 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44077 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44078 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44079 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44080 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44081 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44082 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44083 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44084 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44085 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44086 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44087 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44088 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44089 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44090 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44091 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44092 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44093 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44094 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44095 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44096 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44097 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
44098 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44099 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
44100 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44101 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
44102 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44103 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
44104 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44105 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
44106 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44107 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
44108 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44109 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
44110 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44111 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
44112 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44113 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
44114 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44115 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
44116 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44117 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
44118 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44119 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
44120 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44121 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
44122 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44123 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44124 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44125 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44126 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44127 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44128 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44129 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44130 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44131 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44132 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44133 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44134 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44135 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
44136 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44137 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44138 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44139 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44140 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44141 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44142 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44143 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44144 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44145 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44146 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44147 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44148 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44149 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44150 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44151 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44152 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44153 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
44154 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44155 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44156 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
44157 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44158 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44159 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
44160 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44161 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44162 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44163 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44164 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44165 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44166 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44167 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44168 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44169 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44170 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44171 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
44172 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44173 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44174 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44175 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44176 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
44177 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44178 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44179 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44180 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44181 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44182 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
44183 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44184 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44185 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44186 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44187 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44188 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
44189 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44190 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44191 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44192 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44193 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44194 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44195 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44196 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44197 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44198 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44199 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44200 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44201 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44202 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44203 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44204 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44205 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44206 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44207 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44208 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44209 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44210 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44211 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44212 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44213 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44214 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44215 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44216 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44217 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44218 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44219 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44220 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44221 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44222 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44223 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44224 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44225 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44226 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44227 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44228 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44229 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44230 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44231 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44232 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44233 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44234 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44235 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44236 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44237 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44238 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44239 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44240 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44241 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44242 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44243 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44244 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44245 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44246 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44247 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44248 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44249 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44250 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44251 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
44252 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44253 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44254 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44255 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44256 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44257 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44258 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
44259 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44260 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44261 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44262 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44263 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44264 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44265 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44266 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44267 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44268 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44269 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44270 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44271 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44272 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44273 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44274 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44275 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44276 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44277 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44278 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44279 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44280 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44281 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44282 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44283 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44284 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44285 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44286 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44287 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44288 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44289 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44290 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44291 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44292 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44293 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44294 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
44295 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44296 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44297 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44298 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44299 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44300 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44301 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44302 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44303 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44304 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
44305 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44306 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44307 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44308 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44309 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44310 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44311 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44312 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44313 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44314 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
44315 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44316 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
44317 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44318 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
44319 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44320 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44321 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
44322 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44323 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44324 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44325 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
44326 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44327 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44328 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
44329 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44330 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44331 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
44332 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44333 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
44334 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44335 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44336 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44337 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44338 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
44339 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44340 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44341 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44342 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44343 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44344 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44345 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44346 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
44347 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44348 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44349 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44350 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
44351 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44352 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44353 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
44354 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44355 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
44356 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44357 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44358 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44359 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
44360 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44361 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44362 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44363 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44364 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44365 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44366 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44367 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44368 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44369 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44370 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44371 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44372 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44373 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44374 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44375 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44376 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
44377 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44378 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44379 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44380 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44381 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44382 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44383 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44384 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44385 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44386 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44387 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
44388 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44389 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44390 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44391 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
44392 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44393 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44394 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44395 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44396 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44397 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44398 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44399 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44400 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
44401 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44402 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44403 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
44404 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44405 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44406 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
44407 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44408 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44409 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44410 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
44411 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44412 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44413 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44414 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44415 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44416 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44417 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
44418 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44419 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44420 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44421 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44422 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
44423 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44424 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44425 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44426 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44427 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
44428 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44429 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44430 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44431 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44432 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44433 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44434 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44435 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44436 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44437 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44438 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44439 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44440 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44441 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44442 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44443 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44444 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44445 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44446 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44447 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44448 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44449 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44450 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44451 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44452 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44453 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44454 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44455 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44456 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44457 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44458 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44459 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44460 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44461 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44462 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44463 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44464 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44465 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44466 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44467 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44468 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44469 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44470 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44471 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44472 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
44473 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44474 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44475 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44476 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44477 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44478 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44479 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44480 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44481 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44482 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44483 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44484 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44485 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44486 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44487 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44488 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44489 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44490 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44491 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44492 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
44493 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44494 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44495 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44496 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44497 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44498 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44499 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
44500 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44501 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44502 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44503 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
44504 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44505 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44506 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44507 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44508 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44509 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44510 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44511 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44512 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44513 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
44514 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44515 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44516 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44517 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44518 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44519 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44520 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44521 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44522 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44523 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44524 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44525 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44526 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44527 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44528 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44529 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44530 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44531 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44532 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44533 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44534 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44535 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44536 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44537 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44538 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44539 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44540 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44541 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44542 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44543 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44544 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44545 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44546 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44547 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44548 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44549 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44550 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44551 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44552 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44553 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44554 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44555 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44556 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44557 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44558 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44559 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44560 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44561 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44562 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44563 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44564 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44565 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44566 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44567 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44568 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44569 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44570 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44571 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44572 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44573 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44574 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44575 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44576 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44577 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44578 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44579 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44580 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44581 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44582 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44583 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44584 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44585 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44586 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44587 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44588 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44589 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44590 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44591 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44592 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44593 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44594 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44595 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44596 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44597 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44598 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44599 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44600 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44601 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44602 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44603 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44604 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44605 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44606 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44607 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44608 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44609 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44610 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44611 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44612 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44613 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44614 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44615 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44616 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44617 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44618 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44619 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44620 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44621 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44622 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44623 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44624 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44625 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44626 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44627 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44628 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44629 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44630 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44631 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44632 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44633 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44634 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44635 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44636 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44637 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44638 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44639 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44640 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44641 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44642 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44643 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44644 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44645 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44646 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44647 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44648 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44649 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44650 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44651 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44652 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44653 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44654 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44655 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44656 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44657 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44658 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44659 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44660 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44661 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44662 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44663 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44664 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44665 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44666 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44667 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44668 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44669 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44670 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44671 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44672 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44673 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44674 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44675 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44676 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44677 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44678 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44679 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44680 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44681 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44682 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
44683 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44684 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44685 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44686 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44687 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44688 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44689 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44690 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44691 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44692 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44693 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44694 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44695 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44696 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44697 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44698 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44699 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44700 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44701 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44702 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44703 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44704 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44705 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44706 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44707 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44708 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44709 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44710 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44711 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44712 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44713 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44714 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44715 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44716 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44717 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44718 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44719 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44720 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44721 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44722 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
44723 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44724 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44725 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44726 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44727 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44728 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44729 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44730 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44731 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44732 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44733 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44734 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44735 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44736 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
44737 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44738 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44739 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
44740 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44741 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44742 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44743 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44744 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44745 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44746 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44747 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44748 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44749 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44750 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44751 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44752 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44753 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44754 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44755 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44756 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44757 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44758 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44759 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44760 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44761 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44762 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44763 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44764 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44765 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44766 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44767 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44768 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44769 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44770 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44771 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44772 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44773 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44774 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44776 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44777 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
44795 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44798 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44811 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
44822 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44826 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
44852 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
44860 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
44877 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
44878 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44879 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44907 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
44915 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44926 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44928 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44936 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44937 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
44945 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
44948 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44949 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
44952 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
44955 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44961 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
44965 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44971 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
44977 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"StdDialogButtonSizer_Finalise", (PyCFunction
) _wrap_StdDialogButtonSizer_Finalise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44981 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
44986 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44991 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44995 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
44996 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
45006 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
45020 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
45027 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
45028 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
45029 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
45030 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
45031 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
45036 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
45063 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
45075 { NULL
, NULL
, 0, NULL
}
45079 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
45081 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
45082 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
45084 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
45085 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
45087 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
45088 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45090 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
45091 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45093 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
45094 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45096 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
45097 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
45099 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
45100 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45102 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
45103 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
45105 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
45106 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45108 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
45109 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45111 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
45112 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45114 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
45115 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
45117 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
45118 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
45120 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
45121 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
45123 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
45124 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
45126 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
45127 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
45129 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
45130 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
45132 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
45133 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
45135 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
45136 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
45138 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
45139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45141 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
45142 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
45144 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
45145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45147 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
45148 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45150 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
45151 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
45153 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
45154 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
45156 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
45157 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
45159 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
45160 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
45162 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
45163 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
45165 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
45166 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
45168 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
45169 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
45171 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
45172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45174 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
45175 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45177 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
45178 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45180 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
45181 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45183 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
45184 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45186 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
45187 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
45189 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
45190 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
45192 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
45193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45195 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
45196 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
45198 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
45199 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
45201 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
45202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45204 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
45205 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45207 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
45208 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45210 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
45211 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
45213 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
45214 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
45216 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
45217 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45219 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
45220 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45222 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
45223 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45225 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
45226 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
45228 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
45229 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
45231 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
45232 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
45234 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
45235 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
45237 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
45238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45240 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
45241 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
45243 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
45244 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
45246 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
45247 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
45249 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
45250 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
45252 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
45253 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
45255 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
45256 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
45258 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
45259 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
45261 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
45262 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
45264 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
45265 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
45267 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
45268 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
45270 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
45271 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45273 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
45274 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
45276 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
45277 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
45279 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
45280 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45282 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
45283 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45285 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
45286 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
45288 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
45289 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
45291 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
45292 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
45294 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
45295 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
45297 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
45298 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
45300 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
45301 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
45303 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
45304 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
45306 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
45307 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
45309 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45310 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
45312 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45313 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
45315 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
45316 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
45318 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
45319 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
45321 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
45322 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
45324 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
45325 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
45327 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
45328 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
45330 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
45331 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
45333 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
45334 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
45336 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
45337 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
45339 static void *_p_wxSizerTo_p_wxObject(void *x
) {
45340 return (void *)((wxObject
*) ((wxSizer
*) x
));
45342 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
45343 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
45345 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
45346 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45348 static void *_p_wxEventTo_p_wxObject(void *x
) {
45349 return (void *)((wxObject
*) ((wxEvent
*) x
));
45351 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
45352 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
45354 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
45355 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
45357 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
45358 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
45360 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
45361 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
45363 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
45364 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
45366 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
45367 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
45369 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
45370 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
45372 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
45373 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
45375 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
45376 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
45378 static void *_p_wxControlTo_p_wxObject(void *x
) {
45379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
45381 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
45382 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
45384 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
45385 return (void *)((wxObject
*) ((wxFSFile
*) x
));
45387 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
45388 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
45390 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
45391 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
45393 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
45394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45396 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
45397 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
45399 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
45400 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
45402 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
45403 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
45405 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
45406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45408 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
45409 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
45411 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
45412 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
45414 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
45415 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
45417 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
45418 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
45420 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
45421 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
45423 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
45424 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
45426 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
45427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
45429 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
45430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
45432 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
45433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
45435 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
45436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
45438 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
45439 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
45441 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
45442 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
45444 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
45445 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
45447 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
45448 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
45450 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
45451 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
45453 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
45454 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
45456 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
45457 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
45459 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
45460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
45462 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
45463 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
45465 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
45466 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
45468 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
45469 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
45471 static void *_p_wxImageTo_p_wxObject(void *x
) {
45472 return (void *)((wxObject
*) ((wxImage
*) x
));
45474 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
45475 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
45477 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
45478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45480 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
45481 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
45483 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
45484 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
45486 static void *_p_wxWindowTo_p_wxObject(void *x
) {
45487 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
45489 static void *_p_wxMenuTo_p_wxObject(void *x
) {
45490 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
45492 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
45493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
45495 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
45496 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
45498 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
45499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45501 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
45502 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
45504 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
45505 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
45507 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
45508 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
45510 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
45511 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
45513 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
45514 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
45516 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
45517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45519 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
45520 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
45522 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
45523 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
45525 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
45526 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
45528 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
45529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45531 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
45532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
45534 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
45535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
45537 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
45538 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
45540 static void *_p_wxControlTo_p_wxWindow(void *x
) {
45541 return (void *)((wxWindow
*) ((wxControl
*) x
));
45543 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
45544 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
45546 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
45547 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
45549 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
45550 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
45552 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
45553 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
45555 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
45556 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
45558 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
45559 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
45561 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
45562 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
45564 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
45565 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
45567 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
45568 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
45570 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
45571 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
45573 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
45574 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
45576 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}};
45577 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}};
45578 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}};
45579 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}};
45580 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}};
45581 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}};
45582 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}};
45583 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}};
45584 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}};
45585 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}};
45586 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}};
45587 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}};
45588 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}};
45589 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45590 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}};
45591 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}};
45592 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}};
45593 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}};
45594 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}};
45595 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}};
45596 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}};
45597 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}};
45598 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}};
45599 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}};
45600 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}};
45601 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}};
45602 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}};
45603 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}};
45604 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}};
45605 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}};
45606 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}};
45607 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}};
45608 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}};
45609 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}};
45610 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}};
45611 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}};
45612 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}};
45613 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}};
45614 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}};
45615 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}};
45616 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}};
45617 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}};
45618 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}};
45619 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}};
45620 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}};
45621 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}};
45622 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}};
45623 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}};
45624 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}};
45625 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}};
45626 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}};
45627 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}};
45628 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}};
45629 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}};
45630 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}};
45631 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}};
45632 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}};
45633 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}};
45634 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}};
45635 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}};
45636 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}};
45637 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}};
45638 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}};
45639 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}};
45640 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}};
45641 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}};
45642 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}};
45643 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}};
45644 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}};
45645 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}};
45646 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}};
45647 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}};
45648 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}};
45649 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}};
45650 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}};
45651 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}};
45652 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}};
45653 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}};
45654 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}};
45655 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}};
45656 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}};
45657 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}};
45658 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}};
45659 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}};
45660 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}};
45661 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}};
45662 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}};
45663 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}};
45664 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}};
45665 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}};
45666 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}};
45667 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}};
45668 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}};
45669 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45670 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}};
45671 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}};
45672 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}};
45673 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}};
45674 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}};
45675 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}};
45676 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}};
45677 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}};
45678 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}};
45679 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}};
45680 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}};
45681 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}};
45682 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}};
45683 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}};
45684 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}};
45685 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}};
45686 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}};
45687 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}};
45688 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}};
45689 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}};
45690 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}};
45691 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
45692 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}};
45693 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}};
45694 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}};
45695 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}};
45696 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}};
45697 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}};
45698 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}};
45699 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}};
45700 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}};
45701 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}};
45703 static swig_type_info
*swig_types_initial
[] = {
45704 _swigt__p_wxLayoutConstraints
,
45705 _swigt__p_wxRealPoint
,
45706 _swigt__p_wxSizerItem
,
45707 _swigt__p_wxGBSizerItem
,
45708 _swigt__p_wxScrollEvent
,
45709 _swigt__p_wxEventLoop
,
45710 _swigt__p_wxIndividualLayoutConstraint
,
45712 _swigt__p_wxBoxSizer
,
45713 _swigt__p_wxStaticBoxSizer
,
45714 _swigt__p_wxGridBagSizer
,
45715 _swigt__p_wxAcceleratorEntry
,
45716 _swigt__p_wxUpdateUIEvent
,
45719 _swigt__p_wxGridSizer
,
45720 _swigt__p_wxFlexGridSizer
,
45721 _swigt__p_wxInitDialogEvent
,
45722 _swigt__p_wxItemContainer
,
45723 _swigt__p_wxNcPaintEvent
,
45724 _swigt__p_wxPaintEvent
,
45725 _swigt__p_wxSysColourChangedEvent
,
45726 _swigt__p_wxMouseCaptureChangedEvent
,
45727 _swigt__p_wxDisplayChangedEvent
,
45728 _swigt__p_wxPaletteChangedEvent
,
45729 _swigt__p_wxControl
,
45731 _swigt__p_wxMenuBarBase
,
45732 _swigt__p_wxSetCursorEvent
,
45733 _swigt__p_wxFSFile
,
45736 _swigt__std__ptrdiff_t
,
45737 _swigt__p_wxRegion
,
45738 _swigt__p_wxPoint2D
,
45742 _swigt__p_wxPySizer
,
45743 _swigt__p_wxVisualAttributes
,
45744 _swigt__p_wxNotifyEvent
,
45745 _swigt__p_wxPyEvent
,
45746 _swigt__p_wxPropagationDisabler
,
45747 _swigt__p_form_ops_t
,
45748 _swigt__p_wxAppTraits
,
45749 _swigt__p_wxArrayString
,
45750 _swigt__p_wxShowEvent
,
45751 _swigt__p_wxToolTip
,
45752 _swigt__p_wxMoveEvent
,
45753 _swigt__p_wxSizeEvent
,
45754 _swigt__p_wxActivateEvent
,
45755 _swigt__p_wxIconizeEvent
,
45756 _swigt__p_wxMaximizeEvent
,
45757 _swigt__p_wxQueryNewPaletteEvent
,
45758 _swigt__p_wxWindowCreateEvent
,
45759 _swigt__p_wxIdleEvent
,
45760 _swigt__p_wxMenuItem
,
45761 _swigt__p_wxStaticBox
,
45763 _swigt__p_wxDuplexMode
,
45764 _swigt__p_wxTIFFHandler
,
45765 _swigt__p_wxXPMHandler
,
45766 _swigt__p_wxPNMHandler
,
45767 _swigt__p_wxJPEGHandler
,
45768 _swigt__p_wxPCXHandler
,
45769 _swigt__p_wxGIFHandler
,
45770 _swigt__p_wxPNGHandler
,
45771 _swigt__p_wxANIHandler
,
45772 _swigt__p_wxMemoryFSHandler
,
45773 _swigt__p_wxZipFSHandler
,
45774 _swigt__p_wxInternetFSHandler
,
45775 _swigt__p_wxPyFileSystemHandler
,
45776 _swigt__p_wxEvtHandler
,
45777 _swigt__p_wxCURHandler
,
45778 _swigt__p_wxICOHandler
,
45779 _swigt__p_wxBMPHandler
,
45780 _swigt__p_wxImageHandler
,
45781 _swigt__p_wxFileSystemHandler
,
45783 _swigt__p_wxButton
,
45784 _swigt__p_wxGBSpan
,
45785 _swigt__p_wxPropagateOnce
,
45786 _swigt__p_wxAcceleratorTable
,
45787 _swigt__p_wxStdDialogButtonSizer
,
45789 _swigt__p_wxGBPosition
,
45792 _swigt__p_wxScrollWinEvent
,
45793 _swigt__p_wxPaperSize
,
45794 _swigt__p_wxImageHistogram
,
45796 _swigt__p_wxCursor
,
45797 _swigt__p_wxObject
,
45798 _swigt__p_wxInputStream
,
45799 _swigt__p_wxOutputStream
,
45800 _swigt__p_wxPyInputStream
,
45801 _swigt__p_wxDateTime
,
45802 _swigt__p_wxKeyEvent
,
45803 _swigt__p_wxNavigationKeyEvent
,
45804 _swigt__p_wxWindowDestroyEvent
,
45805 _swigt__p_unsigned_long
,
45806 _swigt__p_wxWindow
,
45807 _swigt__p_wxMenuBar
,
45808 _swigt__p_wxFileSystem
,
45809 _swigt__p_wxBitmap
,
45810 _swigt__unsigned_int
,
45811 _swigt__p_unsigned_int
,
45812 _swigt__p_wxMenuEvent
,
45813 _swigt__p_wxContextMenuEvent
,
45814 _swigt__p_unsigned_char
,
45815 _swigt__p_wxEraseEvent
,
45816 _swigt__p_wxMouseEvent
,
45817 _swigt__p_wxCloseEvent
,
45819 _swigt__p_wxCommandEvent
,
45820 _swigt__p_wxPyCommandEvent
,
45821 _swigt__p_wxPyDropTarget
,
45822 _swigt__p_wxQuantize
,
45823 _swigt__p_wxChildFocusEvent
,
45824 _swigt__p_wxFocusEvent
,
45825 _swigt__p_wxDropFilesEvent
,
45826 _swigt__p_wxControlWithItems
,
45827 _swigt__p_wxColour
,
45828 _swigt__p_wxValidator
,
45829 _swigt__p_wxPyValidator
,
45834 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
45836 static swig_const_info swig_const_table
[] = {
45837 {0, 0, 0, 0.0, 0, 0}};
45848 /* Python-specific SWIG API */
45849 #define SWIG_newvarlink() SWIG_Python_newvarlink()
45850 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
45851 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
45853 /* -----------------------------------------------------------------------------
45854 * global variable support code.
45855 * ----------------------------------------------------------------------------- */
45857 typedef struct swig_globalvar
{
45858 char *name
; /* Name of global variable */
45859 PyObject
*(*get_attr
)(); /* Return the current value */
45860 int (*set_attr
)(PyObject
*); /* Set the value */
45861 struct swig_globalvar
*next
;
45864 typedef struct swig_varlinkobject
{
45866 swig_globalvar
*vars
;
45867 } swig_varlinkobject
;
45870 swig_varlink_repr(swig_varlinkobject
*v
) {
45872 return PyString_FromString("<Swig global variables>");
45876 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
45877 swig_globalvar
*var
;
45879 fprintf(fp
,"Swig global variables { ");
45880 for (var
= v
->vars
; var
; var
=var
->next
) {
45881 fprintf(fp
,"%s", var
->name
);
45882 if (var
->next
) fprintf(fp
,", ");
45884 fprintf(fp
," }\n");
45889 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
45890 swig_globalvar
*var
= v
->vars
;
45892 if (strcmp(var
->name
,n
) == 0) {
45893 return (*var
->get_attr
)();
45897 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
45902 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
45903 swig_globalvar
*var
= v
->vars
;
45905 if (strcmp(var
->name
,n
) == 0) {
45906 return (*var
->set_attr
)(p
);
45910 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
45914 static PyTypeObject varlinktype
= {
45915 PyObject_HEAD_INIT(0)
45916 0, /* Number of items in variable part (ob_size) */
45917 (char *)"swigvarlink", /* Type name (tp_name) */
45918 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
45919 0, /* Itemsize (tp_itemsize) */
45920 0, /* Deallocator (tp_dealloc) */
45921 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
45922 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
45923 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
45924 0, /* tp_compare */
45925 (reprfunc
) swig_varlink_repr
, /* tp_repr */
45926 0, /* tp_as_number */
45927 0, /* tp_as_sequence */
45928 0, /* tp_as_mapping */
45932 0, /* tp_getattro */
45933 0, /* tp_setattro */
45934 0, /* tp_as_buffer */
45937 #if PY_VERSION_HEX >= 0x02000000
45938 0, /* tp_traverse */
45941 #if PY_VERSION_HEX >= 0x02010000
45942 0, /* tp_richcompare */
45943 0, /* tp_weaklistoffset */
45945 #if PY_VERSION_HEX >= 0x02020000
45946 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
45948 #if PY_VERSION_HEX >= 0x02030000
45951 #ifdef COUNT_ALLOCS
45952 0,0,0,0 /* tp_alloc -> tp_next */
45956 /* Create a variable linking object for use later */
45958 SWIG_Python_newvarlink(void) {
45959 swig_varlinkobject
*result
= 0;
45960 result
= PyMem_NEW(swig_varlinkobject
,1);
45961 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
45962 result
->ob_type
= &varlinktype
;
45964 result
->ob_refcnt
= 0;
45965 Py_XINCREF((PyObject
*) result
);
45966 return ((PyObject
*) result
);
45970 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
45971 swig_varlinkobject
*v
;
45972 swig_globalvar
*gv
;
45973 v
= (swig_varlinkobject
*) p
;
45974 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
45975 gv
->name
= (char *) malloc(strlen(name
)+1);
45976 strcpy(gv
->name
,name
);
45977 gv
->get_attr
= get_attr
;
45978 gv
->set_attr
= set_attr
;
45979 gv
->next
= v
->vars
;
45983 /* -----------------------------------------------------------------------------
45984 * constants/methods manipulation
45985 * ----------------------------------------------------------------------------- */
45987 /* Install Constants */
45989 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
45992 for (i
= 0; constants
[i
].type
; i
++) {
45993 switch(constants
[i
].type
) {
45995 obj
= PyInt_FromLong(constants
[i
].lvalue
);
45997 case SWIG_PY_FLOAT
:
45998 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
46000 case SWIG_PY_STRING
:
46001 if (constants
[i
].pvalue
) {
46002 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
46004 Py_INCREF(Py_None
);
46008 case SWIG_PY_POINTER
:
46009 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
46011 case SWIG_PY_BINARY
:
46012 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
46019 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
46025 /* -----------------------------------------------------------------------------*/
46026 /* Fix SwigMethods to carry the callback ptrs when needed */
46027 /* -----------------------------------------------------------------------------*/
46030 SWIG_Python_FixMethods(PyMethodDef
*methods
,
46031 swig_const_info
*const_table
,
46032 swig_type_info
**types
,
46033 swig_type_info
**types_initial
) {
46035 for (i
= 0; methods
[i
].ml_name
; ++i
) {
46036 char *c
= methods
[i
].ml_doc
;
46037 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
46039 swig_const_info
*ci
= 0;
46040 char *name
= c
+ 10;
46041 for (j
= 0; const_table
[j
].type
; j
++) {
46042 if (strncmp(const_table
[j
].name
, name
,
46043 strlen(const_table
[j
].name
)) == 0) {
46044 ci
= &(const_table
[j
]);
46049 size_t shift
= (ci
->ptype
) - types
;
46050 swig_type_info
*ty
= types_initial
[shift
];
46051 size_t ldoc
= (c
- methods
[i
].ml_doc
);
46052 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
46053 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
46055 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
46056 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
46058 strncpy(buff
, "swig_ptr: ", 10);
46060 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
46061 methods
[i
].ml_doc
= ndoc
;
46067 /* -----------------------------------------------------------------------------*
46068 * Initialize type list
46069 * -----------------------------------------------------------------------------*/
46071 #if PY_MAJOR_VERSION < 2
46072 /* PyModule_AddObject function was introduced in Python 2.0. The following function
46073 is copied out of Python/modsupport.c in python version 2.3.4 */
46075 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
46078 if (!PyModule_Check(m
)) {
46079 PyErr_SetString(PyExc_TypeError
,
46080 "PyModule_AddObject() needs module as first arg");
46084 PyErr_SetString(PyExc_TypeError
,
46085 "PyModule_AddObject() needs non-NULL value");
46089 dict
= PyModule_GetDict(m
);
46090 if (dict
== NULL
) {
46091 /* Internal error -- modules must have a dict! */
46092 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
46093 PyModule_GetName(m
));
46096 if (PyDict_SetItemString(dict
, name
, o
))
46103 static swig_type_info
**
46104 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
46105 static PyMethodDef swig_empty_runtime_method_table
[] = {
46107 NULL
, NULL
, 0, NULL
46111 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
46112 swig_empty_runtime_method_table
);
46113 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
46114 if (pointer
&& module) {
46115 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
46117 return type_list_handle
;
46120 static swig_type_info
**
46121 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
46122 swig_type_info
**type_pointer
;
46124 /* first check if module already created */
46125 type_pointer
= SWIG_Python_GetTypeListHandle();
46126 if (type_pointer
) {
46127 return type_pointer
;
46129 /* create a new module and variable */
46130 return SWIG_Python_SetTypeListHandle(type_list_handle
);
46138 /* -----------------------------------------------------------------------------*
46139 * Partial Init method
46140 * -----------------------------------------------------------------------------*/
46142 #ifdef SWIG_LINK_RUNTIME
46146 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
46152 SWIGEXPORT(void) SWIG_init(void) {
46153 static PyObject
*SWIG_globals
= 0;
46154 static int typeinit
= 0;
46157 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
46159 /* Fix SwigMethods to carry the callback ptrs when needed */
46160 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
46162 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
46163 d
= PyModule_GetDict(m
);
46166 #ifdef SWIG_LINK_RUNTIME
46167 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
46169 # ifndef SWIG_STATIC_RUNTIME
46170 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
46173 for (i
= 0; swig_types_initial
[i
]; i
++) {
46174 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
46178 SWIG_InstallConstants(d
,swig_const_table
);
46181 #ifndef wxPyUSE_EXPORT
46182 // Make our API structure a CObject so other modules can import it
46183 // from this module.
46184 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
46185 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
46190 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
46193 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
46196 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
46199 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
46202 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
46205 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
46208 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
46211 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
46214 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
46217 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
46220 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
46223 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
46226 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
46229 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
46232 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
46235 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
46238 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
46241 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
46244 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
46247 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
46250 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
46253 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
46256 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
46259 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
46262 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
46265 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
46268 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
46271 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
46274 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
46277 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
46280 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
46283 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
46286 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
46289 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
46292 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
46295 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
46298 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
46301 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
46304 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
46307 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
46310 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
46313 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
46316 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
46319 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
46322 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
46325 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
46328 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
46331 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
46334 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
46337 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
46340 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_From_int((int)(wxSL_HORIZONTAL
)));
46343 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_From_int((int)(wxSL_VERTICAL
)));
46346 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_From_int((int)(wxSL_AUTOTICKS
)));
46349 PyDict_SetItemString(d
,"SL_LABELS", SWIG_From_int((int)(wxSL_LABELS
)));
46352 PyDict_SetItemString(d
,"SL_LEFT", SWIG_From_int((int)(wxSL_LEFT
)));
46355 PyDict_SetItemString(d
,"SL_TOP", SWIG_From_int((int)(wxSL_TOP
)));
46358 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_From_int((int)(wxSL_RIGHT
)));
46361 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_From_int((int)(wxSL_BOTTOM
)));
46364 PyDict_SetItemString(d
,"SL_BOTH", SWIG_From_int((int)(wxSL_BOTH
)));
46367 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_From_int((int)(wxSL_SELRANGE
)));
46370 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
46373 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
46376 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
46379 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
46382 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
46385 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
46388 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
46391 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
46394 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
46397 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
46400 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
46403 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
46406 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
46409 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
46412 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
46415 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
46418 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
46421 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
46424 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
46427 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
46430 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
46433 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
46436 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
46439 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
46442 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
46445 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
46448 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
46451 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
46454 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
46457 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
46460 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
46463 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
46466 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
46469 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
46472 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
46475 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
46478 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
46481 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
46484 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
46487 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
46490 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
46493 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
46496 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
46499 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
46502 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
46505 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
46508 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
46511 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
46514 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
46517 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
46520 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
46523 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
46526 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
46529 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
46532 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
46535 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
46538 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
46541 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
46544 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
46547 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
46550 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
46553 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
46556 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
46559 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
46562 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
46565 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
46568 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
46571 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
46574 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
46577 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
46580 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
46583 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
46586 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
46589 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
46592 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
46595 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
46598 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
46601 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
46604 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
46607 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
46610 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
46613 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
46616 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
46619 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
46622 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
46625 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
46628 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
46631 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
46634 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
46637 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
46640 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
46643 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
46646 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
46649 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
46652 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
46655 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
46658 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
46661 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
46664 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
46667 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
46670 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
46673 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
46676 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
46679 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
46682 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
46685 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
46688 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
46691 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
46694 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
46697 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
46700 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
46703 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
46706 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
46709 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
46712 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
46715 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
46718 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
46721 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
46724 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
46727 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
46730 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
46733 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
46736 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
46739 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
46742 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
46745 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
46748 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
46751 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
46754 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
46757 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
46760 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
46763 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
46766 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
46769 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
46772 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
46775 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
46778 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
46781 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
46784 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
46787 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
46790 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
46793 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
46796 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
46799 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
46802 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
46805 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
46808 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
46811 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
46814 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
46817 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
46820 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
46823 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
46826 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
46829 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
46832 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
46835 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
46838 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
46841 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
46844 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
46847 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
46850 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
46853 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
46856 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
46859 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
46862 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
46865 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
46868 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
46871 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
46874 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
46877 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
46880 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
46883 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
46886 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
46889 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
46892 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
46895 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
46898 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
46901 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
46904 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
46907 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
46910 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
46913 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
46916 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
46919 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
46922 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
46925 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
46928 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
46931 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
46934 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
46937 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
46940 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
46943 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
46946 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
46949 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
46952 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
46955 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
46958 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
46961 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
46964 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
46967 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
46970 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
46973 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
46976 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
46979 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
46982 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
46985 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
46988 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
46991 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
46994 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
46997 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47000 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47003 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47006 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
47009 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
47012 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47015 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47018 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
47021 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
47024 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
47027 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
47030 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
47033 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
47036 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
47039 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
47042 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
47045 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
47048 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
47051 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
47054 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
47057 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
47060 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
47063 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
47066 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
47069 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
47072 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
47075 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
47078 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
47081 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
47084 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
47087 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
47090 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
47093 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
47096 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
47099 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
47102 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
47105 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
47108 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
47111 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
47114 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
47117 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
47120 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
47123 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
47126 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
47129 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
47132 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
47135 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
47138 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
47141 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
47144 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
47147 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
47150 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
47153 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
47156 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
47159 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
47162 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
47165 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
47168 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
47171 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
47174 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
47177 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
47180 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
47183 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
47186 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
47189 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
47192 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
47195 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
47198 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
47201 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
47204 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
47207 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
47210 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
47213 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
47216 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
47219 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
47222 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
47225 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
47228 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
47231 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
47234 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
47237 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
47240 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
47243 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
47246 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
47249 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
47252 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
47255 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
47258 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
47261 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
47264 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
47267 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
47270 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
47273 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
47276 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
47279 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
47282 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
47285 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
47288 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
47291 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
47294 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
47297 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
47300 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
47303 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
47306 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
47309 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
47312 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
47315 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
47318 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
47321 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
47324 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
47327 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
47330 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
47333 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
47336 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
47339 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
47342 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
47345 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
47348 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
47351 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
47354 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
47357 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
47360 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
47363 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
47366 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
47369 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
47372 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
47375 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
47378 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
47381 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
47384 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
47387 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
47390 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
47393 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
47396 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
47399 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
47402 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
47405 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
47408 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
47411 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
47414 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
47417 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
47420 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
47423 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
47426 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
47429 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
47432 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
47435 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
47438 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
47441 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
47444 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
47447 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
47450 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
47453 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
47456 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
47459 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
47462 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
47465 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
47468 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
47471 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
47474 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
47477 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
47480 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
47483 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
47486 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
47489 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
47492 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
47495 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
47498 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
47501 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
47504 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
47507 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
47510 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
47513 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
47516 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
47519 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
47522 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
47525 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
47528 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
47531 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
47534 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
47537 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
47540 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
47543 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
47546 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
47549 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
47552 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
47555 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
47558 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
47561 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
47564 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
47567 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
47570 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
47573 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
47576 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
47579 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
47582 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
47585 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
47588 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
47591 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
47594 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
47597 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
47600 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
47603 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
47606 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
47609 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
47612 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
47615 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
47618 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
47621 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
47624 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
47627 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
47630 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
47633 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
47636 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
47639 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
47642 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
47645 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
47648 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
47651 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
47654 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
47657 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
47660 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
47663 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
47666 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
47669 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
47672 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
47675 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
47678 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
47681 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
47684 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
47687 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
47690 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
47693 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
47696 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
47699 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
47702 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
47705 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
47708 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
47711 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
47714 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
47717 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
47720 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
47723 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
47726 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
47729 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
47732 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
47735 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
47738 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
47741 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
47744 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
47747 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
47750 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
47753 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
47756 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
47759 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
47762 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
47765 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
47768 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
47771 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
47774 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
47777 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
47780 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
47783 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
47786 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
47789 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
47792 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
47795 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
47798 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
47801 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
47804 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
47807 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
47810 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
47813 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
47816 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
47818 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
47819 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
47821 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
47824 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
47827 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
47830 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
47833 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
47836 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
47839 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
47842 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
47845 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
47848 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
47851 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
47854 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
47857 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
47860 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
47863 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
47866 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
47869 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
47872 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
47875 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
47878 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
47881 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
47884 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
47887 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
47890 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
47893 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
47896 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
47899 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
47902 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
47905 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
47908 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
47911 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
47914 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
47917 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
47920 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
47923 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
47926 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
47929 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
47932 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
47935 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
47938 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
47941 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
47944 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
47947 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
47950 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
47953 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
47956 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
47959 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
47962 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
47965 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
47968 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
47971 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
47973 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
47974 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
47976 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
47979 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
47982 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
47985 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
47988 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
47990 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
47991 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
47992 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
47993 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
47994 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
47995 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
47997 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48000 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48003 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
48006 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
48009 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
48012 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
48015 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
48018 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
48021 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
48024 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
48027 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
48030 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
48033 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
48036 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
48039 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
48041 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
48042 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
48043 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
48044 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
48045 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
48046 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
48047 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
48048 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
48049 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
48050 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
48051 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
48052 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
48053 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
48054 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
48055 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
48056 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
48057 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
48058 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
48059 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
48060 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
48061 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
48062 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
48063 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
48064 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
48065 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
48066 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
48067 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
48068 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
48069 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
48070 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
48071 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
48072 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
48073 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
48074 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
48075 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
48076 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
48077 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
48078 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
48079 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
48080 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
48081 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
48082 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
48083 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
48084 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
48085 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
48086 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
48087 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
48088 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
48089 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
48090 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
48091 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
48092 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
48093 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
48094 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
48095 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
48096 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
48097 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
48098 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
48099 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
48100 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
48101 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
48102 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
48103 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
48104 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
48105 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
48106 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
48107 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
48108 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
48109 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
48110 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
48111 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
48112 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
48113 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
48114 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
48115 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
48116 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
48117 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
48118 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
48119 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
48120 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
48121 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
48122 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
48123 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
48124 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
48125 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
48126 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
48127 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
48128 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
48129 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
48130 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
48131 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
48132 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
48133 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
48134 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
48135 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
48136 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
48137 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
48138 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
48139 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
48140 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
48141 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
48142 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
48143 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
48144 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
48145 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
48146 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
48147 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
48148 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
48149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
48150 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
48151 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
48152 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
48153 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
48154 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
48156 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
48159 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
48162 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
48165 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
48168 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
48171 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
48174 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
48177 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
48180 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
48183 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
48186 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
48189 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
48192 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
48195 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
48198 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
48201 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
48204 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
48207 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
48209 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
48210 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
48212 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
48215 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
48218 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
48221 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
48224 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
48226 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
48227 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
48229 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
48232 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
48235 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
48237 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
48239 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
48242 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
48245 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
48248 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
48251 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
48254 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
48257 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
48260 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
48263 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
48266 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
48269 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
48272 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
48275 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
48278 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
48281 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
48284 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
48287 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
48290 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
48293 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
48296 // Initialize threading, some globals and such
48300 // Although these are defined in __version__ they need to be here too so
48301 // that an assert can be done to ensure that the wxPython and the wxWindows
48303 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
48304 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
48305 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));