1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1342 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1343 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1344 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1345 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1346 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1347 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1348 #define SWIGTYPE_p_wxSizer swig_types[7]
1349 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1350 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1351 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1352 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1353 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1354 #define SWIGTYPE_p_wxEvent swig_types[13]
1355 #define SWIGTYPE_p_wxMenu swig_types[14]
1356 #define SWIGTYPE_p_wxGridSizer swig_types[15]
1357 #define SWIGTYPE_p_wxFlexGridSizer swig_types[16]
1358 #define SWIGTYPE_p_wxInitDialogEvent swig_types[17]
1359 #define SWIGTYPE_p_wxItemContainer swig_types[18]
1360 #define SWIGTYPE_p_wxNcPaintEvent swig_types[19]
1361 #define SWIGTYPE_p_wxPaintEvent swig_types[20]
1362 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[21]
1363 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[22]
1364 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[23]
1365 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[24]
1366 #define SWIGTYPE_p_wxControl swig_types[25]
1367 #define SWIGTYPE_p_wxFont swig_types[26]
1368 #define SWIGTYPE_p_wxMenuBarBase swig_types[27]
1369 #define SWIGTYPE_p_wxSetCursorEvent swig_types[28]
1370 #define SWIGTYPE_p_wxFSFile swig_types[29]
1371 #define SWIGTYPE_p_wxCaret swig_types[30]
1372 #define SWIGTYPE_ptrdiff_t swig_types[31]
1373 #define SWIGTYPE_std__ptrdiff_t swig_types[32]
1374 #define SWIGTYPE_p_wxRegion swig_types[33]
1375 #define SWIGTYPE_p_wxPoint2D swig_types[34]
1376 #define SWIGTYPE_p_int swig_types[35]
1377 #define SWIGTYPE_p_wxSize swig_types[36]
1378 #define SWIGTYPE_p_wxDC swig_types[37]
1379 #define SWIGTYPE_p_wxPySizer swig_types[38]
1380 #define SWIGTYPE_p_wxVisualAttributes swig_types[39]
1381 #define SWIGTYPE_p_wxNotifyEvent swig_types[40]
1382 #define SWIGTYPE_p_wxPyEvent swig_types[41]
1383 #define SWIGTYPE_p_wxPropagationDisabler swig_types[42]
1384 #define SWIGTYPE_p_form_ops_t swig_types[43]
1385 #define SWIGTYPE_p_wxAppTraits swig_types[44]
1386 #define SWIGTYPE_p_wxArrayString swig_types[45]
1387 #define SWIGTYPE_p_wxShowEvent swig_types[46]
1388 #define SWIGTYPE_p_wxToolTip swig_types[47]
1389 #define SWIGTYPE_p_wxMoveEvent swig_types[48]
1390 #define SWIGTYPE_p_wxSizeEvent swig_types[49]
1391 #define SWIGTYPE_p_wxActivateEvent swig_types[50]
1392 #define SWIGTYPE_p_wxIconizeEvent swig_types[51]
1393 #define SWIGTYPE_p_wxMaximizeEvent swig_types[52]
1394 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[53]
1395 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[54]
1396 #define SWIGTYPE_p_wxIdleEvent swig_types[55]
1397 #define SWIGTYPE_p_wxDateEvent swig_types[56]
1398 #define SWIGTYPE_p_wxMenuItem swig_types[57]
1399 #define SWIGTYPE_p_wxStaticBox swig_types[58]
1400 #define SWIGTYPE_p_long swig_types[59]
1401 #define SWIGTYPE_p_wxDuplexMode swig_types[60]
1402 #define SWIGTYPE_p_wxTIFFHandler swig_types[61]
1403 #define SWIGTYPE_p_wxXPMHandler swig_types[62]
1404 #define SWIGTYPE_p_wxPNMHandler swig_types[63]
1405 #define SWIGTYPE_p_wxJPEGHandler swig_types[64]
1406 #define SWIGTYPE_p_wxPCXHandler swig_types[65]
1407 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
1408 #define SWIGTYPE_p_wxPNGHandler swig_types[67]
1409 #define SWIGTYPE_p_wxANIHandler swig_types[68]
1410 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
1411 #define SWIGTYPE_p_wxZipFSHandler swig_types[70]
1412 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
1413 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[72]
1414 #define SWIGTYPE_p_wxEvtHandler swig_types[73]
1415 #define SWIGTYPE_p_wxCURHandler swig_types[74]
1416 #define SWIGTYPE_p_wxICOHandler swig_types[75]
1417 #define SWIGTYPE_p_wxBMPHandler swig_types[76]
1418 #define SWIGTYPE_p_wxImageHandler swig_types[77]
1419 #define SWIGTYPE_p_wxFileSystemHandler swig_types[78]
1420 #define SWIGTYPE_p_wxRect swig_types[79]
1421 #define SWIGTYPE_p_wxButton swig_types[80]
1422 #define SWIGTYPE_p_wxGBSpan swig_types[81]
1423 #define SWIGTYPE_p_wxPropagateOnce swig_types[82]
1424 #define SWIGTYPE_p_wxAcceleratorTable swig_types[83]
1425 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[84]
1426 #define SWIGTYPE_p_char swig_types[85]
1427 #define SWIGTYPE_p_wxGBPosition swig_types[86]
1428 #define SWIGTYPE_p_wxImage swig_types[87]
1429 #define SWIGTYPE_p_wxFrame swig_types[88]
1430 #define SWIGTYPE_p_wxScrollWinEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPaperSize swig_types[90]
1432 #define SWIGTYPE_p_wxImageHistogram swig_types[91]
1433 #define SWIGTYPE_p_wxPoint swig_types[92]
1434 #define SWIGTYPE_p_wxCursor swig_types[93]
1435 #define SWIGTYPE_p_wxObject swig_types[94]
1436 #define SWIGTYPE_p_wxInputStream swig_types[95]
1437 #define SWIGTYPE_p_wxOutputStream swig_types[96]
1438 #define SWIGTYPE_p_wxPyInputStream swig_types[97]
1439 #define SWIGTYPE_p_wxDateTime swig_types[98]
1440 #define SWIGTYPE_p_wxKeyEvent swig_types[99]
1441 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[100]
1442 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[101]
1443 #define SWIGTYPE_p_unsigned_long swig_types[102]
1444 #define SWIGTYPE_p_wxWindow swig_types[103]
1445 #define SWIGTYPE_p_wxMenuBar swig_types[104]
1446 #define SWIGTYPE_p_wxFileSystem swig_types[105]
1447 #define SWIGTYPE_p_wxBitmap swig_types[106]
1448 #define SWIGTYPE_unsigned_int swig_types[107]
1449 #define SWIGTYPE_p_unsigned_int swig_types[108]
1450 #define SWIGTYPE_p_wxMenuEvent swig_types[109]
1451 #define SWIGTYPE_p_wxContextMenuEvent swig_types[110]
1452 #define SWIGTYPE_p_unsigned_char swig_types[111]
1453 #define SWIGTYPE_p_wxEraseEvent swig_types[112]
1454 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
1455 #define SWIGTYPE_p_wxCloseEvent swig_types[114]
1456 #define SWIGTYPE_p_wxPyApp swig_types[115]
1457 #define SWIGTYPE_p_wxCommandEvent swig_types[116]
1458 #define SWIGTYPE_p_wxPyCommandEvent swig_types[117]
1459 #define SWIGTYPE_p_wxPyDropTarget swig_types[118]
1460 #define SWIGTYPE_p_wxQuantize swig_types[119]
1461 #define SWIGTYPE_p_wxChildFocusEvent swig_types[120]
1462 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1463 #define SWIGTYPE_p_wxDropFilesEvent swig_types[122]
1464 #define SWIGTYPE_p_wxControlWithItems swig_types[123]
1465 #define SWIGTYPE_p_wxColour swig_types[124]
1466 #define SWIGTYPE_p_wxValidator swig_types[125]
1467 #define SWIGTYPE_p_wxPyValidator swig_types[126]
1468 static swig_type_info
*swig_types
[128];
1470 /* -------- TYPES TABLE (END) -------- */
1473 /*-----------------------------------------------
1474 @(target):= _core_.so
1475 ------------------------------------------------*/
1476 #define SWIG_init init_core_
1478 #define SWIG_name "_core_"
1480 #include "wx/wxPython/wxPython_int.h"
1481 #include "wx/wxPython/pyclasses.h"
1484 #ifndef wxPyUSE_EXPORT
1485 // Helper functions for dealing with SWIG objects and such. These are
1486 // located here so they know about the SWIG types and functions declared
1487 // in the wrapper code.
1489 #include <wx/hashmap.h>
1490 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1493 // Maintains a hashmap of className to swig_type_info pointers. Given the
1494 // name of a class either looks up the type info in the cache, or scans the
1495 // SWIG tables for it.
1496 extern PyObject
* wxPyPtrTypeMap
;
1498 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1500 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1502 if (typeInfoCache
== NULL
)
1503 typeInfoCache
= new wxPyTypeInfoHashMap
;
1505 wxString
name(className
);
1506 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1509 // it wasn't in the cache, so look it up from SWIG
1510 name
.Append(wxT(" *"));
1511 swigType
= SWIG_TypeQuery(name
.mb_str());
1513 // if it still wasn't found, try looking for a mapped name
1518 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1519 (char*)(const char*)name
.mbc_str())) != NULL
) {
1520 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1521 name
.Append(wxT(" *"));
1522 swigType
= SWIG_TypeQuery(name
.mb_str());
1526 // and add it to the map if found
1527 (*typeInfoCache
)[className
] = swigType
;
1534 // Check if a class name is a type known to SWIG
1535 bool wxPyCheckSwigType(const wxChar
* className
) {
1537 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1538 return swigType
!= NULL
;
1542 // Given a pointer to a C++ object and a class name, construct a Python proxy
1544 PyObject
* wxPyConstructObject(void* ptr
,
1545 const wxChar
* className
,
1548 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1549 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1551 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1555 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1556 // Ensures that the proxy object is of the specified (or derived) type. If
1557 // not able to perform the conversion then a Python exception is set and the
1558 // error should be handled properly in the caller. Returns True on success.
1559 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1560 const wxChar
* className
) {
1562 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1563 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1565 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1569 // Make a SWIGified pointer object suitable for a .this attribute
1570 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1572 PyObject
* robj
= NULL
;
1574 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1575 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1577 #ifdef SWIG_COBJECT_TYPES
1578 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1582 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1583 PyString_FromString(result
) : 0;
1593 // Export a C API in a struct. Other modules will be able to load this from
1594 // the wx._core_ module and will then have safe access to these functions,
1595 // even if they are located in another shared library.
1596 static wxPyCoreAPI API
= {
1599 wxPyConstructObject
,
1603 wxPyBeginAllowThreads
,
1604 wxPyEndAllowThreads
,
1605 wxPyBeginBlockThreads
,
1606 wxPyEndBlockThreads
,
1618 wxPoint_LIST_helper
,
1619 wxBitmap_LIST_helper
,
1620 wxString_LIST_helper
,
1621 wxAcceleratorEntry_LIST_helper
,
1630 wxPySimple_typecheck
,
1633 wxPyCBH_setCallbackInfo
,
1634 wxPyCBH_findCallback
,
1635 wxPyCBH_callCallback
,
1636 wxPyCBH_callCallbackObj
,
1642 wxPy2int_seq_helper
,
1643 wxPy4int_seq_helper
,
1644 wxArrayString2PyList_helper
,
1645 wxArrayInt2PyList_helper
,
1647 wxPyClientData_dtor
,
1649 wxPyOORClientData_dtor
,
1651 wxPyCBInputStream_create
,
1654 wxPySwigInstance_Check
,
1663 #if !WXWIN_COMPATIBILITY_2_4
1664 #define wxHIDE_READONLY 0
1668 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1669 #define SWIG_From_int PyInt_FromLong
1674 enum wxHotkeyModifier
1682 #define wxEVT_HOTKEY 9999
1685 static const wxString
wxPyEmptyString(wxEmptyString
);
1686 static wxString
wxObject_GetClassName(wxObject
*self
){
1687 return self
->GetClassInfo()->GetClassName();
1689 static void wxObject_Destroy(wxObject
*self
){
1694 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1702 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1705 if (value
< min_value
) {
1707 PyErr_Format(PyExc_OverflowError
,
1708 "value %ld is less than '%s' minimum %ld",
1709 value
, errmsg
, min_value
);
1712 } else if (value
> max_value
) {
1714 PyErr_Format(PyExc_OverflowError
,
1715 "value %ld is greater than '%s' maximum %ld",
1716 value
, errmsg
, max_value
);
1725 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1727 if (PyNumber_Check(obj
)) {
1728 if (val
) *val
= PyInt_AsLong(obj
);
1732 SWIG_type_error("number", obj
);
1738 #if INT_MAX != LONG_MAX
1740 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1742 const char* errmsg
= val
? "int" : (char*)0;
1744 if (SWIG_AsVal_long(obj
, &v
)) {
1745 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1746 if (val
) *val
= (int)(v
);
1755 SWIG_type_error(errmsg
, obj
);
1761 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1763 return SWIG_AsVal_long(obj
,(long*)val
);
1769 SWIG_As_int(PyObject
* obj
)
1772 if (!SWIG_AsVal_int(obj
, &v
)) {
1774 this is needed to make valgrind/purify happier.
1776 memset((void*)&v
, 0, sizeof(int));
1783 SWIG_Check_int(PyObject
* obj
)
1785 return SWIG_AsVal_int(obj
, (int*)0);
1788 static PyObject
*wxSize_Get(wxSize
*self
){
1789 bool blocked
= wxPyBeginBlockThreads();
1790 PyObject
* tup
= PyTuple_New(2);
1791 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1792 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1793 wxPyEndBlockThreads(blocked
);
1798 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1800 if (PyNumber_Check(obj
)) {
1801 if (val
) *val
= PyFloat_AsDouble(obj
);
1805 SWIG_type_error("number", obj
);
1811 SWIGINTERNSHORT
double
1812 SWIG_As_double(PyObject
* obj
)
1815 if (!SWIG_AsVal_double(obj
, &v
)) {
1817 this is needed to make valgrind/purify happier.
1819 memset((void*)&v
, 0, sizeof(double));
1826 SWIG_Check_double(PyObject
* obj
)
1828 return SWIG_AsVal_double(obj
, (double*)0);
1832 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1833 #define SWIG_From_double PyFloat_FromDouble
1836 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1840 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1841 bool blocked
= wxPyBeginBlockThreads();
1842 PyObject
* tup
= PyTuple_New(2);
1843 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1844 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1845 wxPyEndBlockThreads(blocked
);
1849 SWIGINTERNSHORT
long
1850 SWIG_As_long(PyObject
* obj
)
1853 if (!SWIG_AsVal_long(obj
, &v
)) {
1855 this is needed to make valgrind/purify happier.
1857 memset((void*)&v
, 0, sizeof(long));
1864 SWIG_Check_long(PyObject
* obj
)
1866 return SWIG_AsVal_long(obj
, (long*)0);
1869 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1873 static PyObject
*wxPoint_Get(wxPoint
*self
){
1874 bool blocked
= wxPyBeginBlockThreads();
1875 PyObject
* tup
= PyTuple_New(2);
1876 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1877 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1878 wxPyEndBlockThreads(blocked
);
1881 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1884 self
->width
= width
;
1885 self
->height
= height
;
1887 static PyObject
*wxRect_Get(wxRect
*self
){
1888 bool blocked
= wxPyBeginBlockThreads();
1889 PyObject
* tup
= PyTuple_New(4);
1890 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1891 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1892 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1893 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1894 wxPyEndBlockThreads(blocked
);
1898 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1901 wxRect
dest(0,0,0,0);
1904 reg1
.Intersect(reg2
);
1905 dest
= reg1
.GetBox();
1907 if (dest
!= wxRect(0,0,0,0)) {
1908 bool blocked
= wxPyBeginBlockThreads();
1909 wxRect
* newRect
= new wxRect(dest
);
1910 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1911 wxPyEndBlockThreads(blocked
);
1919 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1925 } else if (target
== Py_None
) {
1929 if (!PyTuple_Check(target
)) {
1931 target
= PyTuple_New(1);
1932 PyTuple_SetItem(target
, 0, o2
);
1934 o3
= PyTuple_New(1);
1935 PyTuple_SetItem(o3
, 0, o
);
1938 target
= PySequence_Concat(o2
, o3
);
1946 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1950 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1951 bool blocked
= wxPyBeginBlockThreads();
1952 PyObject
* tup
= PyTuple_New(2);
1953 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1954 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1955 wxPyEndBlockThreads(blocked
);
1959 #include "wx/wxPython/pyistream.h"
1961 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1962 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1964 return new wxPyInputStream(wxis
);
1969 SWIGINTERNSHORT PyObject
*
1970 SWIG_From_char(char c
)
1972 return PyString_FromStringAndSize(&c
,1);
1976 SWIGINTERNSHORT PyObject
*
1977 SWIG_From_unsigned_SS_long(unsigned long value
)
1979 return (value
> LONG_MAX
) ?
1980 PyLong_FromUnsignedLong(value
)
1981 : PyInt_FromLong((long)(value
));
1985 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1987 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1989 static swig_type_info
* pchar_info
= 0;
1991 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1992 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1993 if (cptr
) *cptr
= vptr
;
1994 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1998 if (PyString_Check(obj
)) {
2000 *cptr
= PyString_AS_STRING(obj
);
2002 *psize
= PyString_GET_SIZE(obj
) + 1;
2009 SWIG_type_error("char *", obj
);
2016 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2018 char* cptr
; size_t csize
;
2019 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2022 char x[5] = "hello";
2024 ie, assing the array using an extra '0' char.
2026 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2027 if (csize
<= size
) {
2029 if (csize
) memcpy(val
, cptr
, csize
);
2030 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2036 PyErr_Format(PyExc_TypeError
,
2037 "a char array of maximum size %lu is expected",
2038 (unsigned long) size
);
2045 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2047 const char* errmsg
= val
? "char" : (char*)0;
2049 if (SWIG_AsVal_long(obj
, &v
)) {
2050 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2051 if (val
) *val
= (char)(v
);
2058 return SWIG_AsCharArray(obj
, val
, 1);
2063 SWIGINTERNSHORT
char
2064 SWIG_As_char(PyObject
* obj
)
2067 if (!SWIG_AsVal_char(obj
, &v
)) {
2069 this is needed to make valgrind/purify happier.
2071 memset((void*)&v
, 0, sizeof(char));
2078 SWIG_Check_char(PyObject
* obj
)
2080 return SWIG_AsVal_char(obj
, (char*)0);
2084 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2085 #define SWIG_From_long PyInt_FromLong
2088 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2089 // We use only strings for the streams, not unicode
2090 PyObject
* str
= PyObject_Str(obj
);
2092 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2095 self
->Write(PyString_AS_STRING(str
),
2096 PyString_GET_SIZE(str
));
2100 #include "wx/wxPython/pyistream.h"
2103 class wxPyFileSystemHandler
: public wxFileSystemHandler
2106 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2108 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2109 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2110 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2111 DEC_PYCALLBACK_STRING__pure(FindNext
);
2113 wxString
GetProtocol(const wxString
& location
) {
2114 return wxFileSystemHandler::GetProtocol(location
);
2117 wxString
GetLeftLocation(const wxString
& location
) {
2118 return wxFileSystemHandler::GetLeftLocation(location
);
2121 wxString
GetAnchor(const wxString
& location
) {
2122 return wxFileSystemHandler::GetAnchor(location
);
2125 wxString
GetRightLocation(const wxString
& location
) {
2126 return wxFileSystemHandler::GetRightLocation(location
);
2129 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2130 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2137 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2138 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2139 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2140 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2144 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2146 if (obj
== Py_True
) {
2147 if (val
) *val
= true;
2150 if (obj
== Py_False
) {
2151 if (val
) *val
= false;
2155 if (SWIG_AsVal_int(obj
, &res
)) {
2156 if (val
) *val
= res
? true : false;
2162 SWIG_type_error("bool", obj
);
2168 SWIGINTERNSHORT
bool
2169 SWIG_As_bool(PyObject
* obj
)
2172 if (!SWIG_AsVal_bool(obj
, &v
)) {
2174 this is needed to make valgrind/purify happier.
2176 memset((void*)&v
, 0, sizeof(bool));
2183 SWIG_Check_bool(PyObject
* obj
)
2185 return SWIG_AsVal_bool(obj
, (bool*)0);
2188 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2189 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2190 return fname
.GetFullPath();
2193 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2196 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2199 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2200 const wxBitmap
& bitmap
,
2202 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2205 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2207 if (! PyString_Check(data
)) {
2208 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2209 "Expected string object"));
2213 bool blocked
= wxPyBeginBlockThreads();
2214 void* ptr
= (void*)PyString_AsString(data
);
2215 size_t size
= PyString_Size(data
);
2216 wxPyEndBlockThreads(blocked
);
2218 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2222 #include "wx/wxPython/pyistream.h"
2226 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2229 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2230 SWIG_type_error("unsigned number", obj
);
2233 *val
= (unsigned long)v
;
2239 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2240 unsigned long max_value
,
2243 if (value
> max_value
) {
2245 PyErr_Format(PyExc_OverflowError
,
2246 "value %lu is greater than '%s' minimum %lu",
2247 value
, errmsg
, max_value
);
2256 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2258 const char* errmsg
= val
? "unsigned char" : (char*)0;
2260 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2261 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2262 if (val
) *val
= (unsigned char)(v
);
2271 SWIG_type_error(errmsg
, obj
);
2277 SWIGINTERNSHORT
unsigned char
2278 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2281 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2283 this is needed to make valgrind/purify happier.
2285 memset((void*)&v
, 0, sizeof(unsigned char));
2292 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2294 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2298 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2299 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2303 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2304 if (width
> 0 && height
> 0)
2305 return new wxImage(width
, height
, clear
);
2309 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2310 return new wxImage(bitmap
.ConvertToImage());
2312 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2313 // Copy the source data so the wxImage can clean it up later
2314 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2319 memcpy(copy
, data
, width
*height
*3);
2320 return new wxImage(width
, height
, copy
, false);
2322 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2323 // Copy the source data so the wxImage can clean it up later
2324 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2325 if (dcopy
== NULL
) {
2329 memcpy(dcopy
, data
, width
*height
*3);
2330 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2331 if (acopy
== NULL
) {
2335 memcpy(acopy
, alpha
, width
*height
);
2337 return new wxImage(width
, height
, dcopy
, acopy
, false);
2339 static wxSize
wxImage_GetSize(wxImage
*self
){
2340 wxSize
size(self
->GetWidth(), self
->GetHeight());
2343 static PyObject
*wxImage_GetData(wxImage
*self
){
2344 unsigned char* data
= self
->GetData();
2345 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2347 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2350 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2351 unsigned char* dataPtr
;
2353 if (! PyString_Check(data
)) {
2354 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2355 "Expected string object"));
2359 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2360 dataPtr
= (unsigned char*) malloc(len
);
2361 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2362 self
->SetData(dataPtr
);
2363 // wxImage takes ownership of dataPtr...
2365 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2366 unsigned char* data
= self
->GetData();
2367 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2369 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2372 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2373 unsigned char* buffer
;
2376 bool blocked
= wxPyBeginBlockThreads();
2377 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2380 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2381 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2384 self
->SetData(buffer
);
2386 wxPyEndBlockThreads(blocked
);
2388 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2389 unsigned char* data
= self
->GetAlpha();
2393 int len
= self
->GetWidth() * self
->GetHeight();
2395 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2399 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2400 unsigned char* dataPtr
;
2402 if (! PyString_Check(data
)) {
2403 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2407 size_t len
= self
->GetWidth() * self
->GetHeight();
2408 dataPtr
= (unsigned char*) malloc(len
);
2409 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2410 self
->SetAlpha(dataPtr
);
2411 // wxImage takes ownership of dataPtr...
2413 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2414 unsigned char* data
= self
->GetAlpha();
2415 int len
= self
->GetWidth() * self
->GetHeight();
2417 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2420 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2421 unsigned char* buffer
;
2424 bool blocked
= wxPyBeginBlockThreads();
2425 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2428 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2429 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2432 self
->SetAlpha(buffer
);
2434 wxPyEndBlockThreads(blocked
);
2437 SWIGINTERNSHORT
unsigned long
2438 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2441 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2443 this is needed to make valgrind/purify happier.
2445 memset((void*)&v
, 0, sizeof(unsigned long));
2452 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2454 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2457 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2458 wxBitmap
bitmap(*self
, depth
);
2461 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2462 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2463 wxBitmap
bitmap( mono
, 1 );
2466 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2467 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2468 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2469 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2470 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2471 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2472 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2473 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2474 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2475 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2476 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2477 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2478 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2479 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2480 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2482 #include <wx/quantize.h>
2484 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2485 return wxQuantize::Quantize(src
, dest
,
2488 NULL
, // eightBitData
2491 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2492 if (PyCallable_Check(func
)) {
2493 self
->Connect(id
, lastId
, eventType
,
2494 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2495 new wxPyCallback(func
));
2497 else if (func
== Py_None
) {
2498 self
->Disconnect(id
, lastId
, eventType
,
2499 (wxObjectEventFunction
)
2500 &wxPyCallback::EventThunker
);
2504 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2507 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2508 return self
->Disconnect(id
, lastId
, eventType
,
2509 (wxObjectEventFunction
)
2510 &wxPyCallback::EventThunker
);
2512 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2513 if (_self
&& _self
!= Py_None
) {
2514 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2517 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2519 self
->SetClientObject(NULL
); // This will delete it too
2524 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2526 return self
->GetUnicodeKey();
2532 #if UINT_MAX < LONG_MAX
2533 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2534 #define SWIG_From_unsigned_SS_int SWIG_From_long
2537 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2538 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2543 #if UINT_MAX != ULONG_MAX
2545 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2547 const char* errmsg
= val
? "unsigned int" : (char*)0;
2549 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2550 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2551 if (val
) *val
= (unsigned int)(v
);
2558 SWIG_type_error(errmsg
, obj
);
2563 SWIGINTERNSHORT
unsigned int
2564 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2566 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2571 SWIGINTERNSHORT
unsigned int
2572 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2575 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2577 this is needed to make valgrind/purify happier.
2579 memset((void*)&v
, 0, sizeof(unsigned int));
2586 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2588 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2591 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2592 self
->m_size
= size
;
2594 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2595 int count
= self
->GetNumberOfFiles();
2596 wxString
* files
= self
->GetFiles();
2597 PyObject
* list
= PyList_New(count
);
2600 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2604 for (int i
=0; i
<count
; i
++) {
2605 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2611 static wxPyApp
*new_wxPyApp(){
2612 wxPythonApp
= new wxPyApp();
2615 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2617 void wxApp_CleanUp() {
2622 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2626 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2628 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2633 SWIG_type_error("char *", obj
);
2639 SWIGINTERN PyObject
*
2640 SWIG_FromCharPtr(const char* cptr
)
2643 size_t size
= strlen(cptr
);
2644 if (size
> INT_MAX
) {
2645 return SWIG_NewPointerObj((char*)(cptr
),
2646 SWIG_TypeQuery("char *"), 0);
2649 return PyString_FromStringAndSize(cptr
, size
);
2651 return PyString_FromString(cptr
);
2662 // A dummy class that raises an exception if used...
2666 wxEventLoop() { wxPyRaiseNotImplemented(); }
2667 int Run() { return 0; }
2668 void Exit(int rc
= 0) {}
2669 bool Pending() const { return false; }
2670 bool Dispatch() { return false; }
2671 bool IsRunning() const { return false; }
2672 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2673 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2678 #include <wx/evtloop.h>
2684 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2685 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2686 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2687 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2688 wxWindowList
& list
= self
->GetChildren();
2689 return wxPy_ConvertList(&list
);
2691 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2693 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2698 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2705 static long wxWindow_GetHandle(wxWindow
*self
){
2706 return wxPyGetWinHandle(self
);
2708 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2709 self
->AssociateHandle((WXWidget
)handle
);
2712 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2713 return wxWindow::FindWindowById(id
, parent
);
2716 wxWindow
* wxFindWindowByName( const wxString
& name
,
2717 const wxWindow
*parent
= NULL
) {
2718 return wxWindow::FindWindowByName(name
, parent
);
2721 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2722 const wxWindow
*parent
= NULL
) {
2723 return wxWindow::FindWindowByLabel(label
, parent
);
2728 #include <wx/msw/private.h> // to get wxGetWindowId
2732 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2734 WXHWND hWnd
= (WXHWND
)_hWnd
;
2735 long id
= wxGetWindowId(hWnd
);
2736 wxWindow
* win
= new wxWindow
;
2737 parent
->AddChild(win
);
2738 win
->SetEventHandler(win
);
2741 win
->SubclassWin(hWnd
);
2742 win
->AdoptAttributesFromHWND();
2743 win
->SetupColours();
2746 wxPyRaiseNotImplemented();
2752 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2753 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2754 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2756 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2758 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2759 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2760 wxMenuItemList
& list
= self
->GetMenuItems();
2761 return wxPy_ConvertList(&list
);
2763 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2764 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2765 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2766 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2767 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2768 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2769 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2770 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2771 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2772 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2773 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2774 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2775 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2776 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2777 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2778 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2779 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2781 wxPyClientData
* data
= new wxPyClientData(clientData
);
2782 return self
->Append(item
, data
);
2784 return self
->Append(item
);
2786 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2788 wxPyClientData
* data
= new wxPyClientData(clientData
);
2789 return self
->Insert(item
, pos
, data
);
2791 return self
->Insert(item
, pos
);
2793 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2794 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2796 Py_INCREF(data
->m_obj
);
2803 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2804 wxPyClientData
* data
= new wxPyClientData(clientData
);
2805 self
->SetClientObject(n
, data
);
2809 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2810 wxPyUserData
* data
= NULL
;
2812 bool blocked
= wxPyBeginBlockThreads();
2813 data
= new wxPyUserData(userData
);
2814 wxPyEndBlockThreads(blocked
);
2816 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2818 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2819 wxPyUserData
* data
= NULL
;
2821 bool blocked
= wxPyBeginBlockThreads();
2822 data
= new wxPyUserData(userData
);
2823 wxPyEndBlockThreads(blocked
);
2825 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2827 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2828 wxPyUserData
* data
= NULL
;
2830 bool blocked
= wxPyBeginBlockThreads();
2831 data
= new wxPyUserData(userData
);
2832 wxPyEndBlockThreads(blocked
);
2834 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2839 SWIG_CheckDoubleInRange(double value
, double min_value
,
2840 double max_value
, const char* errmsg
)
2842 if (value
< min_value
) {
2844 PyErr_Format(PyExc_OverflowError
,
2845 "value %g is less than %s minimum %g",
2846 value
, errmsg
, min_value
);
2849 } else if (value
> max_value
) {
2851 PyErr_Format(PyExc_OverflowError
,
2852 "value %g is greater than %s maximum %g",
2853 value
, errmsg
, max_value
);
2862 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2864 const char* errmsg
= val
? "float" : (char*)0;
2866 if (SWIG_AsVal_double(obj
, &v
)) {
2867 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2868 if (val
) *val
= (float)(v
);
2877 SWIG_type_error(errmsg
, obj
);
2883 SWIGINTERNSHORT
float
2884 SWIG_As_float(PyObject
* obj
)
2887 if (!SWIG_AsVal_float(obj
, &v
)) {
2889 this is needed to make valgrind/purify happier.
2891 memset((void*)&v
, 0, sizeof(float));
2898 SWIG_Check_float(PyObject
* obj
)
2900 return SWIG_AsVal_float(obj
, (float*)0);
2904 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2905 #define SWIG_From_float PyFloat_FromDouble
2908 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2909 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2911 Py_INCREF(data
->m_obj
);
2919 // Figure out the type of the sizer item
2921 struct wxPySizerItemInfo
{
2923 : window(NULL
), sizer(NULL
), gotSize(false),
2924 size(wxDefaultSize
), gotPos(false), pos(-1)
2935 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2937 wxPySizerItemInfo info
;
2939 wxSize
* sizePtr
= &size
;
2941 // Find out what the type of the item is
2943 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2948 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2952 // try wxSize or (w,h)
2953 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2954 info
.size
= *sizePtr
;
2955 info
.gotSize
= true;
2959 if (checkIdx
&& PyInt_Check(item
)) {
2960 info
.pos
= PyInt_AsLong(item
);
2966 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2967 // no expected type, figure out what kind of error message to generate
2968 if ( !checkSize
&& !checkIdx
)
2969 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2970 else if ( checkSize
&& !checkIdx
)
2971 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2972 else if ( !checkSize
&& checkIdx
)
2973 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2975 // can this one happen?
2976 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2982 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2983 if (!self
->GetClientObject())
2984 self
->SetClientObject(new wxPyOORClientData(_self
));
2986 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2988 wxPyUserData
* data
= NULL
;
2989 bool blocked
= wxPyBeginBlockThreads();
2990 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2991 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2992 data
= new wxPyUserData(userData
);
2993 wxPyEndBlockThreads(blocked
);
2995 // Now call the real Add method if a valid item type was found
2997 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2998 else if ( info
.sizer
)
2999 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3000 else if (info
.gotSize
)
3001 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3002 proportion
, flag
, border
, data
);
3006 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3008 wxPyUserData
* data
= NULL
;
3009 bool blocked
= wxPyBeginBlockThreads();
3010 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3011 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3012 data
= new wxPyUserData(userData
);
3013 wxPyEndBlockThreads(blocked
);
3015 // Now call the real Insert method if a valid item type was found
3017 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3018 else if ( info
.sizer
)
3019 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3020 else if (info
.gotSize
)
3021 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3022 proportion
, flag
, border
, data
);
3026 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3028 wxPyUserData
* data
= NULL
;
3029 bool blocked
= wxPyBeginBlockThreads();
3030 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3031 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3032 data
= new wxPyUserData(userData
);
3033 wxPyEndBlockThreads(blocked
);
3035 // Now call the real Prepend method if a valid item type was found
3037 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3038 else if ( info
.sizer
)
3039 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3040 else if (info
.gotSize
)
3041 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3042 proportion
, flag
, border
, data
);
3046 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3047 bool blocked
= wxPyBeginBlockThreads();
3048 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3049 wxPyEndBlockThreads(blocked
);
3051 return self
->Remove(info
.window
);
3052 else if ( info
.sizer
)
3053 return self
->Remove(info
.sizer
);
3054 else if ( info
.gotPos
)
3055 return self
->Remove(info
.pos
);
3059 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3060 bool blocked
= wxPyBeginBlockThreads();
3061 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3062 wxPyEndBlockThreads(blocked
);
3064 return self
->Detach(info
.window
);
3065 else if ( info
.sizer
)
3066 return self
->Detach(info
.sizer
);
3067 else if ( info
.gotPos
)
3068 return self
->Detach(info
.pos
);
3072 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3073 bool blocked
= wxPyBeginBlockThreads();
3074 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3075 wxPyEndBlockThreads(blocked
);
3077 return self
->GetItem(info
.window
);
3078 else if ( info
.sizer
)
3079 return self
->GetItem(info
.sizer
);
3080 else if ( info
.gotPos
)
3081 return self
->GetItem(info
.pos
);
3085 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3086 bool blocked
= wxPyBeginBlockThreads();
3087 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3088 wxPyEndBlockThreads(blocked
);
3090 self
->SetItemMinSize(info
.window
, size
);
3091 else if ( info
.sizer
)
3092 self
->SetItemMinSize(info
.sizer
, size
);
3093 else if ( info
.gotPos
)
3094 self
->SetItemMinSize(info
.pos
, size
);
3096 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3097 wxSizerItemList
& list
= self
->GetChildren();
3098 return wxPy_ConvertList(&list
);
3100 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3101 bool blocked
= wxPyBeginBlockThreads();
3102 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3103 wxPyEndBlockThreads(blocked
);
3105 return self
->Show(info
.window
, show
, recursive
);
3106 else if ( info
.sizer
)
3107 return self
->Show(info
.sizer
, show
, recursive
);
3108 else if ( info
.gotPos
)
3109 return self
->Show(info
.pos
, show
);
3113 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3114 bool blocked
= wxPyBeginBlockThreads();
3115 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3116 wxPyEndBlockThreads(blocked
);
3118 return self
->IsShown(info
.window
);
3119 else if ( info
.sizer
)
3120 return self
->IsShown(info
.sizer
);
3121 else if ( info
.gotPos
)
3122 return self
->IsShown(info
.pos
);
3128 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3129 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3130 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3135 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3137 if (source
== Py_None
) {
3138 **obj
= wxGBPosition(-1,-1);
3141 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3144 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3146 if (source
== Py_None
) {
3147 **obj
= wxGBSpan(-1,-1);
3150 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3154 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3158 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3159 bool blocked
= wxPyBeginBlockThreads();
3160 PyObject
* tup
= PyTuple_New(2);
3161 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3162 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3163 wxPyEndBlockThreads(blocked
);
3166 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3167 self
->SetRowspan(rowspan
);
3168 self
->SetColspan(colspan
);
3170 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3171 bool blocked
= wxPyBeginBlockThreads();
3172 PyObject
* tup
= PyTuple_New(2);
3173 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3174 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3175 wxPyEndBlockThreads(blocked
);
3178 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3179 wxPyUserData
* data
= NULL
;
3181 bool blocked
= wxPyBeginBlockThreads();
3182 data
= new wxPyUserData(userData
);
3183 wxPyEndBlockThreads(blocked
);
3185 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3187 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3188 wxPyUserData
* data
= NULL
;
3190 bool blocked
= wxPyBeginBlockThreads();
3191 data
= new wxPyUserData(userData
);
3192 wxPyEndBlockThreads(blocked
);
3194 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3196 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3197 wxPyUserData
* data
= NULL
;
3199 bool blocked
= wxPyBeginBlockThreads();
3200 data
= new wxPyUserData(userData
);
3201 wxPyEndBlockThreads(blocked
);
3203 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3205 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3207 self
->GetEndPos(row
, col
);
3208 return wxGBPosition(row
, col
);
3210 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3212 wxPyUserData
* data
= NULL
;
3213 bool blocked
= wxPyBeginBlockThreads();
3214 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3215 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3216 data
= new wxPyUserData(userData
);
3217 wxPyEndBlockThreads(blocked
);
3219 // Now call the real Add method if a valid item type was found
3221 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3222 else if ( info
.sizer
)
3223 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3224 else if (info
.gotSize
)
3225 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3226 pos
, span
, flag
, border
, data
);
3234 static int _wrap_EmptyString_set(PyObject
*) {
3235 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3240 static PyObject
*_wrap_EmptyString_get(void) {
3245 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3247 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3254 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxObject
*arg1
= (wxObject
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3260 (char *) "self", NULL
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3265 if (SWIG_arg_fail(1)) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= wxObject_GetClassName(arg1
);
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3286 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxObject
*arg1
= (wxObject
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3296 if (SWIG_arg_fail(1)) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 wxObject_Destroy(arg1
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3304 Py_INCREF(Py_None
); resultobj
= Py_None
;
3311 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3314 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3316 return Py_BuildValue((char *)"");
3318 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
*resultobj
;
3320 wxSize
*arg1
= (wxSize
*) 0 ;
3322 PyObject
* obj0
= 0 ;
3323 PyObject
* obj1
= 0 ;
3325 (char *) "self",(char *) "x", NULL
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3330 if (SWIG_arg_fail(1)) SWIG_fail
;
3332 arg2
= (int)(SWIG_As_int(obj1
));
3333 if (SWIG_arg_fail(2)) SWIG_fail
;
3335 if (arg1
) (arg1
)->x
= arg2
;
3337 Py_INCREF(Py_None
); resultobj
= Py_None
;
3344 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
*resultobj
;
3346 wxSize
*arg1
= (wxSize
*) 0 ;
3348 PyObject
* obj0
= 0 ;
3350 (char *) "self", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3355 if (SWIG_arg_fail(1)) SWIG_fail
;
3356 result
= (int) ((arg1
)->x
);
3359 resultobj
= SWIG_From_int((int)(result
));
3367 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 wxSize
*arg1
= (wxSize
*) 0 ;
3371 PyObject
* obj0
= 0 ;
3372 PyObject
* obj1
= 0 ;
3374 (char *) "self",(char *) "y", NULL
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3379 if (SWIG_arg_fail(1)) SWIG_fail
;
3381 arg2
= (int)(SWIG_As_int(obj1
));
3382 if (SWIG_arg_fail(2)) SWIG_fail
;
3384 if (arg1
) (arg1
)->y
= arg2
;
3386 Py_INCREF(Py_None
); resultobj
= Py_None
;
3393 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxSize
*arg1
= (wxSize
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3399 (char *) "self", NULL
3402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3404 if (SWIG_arg_fail(1)) SWIG_fail
;
3405 result
= (int) ((arg1
)->y
);
3408 resultobj
= SWIG_From_int((int)(result
));
3416 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 int arg1
= (int) 0 ;
3419 int arg2
= (int) 0 ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "w",(char *) "h", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3430 arg1
= (int)(SWIG_As_int(obj0
));
3431 if (SWIG_arg_fail(1)) SWIG_fail
;
3436 arg2
= (int)(SWIG_As_int(obj1
));
3437 if (SWIG_arg_fail(2)) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3454 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxSize
*arg1
= (wxSize
*) 0 ;
3457 PyObject
* obj0
= 0 ;
3459 (char *) "self", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3464 if (SWIG_arg_fail(1)) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxSize
*arg1
= (wxSize
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3488 (char *) "self",(char *) "sz", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3493 if (SWIG_arg_fail(1)) SWIG_fail
;
3496 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3514 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxSize
*arg1
= (wxSize
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3521 PyObject
* obj1
= 0 ;
3523 (char *) "self",(char *) "sz", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3528 if (SWIG_arg_fail(1)) SWIG_fail
;
3531 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3549 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3551 wxSize
*arg1
= (wxSize
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3558 (char *) "self",(char *) "sz", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3563 if (SWIG_arg_fail(1)) SWIG_fail
;
3566 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3577 resultptr
= new wxSize((wxSize
&)(result
));
3578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3586 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxSize
*arg1
= (wxSize
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3593 PyObject
* obj1
= 0 ;
3595 (char *) "self",(char *) "sz", NULL
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3599 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3600 if (SWIG_arg_fail(1)) SWIG_fail
;
3603 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3607 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3609 wxPyEndAllowThreads(__tstate
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3614 resultptr
= new wxSize((wxSize
&)(result
));
3615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3623 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxSize
*arg1
= (wxSize
*) 0 ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3631 (char *) "self",(char *) "sz", NULL
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3636 if (SWIG_arg_fail(1)) SWIG_fail
;
3639 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 (arg1
)->IncTo((wxSize
const &)*arg2
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 Py_INCREF(Py_None
); resultobj
= Py_None
;
3655 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 wxSize
*arg1
= (wxSize
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3663 (char *) "self",(char *) "sz", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3668 if (SWIG_arg_fail(1)) SWIG_fail
;
3671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 (arg1
)->DecTo((wxSize
const &)*arg2
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3680 Py_INCREF(Py_None
); resultobj
= Py_None
;
3687 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
*resultobj
;
3689 wxSize
*arg1
= (wxSize
*) 0 ;
3692 PyObject
* obj0
= 0 ;
3693 PyObject
* obj1
= 0 ;
3694 PyObject
* obj2
= 0 ;
3696 (char *) "self",(char *) "w",(char *) "h", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3701 if (SWIG_arg_fail(1)) SWIG_fail
;
3703 arg2
= (int)(SWIG_As_int(obj1
));
3704 if (SWIG_arg_fail(2)) SWIG_fail
;
3707 arg3
= (int)(SWIG_As_int(obj2
));
3708 if (SWIG_arg_fail(3)) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->Set(arg2
,arg3
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxSize
*arg1
= (wxSize
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3729 PyObject
* obj1
= 0 ;
3731 (char *) "self",(char *) "w", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3736 if (SWIG_arg_fail(1)) SWIG_fail
;
3738 arg2
= (int)(SWIG_As_int(obj1
));
3739 if (SWIG_arg_fail(2)) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 (arg1
)->SetWidth(arg2
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3748 Py_INCREF(Py_None
); resultobj
= Py_None
;
3755 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3757 wxSize
*arg1
= (wxSize
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3760 PyObject
* obj1
= 0 ;
3762 (char *) "self",(char *) "h", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3767 if (SWIG_arg_fail(1)) SWIG_fail
;
3769 arg2
= (int)(SWIG_As_int(obj1
));
3770 if (SWIG_arg_fail(2)) SWIG_fail
;
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 (arg1
)->SetHeight(arg2
);
3776 wxPyEndAllowThreads(__tstate
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3779 Py_INCREF(Py_None
); resultobj
= Py_None
;
3786 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxSize
*arg1
= (wxSize
*) 0 ;
3790 PyObject
* obj0
= 0 ;
3792 (char *) "self", NULL
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3797 if (SWIG_arg_fail(1)) SWIG_fail
;
3799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3800 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3802 wxPyEndAllowThreads(__tstate
);
3803 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_From_int((int)(result
));
3814 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxSize
*arg1
= (wxSize
*) 0 ;
3818 PyObject
* obj0
= 0 ;
3820 (char *) "self", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3825 if (SWIG_arg_fail(1)) SWIG_fail
;
3827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3828 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3830 wxPyEndAllowThreads(__tstate
);
3831 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= SWIG_From_int((int)(result
));
3842 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxSize
*arg1
= (wxSize
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3848 (char *) "self", NULL
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3853 if (SWIG_arg_fail(1)) SWIG_fail
;
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3870 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxSize
*arg1
= (wxSize
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3878 (char *) "self",(char *) "size", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3883 if (SWIG_arg_fail(1)) SWIG_fail
;
3886 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 Py_INCREF(Py_None
); resultobj
= Py_None
;
3902 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxSize
*arg1
= (wxSize
*) 0 ;
3906 PyObject
* obj0
= 0 ;
3908 (char *) "self", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3913 if (SWIG_arg_fail(1)) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 result
= (PyObject
*)wxSize_Get(arg1
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3928 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3931 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3933 return Py_BuildValue((char *)"");
3935 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3939 PyObject
* obj0
= 0 ;
3940 PyObject
* obj1
= 0 ;
3942 (char *) "self",(char *) "x", NULL
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3947 if (SWIG_arg_fail(1)) SWIG_fail
;
3949 arg2
= (double)(SWIG_As_double(obj1
));
3950 if (SWIG_arg_fail(2)) SWIG_fail
;
3952 if (arg1
) (arg1
)->x
= arg2
;
3954 Py_INCREF(Py_None
); resultobj
= Py_None
;
3961 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3963 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3965 PyObject
* obj0
= 0 ;
3967 (char *) "self", NULL
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3972 if (SWIG_arg_fail(1)) SWIG_fail
;
3973 result
= (double) ((arg1
)->x
);
3976 resultobj
= SWIG_From_double((double)(result
));
3984 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3988 PyObject
* obj0
= 0 ;
3989 PyObject
* obj1
= 0 ;
3991 (char *) "self",(char *) "y", NULL
3994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3996 if (SWIG_arg_fail(1)) SWIG_fail
;
3998 arg2
= (double)(SWIG_As_double(obj1
));
3999 if (SWIG_arg_fail(2)) SWIG_fail
;
4001 if (arg1
) (arg1
)->y
= arg2
;
4003 Py_INCREF(Py_None
); resultobj
= Py_None
;
4010 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4014 PyObject
* obj0
= 0 ;
4016 (char *) "self", NULL
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4021 if (SWIG_arg_fail(1)) SWIG_fail
;
4022 result
= (double) ((arg1
)->y
);
4025 resultobj
= SWIG_From_double((double)(result
));
4033 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 double arg1
= (double) 0.0 ;
4036 double arg2
= (double) 0.0 ;
4037 wxRealPoint
*result
;
4038 PyObject
* obj0
= 0 ;
4039 PyObject
* obj1
= 0 ;
4041 (char *) "x",(char *) "y", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4047 arg1
= (double)(SWIG_As_double(obj0
));
4048 if (SWIG_arg_fail(1)) SWIG_fail
;
4053 arg2
= (double)(SWIG_As_double(obj1
));
4054 if (SWIG_arg_fail(2)) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4071 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4074 PyObject
* obj0
= 0 ;
4076 (char *) "self", NULL
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4080 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4081 if (SWIG_arg_fail(1)) SWIG_fail
;
4083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 wxPyEndAllowThreads(__tstate
);
4087 if (PyErr_Occurred()) SWIG_fail
;
4089 Py_INCREF(Py_None
); resultobj
= Py_None
;
4096 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
*resultobj
;
4098 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4099 wxRealPoint
*arg2
= 0 ;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4105 (char *) "self",(char *) "pt", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4110 if (SWIG_arg_fail(1)) SWIG_fail
;
4113 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4131 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4134 wxRealPoint
*arg2
= 0 ;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4140 (char *) "self",(char *) "pt", NULL
4143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4145 if (SWIG_arg_fail(1)) SWIG_fail
;
4148 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4166 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
;
4168 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4169 wxRealPoint
*arg2
= 0 ;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4175 (char *) "self",(char *) "pt", NULL
4178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4180 if (SWIG_arg_fail(1)) SWIG_fail
;
4183 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4193 wxRealPoint
* resultptr
;
4194 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4203 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4206 wxRealPoint
*arg2
= 0 ;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4212 (char *) "self",(char *) "pt", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4217 if (SWIG_arg_fail(1)) SWIG_fail
;
4220 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4230 wxRealPoint
* resultptr
;
4231 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4232 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4240 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4247 PyObject
* obj2
= 0 ;
4249 (char *) "self",(char *) "x",(char *) "y", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4254 if (SWIG_arg_fail(1)) SWIG_fail
;
4256 arg2
= (double)(SWIG_As_double(obj1
));
4257 if (SWIG_arg_fail(2)) SWIG_fail
;
4260 arg3
= (double)(SWIG_As_double(obj2
));
4261 if (SWIG_arg_fail(3)) SWIG_fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 wxRealPoint_Set(arg1
,arg2
,arg3
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 Py_INCREF(Py_None
); resultobj
= Py_None
;
4277 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4283 (char *) "self", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4288 if (SWIG_arg_fail(1)) SWIG_fail
;
4290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4291 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4303 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4306 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4308 return Py_BuildValue((char *)"");
4310 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
*resultobj
;
4312 wxPoint
*arg1
= (wxPoint
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4315 PyObject
* obj1
= 0 ;
4317 (char *) "self",(char *) "x", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4322 if (SWIG_arg_fail(1)) SWIG_fail
;
4324 arg2
= (int)(SWIG_As_int(obj1
));
4325 if (SWIG_arg_fail(2)) SWIG_fail
;
4327 if (arg1
) (arg1
)->x
= arg2
;
4329 Py_INCREF(Py_None
); resultobj
= Py_None
;
4336 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
;
4338 wxPoint
*arg1
= (wxPoint
*) 0 ;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "self", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4347 if (SWIG_arg_fail(1)) SWIG_fail
;
4348 result
= (int) ((arg1
)->x
);
4351 resultobj
= SWIG_From_int((int)(result
));
4359 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxPoint
*arg1
= (wxPoint
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4366 (char *) "self",(char *) "y", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4370 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4371 if (SWIG_arg_fail(1)) SWIG_fail
;
4373 arg2
= (int)(SWIG_As_int(obj1
));
4374 if (SWIG_arg_fail(2)) SWIG_fail
;
4376 if (arg1
) (arg1
)->y
= arg2
;
4378 Py_INCREF(Py_None
); resultobj
= Py_None
;
4385 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4386 PyObject
*resultobj
;
4387 wxPoint
*arg1
= (wxPoint
*) 0 ;
4389 PyObject
* obj0
= 0 ;
4391 (char *) "self", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4396 if (SWIG_arg_fail(1)) SWIG_fail
;
4397 result
= (int) ((arg1
)->y
);
4400 resultobj
= SWIG_From_int((int)(result
));
4408 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4410 int arg1
= (int) 0 ;
4411 int arg2
= (int) 0 ;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4416 (char *) "x",(char *) "y", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4422 arg1
= (int)(SWIG_As_int(obj0
));
4423 if (SWIG_arg_fail(1)) SWIG_fail
;
4428 arg2
= (int)(SWIG_As_int(obj1
));
4429 if (SWIG_arg_fail(2)) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4446 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxPoint
*arg1
= (wxPoint
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4451 (char *) "self", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4456 if (SWIG_arg_fail(1)) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 Py_INCREF(Py_None
); resultobj
= Py_None
;
4471 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxPoint
*arg1
= (wxPoint
*) 0 ;
4477 PyObject
* obj0
= 0 ;
4478 PyObject
* obj1
= 0 ;
4480 (char *) "self",(char *) "pt", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4485 if (SWIG_arg_fail(1)) SWIG_fail
;
4488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4506 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxPoint
*arg1
= (wxPoint
*) 0 ;
4512 PyObject
* obj0
= 0 ;
4513 PyObject
* obj1
= 0 ;
4515 (char *) "self",(char *) "pt", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4520 if (SWIG_arg_fail(1)) SWIG_fail
;
4523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4541 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
*resultobj
;
4543 wxPoint
*arg1
= (wxPoint
*) 0 ;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4550 (char *) "self",(char *) "pt", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4555 if (SWIG_arg_fail(1)) SWIG_fail
;
4558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4568 wxPoint
* resultptr
;
4569 resultptr
= new wxPoint((wxPoint
&)(result
));
4570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4578 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxPoint
*arg1
= (wxPoint
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4587 (char *) "self",(char *) "pt", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4592 if (SWIG_arg_fail(1)) SWIG_fail
;
4595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4601 wxPyEndAllowThreads(__tstate
);
4602 if (PyErr_Occurred()) SWIG_fail
;
4605 wxPoint
* resultptr
;
4606 resultptr
= new wxPoint((wxPoint
&)(result
));
4607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4615 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxPoint
*arg1
= (wxPoint
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4624 (char *) "self",(char *) "pt", NULL
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4629 if (SWIG_arg_fail(1)) SWIG_fail
;
4632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4638 result
= (wxPoint
*) &_result_ref
;
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4651 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxPoint
*arg1
= (wxPoint
*) 0 ;
4657 PyObject
* obj0
= 0 ;
4658 PyObject
* obj1
= 0 ;
4660 (char *) "self",(char *) "pt", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4665 if (SWIG_arg_fail(1)) SWIG_fail
;
4668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4674 result
= (wxPoint
*) &_result_ref
;
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4687 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxPoint
*arg1
= (wxPoint
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4696 (char *) "self",(char *) "x",(char *) "y", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4701 if (SWIG_arg_fail(1)) SWIG_fail
;
4703 arg2
= (long)(SWIG_As_long(obj1
));
4704 if (SWIG_arg_fail(2)) SWIG_fail
;
4707 arg3
= (long)(SWIG_As_long(obj2
));
4708 if (SWIG_arg_fail(3)) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 wxPoint_Set(arg1
,arg2
,arg3
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 Py_INCREF(Py_None
); resultobj
= Py_None
;
4724 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxPoint
*arg1
= (wxPoint
*) 0 ;
4728 PyObject
* obj0
= 0 ;
4730 (char *) "self", NULL
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4735 if (SWIG_arg_fail(1)) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= (PyObject
*)wxPoint_Get(arg1
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4750 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4753 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4755 return Py_BuildValue((char *)"");
4757 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
*resultobj
;
4759 int arg1
= (int) 0 ;
4760 int arg2
= (int) 0 ;
4761 int arg3
= (int) 0 ;
4762 int arg4
= (int) 0 ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4767 PyObject
* obj3
= 0 ;
4769 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4775 arg1
= (int)(SWIG_As_int(obj0
));
4776 if (SWIG_arg_fail(1)) SWIG_fail
;
4781 arg2
= (int)(SWIG_As_int(obj1
));
4782 if (SWIG_arg_fail(2)) SWIG_fail
;
4787 arg3
= (int)(SWIG_As_int(obj2
));
4788 if (SWIG_arg_fail(3)) SWIG_fail
;
4793 arg4
= (int)(SWIG_As_int(obj3
));
4794 if (SWIG_arg_fail(4)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4811 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4818 PyObject
* obj0
= 0 ;
4819 PyObject
* obj1
= 0 ;
4821 (char *) "topLeft",(char *) "bottomRight", NULL
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4827 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4831 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4847 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4857 (char *) "pos",(char *) "size", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4863 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4867 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4883 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
*resultobj
;
4888 PyObject
* obj0
= 0 ;
4890 (char *) "size", NULL
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4896 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4912 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxRect
*arg1
= (wxRect
*) 0 ;
4915 PyObject
* obj0
= 0 ;
4917 (char *) "self", NULL
4920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4922 if (SWIG_arg_fail(1)) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 Py_INCREF(Py_None
); resultobj
= Py_None
;
4937 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxRect
*arg1
= (wxRect
*) 0 ;
4941 PyObject
* obj0
= 0 ;
4943 (char *) "self", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4948 if (SWIG_arg_fail(1)) SWIG_fail
;
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 result
= (int)((wxRect
const *)arg1
)->GetX();
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_From_int((int)(result
));
4965 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4967 wxRect
*arg1
= (wxRect
*) 0 ;
4969 PyObject
* obj0
= 0 ;
4970 PyObject
* obj1
= 0 ;
4972 (char *) "self",(char *) "x", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4977 if (SWIG_arg_fail(1)) SWIG_fail
;
4979 arg2
= (int)(SWIG_As_int(obj1
));
4980 if (SWIG_arg_fail(2)) SWIG_fail
;
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4989 Py_INCREF(Py_None
); resultobj
= Py_None
;
4996 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
4998 wxRect
*arg1
= (wxRect
*) 0 ;
5000 PyObject
* obj0
= 0 ;
5002 (char *) "self", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5007 if (SWIG_arg_fail(1)) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (int)(arg1
)->GetY();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_From_int((int)(result
));
5024 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxRect
*arg1
= (wxRect
*) 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5031 (char *) "self",(char *) "y", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5036 if (SWIG_arg_fail(1)) SWIG_fail
;
5038 arg2
= (int)(SWIG_As_int(obj1
));
5039 if (SWIG_arg_fail(2)) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 Py_INCREF(Py_None
); resultobj
= Py_None
;
5055 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxRect
*arg1
= (wxRect
*) 0 ;
5059 PyObject
* obj0
= 0 ;
5061 (char *) "self", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5066 if (SWIG_arg_fail(1)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= SWIG_From_int((int)(result
));
5083 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxRect
*arg1
= (wxRect
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5090 (char *) "self",(char *) "w", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5095 if (SWIG_arg_fail(1)) SWIG_fail
;
5097 arg2
= (int)(SWIG_As_int(obj1
));
5098 if (SWIG_arg_fail(2)) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 (arg1
)->SetWidth(arg2
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 Py_INCREF(Py_None
); resultobj
= Py_None
;
5114 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxRect
*arg1
= (wxRect
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5120 (char *) "self", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5125 if (SWIG_arg_fail(1)) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 resultobj
= SWIG_From_int((int)(result
));
5142 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxRect
*arg1
= (wxRect
*) 0 ;
5146 PyObject
* obj0
= 0 ;
5147 PyObject
* obj1
= 0 ;
5149 (char *) "self",(char *) "h", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5154 if (SWIG_arg_fail(1)) SWIG_fail
;
5156 arg2
= (int)(SWIG_As_int(obj1
));
5157 if (SWIG_arg_fail(2)) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 (arg1
)->SetHeight(arg2
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 Py_INCREF(Py_None
); resultobj
= Py_None
;
5173 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 wxRect
*arg1
= (wxRect
*) 0 ;
5177 PyObject
* obj0
= 0 ;
5179 (char *) "self", NULL
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5184 if (SWIG_arg_fail(1)) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= ((wxRect
const *)arg1
)->GetPosition();
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5193 wxPoint
* resultptr
;
5194 resultptr
= new wxPoint((wxPoint
&)(result
));
5195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5203 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5204 PyObject
*resultobj
;
5205 wxRect
*arg1
= (wxRect
*) 0 ;
5208 PyObject
* obj0
= 0 ;
5209 PyObject
* obj1
= 0 ;
5211 (char *) "self",(char *) "p", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5216 if (SWIG_arg_fail(1)) SWIG_fail
;
5219 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 Py_INCREF(Py_None
); resultobj
= Py_None
;
5235 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxRect
*arg1
= (wxRect
*) 0 ;
5239 PyObject
* obj0
= 0 ;
5241 (char *) "self", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5246 if (SWIG_arg_fail(1)) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5249 result
= ((wxRect
const *)arg1
)->GetSize();
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5256 resultptr
= new wxSize((wxSize
&)(result
));
5257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5265 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxRect
*arg1
= (wxRect
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5273 (char *) "self",(char *) "s", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5278 if (SWIG_arg_fail(1)) SWIG_fail
;
5281 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 (arg1
)->SetSize((wxSize
const &)*arg2
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 Py_INCREF(Py_None
); resultobj
= Py_None
;
5297 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxRect
*arg1
= (wxRect
*) 0 ;
5301 PyObject
* obj0
= 0 ;
5303 (char *) "self", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5308 if (SWIG_arg_fail(1)) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5317 wxPoint
* resultptr
;
5318 resultptr
= new wxPoint((wxPoint
&)(result
));
5319 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5327 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
*resultobj
;
5329 wxRect
*arg1
= (wxRect
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5335 (char *) "self",(char *) "p", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5340 if (SWIG_arg_fail(1)) SWIG_fail
;
5343 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5347 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5349 wxPyEndAllowThreads(__tstate
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5352 Py_INCREF(Py_None
); resultobj
= Py_None
;
5359 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
*resultobj
;
5361 wxRect
*arg1
= (wxRect
*) 0 ;
5363 PyObject
* obj0
= 0 ;
5365 (char *) "self", NULL
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5370 if (SWIG_arg_fail(1)) SWIG_fail
;
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) SWIG_fail
;
5379 wxPoint
* resultptr
;
5380 resultptr
= new wxPoint((wxPoint
&)(result
));
5381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5389 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
;
5391 wxRect
*arg1
= (wxRect
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5397 (char *) "self",(char *) "p", NULL
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5401 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5402 if (SWIG_arg_fail(1)) SWIG_fail
;
5405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 Py_INCREF(Py_None
); resultobj
= Py_None
;
5421 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
;
5423 wxRect
*arg1
= (wxRect
*) 0 ;
5425 PyObject
* obj0
= 0 ;
5427 (char *) "self", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5432 if (SWIG_arg_fail(1)) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= SWIG_From_int((int)(result
));
5449 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxRect
*arg1
= (wxRect
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5455 (char *) "self", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5460 if (SWIG_arg_fail(1)) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (int)((wxRect
const *)arg1
)->GetTop();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_From_int((int)(result
));
5477 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
*resultobj
;
5479 wxRect
*arg1
= (wxRect
*) 0 ;
5481 PyObject
* obj0
= 0 ;
5483 (char *) "self", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5488 if (SWIG_arg_fail(1)) SWIG_fail
;
5490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5491 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_From_int((int)(result
));
5505 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxRect
*arg1
= (wxRect
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5511 (char *) "self", NULL
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5516 if (SWIG_arg_fail(1)) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 result
= (int)((wxRect
const *)arg1
)->GetRight();
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5525 resultobj
= SWIG_From_int((int)(result
));
5533 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
*resultobj
;
5535 wxRect
*arg1
= (wxRect
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5538 PyObject
* obj1
= 0 ;
5540 (char *) "self",(char *) "left", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5545 if (SWIG_arg_fail(1)) SWIG_fail
;
5547 arg2
= (int)(SWIG_As_int(obj1
));
5548 if (SWIG_arg_fail(2)) SWIG_fail
;
5551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5552 (arg1
)->SetLeft(arg2
);
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 Py_INCREF(Py_None
); resultobj
= Py_None
;
5564 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5566 wxRect
*arg1
= (wxRect
*) 0 ;
5568 PyObject
* obj0
= 0 ;
5569 PyObject
* obj1
= 0 ;
5571 (char *) "self",(char *) "right", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5576 if (SWIG_arg_fail(1)) SWIG_fail
;
5578 arg2
= (int)(SWIG_As_int(obj1
));
5579 if (SWIG_arg_fail(2)) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 (arg1
)->SetRight(arg2
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxRect
*arg1
= (wxRect
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5602 (char *) "self",(char *) "top", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5607 if (SWIG_arg_fail(1)) SWIG_fail
;
5609 arg2
= (int)(SWIG_As_int(obj1
));
5610 if (SWIG_arg_fail(2)) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetTop(arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxRect
*arg1
= (wxRect
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5631 PyObject
* obj1
= 0 ;
5633 (char *) "self",(char *) "bottom", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5638 if (SWIG_arg_fail(1)) SWIG_fail
;
5640 arg2
= (int)(SWIG_As_int(obj1
));
5641 if (SWIG_arg_fail(2)) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 (arg1
)->SetBottom(arg2
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 Py_INCREF(Py_None
); resultobj
= Py_None
;
5657 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxRect
*arg1
= (wxRect
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5665 PyObject
* obj2
= 0 ;
5667 (char *) "self",(char *) "dx",(char *) "dy", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5672 if (SWIG_arg_fail(1)) SWIG_fail
;
5674 arg2
= (int)(SWIG_As_int(obj1
));
5675 if (SWIG_arg_fail(2)) SWIG_fail
;
5678 arg3
= (int)(SWIG_As_int(obj2
));
5679 if (SWIG_arg_fail(3)) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5684 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5685 result
= (wxRect
*) &_result_ref
;
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5698 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxRect
*arg1
= (wxRect
*) 0 ;
5704 PyObject
* obj0
= 0 ;
5705 PyObject
* obj1
= 0 ;
5706 PyObject
* obj2
= 0 ;
5708 (char *) "self",(char *) "dx",(char *) "dy", NULL
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5713 if (SWIG_arg_fail(1)) SWIG_fail
;
5715 arg2
= (int)(SWIG_As_int(obj1
));
5716 if (SWIG_arg_fail(2)) SWIG_fail
;
5719 arg3
= (int)(SWIG_As_int(obj2
));
5720 if (SWIG_arg_fail(3)) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5726 result
= (wxRect
*) &_result_ref
;
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5739 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
;
5741 wxRect
*arg1
= (wxRect
*) 0 ;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5746 PyObject
* obj2
= 0 ;
5748 (char *) "self",(char *) "dx",(char *) "dy", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5753 if (SWIG_arg_fail(1)) SWIG_fail
;
5755 arg2
= (int)(SWIG_As_int(obj1
));
5756 if (SWIG_arg_fail(2)) SWIG_fail
;
5759 arg3
= (int)(SWIG_As_int(obj2
));
5760 if (SWIG_arg_fail(3)) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 (arg1
)->Offset(arg2
,arg3
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 Py_INCREF(Py_None
); resultobj
= Py_None
;
5776 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxRect
*arg1
= (wxRect
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5782 PyObject
* obj1
= 0 ;
5784 (char *) "self",(char *) "pt", NULL
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5789 if (SWIG_arg_fail(1)) SWIG_fail
;
5792 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 (arg1
)->Offset((wxPoint
const &)*arg2
);
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 Py_INCREF(Py_None
); resultobj
= Py_None
;
5808 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxRect
*arg1
= (wxRect
*) 0 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5817 (char *) "self",(char *) "rect", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5822 if (SWIG_arg_fail(1)) SWIG_fail
;
5825 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5836 resultptr
= new wxRect((wxRect
&)(result
));
5837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5845 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxRect
*arg1
= (wxRect
*) 0 ;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5854 (char *) "self",(char *) "rect", NULL
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5859 if (SWIG_arg_fail(1)) SWIG_fail
;
5862 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5873 resultptr
= new wxRect((wxRect
&)(result
));
5874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5882 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxRect
*arg1
= (wxRect
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5891 (char *) "self",(char *) "rect", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5896 if (SWIG_arg_fail(1)) SWIG_fail
;
5899 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5910 resultptr
= new wxRect((wxRect
&)(result
));
5911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5919 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
;
5921 wxRect
*arg1
= (wxRect
*) 0 ;
5925 PyObject
* obj0
= 0 ;
5926 PyObject
* obj1
= 0 ;
5928 (char *) "self",(char *) "rect", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5933 if (SWIG_arg_fail(1)) SWIG_fail
;
5936 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5942 result
= (wxRect
*) &_result_ref
;
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5955 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxRect
*arg1
= (wxRect
*) 0 ;
5961 PyObject
* obj0
= 0 ;
5962 PyObject
* obj1
= 0 ;
5964 (char *) "self",(char *) "rect", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5969 if (SWIG_arg_fail(1)) SWIG_fail
;
5972 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5976 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
5978 wxPyEndAllowThreads(__tstate
);
5979 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5990 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxRect
*arg1
= (wxRect
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5997 PyObject
* obj1
= 0 ;
5999 (char *) "self",(char *) "rect", NULL
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6004 if (SWIG_arg_fail(1)) SWIG_fail
;
6007 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6025 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxRect
*arg1
= (wxRect
*) 0 ;
6031 PyObject
* obj0
= 0 ;
6032 PyObject
* obj1
= 0 ;
6033 PyObject
* obj2
= 0 ;
6035 (char *) "self",(char *) "x",(char *) "y", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6040 if (SWIG_arg_fail(1)) SWIG_fail
;
6042 arg2
= (int)(SWIG_As_int(obj1
));
6043 if (SWIG_arg_fail(2)) SWIG_fail
;
6046 arg3
= (int)(SWIG_As_int(obj2
));
6047 if (SWIG_arg_fail(3)) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6065 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
*resultobj
;
6067 wxRect
*arg1
= (wxRect
*) 0 ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6074 (char *) "self",(char *) "pt", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6079 if (SWIG_arg_fail(1)) SWIG_fail
;
6082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxRect
*arg1
= (wxRect
*) 0 ;
6106 PyObject
* obj0
= 0 ;
6107 PyObject
* obj1
= 0 ;
6109 (char *) "self",(char *) "rect", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6114 if (SWIG_arg_fail(1)) SWIG_fail
;
6117 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6135 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxRect
*arg1
= (wxRect
*) 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6142 (char *) "self",(char *) "x", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6147 if (SWIG_arg_fail(1)) SWIG_fail
;
6149 arg2
= (int)(SWIG_As_int(obj1
));
6150 if (SWIG_arg_fail(2)) SWIG_fail
;
6152 if (arg1
) (arg1
)->x
= arg2
;
6154 Py_INCREF(Py_None
); resultobj
= Py_None
;
6161 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
*resultobj
;
6163 wxRect
*arg1
= (wxRect
*) 0 ;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "self", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6172 if (SWIG_arg_fail(1)) SWIG_fail
;
6173 result
= (int) ((arg1
)->x
);
6176 resultobj
= SWIG_From_int((int)(result
));
6184 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
;
6186 wxRect
*arg1
= (wxRect
*) 0 ;
6188 PyObject
* obj0
= 0 ;
6189 PyObject
* obj1
= 0 ;
6191 (char *) "self",(char *) "y", NULL
6194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6196 if (SWIG_arg_fail(1)) SWIG_fail
;
6198 arg2
= (int)(SWIG_As_int(obj1
));
6199 if (SWIG_arg_fail(2)) SWIG_fail
;
6201 if (arg1
) (arg1
)->y
= arg2
;
6203 Py_INCREF(Py_None
); resultobj
= Py_None
;
6210 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6211 PyObject
*resultobj
;
6212 wxRect
*arg1
= (wxRect
*) 0 ;
6214 PyObject
* obj0
= 0 ;
6216 (char *) "self", NULL
6219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6221 if (SWIG_arg_fail(1)) SWIG_fail
;
6222 result
= (int) ((arg1
)->y
);
6225 resultobj
= SWIG_From_int((int)(result
));
6233 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 wxRect
*arg1
= (wxRect
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6238 PyObject
* obj1
= 0 ;
6240 (char *) "self",(char *) "width", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6245 if (SWIG_arg_fail(1)) SWIG_fail
;
6247 arg2
= (int)(SWIG_As_int(obj1
));
6248 if (SWIG_arg_fail(2)) SWIG_fail
;
6250 if (arg1
) (arg1
)->width
= arg2
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6259 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxRect
*arg1
= (wxRect
*) 0 ;
6263 PyObject
* obj0
= 0 ;
6265 (char *) "self", NULL
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6270 if (SWIG_arg_fail(1)) SWIG_fail
;
6271 result
= (int) ((arg1
)->width
);
6274 resultobj
= SWIG_From_int((int)(result
));
6282 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6283 PyObject
*resultobj
;
6284 wxRect
*arg1
= (wxRect
*) 0 ;
6286 PyObject
* obj0
= 0 ;
6287 PyObject
* obj1
= 0 ;
6289 (char *) "self",(char *) "height", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6294 if (SWIG_arg_fail(1)) SWIG_fail
;
6296 arg2
= (int)(SWIG_As_int(obj1
));
6297 if (SWIG_arg_fail(2)) SWIG_fail
;
6299 if (arg1
) (arg1
)->height
= arg2
;
6301 Py_INCREF(Py_None
); resultobj
= Py_None
;
6308 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxRect
*arg1
= (wxRect
*) 0 ;
6312 PyObject
* obj0
= 0 ;
6314 (char *) "self", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6319 if (SWIG_arg_fail(1)) SWIG_fail
;
6320 result
= (int) ((arg1
)->height
);
6323 resultobj
= SWIG_From_int((int)(result
));
6331 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxRect
*arg1
= (wxRect
*) 0 ;
6334 int arg2
= (int) 0 ;
6335 int arg3
= (int) 0 ;
6336 int arg4
= (int) 0 ;
6337 int arg5
= (int) 0 ;
6338 PyObject
* obj0
= 0 ;
6339 PyObject
* obj1
= 0 ;
6340 PyObject
* obj2
= 0 ;
6341 PyObject
* obj3
= 0 ;
6342 PyObject
* obj4
= 0 ;
6344 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6349 if (SWIG_arg_fail(1)) SWIG_fail
;
6352 arg2
= (int)(SWIG_As_int(obj1
));
6353 if (SWIG_arg_fail(2)) SWIG_fail
;
6358 arg3
= (int)(SWIG_As_int(obj2
));
6359 if (SWIG_arg_fail(3)) SWIG_fail
;
6364 arg4
= (int)(SWIG_As_int(obj3
));
6365 if (SWIG_arg_fail(4)) SWIG_fail
;
6370 arg5
= (int)(SWIG_As_int(obj4
));
6371 if (SWIG_arg_fail(5)) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxRect
*arg1
= (wxRect
*) 0 ;
6392 PyObject
* obj0
= 0 ;
6394 (char *) "self", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6399 if (SWIG_arg_fail(1)) SWIG_fail
;
6401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6402 result
= (PyObject
*)wxRect_Get(arg1
);
6404 wxPyEndAllowThreads(__tstate
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6414 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6417 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6419 return Py_BuildValue((char *)"");
6421 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 wxRect
*arg1
= (wxRect
*) 0 ;
6424 wxRect
*arg2
= (wxRect
*) 0 ;
6426 PyObject
* obj0
= 0 ;
6427 PyObject
* obj1
= 0 ;
6429 (char *) "r1",(char *) "r2", NULL
6432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6434 if (SWIG_arg_fail(1)) SWIG_fail
;
6435 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6436 if (SWIG_arg_fail(2)) SWIG_fail
;
6438 if (!wxPyCheckForApp()) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6452 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 double arg1
= (double) 0.0 ;
6455 double arg2
= (double) 0.0 ;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6460 (char *) "x",(char *) "y", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6466 arg1
= (double)(SWIG_As_double(obj0
));
6467 if (SWIG_arg_fail(1)) SWIG_fail
;
6472 arg2
= (double)(SWIG_As_double(obj1
));
6473 if (SWIG_arg_fail(2)) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6490 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxPoint2D
*arg1
= 0 ;
6495 PyObject
* obj0
= 0 ;
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6503 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6519 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6524 PyObject
* obj0
= 0 ;
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6532 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6548 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6551 int *arg2
= (int *) 0 ;
6552 int *arg3
= (int *) 0 ;
6557 PyObject
* obj0
= 0 ;
6559 (char *) "self", NULL
6562 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6563 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6566 if (SWIG_arg_fail(1)) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6574 Py_INCREF(Py_None
); resultobj
= Py_None
;
6575 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6576 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6577 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6578 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6585 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6588 int *arg2
= (int *) 0 ;
6589 int *arg3
= (int *) 0 ;
6594 PyObject
* obj0
= 0 ;
6596 (char *) "self", NULL
6599 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6600 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6603 if (SWIG_arg_fail(1)) SWIG_fail
;
6605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6606 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6608 wxPyEndAllowThreads(__tstate
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6611 Py_INCREF(Py_None
); resultobj
= Py_None
;
6612 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6613 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6614 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6615 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6622 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6623 PyObject
*resultobj
;
6624 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6626 PyObject
* obj0
= 0 ;
6628 (char *) "self", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6633 if (SWIG_arg_fail(1)) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6642 resultobj
= SWIG_From_double((double)(result
));
6650 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
;
6652 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6654 PyObject
* obj0
= 0 ;
6656 (char *) "self", NULL
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6661 if (SWIG_arg_fail(1)) SWIG_fail
;
6663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6664 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_From_double((double)(result
));
6678 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6680 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6682 PyObject
* obj0
= 0 ;
6683 PyObject
* obj1
= 0 ;
6685 (char *) "self",(char *) "length", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6690 if (SWIG_arg_fail(1)) SWIG_fail
;
6692 arg2
= (double)(SWIG_As_double(obj1
));
6693 if (SWIG_arg_fail(2)) SWIG_fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 (arg1
)->SetVectorLength(arg2
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 Py_INCREF(Py_None
); resultobj
= Py_None
;
6709 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
;
6711 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6713 PyObject
* obj0
= 0 ;
6714 PyObject
* obj1
= 0 ;
6716 (char *) "self",(char *) "degrees", NULL
6719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6721 if (SWIG_arg_fail(1)) SWIG_fail
;
6723 arg2
= (double)(SWIG_As_double(obj1
));
6724 if (SWIG_arg_fail(2)) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 (arg1
)->SetVectorAngle(arg2
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6740 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6743 wxPoint2D
*arg2
= 0 ;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6749 (char *) "self",(char *) "pt", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6754 if (SWIG_arg_fail(1)) SWIG_fail
;
6757 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6761 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6763 wxPyEndAllowThreads(__tstate
);
6764 if (PyErr_Occurred()) SWIG_fail
;
6767 resultobj
= SWIG_From_double((double)(result
));
6775 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6778 wxPoint2D
*arg2
= 0 ;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6784 (char *) "self",(char *) "pt", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6789 if (SWIG_arg_fail(1)) SWIG_fail
;
6792 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6802 resultobj
= SWIG_From_double((double)(result
));
6810 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6811 PyObject
*resultobj
;
6812 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6813 wxPoint2D
*arg2
= 0 ;
6816 PyObject
* obj0
= 0 ;
6817 PyObject
* obj1
= 0 ;
6819 (char *) "self",(char *) "vec", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6824 if (SWIG_arg_fail(1)) SWIG_fail
;
6827 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6831 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6833 wxPyEndAllowThreads(__tstate
);
6834 if (PyErr_Occurred()) SWIG_fail
;
6837 resultobj
= SWIG_From_double((double)(result
));
6845 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6848 wxPoint2D
*arg2
= 0 ;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "self",(char *) "vec", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6859 if (SWIG_arg_fail(1)) SWIG_fail
;
6862 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6866 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6872 resultobj
= SWIG_From_double((double)(result
));
6880 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6884 PyObject
* obj0
= 0 ;
6886 (char *) "self", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6891 if (SWIG_arg_fail(1)) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 result
= (arg1
)->operator -();
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 wxPoint2D
* resultptr
;
6901 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6910 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6913 wxPoint2D
*arg2
= 0 ;
6916 PyObject
* obj0
= 0 ;
6917 PyObject
* obj1
= 0 ;
6919 (char *) "self",(char *) "pt", NULL
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6924 if (SWIG_arg_fail(1)) SWIG_fail
;
6927 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6932 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6933 result
= (wxPoint2D
*) &_result_ref
;
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6946 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6949 wxPoint2D
*arg2
= 0 ;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6955 (char *) "self",(char *) "pt", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6960 if (SWIG_arg_fail(1)) SWIG_fail
;
6963 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6969 result
= (wxPoint2D
*) &_result_ref
;
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6982 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6985 wxPoint2D
*arg2
= 0 ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6991 (char *) "self",(char *) "pt", NULL
6994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
6995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6996 if (SWIG_arg_fail(1)) SWIG_fail
;
6999 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7005 result
= (wxPoint2D
*) &_result_ref
;
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7018 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7021 wxPoint2D
*arg2
= 0 ;
7024 PyObject
* obj0
= 0 ;
7025 PyObject
* obj1
= 0 ;
7027 (char *) "self",(char *) "pt", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7032 if (SWIG_arg_fail(1)) SWIG_fail
;
7035 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7041 result
= (wxPoint2D
*) &_result_ref
;
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7054 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7057 wxPoint2D
*arg2
= 0 ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7063 (char *) "self",(char *) "pt", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7068 if (SWIG_arg_fail(1)) SWIG_fail
;
7071 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7089 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
;
7091 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7092 wxPoint2D
*arg2
= 0 ;
7095 PyObject
* obj0
= 0 ;
7096 PyObject
* obj1
= 0 ;
7098 (char *) "self",(char *) "pt", NULL
7101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7103 if (SWIG_arg_fail(1)) SWIG_fail
;
7106 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7124 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7131 (char *) "self",(char *) "m_x", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7136 if (SWIG_arg_fail(1)) SWIG_fail
;
7138 arg2
= (double)(SWIG_As_double(obj1
));
7139 if (SWIG_arg_fail(2)) SWIG_fail
;
7141 if (arg1
) (arg1
)->m_x
= arg2
;
7143 Py_INCREF(Py_None
); resultobj
= Py_None
;
7150 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7151 PyObject
*resultobj
;
7152 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7154 PyObject
* obj0
= 0 ;
7156 (char *) "self", NULL
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7161 if (SWIG_arg_fail(1)) SWIG_fail
;
7162 result
= (double) ((arg1
)->m_x
);
7165 resultobj
= SWIG_From_double((double)(result
));
7173 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7180 (char *) "self",(char *) "m_y", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7185 if (SWIG_arg_fail(1)) SWIG_fail
;
7187 arg2
= (double)(SWIG_As_double(obj1
));
7188 if (SWIG_arg_fail(2)) SWIG_fail
;
7190 if (arg1
) (arg1
)->m_y
= arg2
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7199 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7205 (char *) "self", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7210 if (SWIG_arg_fail(1)) SWIG_fail
;
7211 result
= (double) ((arg1
)->m_y
);
7214 resultobj
= SWIG_From_double((double)(result
));
7222 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7224 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7225 double arg2
= (double) 0 ;
7226 double arg3
= (double) 0 ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7229 PyObject
* obj2
= 0 ;
7231 (char *) "self",(char *) "x",(char *) "y", NULL
7234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7236 if (SWIG_arg_fail(1)) SWIG_fail
;
7239 arg2
= (double)(SWIG_As_double(obj1
));
7240 if (SWIG_arg_fail(2)) SWIG_fail
;
7245 arg3
= (double)(SWIG_As_double(obj2
));
7246 if (SWIG_arg_fail(3)) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 wxPoint2D_Set(arg1
,arg2
,arg3
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 Py_INCREF(Py_None
); resultobj
= Py_None
;
7263 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7269 (char *) "self", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7274 if (SWIG_arg_fail(1)) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7289 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7292 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7294 return Py_BuildValue((char *)"");
7296 static int _wrap_DefaultPosition_set(PyObject
*) {
7297 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7302 static PyObject
*_wrap_DefaultPosition_get(void) {
7305 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7310 static int _wrap_DefaultSize_set(PyObject
*) {
7311 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7316 static PyObject
*_wrap_DefaultSize_get(void) {
7319 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7324 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 PyObject
*arg1
= (PyObject
*) 0 ;
7327 wxPyInputStream
*result
;
7328 PyObject
* obj0
= 0 ;
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7337 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7339 wxPyEndAllowThreads(__tstate
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7349 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7350 PyObject
*resultobj
;
7351 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "self", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7359 if (SWIG_arg_fail(1)) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 Py_INCREF(Py_None
); resultobj
= Py_None
;
7374 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7377 PyObject
* obj0
= 0 ;
7379 (char *) "self", NULL
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7384 if (SWIG_arg_fail(1)) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 Py_INCREF(Py_None
); resultobj
= Py_None
;
7399 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7400 PyObject
*resultobj
;
7401 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7402 PyObject
* obj0
= 0 ;
7404 (char *) "self", NULL
7407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7409 if (SWIG_arg_fail(1)) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7424 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7428 PyObject
* obj0
= 0 ;
7430 (char *) "self", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7435 if (SWIG_arg_fail(1)) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (bool)(arg1
)->eof();
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7452 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
*resultobj
;
7454 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7455 int arg2
= (int) -1 ;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7460 (char *) "self",(char *) "size", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7465 if (SWIG_arg_fail(1)) SWIG_fail
;
7468 arg2
= (int)(SWIG_As_int(obj1
));
7469 if (SWIG_arg_fail(2)) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (PyObject
*)(arg1
)->read(arg2
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7486 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7489 int arg2
= (int) -1 ;
7491 PyObject
* obj0
= 0 ;
7492 PyObject
* obj1
= 0 ;
7494 (char *) "self",(char *) "size", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7499 if (SWIG_arg_fail(1)) SWIG_fail
;
7502 arg2
= (int)(SWIG_As_int(obj1
));
7503 if (SWIG_arg_fail(2)) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (PyObject
*)(arg1
)->readline(arg2
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7520 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7523 int arg2
= (int) -1 ;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7528 (char *) "self",(char *) "sizehint", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7533 if (SWIG_arg_fail(1)) SWIG_fail
;
7536 arg2
= (int)(SWIG_As_int(obj1
));
7537 if (SWIG_arg_fail(2)) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7554 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7558 int arg3
= (int) 0 ;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj1
= 0 ;
7561 PyObject
* obj2
= 0 ;
7563 (char *) "self",(char *) "offset",(char *) "whence", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7568 if (SWIG_arg_fail(1)) SWIG_fail
;
7570 arg2
= (int)(SWIG_As_int(obj1
));
7571 if (SWIG_arg_fail(2)) SWIG_fail
;
7575 arg3
= (int)(SWIG_As_int(obj2
));
7576 if (SWIG_arg_fail(3)) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 (arg1
)->seek(arg2
,arg3
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 Py_INCREF(Py_None
); resultobj
= Py_None
;
7593 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7594 PyObject
*resultobj
;
7595 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7597 PyObject
* obj0
= 0 ;
7599 (char *) "self", NULL
7602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7604 if (SWIG_arg_fail(1)) SWIG_fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= (int)(arg1
)->tell();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 resultobj
= SWIG_From_int((int)(result
));
7621 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7625 PyObject
* obj0
= 0 ;
7627 (char *) "self", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7632 if (SWIG_arg_fail(1)) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (char)(arg1
)->Peek();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7641 resultobj
= SWIG_From_char((char)(result
));
7649 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7653 PyObject
* obj0
= 0 ;
7655 (char *) "self", NULL
7658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7660 if (SWIG_arg_fail(1)) SWIG_fail
;
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 result
= (char)(arg1
)->GetC();
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_From_char((char)(result
));
7677 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7678 PyObject
*resultobj
;
7679 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7681 PyObject
* obj0
= 0 ;
7683 (char *) "self", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7688 if (SWIG_arg_fail(1)) SWIG_fail
;
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (size_t)(arg1
)->LastRead();
7693 wxPyEndAllowThreads(__tstate
);
7694 if (PyErr_Occurred()) SWIG_fail
;
7697 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7705 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7709 PyObject
* obj0
= 0 ;
7711 (char *) "self", NULL
7714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7716 if (SWIG_arg_fail(1)) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= (bool)(arg1
)->CanRead();
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7733 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7744 if (SWIG_arg_fail(1)) SWIG_fail
;
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 result
= (bool)(arg1
)->Eof();
7749 wxPyEndAllowThreads(__tstate
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7761 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7767 PyObject
* obj1
= 0 ;
7769 (char *) "self",(char *) "c", NULL
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7774 if (SWIG_arg_fail(1)) SWIG_fail
;
7776 arg2
= (char)(SWIG_As_char(obj1
));
7777 if (SWIG_arg_fail(2)) SWIG_fail
;
7780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7781 result
= (bool)(arg1
)->Ungetch(arg2
);
7783 wxPyEndAllowThreads(__tstate
);
7784 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7795 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7799 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7803 PyObject
* obj2
= 0 ;
7805 (char *) "self",(char *) "pos",(char *) "mode", NULL
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7810 if (SWIG_arg_fail(1)) SWIG_fail
;
7812 arg2
= (long)(SWIG_As_long(obj1
));
7813 if (SWIG_arg_fail(2)) SWIG_fail
;
7817 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7818 if (SWIG_arg_fail(3)) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= SWIG_From_long((long)(result
));
7837 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7843 (char *) "self", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7848 if (SWIG_arg_fail(1)) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (long)(arg1
)->TellI();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7857 resultobj
= SWIG_From_long((long)(result
));
7865 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7868 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7870 return Py_BuildValue((char *)"");
7872 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7875 PyObject
*arg2
= (PyObject
*) 0 ;
7876 PyObject
* obj0
= 0 ;
7877 PyObject
* obj1
= 0 ;
7879 (char *) "self",(char *) "obj", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7884 if (SWIG_arg_fail(1)) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 wxOutputStream_write(arg1
,arg2
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 Py_INCREF(Py_None
); resultobj
= Py_None
;
7900 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7903 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7905 return Py_BuildValue((char *)"");
7907 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7910 wxString
*arg2
= 0 ;
7911 wxString
*arg3
= 0 ;
7912 wxString
*arg4
= 0 ;
7915 wxPyInputStream
*temp1
;
7917 bool temp2
= false ;
7918 bool temp3
= false ;
7919 bool temp4
= false ;
7920 PyObject
* obj0
= 0 ;
7921 PyObject
* obj1
= 0 ;
7922 PyObject
* obj2
= 0 ;
7923 PyObject
* obj3
= 0 ;
7924 PyObject
* obj4
= 0 ;
7926 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7931 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7932 arg1
= temp1
->m_wxis
;
7935 PyErr_Clear(); // clear the failure of the wxPyConvert above
7936 arg1
= wxPyCBInputStream_create(obj0
, false);
7938 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7945 arg2
= wxString_in_helper(obj1
);
7946 if (arg2
== NULL
) SWIG_fail
;
7950 arg3
= wxString_in_helper(obj2
);
7951 if (arg3
== NULL
) SWIG_fail
;
7955 arg4
= wxString_in_helper(obj3
);
7956 if (arg4
== NULL
) SWIG_fail
;
7961 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7962 if (SWIG_arg_fail(5)) SWIG_fail
;
7964 SWIG_null_ref("wxDateTime");
7966 if (SWIG_arg_fail(5)) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7977 resultobj
= wxPyMake_wxObject(result
, 1);
8017 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8018 PyObject
*resultobj
;
8019 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8022 (char *) "self", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8027 if (SWIG_arg_fail(1)) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 Py_INCREF(Py_None
); resultobj
= Py_None
;
8042 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8045 wxInputStream
*result
;
8046 PyObject
* obj0
= 0 ;
8048 (char *) "self", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8053 if (SWIG_arg_fail(1)) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= (wxInputStream
*)(arg1
)->GetStream();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8062 wxPyInputStream
* _ptr
= NULL
;
8065 _ptr
= new wxPyInputStream(result
);
8067 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8075 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8076 PyObject
*resultobj
;
8077 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8079 PyObject
* obj0
= 0 ;
8081 (char *) "self", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8086 if (SWIG_arg_fail(1)) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8091 result
= (wxString
*) &_result_ref
;
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8101 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8110 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8111 PyObject
*resultobj
;
8112 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8116 (char *) "self", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8121 if (SWIG_arg_fail(1)) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 wxString
const &_result_ref
= (arg1
)->GetLocation();
8126 result
= (wxString
*) &_result_ref
;
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8134 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8136 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8145 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8149 PyObject
* obj0
= 0 ;
8151 (char *) "self", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8156 if (SWIG_arg_fail(1)) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8161 result
= (wxString
*) &_result_ref
;
8164 wxPyEndAllowThreads(__tstate
);
8165 if (PyErr_Occurred()) SWIG_fail
;
8169 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8171 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8180 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "self", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8191 if (SWIG_arg_fail(1)) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (arg1
)->GetModificationTime();
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8200 wxDateTime
* resultptr
;
8201 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8210 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8213 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8215 return Py_BuildValue((char *)"");
8217 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8220 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8222 return Py_BuildValue((char *)"");
8224 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxPyFileSystemHandler
*result
;
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8246 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8249 PyObject
*arg2
= (PyObject
*) 0 ;
8250 PyObject
*arg3
= (PyObject
*) 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 PyObject
* obj2
= 0 ;
8255 (char *) "self",(char *) "self",(char *) "_class", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8259 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8260 if (SWIG_arg_fail(1)) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 Py_INCREF(Py_None
); resultobj
= Py_None
;
8277 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8280 wxString
*arg2
= 0 ;
8282 bool temp2
= false ;
8283 PyObject
* obj0
= 0 ;
8284 PyObject
* obj1
= 0 ;
8286 (char *) "self",(char *) "location", NULL
8289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8291 if (SWIG_arg_fail(1)) SWIG_fail
;
8293 arg2
= wxString_in_helper(obj1
);
8294 if (arg2
== NULL
) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8321 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8324 wxFileSystem
*arg2
= 0 ;
8325 wxString
*arg3
= 0 ;
8327 bool temp3
= false ;
8328 PyObject
* obj0
= 0 ;
8329 PyObject
* obj1
= 0 ;
8330 PyObject
* obj2
= 0 ;
8332 (char *) "self",(char *) "fs",(char *) "location", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8337 if (SWIG_arg_fail(1)) SWIG_fail
;
8339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8340 if (SWIG_arg_fail(2)) SWIG_fail
;
8342 SWIG_null_ref("wxFileSystem");
8344 if (SWIG_arg_fail(2)) SWIG_fail
;
8347 arg3
= wxString_in_helper(obj2
);
8348 if (arg3
== NULL
) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= wxPyMake_wxObject(result
, 1);
8375 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8376 PyObject
*resultobj
;
8377 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8378 wxString
*arg2
= 0 ;
8379 int arg3
= (int) 0 ;
8381 bool temp2
= false ;
8382 PyObject
* obj0
= 0 ;
8383 PyObject
* obj1
= 0 ;
8384 PyObject
* obj2
= 0 ;
8386 (char *) "self",(char *) "spec",(char *) "flags", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8391 if (SWIG_arg_fail(1)) SWIG_fail
;
8393 arg2
= wxString_in_helper(obj1
);
8394 if (arg2
== NULL
) SWIG_fail
;
8399 arg3
= (int)(SWIG_As_int(obj2
));
8400 if (SWIG_arg_fail(3)) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8431 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8435 PyObject
* obj0
= 0 ;
8437 (char *) "self", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8442 if (SWIG_arg_fail(1)) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= (arg1
)->FindNext();
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8463 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8464 PyObject
*resultobj
;
8465 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8466 wxString
*arg2
= 0 ;
8468 bool temp2
= false ;
8469 PyObject
* obj0
= 0 ;
8470 PyObject
* obj1
= 0 ;
8472 (char *) "self",(char *) "location", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8477 if (SWIG_arg_fail(1)) SWIG_fail
;
8479 arg2
= wxString_in_helper(obj1
);
8480 if (arg2
== NULL
) SWIG_fail
;
8484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8485 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8487 wxPyEndAllowThreads(__tstate
);
8488 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8511 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8514 wxString
*arg2
= 0 ;
8516 bool temp2
= false ;
8517 PyObject
* obj0
= 0 ;
8518 PyObject
* obj1
= 0 ;
8520 (char *) "self",(char *) "location", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8525 if (SWIG_arg_fail(1)) SWIG_fail
;
8527 arg2
= wxString_in_helper(obj1
);
8528 if (arg2
== NULL
) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8533 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8559 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8562 wxString
*arg2
= 0 ;
8564 bool temp2
= false ;
8565 PyObject
* obj0
= 0 ;
8566 PyObject
* obj1
= 0 ;
8568 (char *) "self",(char *) "location", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8573 if (SWIG_arg_fail(1)) SWIG_fail
;
8575 arg2
= wxString_in_helper(obj1
);
8576 if (arg2
== NULL
) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8607 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8608 PyObject
*resultobj
;
8609 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8610 wxString
*arg2
= 0 ;
8612 bool temp2
= false ;
8613 PyObject
* obj0
= 0 ;
8614 PyObject
* obj1
= 0 ;
8616 (char *) "self",(char *) "location", NULL
8619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8621 if (SWIG_arg_fail(1)) SWIG_fail
;
8623 arg2
= wxString_in_helper(obj1
);
8624 if (arg2
== NULL
) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8655 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8658 wxString
*arg2
= 0 ;
8660 bool temp2
= false ;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8664 (char *) "self",(char *) "location", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8669 if (SWIG_arg_fail(1)) SWIG_fail
;
8671 arg2
= wxString_in_helper(obj1
);
8672 if (arg2
== NULL
) SWIG_fail
;
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8703 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8706 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8708 return Py_BuildValue((char *)"");
8710 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxFileSystem
*result
;
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (wxFileSystem
*)new wxFileSystem();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= wxPyMake_wxObject(result
, 1);
8734 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8737 PyObject
* obj0
= 0 ;
8739 (char *) "self", NULL
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8744 if (SWIG_arg_fail(1)) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 Py_INCREF(Py_None
); resultobj
= Py_None
;
8759 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8762 wxString
*arg2
= 0 ;
8763 bool arg3
= (bool) false ;
8764 bool temp2
= false ;
8765 PyObject
* obj0
= 0 ;
8766 PyObject
* obj1
= 0 ;
8767 PyObject
* obj2
= 0 ;
8769 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8774 if (SWIG_arg_fail(1)) SWIG_fail
;
8776 arg2
= wxString_in_helper(obj1
);
8777 if (arg2
== NULL
) SWIG_fail
;
8782 arg3
= (bool)(SWIG_As_bool(obj2
));
8783 if (SWIG_arg_fail(3)) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 Py_INCREF(Py_None
); resultobj
= Py_None
;
8808 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8812 PyObject
* obj0
= 0 ;
8814 (char *) "self", NULL
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8819 if (SWIG_arg_fail(1)) SWIG_fail
;
8821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8822 result
= (arg1
)->GetPath();
8824 wxPyEndAllowThreads(__tstate
);
8825 if (PyErr_Occurred()) SWIG_fail
;
8829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8840 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
;
8842 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8843 wxString
*arg2
= 0 ;
8845 bool temp2
= false ;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8849 (char *) "self",(char *) "location", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8854 if (SWIG_arg_fail(1)) SWIG_fail
;
8856 arg2
= wxString_in_helper(obj1
);
8857 if (arg2
== NULL
) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8868 resultobj
= wxPyMake_wxObject(result
, 1);
8884 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
;
8886 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8887 wxString
*arg2
= 0 ;
8888 int arg3
= (int) 0 ;
8890 bool temp2
= false ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8893 PyObject
* obj2
= 0 ;
8895 (char *) "self",(char *) "spec",(char *) "flags", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8900 if (SWIG_arg_fail(1)) SWIG_fail
;
8902 arg2
= wxString_in_helper(obj1
);
8903 if (arg2
== NULL
) SWIG_fail
;
8908 arg3
= (int)(SWIG_As_int(obj2
));
8909 if (SWIG_arg_fail(3)) SWIG_fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8940 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8946 (char *) "self", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8951 if (SWIG_arg_fail(1)) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (arg1
)->FindNext();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8972 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8977 (char *) "handler", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8982 if (SWIG_arg_fail(1)) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 wxFileSystem::AddHandler(arg1
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 Py_INCREF(Py_None
); resultobj
= Py_None
;
8997 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 wxFileSystem::CleanUpHandlers();
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 Py_INCREF(Py_None
); resultobj
= Py_None
;
9018 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxString
*arg1
= 0 ;
9022 bool temp1
= false ;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "filename", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9030 arg1
= wxString_in_helper(obj0
);
9031 if (arg1
== NULL
) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9062 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxString
*arg1
= 0 ;
9066 bool temp1
= false ;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "url", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9074 arg1
= wxString_in_helper(obj0
);
9075 if (arg1
== NULL
) SWIG_fail
;
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9082 wxPyEndAllowThreads(__tstate
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9106 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9109 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9111 return Py_BuildValue((char *)"");
9113 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxInternetFSHandler
*result
;
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9135 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9138 wxString
*arg2
= 0 ;
9140 bool temp2
= false ;
9141 PyObject
* obj0
= 0 ;
9142 PyObject
* obj1
= 0 ;
9144 (char *) "self",(char *) "location", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9149 if (SWIG_arg_fail(1)) SWIG_fail
;
9151 arg2
= wxString_in_helper(obj1
);
9152 if (arg2
== NULL
) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9179 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
*resultobj
;
9181 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9182 wxFileSystem
*arg2
= 0 ;
9183 wxString
*arg3
= 0 ;
9185 bool temp3
= false ;
9186 PyObject
* obj0
= 0 ;
9187 PyObject
* obj1
= 0 ;
9188 PyObject
* obj2
= 0 ;
9190 (char *) "self",(char *) "fs",(char *) "location", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9195 if (SWIG_arg_fail(1)) SWIG_fail
;
9197 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9198 if (SWIG_arg_fail(2)) SWIG_fail
;
9200 SWIG_null_ref("wxFileSystem");
9202 if (SWIG_arg_fail(2)) SWIG_fail
;
9205 arg3
= wxString_in_helper(obj2
);
9206 if (arg3
== NULL
) SWIG_fail
;
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9213 wxPyEndAllowThreads(__tstate
);
9214 if (PyErr_Occurred()) SWIG_fail
;
9217 resultobj
= wxPyMake_wxObject(result
, 1);
9233 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9235 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9236 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9238 return Py_BuildValue((char *)"");
9240 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxZipFSHandler
*result
;
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9250 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9262 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9265 wxString
*arg2
= 0 ;
9267 bool temp2
= false ;
9268 PyObject
* obj0
= 0 ;
9269 PyObject
* obj1
= 0 ;
9271 (char *) "self",(char *) "location", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9276 if (SWIG_arg_fail(1)) SWIG_fail
;
9278 arg2
= wxString_in_helper(obj1
);
9279 if (arg2
== NULL
) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9306 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9309 wxFileSystem
*arg2
= 0 ;
9310 wxString
*arg3
= 0 ;
9312 bool temp3
= false ;
9313 PyObject
* obj0
= 0 ;
9314 PyObject
* obj1
= 0 ;
9315 PyObject
* obj2
= 0 ;
9317 (char *) "self",(char *) "fs",(char *) "location", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9322 if (SWIG_arg_fail(1)) SWIG_fail
;
9324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9325 if (SWIG_arg_fail(2)) SWIG_fail
;
9327 SWIG_null_ref("wxFileSystem");
9329 if (SWIG_arg_fail(2)) SWIG_fail
;
9332 arg3
= wxString_in_helper(obj2
);
9333 if (arg3
== NULL
) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= wxPyMake_wxObject(result
, 1);
9360 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9363 wxString
*arg2
= 0 ;
9364 int arg3
= (int) 0 ;
9366 bool temp2
= false ;
9367 PyObject
* obj0
= 0 ;
9368 PyObject
* obj1
= 0 ;
9369 PyObject
* obj2
= 0 ;
9371 (char *) "self",(char *) "spec",(char *) "flags", NULL
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9376 if (SWIG_arg_fail(1)) SWIG_fail
;
9378 arg2
= wxString_in_helper(obj1
);
9379 if (arg2
== NULL
) SWIG_fail
;
9384 arg3
= (int)(SWIG_As_int(obj2
));
9385 if (SWIG_arg_fail(3)) SWIG_fail
;
9389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9390 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9416 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9420 PyObject
* obj0
= 0 ;
9422 (char *) "self", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9427 if (SWIG_arg_fail(1)) SWIG_fail
;
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 result
= (arg1
)->FindNext();
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) SWIG_fail
;
9437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9448 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9451 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9453 return Py_BuildValue((char *)"");
9455 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxString
*arg1
= 0 ;
9460 bool temp1
= false ;
9461 PyObject
* obj0
= 0 ;
9462 PyObject
* obj1
= 0 ;
9463 PyObject
* obj2
= 0 ;
9465 (char *) "filename",(char *) "image",(char *) "type", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9470 arg1
= wxString_in_helper(obj0
);
9471 if (arg1
== NULL
) SWIG_fail
;
9475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9476 if (SWIG_arg_fail(2)) SWIG_fail
;
9478 SWIG_null_ref("wxImage");
9480 if (SWIG_arg_fail(2)) SWIG_fail
;
9483 arg3
= (long)(SWIG_As_long(obj2
));
9484 if (SWIG_arg_fail(3)) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 Py_INCREF(Py_None
); resultobj
= Py_None
;
9508 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxString
*arg1
= 0 ;
9511 wxBitmap
*arg2
= 0 ;
9513 bool temp1
= false ;
9514 PyObject
* obj0
= 0 ;
9515 PyObject
* obj1
= 0 ;
9516 PyObject
* obj2
= 0 ;
9518 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9523 arg1
= wxString_in_helper(obj0
);
9524 if (arg1
== NULL
) SWIG_fail
;
9528 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9529 if (SWIG_arg_fail(2)) SWIG_fail
;
9531 SWIG_null_ref("wxBitmap");
9533 if (SWIG_arg_fail(2)) SWIG_fail
;
9536 arg3
= (long)(SWIG_As_long(obj2
));
9537 if (SWIG_arg_fail(3)) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 Py_INCREF(Py_None
); resultobj
= Py_None
;
9561 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxString
*arg1
= 0 ;
9564 PyObject
*arg2
= (PyObject
*) 0 ;
9565 bool temp1
= false ;
9566 PyObject
* obj0
= 0 ;
9567 PyObject
* obj1
= 0 ;
9569 (char *) "filename",(char *) "data", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9574 arg1
= wxString_in_helper(obj0
);
9575 if (arg1
== NULL
) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 Py_INCREF(Py_None
); resultobj
= Py_None
;
9601 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxMemoryFSHandler
*result
;
9608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9623 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxString
*arg1
= 0 ;
9626 bool temp1
= false ;
9627 PyObject
* obj0
= 0 ;
9629 (char *) "filename", NULL
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9634 arg1
= wxString_in_helper(obj0
);
9635 if (arg1
== NULL
) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 Py_INCREF(Py_None
); resultobj
= Py_None
;
9660 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9663 wxString
*arg2
= 0 ;
9665 bool temp2
= false ;
9666 PyObject
* obj0
= 0 ;
9667 PyObject
* obj1
= 0 ;
9669 (char *) "self",(char *) "location", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9674 if (SWIG_arg_fail(1)) SWIG_fail
;
9676 arg2
= wxString_in_helper(obj1
);
9677 if (arg2
== NULL
) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9704 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9707 wxFileSystem
*arg2
= 0 ;
9708 wxString
*arg3
= 0 ;
9710 bool temp3
= false ;
9711 PyObject
* obj0
= 0 ;
9712 PyObject
* obj1
= 0 ;
9713 PyObject
* obj2
= 0 ;
9715 (char *) "self",(char *) "fs",(char *) "location", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9720 if (SWIG_arg_fail(1)) SWIG_fail
;
9722 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9723 if (SWIG_arg_fail(2)) SWIG_fail
;
9725 SWIG_null_ref("wxFileSystem");
9727 if (SWIG_arg_fail(2)) SWIG_fail
;
9730 arg3
= wxString_in_helper(obj2
);
9731 if (arg3
== NULL
) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= wxPyMake_wxObject(result
, 1);
9758 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9759 PyObject
*resultobj
;
9760 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9761 wxString
*arg2
= 0 ;
9762 int arg3
= (int) 0 ;
9764 bool temp2
= false ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 PyObject
* obj2
= 0 ;
9769 (char *) "self",(char *) "spec",(char *) "flags", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9774 if (SWIG_arg_fail(1)) SWIG_fail
;
9776 arg2
= wxString_in_helper(obj1
);
9777 if (arg2
== NULL
) SWIG_fail
;
9782 arg3
= (int)(SWIG_As_int(obj2
));
9783 if (SWIG_arg_fail(3)) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9814 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9820 (char *) "self", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9825 if (SWIG_arg_fail(1)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (arg1
)->FindNext();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9846 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9849 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9851 return Py_BuildValue((char *)"");
9853 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9864 if (SWIG_arg_fail(1)) SWIG_fail
;
9866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9867 result
= (arg1
)->GetName();
9869 wxPyEndAllowThreads(__tstate
);
9870 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9885 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9886 PyObject
*resultobj
;
9887 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9889 PyObject
* obj0
= 0 ;
9891 (char *) "self", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9896 if (SWIG_arg_fail(1)) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (arg1
)->GetExtension();
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9917 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9928 if (SWIG_arg_fail(1)) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (long)(arg1
)->GetType();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= SWIG_From_long((long)(result
));
9945 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9951 (char *) "self", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9956 if (SWIG_arg_fail(1)) SWIG_fail
;
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= (arg1
)->GetMimeType();
9961 wxPyEndAllowThreads(__tstate
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9977 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9980 wxString
*arg2
= 0 ;
9982 bool temp2
= false ;
9983 PyObject
* obj0
= 0 ;
9984 PyObject
* obj1
= 0 ;
9986 (char *) "self",(char *) "name", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
9990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9991 if (SWIG_arg_fail(1)) SWIG_fail
;
9993 arg2
= wxString_in_helper(obj1
);
9994 if (arg2
== NULL
) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10021 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10024 wxString
*arg2
= 0 ;
10025 bool temp2
= false ;
10026 PyObject
* obj0
= 0 ;
10027 PyObject
* obj1
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self",(char *) "name", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10034 if (SWIG_arg_fail(1)) SWIG_fail
;
10036 arg2
= wxString_in_helper(obj1
);
10037 if (arg2
== NULL
) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 (arg1
)->SetName((wxString
const &)*arg2
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 Py_INCREF(Py_None
); resultobj
= Py_None
;
10062 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10065 wxString
*arg2
= 0 ;
10066 bool temp2
= false ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self",(char *) "extension", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10075 if (SWIG_arg_fail(1)) SWIG_fail
;
10077 arg2
= wxString_in_helper(obj1
);
10078 if (arg2
== NULL
) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 (arg1
)->SetExtension((wxString
const &)*arg2
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10088 Py_INCREF(Py_None
); resultobj
= Py_None
;
10103 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 PyObject
* obj1
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "self",(char *) "type", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10115 if (SWIG_arg_fail(1)) SWIG_fail
;
10117 arg2
= (long)(SWIG_As_long(obj1
));
10118 if (SWIG_arg_fail(2)) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 (arg1
)->SetType(arg2
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 Py_INCREF(Py_None
); resultobj
= Py_None
;
10134 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10137 wxString
*arg2
= 0 ;
10138 bool temp2
= false ;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self",(char *) "mimetype", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10147 if (SWIG_arg_fail(1)) SWIG_fail
;
10149 arg2
= wxString_in_helper(obj1
);
10150 if (arg2
== NULL
) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 Py_INCREF(Py_None
); resultobj
= Py_None
;
10175 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10178 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10180 return Py_BuildValue((char *)"");
10182 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxImageHistogram
*result
;
10185 char *kwnames
[] = {
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (wxImageHistogram
*)new wxImageHistogram();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10204 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 unsigned char arg1
;
10207 unsigned char arg2
;
10208 unsigned char arg3
;
10209 unsigned long result
;
10210 PyObject
* obj0
= 0 ;
10211 PyObject
* obj1
= 0 ;
10212 PyObject
* obj2
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "r",(char *) "g",(char *) "b", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10219 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10220 if (SWIG_arg_fail(1)) SWIG_fail
;
10223 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10224 if (SWIG_arg_fail(2)) SWIG_fail
;
10227 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10228 if (SWIG_arg_fail(3)) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10246 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10249 unsigned char *arg2
= (unsigned char *) 0 ;
10250 unsigned char *arg3
= (unsigned char *) 0 ;
10251 unsigned char *arg4
= (unsigned char *) 0 ;
10252 unsigned char arg5
= (unsigned char) 1 ;
10253 unsigned char arg6
= (unsigned char) 0 ;
10254 unsigned char arg7
= (unsigned char) 0 ;
10256 unsigned char temp2
;
10258 unsigned char temp3
;
10260 unsigned char temp4
;
10262 PyObject
* obj0
= 0 ;
10263 PyObject
* obj1
= 0 ;
10264 PyObject
* obj2
= 0 ;
10265 PyObject
* obj3
= 0 ;
10266 char *kwnames
[] = {
10267 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10270 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10271 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10272 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10275 if (SWIG_arg_fail(1)) SWIG_fail
;
10278 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10279 if (SWIG_arg_fail(5)) SWIG_fail
;
10284 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10285 if (SWIG_arg_fail(6)) SWIG_fail
;
10290 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10291 if (SWIG_arg_fail(7)) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10304 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10305 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10306 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10307 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10308 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10309 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10316 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10319 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10321 return Py_BuildValue((char *)"");
10323 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxString
*arg1
= 0 ;
10326 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10327 int arg3
= (int) -1 ;
10329 bool temp1
= false ;
10330 PyObject
* obj0
= 0 ;
10331 PyObject
* obj1
= 0 ;
10332 PyObject
* obj2
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "name",(char *) "type",(char *) "index", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10339 arg1
= wxString_in_helper(obj0
);
10340 if (arg1
== NULL
) SWIG_fail
;
10345 arg2
= (long)(SWIG_As_long(obj1
));
10346 if (SWIG_arg_fail(2)) SWIG_fail
;
10351 arg3
= (int)(SWIG_As_int(obj2
));
10352 if (SWIG_arg_fail(3)) SWIG_fail
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10377 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxImage
*arg1
= (wxImage
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10387 if (SWIG_arg_fail(1)) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 Py_INCREF(Py_None
); resultobj
= Py_None
;
10402 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
;
10404 wxString
*arg1
= 0 ;
10405 wxString
*arg2
= 0 ;
10406 int arg3
= (int) -1 ;
10408 bool temp1
= false ;
10409 bool temp2
= false ;
10410 PyObject
* obj0
= 0 ;
10411 PyObject
* obj1
= 0 ;
10412 PyObject
* obj2
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10419 arg1
= wxString_in_helper(obj0
);
10420 if (arg1
== NULL
) SWIG_fail
;
10424 arg2
= wxString_in_helper(obj1
);
10425 if (arg2
== NULL
) SWIG_fail
;
10430 arg3
= (int)(SWIG_As_int(obj2
));
10431 if (SWIG_arg_fail(3)) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10464 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10465 PyObject
*resultobj
;
10466 wxInputStream
*arg1
= 0 ;
10467 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10468 int arg3
= (int) -1 ;
10470 wxPyInputStream
*temp1
;
10472 PyObject
* obj0
= 0 ;
10473 PyObject
* obj1
= 0 ;
10474 PyObject
* obj2
= 0 ;
10475 char *kwnames
[] = {
10476 (char *) "stream",(char *) "type",(char *) "index", NULL
10479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10481 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10482 arg1
= temp1
->m_wxis
;
10485 PyErr_Clear(); // clear the failure of the wxPyConvert above
10486 arg1
= wxPyCBInputStream_create(obj0
, false);
10487 if (arg1
== NULL
) {
10488 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10496 arg2
= (long)(SWIG_As_long(obj1
));
10497 if (SWIG_arg_fail(2)) SWIG_fail
;
10502 arg3
= (int)(SWIG_As_int(obj2
));
10503 if (SWIG_arg_fail(3)) SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10528 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxInputStream
*arg1
= 0 ;
10531 wxString
*arg2
= 0 ;
10532 int arg3
= (int) -1 ;
10534 wxPyInputStream
*temp1
;
10536 bool temp2
= false ;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 PyObject
* obj2
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10546 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10547 arg1
= temp1
->m_wxis
;
10550 PyErr_Clear(); // clear the failure of the wxPyConvert above
10551 arg1
= wxPyCBInputStream_create(obj0
, false);
10552 if (arg1
== NULL
) {
10553 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10560 arg2
= wxString_in_helper(obj1
);
10561 if (arg2
== NULL
) SWIG_fail
;
10566 arg3
= (int)(SWIG_As_int(obj2
));
10567 if (SWIG_arg_fail(3)) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10600 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 int arg1
= (int) 0 ;
10603 int arg2
= (int) 0 ;
10604 bool arg3
= (bool) true ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "width",(char *) "height",(char *) "clear", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10616 arg1
= (int)(SWIG_As_int(obj0
));
10617 if (SWIG_arg_fail(1)) SWIG_fail
;
10622 arg2
= (int)(SWIG_As_int(obj1
));
10623 if (SWIG_arg_fail(2)) SWIG_fail
;
10628 arg3
= (bool)(SWIG_As_bool(obj2
));
10629 if (SWIG_arg_fail(3)) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10636 wxPyEndAllowThreads(__tstate
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10646 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10647 PyObject
*resultobj
;
10648 wxBitmap
*arg1
= 0 ;
10650 PyObject
* obj0
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "bitmap", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10658 if (SWIG_arg_fail(1)) SWIG_fail
;
10659 if (arg1
== NULL
) {
10660 SWIG_null_ref("wxBitmap");
10662 if (SWIG_arg_fail(1)) SWIG_fail
;
10665 if (!wxPyCheckForApp()) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10679 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10683 unsigned char *arg3
= (unsigned char *) 0 ;
10685 PyObject
* obj0
= 0 ;
10686 PyObject
* obj1
= 0 ;
10687 PyObject
* obj2
= 0 ;
10688 char *kwnames
[] = {
10689 (char *) "width",(char *) "height",(char *) "data", NULL
10692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10694 arg1
= (int)(SWIG_As_int(obj0
));
10695 if (SWIG_arg_fail(1)) SWIG_fail
;
10698 arg2
= (int)(SWIG_As_int(obj1
));
10699 if (SWIG_arg_fail(2)) SWIG_fail
;
10701 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10702 if (SWIG_arg_fail(3)) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10717 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10721 unsigned char *arg3
= (unsigned char *) 0 ;
10722 unsigned char *arg4
= (unsigned char *) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 PyObject
* obj3
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10734 arg1
= (int)(SWIG_As_int(obj0
));
10735 if (SWIG_arg_fail(1)) SWIG_fail
;
10738 arg2
= (int)(SWIG_As_int(obj1
));
10739 if (SWIG_arg_fail(2)) SWIG_fail
;
10741 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10742 if (SWIG_arg_fail(3)) SWIG_fail
;
10743 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10744 if (SWIG_arg_fail(4)) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10759 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxImage
*arg1
= (wxImage
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 PyObject
* obj2
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "width",(char *) "height", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10773 if (SWIG_arg_fail(1)) SWIG_fail
;
10775 arg2
= (int)(SWIG_As_int(obj1
));
10776 if (SWIG_arg_fail(2)) SWIG_fail
;
10779 arg3
= (int)(SWIG_As_int(obj2
));
10780 if (SWIG_arg_fail(3)) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 (arg1
)->Create(arg2
,arg3
);
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 Py_INCREF(Py_None
); resultobj
= Py_None
;
10796 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxImage
*arg1
= (wxImage
*) 0 ;
10799 PyObject
* obj0
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10806 if (SWIG_arg_fail(1)) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10814 Py_INCREF(Py_None
); resultobj
= Py_None
;
10821 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10822 PyObject
*resultobj
;
10823 wxImage
*arg1
= (wxImage
*) 0 ;
10826 SwigValueWrapper
<wxImage
> result
;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 PyObject
* obj2
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self",(char *) "width",(char *) "height", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10836 if (SWIG_arg_fail(1)) SWIG_fail
;
10838 arg2
= (int)(SWIG_As_int(obj1
));
10839 if (SWIG_arg_fail(2)) SWIG_fail
;
10842 arg3
= (int)(SWIG_As_int(obj2
));
10843 if (SWIG_arg_fail(3)) SWIG_fail
;
10846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 result
= (arg1
)->Scale(arg2
,arg3
);
10849 wxPyEndAllowThreads(__tstate
);
10850 if (PyErr_Occurred()) SWIG_fail
;
10853 wxImage
* resultptr
;
10854 resultptr
= new wxImage((wxImage
&)(result
));
10855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10863 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxImage
*arg1
= (wxImage
*) 0 ;
10868 SwigValueWrapper
<wxImage
> result
;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 PyObject
* obj2
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10878 if (SWIG_arg_fail(1)) SWIG_fail
;
10880 arg2
= (int)(SWIG_As_int(obj1
));
10881 if (SWIG_arg_fail(2)) SWIG_fail
;
10884 arg3
= (int)(SWIG_As_int(obj2
));
10885 if (SWIG_arg_fail(3)) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10895 wxImage
* resultptr
;
10896 resultptr
= new wxImage((wxImage
&)(result
));
10897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10905 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxImage
*arg1
= (wxImage
*) 0 ;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 PyObject
* obj2
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "width",(char *) "height", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10920 if (SWIG_arg_fail(1)) SWIG_fail
;
10922 arg2
= (int)(SWIG_As_int(obj1
));
10923 if (SWIG_arg_fail(2)) SWIG_fail
;
10926 arg3
= (int)(SWIG_As_int(obj2
));
10927 if (SWIG_arg_fail(3)) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10933 result
= (wxImage
*) &_result_ref
;
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10946 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxImage
*arg1
= (wxImage
*) 0 ;
10951 unsigned char arg4
;
10952 unsigned char arg5
;
10953 unsigned char arg6
;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 PyObject
* obj2
= 0 ;
10957 PyObject
* obj3
= 0 ;
10958 PyObject
* obj4
= 0 ;
10959 PyObject
* obj5
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10966 if (SWIG_arg_fail(1)) SWIG_fail
;
10968 arg2
= (int)(SWIG_As_int(obj1
));
10969 if (SWIG_arg_fail(2)) SWIG_fail
;
10972 arg3
= (int)(SWIG_As_int(obj2
));
10973 if (SWIG_arg_fail(3)) SWIG_fail
;
10976 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10977 if (SWIG_arg_fail(4)) SWIG_fail
;
10980 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
10981 if (SWIG_arg_fail(5)) SWIG_fail
;
10984 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
10985 if (SWIG_arg_fail(6)) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10989 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 Py_INCREF(Py_None
); resultobj
= Py_None
;
11001 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxImage
*arg1
= (wxImage
*) 0 ;
11006 unsigned char result
;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 PyObject
* obj2
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "x",(char *) "y", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11016 if (SWIG_arg_fail(1)) SWIG_fail
;
11018 arg2
= (int)(SWIG_As_int(obj1
));
11019 if (SWIG_arg_fail(2)) SWIG_fail
;
11022 arg3
= (int)(SWIG_As_int(obj2
));
11023 if (SWIG_arg_fail(3)) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11033 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11041 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 wxImage
*arg1
= (wxImage
*) 0 ;
11046 unsigned char result
;
11047 PyObject
* obj0
= 0 ;
11048 PyObject
* obj1
= 0 ;
11049 PyObject
* obj2
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self",(char *) "x",(char *) "y", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11056 if (SWIG_arg_fail(1)) SWIG_fail
;
11058 arg2
= (int)(SWIG_As_int(obj1
));
11059 if (SWIG_arg_fail(2)) SWIG_fail
;
11062 arg3
= (int)(SWIG_As_int(obj2
));
11063 if (SWIG_arg_fail(3)) SWIG_fail
;
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11073 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11081 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxImage
*arg1
= (wxImage
*) 0 ;
11086 unsigned char result
;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 PyObject
* obj2
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self",(char *) "x",(char *) "y", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11096 if (SWIG_arg_fail(1)) SWIG_fail
;
11098 arg2
= (int)(SWIG_As_int(obj1
));
11099 if (SWIG_arg_fail(2)) SWIG_fail
;
11102 arg3
= (int)(SWIG_As_int(obj2
));
11103 if (SWIG_arg_fail(3)) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11113 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11121 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxImage
*arg1
= (wxImage
*) 0 ;
11126 unsigned char arg4
;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 PyObject
* obj2
= 0 ;
11130 PyObject
* obj3
= 0 ;
11131 char *kwnames
[] = {
11132 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11137 if (SWIG_arg_fail(1)) SWIG_fail
;
11139 arg2
= (int)(SWIG_As_int(obj1
));
11140 if (SWIG_arg_fail(2)) SWIG_fail
;
11143 arg3
= (int)(SWIG_As_int(obj2
));
11144 if (SWIG_arg_fail(3)) SWIG_fail
;
11147 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11148 if (SWIG_arg_fail(4)) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 Py_INCREF(Py_None
); resultobj
= Py_None
;
11164 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxImage
*arg1
= (wxImage
*) 0 ;
11169 unsigned char result
;
11170 PyObject
* obj0
= 0 ;
11171 PyObject
* obj1
= 0 ;
11172 PyObject
* obj2
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "self",(char *) "x",(char *) "y", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11179 if (SWIG_arg_fail(1)) SWIG_fail
;
11181 arg2
= (int)(SWIG_As_int(obj1
));
11182 if (SWIG_arg_fail(2)) SWIG_fail
;
11185 arg3
= (int)(SWIG_As_int(obj2
));
11186 if (SWIG_arg_fail(3)) SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11196 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11204 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxImage
*arg1
= (wxImage
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11215 if (SWIG_arg_fail(1)) SWIG_fail
;
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (bool)(arg1
)->HasAlpha();
11220 wxPyEndAllowThreads(__tstate
);
11221 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11232 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11233 PyObject
*resultobj
;
11234 wxImage
*arg1
= (wxImage
*) 0 ;
11235 PyObject
* obj0
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11242 if (SWIG_arg_fail(1)) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 (arg1
)->InitAlpha();
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 Py_INCREF(Py_None
); resultobj
= Py_None
;
11257 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11258 PyObject
*resultobj
;
11259 wxImage
*arg1
= (wxImage
*) 0 ;
11260 byte
*arg2
= (byte
*) 0 ;
11261 byte
*arg3
= (byte
*) 0 ;
11262 byte
*arg4
= (byte
*) 0 ;
11263 byte arg5
= (byte
) 0 ;
11264 byte arg6
= (byte
) 0 ;
11265 byte arg7
= (byte
) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 PyObject
* obj2
= 0 ;
11276 PyObject
* obj3
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11281 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11282 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11283 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11286 if (SWIG_arg_fail(1)) SWIG_fail
;
11289 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11290 if (SWIG_arg_fail(5)) SWIG_fail
;
11295 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11296 if (SWIG_arg_fail(6)) SWIG_fail
;
11301 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11302 if (SWIG_arg_fail(7)) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11315 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11316 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11317 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11318 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11319 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11320 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11327 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxImage
*arg1
= (wxImage
*) 0 ;
11330 byte arg2
= (byte
) 128 ;
11332 PyObject
* obj0
= 0 ;
11333 PyObject
* obj1
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self",(char *) "threshold", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11340 if (SWIG_arg_fail(1)) SWIG_fail
;
11343 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11344 if (SWIG_arg_fail(2)) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11363 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxImage
*arg1
= (wxImage
*) 0 ;
11366 unsigned char arg2
;
11367 unsigned char arg3
;
11368 unsigned char arg4
;
11370 PyObject
* obj0
= 0 ;
11371 PyObject
* obj1
= 0 ;
11372 PyObject
* obj2
= 0 ;
11373 PyObject
* obj3
= 0 ;
11374 char *kwnames
[] = {
11375 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11380 if (SWIG_arg_fail(1)) SWIG_fail
;
11382 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11383 if (SWIG_arg_fail(2)) SWIG_fail
;
11386 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11387 if (SWIG_arg_fail(3)) SWIG_fail
;
11390 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11391 if (SWIG_arg_fail(4)) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11409 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxImage
*arg1
= (wxImage
*) 0 ;
11412 wxImage
*arg2
= 0 ;
11417 PyObject
* obj0
= 0 ;
11418 PyObject
* obj1
= 0 ;
11419 PyObject
* obj2
= 0 ;
11420 PyObject
* obj3
= 0 ;
11421 PyObject
* obj4
= 0 ;
11422 char *kwnames
[] = {
11423 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11428 if (SWIG_arg_fail(1)) SWIG_fail
;
11430 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11431 if (SWIG_arg_fail(2)) SWIG_fail
;
11432 if (arg2
== NULL
) {
11433 SWIG_null_ref("wxImage");
11435 if (SWIG_arg_fail(2)) SWIG_fail
;
11438 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11439 if (SWIG_arg_fail(3)) SWIG_fail
;
11442 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11443 if (SWIG_arg_fail(4)) SWIG_fail
;
11446 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11447 if (SWIG_arg_fail(5)) SWIG_fail
;
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11465 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxString
*arg1
= 0 ;
11469 bool temp1
= false ;
11470 PyObject
* obj0
= 0 ;
11471 char *kwnames
[] = {
11472 (char *) "name", NULL
11475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11477 arg1
= wxString_in_helper(obj0
);
11478 if (arg1
== NULL
) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11505 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxString
*arg1
= 0 ;
11508 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11510 bool temp1
= false ;
11511 PyObject
* obj0
= 0 ;
11512 PyObject
* obj1
= 0 ;
11513 char *kwnames
[] = {
11514 (char *) "name",(char *) "type", NULL
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11519 arg1
= wxString_in_helper(obj0
);
11520 if (arg1
== NULL
) SWIG_fail
;
11525 arg2
= (long)(SWIG_As_long(obj1
));
11526 if (SWIG_arg_fail(2)) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_From_int((int)(result
));
11553 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
;
11555 wxImage
*arg1
= (wxImage
*) 0 ;
11556 wxString
*arg2
= 0 ;
11557 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11558 int arg4
= (int) -1 ;
11560 bool temp2
= false ;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 PyObject
* obj2
= 0 ;
11564 PyObject
* obj3
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11571 if (SWIG_arg_fail(1)) SWIG_fail
;
11573 arg2
= wxString_in_helper(obj1
);
11574 if (arg2
== NULL
) SWIG_fail
;
11579 arg3
= (long)(SWIG_As_long(obj2
));
11580 if (SWIG_arg_fail(3)) SWIG_fail
;
11585 arg4
= (int)(SWIG_As_int(obj3
));
11586 if (SWIG_arg_fail(4)) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11613 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxImage
*arg1
= (wxImage
*) 0 ;
11616 wxString
*arg2
= 0 ;
11617 wxString
*arg3
= 0 ;
11618 int arg4
= (int) -1 ;
11620 bool temp2
= false ;
11621 bool temp3
= false ;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 PyObject
* obj2
= 0 ;
11625 PyObject
* obj3
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11632 if (SWIG_arg_fail(1)) SWIG_fail
;
11634 arg2
= wxString_in_helper(obj1
);
11635 if (arg2
== NULL
) SWIG_fail
;
11639 arg3
= wxString_in_helper(obj2
);
11640 if (arg3
== NULL
) SWIG_fail
;
11645 arg4
= (int)(SWIG_As_int(obj3
));
11646 if (SWIG_arg_fail(4)) SWIG_fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11681 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxImage
*arg1
= (wxImage
*) 0 ;
11684 wxString
*arg2
= 0 ;
11687 bool temp2
= false ;
11688 PyObject
* obj0
= 0 ;
11689 PyObject
* obj1
= 0 ;
11690 PyObject
* obj2
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "name",(char *) "type", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11697 if (SWIG_arg_fail(1)) SWIG_fail
;
11699 arg2
= wxString_in_helper(obj1
);
11700 if (arg2
== NULL
) SWIG_fail
;
11704 arg3
= (int)(SWIG_As_int(obj2
));
11705 if (SWIG_arg_fail(3)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11731 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11732 PyObject
*resultobj
;
11733 wxImage
*arg1
= (wxImage
*) 0 ;
11734 wxString
*arg2
= 0 ;
11735 wxString
*arg3
= 0 ;
11737 bool temp2
= false ;
11738 bool temp3
= false ;
11739 PyObject
* obj0
= 0 ;
11740 PyObject
* obj1
= 0 ;
11741 PyObject
* obj2
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11748 if (SWIG_arg_fail(1)) SWIG_fail
;
11750 arg2
= wxString_in_helper(obj1
);
11751 if (arg2
== NULL
) SWIG_fail
;
11755 arg3
= wxString_in_helper(obj2
);
11756 if (arg3
== NULL
) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11791 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxInputStream
*arg1
= 0 ;
11795 wxPyInputStream
*temp1
;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "stream", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11804 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11805 arg1
= temp1
->m_wxis
;
11808 PyErr_Clear(); // clear the failure of the wxPyConvert above
11809 arg1
= wxPyCBInputStream_create(obj0
, false);
11810 if (arg1
== NULL
) {
11811 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 result
= (bool)wxImage::CanRead(*arg1
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11841 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxImage
*arg1
= (wxImage
*) 0 ;
11844 wxInputStream
*arg2
= 0 ;
11845 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11846 int arg4
= (int) -1 ;
11848 wxPyInputStream
*temp2
;
11850 PyObject
* obj0
= 0 ;
11851 PyObject
* obj1
= 0 ;
11852 PyObject
* obj2
= 0 ;
11853 PyObject
* obj3
= 0 ;
11854 char *kwnames
[] = {
11855 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11860 if (SWIG_arg_fail(1)) SWIG_fail
;
11862 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11863 arg2
= temp2
->m_wxis
;
11866 PyErr_Clear(); // clear the failure of the wxPyConvert above
11867 arg2
= wxPyCBInputStream_create(obj1
, false);
11868 if (arg2
== NULL
) {
11869 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11877 arg3
= (long)(SWIG_As_long(obj2
));
11878 if (SWIG_arg_fail(3)) SWIG_fail
;
11883 arg4
= (int)(SWIG_As_int(obj3
));
11884 if (SWIG_arg_fail(4)) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11911 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11912 PyObject
*resultobj
;
11913 wxImage
*arg1
= (wxImage
*) 0 ;
11914 wxInputStream
*arg2
= 0 ;
11915 wxString
*arg3
= 0 ;
11916 int arg4
= (int) -1 ;
11918 wxPyInputStream
*temp2
;
11920 bool temp3
= false ;
11921 PyObject
* obj0
= 0 ;
11922 PyObject
* obj1
= 0 ;
11923 PyObject
* obj2
= 0 ;
11924 PyObject
* obj3
= 0 ;
11925 char *kwnames
[] = {
11926 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11931 if (SWIG_arg_fail(1)) SWIG_fail
;
11933 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11934 arg2
= temp2
->m_wxis
;
11937 PyErr_Clear(); // clear the failure of the wxPyConvert above
11938 arg2
= wxPyCBInputStream_create(obj1
, false);
11939 if (arg2
== NULL
) {
11940 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
11947 arg3
= wxString_in_helper(obj2
);
11948 if (arg3
== NULL
) SWIG_fail
;
11953 arg4
= (int)(SWIG_As_int(obj3
));
11954 if (SWIG_arg_fail(4)) SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11989 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxImage
*arg1
= (wxImage
*) 0 ;
11993 PyObject
* obj0
= 0 ;
11994 char *kwnames
[] = {
11995 (char *) "self", NULL
11998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
11999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12000 if (SWIG_arg_fail(1)) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (bool)(arg1
)->Ok();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12017 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxImage
*arg1
= (wxImage
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12028 if (SWIG_arg_fail(1)) SWIG_fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= (int)(arg1
)->GetWidth();
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12037 resultobj
= SWIG_From_int((int)(result
));
12045 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12046 PyObject
*resultobj
;
12047 wxImage
*arg1
= (wxImage
*) 0 ;
12049 PyObject
* obj0
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12056 if (SWIG_arg_fail(1)) SWIG_fail
;
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 result
= (int)(arg1
)->GetHeight();
12061 wxPyEndAllowThreads(__tstate
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12065 resultobj
= SWIG_From_int((int)(result
));
12073 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
;
12075 wxImage
*arg1
= (wxImage
*) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12084 if (SWIG_arg_fail(1)) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= wxImage_GetSize(arg1
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12093 wxSize
* resultptr
;
12094 resultptr
= new wxSize((wxSize
&)(result
));
12095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12103 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxImage
*arg1
= (wxImage
*) 0 ;
12107 SwigValueWrapper
<wxImage
> result
;
12109 PyObject
* obj0
= 0 ;
12110 PyObject
* obj1
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self",(char *) "rect", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12117 if (SWIG_arg_fail(1)) SWIG_fail
;
12120 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12130 wxImage
* resultptr
;
12131 resultptr
= new wxImage((wxImage
&)(result
));
12132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12140 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxImage
*arg1
= (wxImage
*) 0 ;
12143 SwigValueWrapper
<wxImage
> result
;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12151 if (SWIG_arg_fail(1)) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= (arg1
)->Copy();
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12160 wxImage
* resultptr
;
12161 resultptr
= new wxImage((wxImage
&)(result
));
12162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12170 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxImage
*arg1
= (wxImage
*) 0 ;
12173 wxImage
*arg2
= 0 ;
12176 PyObject
* obj0
= 0 ;
12177 PyObject
* obj1
= 0 ;
12178 PyObject
* obj2
= 0 ;
12179 PyObject
* obj3
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12186 if (SWIG_arg_fail(1)) SWIG_fail
;
12188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12189 if (SWIG_arg_fail(2)) SWIG_fail
;
12190 if (arg2
== NULL
) {
12191 SWIG_null_ref("wxImage");
12193 if (SWIG_arg_fail(2)) SWIG_fail
;
12196 arg3
= (int)(SWIG_As_int(obj2
));
12197 if (SWIG_arg_fail(3)) SWIG_fail
;
12200 arg4
= (int)(SWIG_As_int(obj3
));
12201 if (SWIG_arg_fail(4)) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 Py_INCREF(Py_None
); resultobj
= Py_None
;
12217 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxImage
*arg1
= (wxImage
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12228 if (SWIG_arg_fail(1)) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 result
= (PyObject
*)wxImage_GetData(arg1
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 resultobj
= result
;
12243 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxImage
*arg1
= (wxImage
*) 0 ;
12246 PyObject
*arg2
= (PyObject
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 char *kwnames
[] = {
12250 (char *) "self",(char *) "data", NULL
12253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12255 if (SWIG_arg_fail(1)) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 wxImage_SetData(arg1
,arg2
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 Py_INCREF(Py_None
); resultobj
= Py_None
;
12271 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxImage
*arg1
= (wxImage
*) 0 ;
12275 PyObject
* obj0
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12282 if (SWIG_arg_fail(1)) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= result
;
12297 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxImage
*arg1
= (wxImage
*) 0 ;
12300 PyObject
*arg2
= (PyObject
*) 0 ;
12301 PyObject
* obj0
= 0 ;
12302 PyObject
* obj1
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "data", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12309 if (SWIG_arg_fail(1)) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 wxImage_SetDataBuffer(arg1
,arg2
);
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 Py_INCREF(Py_None
); resultobj
= Py_None
;
12325 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxImage
*arg1
= (wxImage
*) 0 ;
12329 PyObject
* obj0
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12336 if (SWIG_arg_fail(1)) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 resultobj
= result
;
12351 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxImage
*arg1
= (wxImage
*) 0 ;
12354 PyObject
*arg2
= (PyObject
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 PyObject
* obj1
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self",(char *) "data", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12363 if (SWIG_arg_fail(1)) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 wxImage_SetAlphaData(arg1
,arg2
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 Py_INCREF(Py_None
); resultobj
= Py_None
;
12379 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxImage
*arg1
= (wxImage
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12390 if (SWIG_arg_fail(1)) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12398 resultobj
= result
;
12405 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxImage
*arg1
= (wxImage
*) 0 ;
12408 PyObject
*arg2
= (PyObject
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 PyObject
* obj1
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self",(char *) "data", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12417 if (SWIG_arg_fail(1)) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 wxImage_SetAlphaBuffer(arg1
,arg2
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 Py_INCREF(Py_None
); resultobj
= Py_None
;
12433 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxImage
*arg1
= (wxImage
*) 0 ;
12436 unsigned char arg2
;
12437 unsigned char arg3
;
12438 unsigned char arg4
;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 PyObject
* obj2
= 0 ;
12442 PyObject
* obj3
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12449 if (SWIG_arg_fail(1)) SWIG_fail
;
12451 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12452 if (SWIG_arg_fail(2)) SWIG_fail
;
12455 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12456 if (SWIG_arg_fail(3)) SWIG_fail
;
12459 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12460 if (SWIG_arg_fail(4)) SWIG_fail
;
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12466 wxPyEndAllowThreads(__tstate
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12469 Py_INCREF(Py_None
); resultobj
= Py_None
;
12476 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12477 PyObject
*resultobj
;
12478 wxImage
*arg1
= (wxImage
*) 0 ;
12479 unsigned char result
;
12480 PyObject
* obj0
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12487 if (SWIG_arg_fail(1)) SWIG_fail
;
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (unsigned char)(arg1
)->GetMaskRed();
12492 wxPyEndAllowThreads(__tstate
);
12493 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12504 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxImage
*arg1
= (wxImage
*) 0 ;
12507 unsigned char result
;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12515 if (SWIG_arg_fail(1)) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (unsigned char)(arg1
)->GetMaskGreen();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12532 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxImage
*arg1
= (wxImage
*) 0 ;
12535 unsigned char result
;
12536 PyObject
* obj0
= 0 ;
12537 char *kwnames
[] = {
12538 (char *) "self", NULL
12541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12543 if (SWIG_arg_fail(1)) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (unsigned char)(arg1
)->GetMaskBlue();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12560 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxImage
*arg1
= (wxImage
*) 0 ;
12563 bool arg2
= (bool) true ;
12564 PyObject
* obj0
= 0 ;
12565 PyObject
* obj1
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self",(char *) "mask", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12572 if (SWIG_arg_fail(1)) SWIG_fail
;
12575 arg2
= (bool)(SWIG_As_bool(obj1
));
12576 if (SWIG_arg_fail(2)) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 (arg1
)->SetMask(arg2
);
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 Py_INCREF(Py_None
); resultobj
= Py_None
;
12593 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxImage
*arg1
= (wxImage
*) 0 ;
12597 PyObject
* obj0
= 0 ;
12598 char *kwnames
[] = {
12599 (char *) "self", NULL
12602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12604 if (SWIG_arg_fail(1)) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= (bool)(arg1
)->HasMask();
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12621 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxImage
*arg1
= (wxImage
*) 0 ;
12625 wxPoint
*arg3
= 0 ;
12626 bool arg4
= (bool) true ;
12627 wxPoint
*arg5
= (wxPoint
*) NULL
;
12628 SwigValueWrapper
<wxImage
> result
;
12630 PyObject
* obj0
= 0 ;
12631 PyObject
* obj1
= 0 ;
12632 PyObject
* obj2
= 0 ;
12633 PyObject
* obj3
= 0 ;
12634 PyObject
* obj4
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12641 if (SWIG_arg_fail(1)) SWIG_fail
;
12643 arg2
= (double)(SWIG_As_double(obj1
));
12644 if (SWIG_arg_fail(2)) SWIG_fail
;
12648 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12652 arg4
= (bool)(SWIG_As_bool(obj3
));
12653 if (SWIG_arg_fail(4)) SWIG_fail
;
12657 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12658 if (SWIG_arg_fail(5)) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12668 wxImage
* resultptr
;
12669 resultptr
= new wxImage((wxImage
&)(result
));
12670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12678 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxImage
*arg1
= (wxImage
*) 0 ;
12681 bool arg2
= (bool) true ;
12682 SwigValueWrapper
<wxImage
> result
;
12683 PyObject
* obj0
= 0 ;
12684 PyObject
* obj1
= 0 ;
12685 char *kwnames
[] = {
12686 (char *) "self",(char *) "clockwise", NULL
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail
;
12694 arg2
= (bool)(SWIG_As_bool(obj1
));
12695 if (SWIG_arg_fail(2)) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (arg1
)->Rotate90(arg2
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12706 wxImage
* resultptr
;
12707 resultptr
= new wxImage((wxImage
&)(result
));
12708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12716 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxImage
*arg1
= (wxImage
*) 0 ;
12719 bool arg2
= (bool) true ;
12720 SwigValueWrapper
<wxImage
> result
;
12721 PyObject
* obj0
= 0 ;
12722 PyObject
* obj1
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self",(char *) "horizontally", NULL
12727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12729 if (SWIG_arg_fail(1)) SWIG_fail
;
12732 arg2
= (bool)(SWIG_As_bool(obj1
));
12733 if (SWIG_arg_fail(2)) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (arg1
)->Mirror(arg2
);
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12744 wxImage
* resultptr
;
12745 resultptr
= new wxImage((wxImage
&)(result
));
12746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12754 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxImage
*arg1
= (wxImage
*) 0 ;
12757 unsigned char arg2
;
12758 unsigned char arg3
;
12759 unsigned char arg4
;
12760 unsigned char arg5
;
12761 unsigned char arg6
;
12762 unsigned char arg7
;
12763 PyObject
* obj0
= 0 ;
12764 PyObject
* obj1
= 0 ;
12765 PyObject
* obj2
= 0 ;
12766 PyObject
* obj3
= 0 ;
12767 PyObject
* obj4
= 0 ;
12768 PyObject
* obj5
= 0 ;
12769 PyObject
* obj6
= 0 ;
12770 char *kwnames
[] = {
12771 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
12774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12776 if (SWIG_arg_fail(1)) SWIG_fail
;
12778 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12779 if (SWIG_arg_fail(2)) SWIG_fail
;
12782 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12783 if (SWIG_arg_fail(3)) SWIG_fail
;
12786 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12787 if (SWIG_arg_fail(4)) SWIG_fail
;
12790 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
12791 if (SWIG_arg_fail(5)) SWIG_fail
;
12794 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
12795 if (SWIG_arg_fail(6)) SWIG_fail
;
12798 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
12799 if (SWIG_arg_fail(7)) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12808 Py_INCREF(Py_None
); resultobj
= Py_None
;
12815 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12816 PyObject
*resultobj
;
12817 wxImage
*arg1
= (wxImage
*) 0 ;
12818 unsigned char arg2
;
12819 unsigned char arg3
;
12820 unsigned char arg4
;
12821 SwigValueWrapper
<wxImage
> result
;
12822 PyObject
* obj0
= 0 ;
12823 PyObject
* obj1
= 0 ;
12824 PyObject
* obj2
= 0 ;
12825 PyObject
* obj3
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12832 if (SWIG_arg_fail(1)) SWIG_fail
;
12834 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12835 if (SWIG_arg_fail(2)) SWIG_fail
;
12838 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12839 if (SWIG_arg_fail(3)) SWIG_fail
;
12842 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12843 if (SWIG_arg_fail(4)) SWIG_fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12853 wxImage
* resultptr
;
12854 resultptr
= new wxImage((wxImage
&)(result
));
12855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12863 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxImage
*arg1
= (wxImage
*) 0 ;
12866 wxString
*arg2
= 0 ;
12867 wxString
*arg3
= 0 ;
12868 bool temp2
= false ;
12869 bool temp3
= false ;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 PyObject
* obj2
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "name",(char *) "value", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12879 if (SWIG_arg_fail(1)) SWIG_fail
;
12881 arg2
= wxString_in_helper(obj1
);
12882 if (arg2
== NULL
) SWIG_fail
;
12886 arg3
= wxString_in_helper(obj2
);
12887 if (arg3
== NULL
) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 Py_INCREF(Py_None
); resultobj
= Py_None
;
12920 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxImage
*arg1
= (wxImage
*) 0 ;
12923 wxString
*arg2
= 0 ;
12925 bool temp2
= false ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 PyObject
* obj2
= 0 ;
12929 char *kwnames
[] = {
12930 (char *) "self",(char *) "name",(char *) "value", NULL
12933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12935 if (SWIG_arg_fail(1)) SWIG_fail
;
12937 arg2
= wxString_in_helper(obj1
);
12938 if (arg2
== NULL
) SWIG_fail
;
12942 arg3
= (int)(SWIG_As_int(obj2
));
12943 if (SWIG_arg_fail(3)) SWIG_fail
;
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 Py_INCREF(Py_None
); resultobj
= Py_None
;
12967 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxImage
*arg1
= (wxImage
*) 0 ;
12970 wxString
*arg2
= 0 ;
12972 bool temp2
= false ;
12973 PyObject
* obj0
= 0 ;
12974 PyObject
* obj1
= 0 ;
12975 char *kwnames
[] = {
12976 (char *) "self",(char *) "name", NULL
12979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
12980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12981 if (SWIG_arg_fail(1)) SWIG_fail
;
12983 arg2
= wxString_in_helper(obj1
);
12984 if (arg2
== NULL
) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13015 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxImage
*arg1
= (wxImage
*) 0 ;
13018 wxString
*arg2
= 0 ;
13020 bool temp2
= false ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self",(char *) "name", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13029 if (SWIG_arg_fail(1)) SWIG_fail
;
13031 arg2
= wxString_in_helper(obj1
);
13032 if (arg2
== NULL
) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_From_int((int)(result
));
13059 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxImage
*arg1
= (wxImage
*) 0 ;
13062 wxString
*arg2
= 0 ;
13064 bool temp2
= false ;
13065 PyObject
* obj0
= 0 ;
13066 PyObject
* obj1
= 0 ;
13067 char *kwnames
[] = {
13068 (char *) "self",(char *) "name", NULL
13071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13073 if (SWIG_arg_fail(1)) SWIG_fail
;
13075 arg2
= wxString_in_helper(obj1
);
13076 if (arg2
== NULL
) SWIG_fail
;
13080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13081 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13083 wxPyEndAllowThreads(__tstate
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13103 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxImage
*arg1
= (wxImage
*) 0 ;
13106 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13107 unsigned long result
;
13108 PyObject
* obj0
= 0 ;
13109 PyObject
* obj1
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self",(char *) "stopafter", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13116 if (SWIG_arg_fail(1)) SWIG_fail
;
13119 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13120 if (SWIG_arg_fail(2)) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13127 wxPyEndAllowThreads(__tstate
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13131 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13139 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxImage
*arg1
= (wxImage
*) 0 ;
13142 wxImageHistogram
*arg2
= 0 ;
13143 unsigned long result
;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "self",(char *) "h", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13152 if (SWIG_arg_fail(1)) SWIG_fail
;
13154 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13155 if (SWIG_arg_fail(2)) SWIG_fail
;
13156 if (arg2
== NULL
) {
13157 SWIG_null_ref("wxImageHistogram");
13159 if (SWIG_arg_fail(2)) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13177 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "handler", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13187 if (SWIG_arg_fail(1)) SWIG_fail
;
13189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13190 wxImage::AddHandler(arg1
);
13192 wxPyEndAllowThreads(__tstate
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13195 Py_INCREF(Py_None
); resultobj
= Py_None
;
13202 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "handler", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13212 if (SWIG_arg_fail(1)) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 wxImage::InsertHandler(arg1
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 Py_INCREF(Py_None
); resultobj
= Py_None
;
13227 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxString
*arg1
= 0 ;
13231 bool temp1
= false ;
13232 PyObject
* obj0
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "name", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13239 arg1
= wxString_in_helper(obj0
);
13240 if (arg1
== NULL
) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13267 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13270 char *kwnames
[] = {
13274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13277 result
= wxImage::GetImageExtWildcard();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13295 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxImage
*arg1
= (wxImage
*) 0 ;
13298 int arg2
= (int) -1 ;
13300 PyObject
* obj0
= 0 ;
13301 PyObject
* obj1
= 0 ;
13302 char *kwnames
[] = {
13303 (char *) "self",(char *) "depth", NULL
13306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13308 if (SWIG_arg_fail(1)) SWIG_fail
;
13311 arg2
= (int)(SWIG_As_int(obj1
));
13312 if (SWIG_arg_fail(2)) SWIG_fail
;
13316 if (!wxPyCheckForApp()) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13324 wxBitmap
* resultptr
;
13325 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13334 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13335 PyObject
*resultobj
;
13336 wxImage
*arg1
= (wxImage
*) 0 ;
13337 unsigned char arg2
;
13338 unsigned char arg3
;
13339 unsigned char arg4
;
13341 PyObject
* obj0
= 0 ;
13342 PyObject
* obj1
= 0 ;
13343 PyObject
* obj2
= 0 ;
13344 PyObject
* obj3
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13351 if (SWIG_arg_fail(1)) SWIG_fail
;
13353 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13354 if (SWIG_arg_fail(2)) SWIG_fail
;
13357 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13358 if (SWIG_arg_fail(3)) SWIG_fail
;
13361 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13362 if (SWIG_arg_fail(4)) SWIG_fail
;
13365 if (!wxPyCheckForApp()) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13373 wxBitmap
* resultptr
;
13374 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13383 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13386 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13388 return Py_BuildValue((char *)"");
13390 static int _wrap_NullImage_set(PyObject
*) {
13391 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13396 static PyObject
*_wrap_NullImage_get(void) {
13399 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13404 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13405 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13410 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13415 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13417 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13424 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13425 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13430 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13435 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13437 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13444 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13445 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13450 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13455 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13457 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13464 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13465 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13470 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13475 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13477 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13484 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13485 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13490 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13495 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13497 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13504 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13505 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13510 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13515 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13517 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13524 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13525 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13530 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13535 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13537 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13544 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13545 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13550 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13555 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13557 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13564 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13565 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13570 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13575 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13577 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13584 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13585 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13590 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13595 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13597 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13604 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13605 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13610 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13615 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13617 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13624 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13625 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13630 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13635 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13637 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13644 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13645 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13650 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13655 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13657 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13664 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
13665 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
13670 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
13675 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13677 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13684 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
13685 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
13690 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
13695 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13697 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13704 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxBMPHandler
*result
;
13707 char *kwnames
[] = {
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (wxBMPHandler
*)new wxBMPHandler();
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13726 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13729 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13731 return Py_BuildValue((char *)"");
13733 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxICOHandler
*result
;
13736 char *kwnames
[] = {
13740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (wxICOHandler
*)new wxICOHandler();
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13755 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13758 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13760 return Py_BuildValue((char *)"");
13762 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13763 PyObject
*resultobj
;
13764 wxCURHandler
*result
;
13765 char *kwnames
[] = {
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (wxCURHandler
*)new wxCURHandler();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
13784 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
13786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13787 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
13789 return Py_BuildValue((char *)"");
13791 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxANIHandler
*result
;
13794 char *kwnames
[] = {
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (wxANIHandler
*)new wxANIHandler();
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
13813 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
13815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13816 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
13818 return Py_BuildValue((char *)"");
13820 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxPNGHandler
*result
;
13823 char *kwnames
[] = {
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 result
= (wxPNGHandler
*)new wxPNGHandler();
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
13842 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
13844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13845 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
13847 return Py_BuildValue((char *)"");
13849 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxGIFHandler
*result
;
13852 char *kwnames
[] = {
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (wxGIFHandler
*)new wxGIFHandler();
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
13871 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
13873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13874 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
13876 return Py_BuildValue((char *)"");
13878 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13879 PyObject
*resultobj
;
13880 wxPCXHandler
*result
;
13881 char *kwnames
[] = {
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (wxPCXHandler
*)new wxPCXHandler();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
13900 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
13902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13903 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
13905 return Py_BuildValue((char *)"");
13907 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxJPEGHandler
*result
;
13910 char *kwnames
[] = {
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
13916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13917 result
= (wxJPEGHandler
*)new wxJPEGHandler();
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
13929 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
13931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13932 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
13934 return Py_BuildValue((char *)"");
13936 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxPNMHandler
*result
;
13939 char *kwnames
[] = {
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (wxPNMHandler
*)new wxPNMHandler();
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
13958 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
13960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13961 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
13963 return Py_BuildValue((char *)"");
13965 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxXPMHandler
*result
;
13968 char *kwnames
[] = {
13972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (wxXPMHandler
*)new wxXPMHandler();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
13987 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
13989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13990 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
13992 return Py_BuildValue((char *)"");
13994 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxTIFFHandler
*result
;
13997 char *kwnames
[] = {
14001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14016 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14019 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14021 return Py_BuildValue((char *)"");
14023 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxImage
*arg1
= 0 ;
14026 wxImage
*arg2
= 0 ;
14027 int arg3
= (int) 236 ;
14028 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14030 PyObject
* obj0
= 0 ;
14031 PyObject
* obj1
= 0 ;
14032 PyObject
* obj2
= 0 ;
14033 PyObject
* obj3
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14040 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14041 if (SWIG_arg_fail(1)) SWIG_fail
;
14042 if (arg1
== NULL
) {
14043 SWIG_null_ref("wxImage");
14045 if (SWIG_arg_fail(1)) SWIG_fail
;
14048 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14049 if (SWIG_arg_fail(2)) SWIG_fail
;
14050 if (arg2
== NULL
) {
14051 SWIG_null_ref("wxImage");
14053 if (SWIG_arg_fail(2)) SWIG_fail
;
14057 arg3
= (int)(SWIG_As_int(obj2
));
14058 if (SWIG_arg_fail(3)) SWIG_fail
;
14063 arg4
= (int)(SWIG_As_int(obj3
));
14064 if (SWIG_arg_fail(4)) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14069 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14083 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14086 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14088 return Py_BuildValue((char *)"");
14090 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxEvtHandler
*result
;
14093 char *kwnames
[] = {
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (wxEvtHandler
*)new wxEvtHandler();
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14112 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14113 PyObject
*resultobj
;
14114 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14115 wxEvtHandler
*result
;
14116 PyObject
* obj0
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "self", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14123 if (SWIG_arg_fail(1)) SWIG_fail
;
14125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14126 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14132 resultobj
= wxPyMake_wxObject(result
, 0);
14140 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14143 wxEvtHandler
*result
;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14151 if (SWIG_arg_fail(1)) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= wxPyMake_wxObject(result
, 0);
14168 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14171 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14172 PyObject
* obj0
= 0 ;
14173 PyObject
* obj1
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self",(char *) "handler", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14180 if (SWIG_arg_fail(1)) SWIG_fail
;
14181 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14182 if (SWIG_arg_fail(2)) SWIG_fail
;
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 (arg1
)->SetNextHandler(arg2
);
14187 wxPyEndAllowThreads(__tstate
);
14188 if (PyErr_Occurred()) SWIG_fail
;
14190 Py_INCREF(Py_None
); resultobj
= Py_None
;
14197 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14200 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14201 PyObject
* obj0
= 0 ;
14202 PyObject
* obj1
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self",(char *) "handler", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14209 if (SWIG_arg_fail(1)) SWIG_fail
;
14210 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14211 if (SWIG_arg_fail(2)) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 (arg1
)->SetPreviousHandler(arg2
);
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 Py_INCREF(Py_None
); resultobj
= Py_None
;
14226 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
;
14228 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 char *kwnames
[] = {
14232 (char *) "self", NULL
14235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14237 if (SWIG_arg_fail(1)) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14254 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14258 PyObject
* obj0
= 0 ;
14259 PyObject
* obj1
= 0 ;
14260 char *kwnames
[] = {
14261 (char *) "self",(char *) "enabled", NULL
14264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14266 if (SWIG_arg_fail(1)) SWIG_fail
;
14268 arg2
= (bool)(SWIG_As_bool(obj1
));
14269 if (SWIG_arg_fail(2)) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 (arg1
)->SetEvtHandlerEnabled(arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 Py_INCREF(Py_None
); resultobj
= Py_None
;
14285 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14288 wxEvent
*arg2
= 0 ;
14290 PyObject
* obj0
= 0 ;
14291 PyObject
* obj1
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "self",(char *) "event", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14298 if (SWIG_arg_fail(1)) SWIG_fail
;
14300 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14301 if (SWIG_arg_fail(2)) SWIG_fail
;
14302 if (arg2
== NULL
) {
14303 SWIG_null_ref("wxEvent");
14305 if (SWIG_arg_fail(2)) SWIG_fail
;
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14309 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14311 wxPyEndAllowThreads(__tstate
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14323 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14326 wxEvent
*arg2
= 0 ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 char *kwnames
[] = {
14330 (char *) "self",(char *) "event", NULL
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14335 if (SWIG_arg_fail(1)) SWIG_fail
;
14337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14338 if (SWIG_arg_fail(2)) SWIG_fail
;
14339 if (arg2
== NULL
) {
14340 SWIG_null_ref("wxEvent");
14342 if (SWIG_arg_fail(2)) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 (arg1
)->AddPendingEvent(*arg2
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 Py_INCREF(Py_None
); resultobj
= Py_None
;
14358 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14368 if (SWIG_arg_fail(1)) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 (arg1
)->ProcessPendingEvents();
14373 wxPyEndAllowThreads(__tstate
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14389 PyObject
*arg5
= (PyObject
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 PyObject
* obj2
= 0 ;
14393 PyObject
* obj3
= 0 ;
14394 PyObject
* obj4
= 0 ;
14395 char *kwnames
[] = {
14396 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14401 if (SWIG_arg_fail(1)) SWIG_fail
;
14403 arg2
= (int)(SWIG_As_int(obj1
));
14404 if (SWIG_arg_fail(2)) SWIG_fail
;
14407 arg3
= (int)(SWIG_As_int(obj2
));
14408 if (SWIG_arg_fail(3)) SWIG_fail
;
14411 arg4
= (int)(SWIG_As_int(obj3
));
14412 if (SWIG_arg_fail(4)) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 Py_INCREF(Py_None
); resultobj
= Py_None
;
14429 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14433 int arg3
= (int) -1 ;
14434 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14436 PyObject
* obj0
= 0 ;
14437 PyObject
* obj1
= 0 ;
14438 PyObject
* obj2
= 0 ;
14439 PyObject
* obj3
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14446 if (SWIG_arg_fail(1)) SWIG_fail
;
14448 arg2
= (int)(SWIG_As_int(obj1
));
14449 if (SWIG_arg_fail(2)) SWIG_fail
;
14453 arg3
= (int)(SWIG_As_int(obj2
));
14454 if (SWIG_arg_fail(3)) SWIG_fail
;
14459 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14460 if (SWIG_arg_fail(4)) SWIG_fail
;
14464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14479 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14482 PyObject
*arg2
= (PyObject
*) 0 ;
14483 bool arg3
= (bool) true ;
14484 PyObject
* obj0
= 0 ;
14485 PyObject
* obj1
= 0 ;
14486 PyObject
* obj2
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "self",(char *) "_self",(char *) "incref", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14493 if (SWIG_arg_fail(1)) SWIG_fail
;
14497 arg3
= (bool)(SWIG_As_bool(obj2
));
14498 if (SWIG_arg_fail(3)) SWIG_fail
;
14502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14503 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 Py_INCREF(Py_None
); resultobj
= Py_None
;
14515 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14518 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14520 return Py_BuildValue((char *)"");
14522 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxEventType result
;
14525 char *kwnames
[] = {
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (wxEventType
)wxNewEventType();
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_From_int((int)(result
));
14546 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxEvent
*arg1
= (wxEvent
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 char *kwnames
[] = {
14551 (char *) "self", NULL
14554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14556 if (SWIG_arg_fail(1)) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14564 Py_INCREF(Py_None
); resultobj
= Py_None
;
14571 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxEvent
*arg1
= (wxEvent
*) 0 ;
14575 PyObject
* obj0
= 0 ;
14576 PyObject
* obj1
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self",(char *) "typ", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14583 if (SWIG_arg_fail(1)) SWIG_fail
;
14585 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14586 if (SWIG_arg_fail(2)) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 (arg1
)->SetEventType(arg2
);
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14595 Py_INCREF(Py_None
); resultobj
= Py_None
;
14602 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxEvent
*arg1
= (wxEvent
*) 0 ;
14605 wxEventType result
;
14606 PyObject
* obj0
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14613 if (SWIG_arg_fail(1)) SWIG_fail
;
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14618 wxPyEndAllowThreads(__tstate
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= SWIG_From_int((int)(result
));
14630 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxEvent
*arg1
= (wxEvent
*) 0 ;
14634 PyObject
* obj0
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "self", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14641 if (SWIG_arg_fail(1)) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= wxPyMake_wxObject(result
, 0);
14658 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxEvent
*arg1
= (wxEvent
*) 0 ;
14661 wxObject
*arg2
= (wxObject
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 PyObject
* obj1
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self",(char *) "obj", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14670 if (SWIG_arg_fail(1)) SWIG_fail
;
14671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14672 if (SWIG_arg_fail(2)) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 (arg1
)->SetEventObject(arg2
);
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 Py_INCREF(Py_None
); resultobj
= Py_None
;
14687 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxEvent
*arg1
= (wxEvent
*) 0 ;
14691 PyObject
* obj0
= 0 ;
14692 char *kwnames
[] = {
14693 (char *) "self", NULL
14696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14698 if (SWIG_arg_fail(1)) SWIG_fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_From_long((long)(result
));
14715 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxEvent
*arg1
= (wxEvent
*) 0 ;
14718 long arg2
= (long) 0 ;
14719 PyObject
* obj0
= 0 ;
14720 PyObject
* obj1
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "self",(char *) "ts", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14727 if (SWIG_arg_fail(1)) SWIG_fail
;
14730 arg2
= (long)(SWIG_As_long(obj1
));
14731 if (SWIG_arg_fail(2)) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 (arg1
)->SetTimestamp(arg2
);
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 Py_INCREF(Py_None
); resultobj
= Py_None
;
14748 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxEvent
*arg1
= (wxEvent
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14759 if (SWIG_arg_fail(1)) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (int)((wxEvent
const *)arg1
)->GetId();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= SWIG_From_int((int)(result
));
14776 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxEvent
*arg1
= (wxEvent
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 PyObject
* obj1
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self",(char *) "Id", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
14787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14788 if (SWIG_arg_fail(1)) SWIG_fail
;
14790 arg2
= (int)(SWIG_As_int(obj1
));
14791 if (SWIG_arg_fail(2)) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 (arg1
)->SetId(arg2
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 Py_INCREF(Py_None
); resultobj
= Py_None
;
14807 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxEvent
*arg1
= (wxEvent
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "self", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
14817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14818 if (SWIG_arg_fail(1)) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14835 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxEvent
*arg1
= (wxEvent
*) 0 ;
14838 bool arg2
= (bool) true ;
14839 PyObject
* obj0
= 0 ;
14840 PyObject
* obj1
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self",(char *) "skip", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
14846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14847 if (SWIG_arg_fail(1)) SWIG_fail
;
14850 arg2
= (bool)(SWIG_As_bool(obj1
));
14851 if (SWIG_arg_fail(2)) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 (arg1
)->Skip(arg2
);
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 Py_INCREF(Py_None
); resultobj
= Py_None
;
14868 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
;
14870 wxEvent
*arg1
= (wxEvent
*) 0 ;
14872 PyObject
* obj0
= 0 ;
14873 char *kwnames
[] = {
14874 (char *) "self", NULL
14877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
14878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14879 if (SWIG_arg_fail(1)) SWIG_fail
;
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14896 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxEvent
*arg1
= (wxEvent
*) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 char *kwnames
[] = {
14902 (char *) "self", NULL
14905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
14906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14907 if (SWIG_arg_fail(1)) SWIG_fail
;
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14924 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxEvent
*arg1
= (wxEvent
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
14934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14935 if (SWIG_arg_fail(1)) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (int)(arg1
)->StopPropagation();
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= SWIG_From_int((int)(result
));
14952 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14953 PyObject
*resultobj
;
14954 wxEvent
*arg1
= (wxEvent
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 char *kwnames
[] = {
14959 (char *) "self",(char *) "propagationLevel", NULL
14962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
14963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14964 if (SWIG_arg_fail(1)) SWIG_fail
;
14966 arg2
= (int)(SWIG_As_int(obj1
));
14967 if (SWIG_arg_fail(2)) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 (arg1
)->ResumePropagation(arg2
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxEvent
*arg1
= (wxEvent
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
14993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14994 if (SWIG_arg_fail(1)) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (wxEvent
*)(arg1
)->Clone();
14999 wxPyEndAllowThreads(__tstate
);
15000 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15009 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15012 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15014 return Py_BuildValue((char *)"");
15016 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxEvent
*arg1
= 0 ;
15019 wxPropagationDisabler
*result
;
15020 PyObject
* obj0
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "event", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15028 if (SWIG_arg_fail(1)) SWIG_fail
;
15029 if (arg1
== NULL
) {
15030 SWIG_null_ref("wxEvent");
15032 if (SWIG_arg_fail(1)) SWIG_fail
;
15035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15036 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15048 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
;
15050 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15051 PyObject
* obj0
= 0 ;
15052 char *kwnames
[] = {
15053 (char *) "self", NULL
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15058 if (SWIG_arg_fail(1)) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15066 Py_INCREF(Py_None
); resultobj
= Py_None
;
15073 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15076 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15078 return Py_BuildValue((char *)"");
15080 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxEvent
*arg1
= 0 ;
15083 wxPropagateOnce
*result
;
15084 PyObject
* obj0
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "event", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15092 if (SWIG_arg_fail(1)) SWIG_fail
;
15093 if (arg1
== NULL
) {
15094 SWIG_null_ref("wxEvent");
15096 if (SWIG_arg_fail(1)) SWIG_fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15112 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15122 if (SWIG_arg_fail(1)) SWIG_fail
;
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 Py_INCREF(Py_None
); resultobj
= Py_None
;
15137 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15140 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15142 return Py_BuildValue((char *)"");
15144 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15147 int arg2
= (int) 0 ;
15148 wxCommandEvent
*result
;
15149 PyObject
* obj0
= 0 ;
15150 PyObject
* obj1
= 0 ;
15151 char *kwnames
[] = {
15152 (char *) "commandType",(char *) "winid", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15158 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15159 if (SWIG_arg_fail(1)) SWIG_fail
;
15164 arg2
= (int)(SWIG_As_int(obj1
));
15165 if (SWIG_arg_fail(2)) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15182 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15193 if (SWIG_arg_fail(1)) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15198 wxPyEndAllowThreads(__tstate
);
15199 if (PyErr_Occurred()) SWIG_fail
;
15202 resultobj
= SWIG_From_int((int)(result
));
15210 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15213 wxString
*arg2
= 0 ;
15214 bool temp2
= false ;
15215 PyObject
* obj0
= 0 ;
15216 PyObject
* obj1
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self",(char *) "s", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15223 if (SWIG_arg_fail(1)) SWIG_fail
;
15225 arg2
= wxString_in_helper(obj1
);
15226 if (arg2
== NULL
) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 (arg1
)->SetString((wxString
const &)*arg2
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15255 PyObject
* obj0
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15261 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15262 if (SWIG_arg_fail(1)) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15272 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15274 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15283 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15287 PyObject
* obj0
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15311 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15313 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15322 if (SWIG_arg_fail(1)) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15339 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 PyObject
* obj1
= 0 ;
15345 char *kwnames
[] = {
15346 (char *) "self",(char *) "extraLong", NULL
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15351 if (SWIG_arg_fail(1)) SWIG_fail
;
15353 arg2
= (long)(SWIG_As_long(obj1
));
15354 if (SWIG_arg_fail(2)) SWIG_fail
;
15357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15358 (arg1
)->SetExtraLong(arg2
);
15360 wxPyEndAllowThreads(__tstate
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15363 Py_INCREF(Py_None
); resultobj
= Py_None
;
15370 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15371 PyObject
*resultobj
;
15372 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15374 PyObject
* obj0
= 0 ;
15375 char *kwnames
[] = {
15376 (char *) "self", NULL
15379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15381 if (SWIG_arg_fail(1)) SWIG_fail
;
15383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15384 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= SWIG_From_long((long)(result
));
15398 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15402 PyObject
* obj0
= 0 ;
15403 PyObject
* obj1
= 0 ;
15404 char *kwnames
[] = {
15405 (char *) "self",(char *) "i", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15410 if (SWIG_arg_fail(1)) SWIG_fail
;
15412 arg2
= (int)(SWIG_As_int(obj1
));
15413 if (SWIG_arg_fail(2)) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetInt(arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 Py_INCREF(Py_None
); resultobj
= Py_None
;
15429 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 char *kwnames
[] = {
15435 (char *) "self", NULL
15438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15440 if (SWIG_arg_fail(1)) SWIG_fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= SWIG_From_long((long)(result
));
15457 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 char *kwnames
[] = {
15463 (char *) "self", NULL
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15468 if (SWIG_arg_fail(1)) SWIG_fail
;
15470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15471 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15473 wxPyEndAllowThreads(__tstate
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15483 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15486 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15488 return Py_BuildValue((char *)"");
15490 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15493 int arg2
= (int) 0 ;
15494 wxNotifyEvent
*result
;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "commandType",(char *) "winid", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15504 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15505 if (SWIG_arg_fail(1)) SWIG_fail
;
15510 arg2
= (int)(SWIG_As_int(obj1
));
15511 if (SWIG_arg_fail(2)) SWIG_fail
;
15515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15518 wxPyEndAllowThreads(__tstate
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15528 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15531 PyObject
* obj0
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15538 if (SWIG_arg_fail(1)) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15553 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15556 PyObject
* obj0
= 0 ;
15557 char *kwnames
[] = {
15558 (char *) "self", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15563 if (SWIG_arg_fail(1)) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 Py_INCREF(Py_None
); resultobj
= Py_None
;
15578 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15582 PyObject
* obj0
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15589 if (SWIG_arg_fail(1)) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (bool)(arg1
)->IsAllowed();
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15606 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15609 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15611 return Py_BuildValue((char *)"");
15613 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15616 int arg2
= (int) 0 ;
15617 int arg3
= (int) 0 ;
15618 int arg4
= (int) 0 ;
15619 wxScrollEvent
*result
;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 PyObject
* obj2
= 0 ;
15623 PyObject
* obj3
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15631 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15632 if (SWIG_arg_fail(1)) SWIG_fail
;
15637 arg2
= (int)(SWIG_As_int(obj1
));
15638 if (SWIG_arg_fail(2)) SWIG_fail
;
15643 arg3
= (int)(SWIG_As_int(obj2
));
15644 if (SWIG_arg_fail(3)) SWIG_fail
;
15649 arg4
= (int)(SWIG_As_int(obj3
));
15650 if (SWIG_arg_fail(4)) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15667 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15669 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15678 if (SWIG_arg_fail(1)) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15687 resultobj
= SWIG_From_int((int)(result
));
15695 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15699 PyObject
* obj0
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15706 if (SWIG_arg_fail(1)) SWIG_fail
;
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= SWIG_From_int((int)(result
));
15723 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 PyObject
* obj1
= 0 ;
15729 char *kwnames
[] = {
15730 (char *) "self",(char *) "orient", NULL
15733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15735 if (SWIG_arg_fail(1)) SWIG_fail
;
15737 arg2
= (int)(SWIG_As_int(obj1
));
15738 if (SWIG_arg_fail(2)) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 (arg1
)->SetOrientation(arg2
);
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15747 Py_INCREF(Py_None
); resultobj
= Py_None
;
15754 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15758 PyObject
* obj0
= 0 ;
15759 PyObject
* obj1
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self",(char *) "pos", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15766 if (SWIG_arg_fail(1)) SWIG_fail
;
15768 arg2
= (int)(SWIG_As_int(obj1
));
15769 if (SWIG_arg_fail(2)) SWIG_fail
;
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 (arg1
)->SetPosition(arg2
);
15775 wxPyEndAllowThreads(__tstate
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15778 Py_INCREF(Py_None
); resultobj
= Py_None
;
15785 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
15787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15788 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
15790 return Py_BuildValue((char *)"");
15792 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15795 int arg2
= (int) 0 ;
15796 int arg3
= (int) 0 ;
15797 wxScrollWinEvent
*result
;
15798 PyObject
* obj0
= 0 ;
15799 PyObject
* obj1
= 0 ;
15800 PyObject
* obj2
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15808 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15809 if (SWIG_arg_fail(1)) SWIG_fail
;
15814 arg2
= (int)(SWIG_As_int(obj1
));
15815 if (SWIG_arg_fail(2)) SWIG_fail
;
15820 arg3
= (int)(SWIG_As_int(obj2
));
15821 if (SWIG_arg_fail(3)) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
15838 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15849 if (SWIG_arg_fail(1)) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= SWIG_From_int((int)(result
));
15866 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15877 if (SWIG_arg_fail(1)) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= SWIG_From_int((int)(result
));
15894 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15898 PyObject
* obj0
= 0 ;
15899 PyObject
* obj1
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self",(char *) "orient", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15906 if (SWIG_arg_fail(1)) SWIG_fail
;
15908 arg2
= (int)(SWIG_As_int(obj1
));
15909 if (SWIG_arg_fail(2)) SWIG_fail
;
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 (arg1
)->SetOrientation(arg2
);
15915 wxPyEndAllowThreads(__tstate
);
15916 if (PyErr_Occurred()) SWIG_fail
;
15918 Py_INCREF(Py_None
); resultobj
= Py_None
;
15925 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15926 PyObject
*resultobj
;
15927 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
15929 PyObject
* obj0
= 0 ;
15930 PyObject
* obj1
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self",(char *) "pos", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
15936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
15937 if (SWIG_arg_fail(1)) SWIG_fail
;
15939 arg2
= (int)(SWIG_As_int(obj1
));
15940 if (SWIG_arg_fail(2)) SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 (arg1
)->SetPosition(arg2
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15949 Py_INCREF(Py_None
); resultobj
= Py_None
;
15956 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
15958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15959 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
15961 return Py_BuildValue((char *)"");
15963 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15966 wxMouseEvent
*result
;
15967 PyObject
* obj0
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "mouseType", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
15975 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15976 if (SWIG_arg_fail(1)) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= wxPyMake_wxObject(result
, 1);
15995 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15996 PyObject
*resultobj
;
15997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15999 PyObject
* obj0
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16006 if (SWIG_arg_fail(1)) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16023 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16026 int arg2
= (int) wxMOUSE_BTN_ANY
;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self",(char *) "but", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16036 if (SWIG_arg_fail(1)) SWIG_fail
;
16039 arg2
= (int)(SWIG_As_int(obj1
));
16040 if (SWIG_arg_fail(2)) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16059 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16062 int arg2
= (int) wxMOUSE_BTN_ANY
;
16064 PyObject
* obj0
= 0 ;
16065 PyObject
* obj1
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self",(char *) "but", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16071 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16072 if (SWIG_arg_fail(1)) SWIG_fail
;
16075 arg2
= (int)(SWIG_As_int(obj1
));
16076 if (SWIG_arg_fail(2)) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16095 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
;
16097 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16098 int arg2
= (int) wxMOUSE_BTN_ANY
;
16100 PyObject
* obj0
= 0 ;
16101 PyObject
* obj1
= 0 ;
16102 char *kwnames
[] = {
16103 (char *) "self",(char *) "but", NULL
16106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16108 if (SWIG_arg_fail(1)) SWIG_fail
;
16111 arg2
= (int)(SWIG_As_int(obj1
));
16112 if (SWIG_arg_fail(2)) SWIG_fail
;
16116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16117 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16119 wxPyEndAllowThreads(__tstate
);
16120 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16131 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
;
16133 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16136 PyObject
* obj0
= 0 ;
16137 PyObject
* obj1
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "self",(char *) "but", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16144 if (SWIG_arg_fail(1)) SWIG_fail
;
16146 arg2
= (int)(SWIG_As_int(obj1
));
16147 if (SWIG_arg_fail(2)) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16151 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16165 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16170 PyObject
* obj0
= 0 ;
16171 PyObject
* obj1
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self",(char *) "but", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16178 if (SWIG_arg_fail(1)) SWIG_fail
;
16180 arg2
= (int)(SWIG_As_int(obj1
));
16181 if (SWIG_arg_fail(2)) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16199 static PyObject
*_wrap_MouseEvent_GetButton(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_GetButton",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
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16215 wxPyEndAllowThreads(__tstate
);
16216 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= SWIG_From_int((int)(result
));
16227 static PyObject
*_wrap_MouseEvent_ControlDown(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_ControlDown",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
)->ControlDown();
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16255 static PyObject
*_wrap_MouseEvent_MetaDown(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_MetaDown",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
)->MetaDown();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16283 static PyObject
*_wrap_MouseEvent_AltDown(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_AltDown",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
)->AltDown();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16311 static PyObject
*_wrap_MouseEvent_ShiftDown(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_ShiftDown",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
)->ShiftDown();
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 static PyObject
*_wrap_MouseEvent_CmdDown(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_CmdDown",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
)->CmdDown();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 static PyObject
*_wrap_MouseEvent_LeftDown(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_LeftDown",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)((wxMouseEvent
const *)arg1
)->LeftDown();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16395 static PyObject
*_wrap_MouseEvent_MiddleDown(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_MiddleDown",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)((wxMouseEvent
const *)arg1
)->MiddleDown();
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16423 static PyObject
*_wrap_MouseEvent_RightDown(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_RightDown",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)((wxMouseEvent
const *)arg1
)->RightDown();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16451 static PyObject
*_wrap_MouseEvent_LeftUp(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_LeftUp",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
)->LeftUp();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16479 static PyObject
*_wrap_MouseEvent_MiddleUp(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_MiddleUp",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
)->MiddleUp();
16495 wxPyEndAllowThreads(__tstate
);
16496 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16507 static PyObject
*_wrap_MouseEvent_RightUp(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_RightUp",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
)->RightUp();
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16535 static PyObject
*_wrap_MouseEvent_LeftDClick(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_LeftDClick",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
)->LeftDClick();
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16563 static PyObject
*_wrap_MouseEvent_MiddleDClick(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_MiddleDClick",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
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16591 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16592 PyObject
*resultobj
;
16593 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16595 PyObject
* obj0
= 0 ;
16596 char *kwnames
[] = {
16597 (char *) "self", NULL
16600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16602 if (SWIG_arg_fail(1)) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16619 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16630 if (SWIG_arg_fail(1)) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 result
= (bool)(arg1
)->LeftIsDown();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16647 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16651 PyObject
* obj0
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16658 if (SWIG_arg_fail(1)) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 result
= (bool)(arg1
)->MiddleIsDown();
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16675 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16679 PyObject
* obj0
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "self", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16686 if (SWIG_arg_fail(1)) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 result
= (bool)(arg1
)->RightIsDown();
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16703 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
;
16705 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16707 PyObject
* obj0
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self", NULL
16712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16714 if (SWIG_arg_fail(1)) SWIG_fail
;
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16731 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16742 if (SWIG_arg_fail(1)) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16759 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
16769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16770 if (SWIG_arg_fail(1)) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16787 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16788 PyObject
*resultobj
;
16789 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16791 PyObject
* obj0
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
16797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16798 if (SWIG_arg_fail(1)) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16815 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "self", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16826 if (SWIG_arg_fail(1)) SWIG_fail
;
16828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16829 result
= (arg1
)->GetPosition();
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 wxPoint
* resultptr
;
16836 resultptr
= new wxPoint((wxPoint
&)(result
));
16837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16845 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16846 PyObject
*resultobj
;
16847 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16848 long *arg2
= (long *) 0 ;
16849 long *arg3
= (long *) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "self", NULL
16859 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16860 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
16862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16863 if (SWIG_arg_fail(1)) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 (arg1
)->GetPosition(arg2
,arg3
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 Py_INCREF(Py_None
); resultobj
= Py_None
;
16872 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16873 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
16874 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16875 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
16882 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self",(char *) "dc", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16895 if (SWIG_arg_fail(1)) SWIG_fail
;
16897 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
16898 if (SWIG_arg_fail(2)) SWIG_fail
;
16899 if (arg2
== NULL
) {
16900 SWIG_null_ref("wxDC");
16902 if (SWIG_arg_fail(2)) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16912 wxPoint
* resultptr
;
16913 resultptr
= new wxPoint((wxPoint
&)(result
));
16914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16922 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 char *kwnames
[] = {
16928 (char *) "self", NULL
16931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
16932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16933 if (SWIG_arg_fail(1)) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_From_int((int)(result
));
16950 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16954 PyObject
* obj0
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
16960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16961 if (SWIG_arg_fail(1)) SWIG_fail
;
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
16966 wxPyEndAllowThreads(__tstate
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= SWIG_From_int((int)(result
));
16978 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16982 PyObject
* obj0
= 0 ;
16983 char *kwnames
[] = {
16984 (char *) "self", NULL
16987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
16988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16989 if (SWIG_arg_fail(1)) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= SWIG_From_int((int)(result
));
17006 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17010 PyObject
* obj0
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17017 if (SWIG_arg_fail(1)) SWIG_fail
;
17019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17020 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= SWIG_From_int((int)(result
));
17034 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17035 PyObject
*resultobj
;
17036 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17038 PyObject
* obj0
= 0 ;
17039 char *kwnames
[] = {
17040 (char *) "self", NULL
17043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17045 if (SWIG_arg_fail(1)) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= SWIG_From_int((int)(result
));
17062 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17066 PyObject
* obj0
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "self", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17073 if (SWIG_arg_fail(1)) SWIG_fail
;
17075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17076 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17090 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
;
17092 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17094 PyObject
* obj0
= 0 ;
17095 PyObject
* obj1
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self",(char *) "m_x", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17102 if (SWIG_arg_fail(1)) SWIG_fail
;
17104 arg2
= (int)(SWIG_As_int(obj1
));
17105 if (SWIG_arg_fail(2)) SWIG_fail
;
17107 if (arg1
) (arg1
)->m_x
= arg2
;
17109 Py_INCREF(Py_None
); resultobj
= Py_None
;
17116 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17120 PyObject
* obj0
= 0 ;
17121 char *kwnames
[] = {
17122 (char *) "self", NULL
17125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17126 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17127 if (SWIG_arg_fail(1)) SWIG_fail
;
17128 result
= (int) ((arg1
)->m_x
);
17131 resultobj
= SWIG_From_int((int)(result
));
17139 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17143 PyObject
* obj0
= 0 ;
17144 PyObject
* obj1
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self",(char *) "m_y", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17151 if (SWIG_arg_fail(1)) SWIG_fail
;
17153 arg2
= (int)(SWIG_As_int(obj1
));
17154 if (SWIG_arg_fail(2)) SWIG_fail
;
17156 if (arg1
) (arg1
)->m_y
= arg2
;
17158 Py_INCREF(Py_None
); resultobj
= Py_None
;
17165 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17169 PyObject
* obj0
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17176 if (SWIG_arg_fail(1)) SWIG_fail
;
17177 result
= (int) ((arg1
)->m_y
);
17180 resultobj
= SWIG_From_int((int)(result
));
17188 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 PyObject
* obj1
= 0 ;
17194 char *kwnames
[] = {
17195 (char *) "self",(char *) "m_leftDown", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17200 if (SWIG_arg_fail(1)) SWIG_fail
;
17202 arg2
= (bool)(SWIG_As_bool(obj1
));
17203 if (SWIG_arg_fail(2)) SWIG_fail
;
17205 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17207 Py_INCREF(Py_None
); resultobj
= Py_None
;
17214 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17215 PyObject
*resultobj
;
17216 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17225 if (SWIG_arg_fail(1)) SWIG_fail
;
17226 result
= (bool) ((arg1
)->m_leftDown
);
17229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17237 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17241 PyObject
* obj0
= 0 ;
17242 PyObject
* obj1
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self",(char *) "m_middleDown", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17249 if (SWIG_arg_fail(1)) SWIG_fail
;
17251 arg2
= (bool)(SWIG_As_bool(obj1
));
17252 if (SWIG_arg_fail(2)) SWIG_fail
;
17254 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17256 Py_INCREF(Py_None
); resultobj
= Py_None
;
17263 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17274 if (SWIG_arg_fail(1)) SWIG_fail
;
17275 result
= (bool) ((arg1
)->m_middleDown
);
17278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17286 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17288 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "self",(char *) "m_rightDown", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17298 if (SWIG_arg_fail(1)) SWIG_fail
;
17300 arg2
= (bool)(SWIG_As_bool(obj1
));
17301 if (SWIG_arg_fail(2)) SWIG_fail
;
17303 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17305 Py_INCREF(Py_None
); resultobj
= Py_None
;
17312 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17316 PyObject
* obj0
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17323 if (SWIG_arg_fail(1)) SWIG_fail
;
17324 result
= (bool) ((arg1
)->m_rightDown
);
17327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17335 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17339 PyObject
* obj0
= 0 ;
17340 PyObject
* obj1
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "m_controlDown", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17347 if (SWIG_arg_fail(1)) SWIG_fail
;
17349 arg2
= (bool)(SWIG_As_bool(obj1
));
17350 if (SWIG_arg_fail(2)) SWIG_fail
;
17352 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17354 Py_INCREF(Py_None
); resultobj
= Py_None
;
17361 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
;
17363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17365 PyObject
* obj0
= 0 ;
17366 char *kwnames
[] = {
17367 (char *) "self", NULL
17370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17372 if (SWIG_arg_fail(1)) SWIG_fail
;
17373 result
= (bool) ((arg1
)->m_controlDown
);
17376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17384 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 PyObject
* obj1
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self",(char *) "m_shiftDown", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17396 if (SWIG_arg_fail(1)) SWIG_fail
;
17398 arg2
= (bool)(SWIG_As_bool(obj1
));
17399 if (SWIG_arg_fail(2)) SWIG_fail
;
17401 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17403 Py_INCREF(Py_None
); resultobj
= Py_None
;
17410 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17414 PyObject
* obj0
= 0 ;
17415 char *kwnames
[] = {
17416 (char *) "self", NULL
17419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17421 if (SWIG_arg_fail(1)) SWIG_fail
;
17422 result
= (bool) ((arg1
)->m_shiftDown
);
17425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17433 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17437 PyObject
* obj0
= 0 ;
17438 PyObject
* obj1
= 0 ;
17439 char *kwnames
[] = {
17440 (char *) "self",(char *) "m_altDown", NULL
17443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17445 if (SWIG_arg_fail(1)) SWIG_fail
;
17447 arg2
= (bool)(SWIG_As_bool(obj1
));
17448 if (SWIG_arg_fail(2)) SWIG_fail
;
17450 if (arg1
) (arg1
)->m_altDown
= arg2
;
17452 Py_INCREF(Py_None
); resultobj
= Py_None
;
17459 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
;
17461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17463 PyObject
* obj0
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17470 if (SWIG_arg_fail(1)) SWIG_fail
;
17471 result
= (bool) ((arg1
)->m_altDown
);
17474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17482 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "m_metaDown", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17494 if (SWIG_arg_fail(1)) SWIG_fail
;
17496 arg2
= (bool)(SWIG_As_bool(obj1
));
17497 if (SWIG_arg_fail(2)) SWIG_fail
;
17499 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17501 Py_INCREF(Py_None
); resultobj
= Py_None
;
17508 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17512 PyObject
* obj0
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17519 if (SWIG_arg_fail(1)) SWIG_fail
;
17520 result
= (bool) ((arg1
)->m_metaDown
);
17523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17531 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "m_wheelRotation", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17543 if (SWIG_arg_fail(1)) SWIG_fail
;
17545 arg2
= (int)(SWIG_As_int(obj1
));
17546 if (SWIG_arg_fail(2)) SWIG_fail
;
17548 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17550 Py_INCREF(Py_None
); resultobj
= Py_None
;
17557 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17561 PyObject
* obj0
= 0 ;
17562 char *kwnames
[] = {
17563 (char *) "self", NULL
17566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17568 if (SWIG_arg_fail(1)) SWIG_fail
;
17569 result
= (int) ((arg1
)->m_wheelRotation
);
17572 resultobj
= SWIG_From_int((int)(result
));
17580 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17584 PyObject
* obj0
= 0 ;
17585 PyObject
* obj1
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self",(char *) "m_wheelDelta", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17592 if (SWIG_arg_fail(1)) SWIG_fail
;
17594 arg2
= (int)(SWIG_As_int(obj1
));
17595 if (SWIG_arg_fail(2)) SWIG_fail
;
17597 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17599 Py_INCREF(Py_None
); resultobj
= Py_None
;
17606 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17610 PyObject
* obj0
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "self", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17617 if (SWIG_arg_fail(1)) SWIG_fail
;
17618 result
= (int) ((arg1
)->m_wheelDelta
);
17621 resultobj
= SWIG_From_int((int)(result
));
17629 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self",(char *) "m_linesPerAction", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17641 if (SWIG_arg_fail(1)) SWIG_fail
;
17643 arg2
= (int)(SWIG_As_int(obj1
));
17644 if (SWIG_arg_fail(2)) SWIG_fail
;
17646 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17648 Py_INCREF(Py_None
); resultobj
= Py_None
;
17655 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17666 if (SWIG_arg_fail(1)) SWIG_fail
;
17667 result
= (int) ((arg1
)->m_linesPerAction
);
17670 resultobj
= SWIG_From_int((int)(result
));
17678 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17681 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17683 return Py_BuildValue((char *)"");
17685 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 int arg1
= (int) 0 ;
17688 int arg2
= (int) 0 ;
17689 wxSetCursorEvent
*result
;
17690 PyObject
* obj0
= 0 ;
17691 PyObject
* obj1
= 0 ;
17692 char *kwnames
[] = {
17693 (char *) "x",(char *) "y", NULL
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17699 arg1
= (int)(SWIG_As_int(obj0
));
17700 if (SWIG_arg_fail(1)) SWIG_fail
;
17705 arg2
= (int)(SWIG_As_int(obj1
));
17706 if (SWIG_arg_fail(2)) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17723 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17727 PyObject
* obj0
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17734 if (SWIG_arg_fail(1)) SWIG_fail
;
17736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17737 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_From_int((int)(result
));
17751 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17762 if (SWIG_arg_fail(1)) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= SWIG_From_int((int)(result
));
17779 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
;
17781 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17782 wxCursor
*arg2
= 0 ;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj1
= 0 ;
17785 char *kwnames
[] = {
17786 (char *) "self",(char *) "cursor", NULL
17789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
17790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17791 if (SWIG_arg_fail(1)) SWIG_fail
;
17793 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
17794 if (SWIG_arg_fail(2)) SWIG_fail
;
17795 if (arg2
== NULL
) {
17796 SWIG_null_ref("wxCursor");
17798 if (SWIG_arg_fail(2)) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 Py_INCREF(Py_None
); resultobj
= Py_None
;
17814 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
17824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17825 if (SWIG_arg_fail(1)) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
17830 result
= (wxCursor
*) &_result_ref
;
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 wxCursor
* resultptr
= new wxCursor(*result
);
17838 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
17846 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
17856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17857 if (SWIG_arg_fail(1)) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17874 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
17876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17877 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
17879 return Py_BuildValue((char *)"");
17881 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17884 wxKeyEvent
*result
;
17885 PyObject
* obj0
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "keyType", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
17893 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
17894 if (SWIG_arg_fail(1)) SWIG_fail
;
17898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17899 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
17911 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",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
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17939 static PyObject
*_wrap_KeyEvent_MetaDown(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_MetaDown",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
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17967 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 char *kwnames
[] = {
17973 (char *) "self", NULL
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
17977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
17978 if (SWIG_arg_fail(1)) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17995 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
17999 PyObject
* obj0
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18006 if (SWIG_arg_fail(1)) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18023 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18027 PyObject
* obj0
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18034 if (SWIG_arg_fail(1)) SWIG_fail
;
18036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18037 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18039 wxPyEndAllowThreads(__tstate
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18051 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18062 if (SWIG_arg_fail(1)) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18079 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18080 PyObject
*resultobj
;
18081 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18083 PyObject
* obj0
= 0 ;
18084 char *kwnames
[] = {
18085 (char *) "self", NULL
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18090 if (SWIG_arg_fail(1)) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18099 resultobj
= SWIG_From_int((int)(result
));
18107 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18111 PyObject
* obj0
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18118 if (SWIG_arg_fail(1)) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_From_int((int)(result
));
18135 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18138 unsigned int result
;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18146 if (SWIG_arg_fail(1)) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18163 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18166 unsigned int result
;
18167 PyObject
* obj0
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18174 if (SWIG_arg_fail(1)) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18191 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18202 if (SWIG_arg_fail(1)) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (arg1
)->GetPosition();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 wxPoint
* resultptr
;
18212 resultptr
= new wxPoint((wxPoint
&)(result
));
18213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18221 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18224 long *arg2
= (long *) 0 ;
18225 long *arg3
= (long *) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 char *kwnames
[] = {
18232 (char *) "self", NULL
18235 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18236 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 (arg1
)->GetPosition(arg2
,arg3
);
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 Py_INCREF(Py_None
); resultobj
= Py_None
;
18248 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18249 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18250 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18251 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18258 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18259 PyObject
*resultobj
;
18260 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18262 PyObject
* obj0
= 0 ;
18263 char *kwnames
[] = {
18264 (char *) "self", NULL
18267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18269 if (SWIG_arg_fail(1)) SWIG_fail
;
18271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18272 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18278 resultobj
= SWIG_From_int((int)(result
));
18286 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18290 PyObject
* obj0
= 0 ;
18291 char *kwnames
[] = {
18292 (char *) "self", NULL
18295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18297 if (SWIG_arg_fail(1)) SWIG_fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_From_int((int)(result
));
18314 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self",(char *) "m_x", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18326 if (SWIG_arg_fail(1)) SWIG_fail
;
18328 arg2
= (int)(SWIG_As_int(obj1
));
18329 if (SWIG_arg_fail(2)) SWIG_fail
;
18331 if (arg1
) (arg1
)->m_x
= arg2
;
18333 Py_INCREF(Py_None
); resultobj
= Py_None
;
18340 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18344 PyObject
* obj0
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18351 if (SWIG_arg_fail(1)) SWIG_fail
;
18352 result
= (int) ((arg1
)->m_x
);
18355 resultobj
= SWIG_From_int((int)(result
));
18363 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18367 PyObject
* obj0
= 0 ;
18368 PyObject
* obj1
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self",(char *) "m_y", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18375 if (SWIG_arg_fail(1)) SWIG_fail
;
18377 arg2
= (int)(SWIG_As_int(obj1
));
18378 if (SWIG_arg_fail(2)) SWIG_fail
;
18380 if (arg1
) (arg1
)->m_y
= arg2
;
18382 Py_INCREF(Py_None
); resultobj
= Py_None
;
18389 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18391 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18393 PyObject
* obj0
= 0 ;
18394 char *kwnames
[] = {
18395 (char *) "self", NULL
18398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18400 if (SWIG_arg_fail(1)) SWIG_fail
;
18401 result
= (int) ((arg1
)->m_y
);
18404 resultobj
= SWIG_From_int((int)(result
));
18412 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18413 PyObject
*resultobj
;
18414 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 char *kwnames
[] = {
18419 (char *) "self",(char *) "m_keyCode", NULL
18422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18424 if (SWIG_arg_fail(1)) SWIG_fail
;
18426 arg2
= (long)(SWIG_As_long(obj1
));
18427 if (SWIG_arg_fail(2)) SWIG_fail
;
18429 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18431 Py_INCREF(Py_None
); resultobj
= Py_None
;
18438 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18449 if (SWIG_arg_fail(1)) SWIG_fail
;
18450 result
= (long) ((arg1
)->m_keyCode
);
18453 resultobj
= SWIG_From_long((long)(result
));
18461 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 PyObject
* obj1
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self",(char *) "m_controlDown", NULL
18471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18473 if (SWIG_arg_fail(1)) SWIG_fail
;
18475 arg2
= (bool)(SWIG_As_bool(obj1
));
18476 if (SWIG_arg_fail(2)) SWIG_fail
;
18478 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18480 Py_INCREF(Py_None
); resultobj
= Py_None
;
18487 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18498 if (SWIG_arg_fail(1)) SWIG_fail
;
18499 result
= (bool) ((arg1
)->m_controlDown
);
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18510 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 PyObject
* obj1
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self",(char *) "m_shiftDown", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18522 if (SWIG_arg_fail(1)) SWIG_fail
;
18524 arg2
= (bool)(SWIG_As_bool(obj1
));
18525 if (SWIG_arg_fail(2)) SWIG_fail
;
18527 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18529 Py_INCREF(Py_None
); resultobj
= Py_None
;
18536 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18547 if (SWIG_arg_fail(1)) SWIG_fail
;
18548 result
= (bool) ((arg1
)->m_shiftDown
);
18551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18559 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18560 PyObject
*resultobj
;
18561 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "m_altDown", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18571 if (SWIG_arg_fail(1)) SWIG_fail
;
18573 arg2
= (bool)(SWIG_As_bool(obj1
));
18574 if (SWIG_arg_fail(2)) SWIG_fail
;
18576 if (arg1
) (arg1
)->m_altDown
= arg2
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18589 PyObject
* obj0
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18596 if (SWIG_arg_fail(1)) SWIG_fail
;
18597 result
= (bool) ((arg1
)->m_altDown
);
18600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18608 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "m_metaDown", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18620 if (SWIG_arg_fail(1)) SWIG_fail
;
18622 arg2
= (bool)(SWIG_As_bool(obj1
));
18623 if (SWIG_arg_fail(2)) SWIG_fail
;
18625 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18627 Py_INCREF(Py_None
); resultobj
= Py_None
;
18634 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 char *kwnames
[] = {
18640 (char *) "self", NULL
18643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18645 if (SWIG_arg_fail(1)) SWIG_fail
;
18646 result
= (bool) ((arg1
)->m_metaDown
);
18649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18657 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 char *kwnames
[] = {
18664 (char *) "self",(char *) "m_scanCode", NULL
18667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18669 if (SWIG_arg_fail(1)) SWIG_fail
;
18671 arg2
= (bool)(SWIG_As_bool(obj1
));
18672 if (SWIG_arg_fail(2)) SWIG_fail
;
18674 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18676 Py_INCREF(Py_None
); resultobj
= Py_None
;
18683 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18687 PyObject
* obj0
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18694 if (SWIG_arg_fail(1)) SWIG_fail
;
18695 result
= (bool) ((arg1
)->m_scanCode
);
18698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18706 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18709 unsigned int arg2
;
18710 PyObject
* obj0
= 0 ;
18711 PyObject
* obj1
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self",(char *) "m_rawCode", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18718 if (SWIG_arg_fail(1)) SWIG_fail
;
18720 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18721 if (SWIG_arg_fail(2)) SWIG_fail
;
18723 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18725 Py_INCREF(Py_None
); resultobj
= Py_None
;
18732 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18735 unsigned int result
;
18736 PyObject
* obj0
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18742 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18743 if (SWIG_arg_fail(1)) SWIG_fail
;
18744 result
= (unsigned int) ((arg1
)->m_rawCode
);
18747 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18755 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
;
18757 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18758 unsigned int arg2
;
18759 PyObject
* obj0
= 0 ;
18760 PyObject
* obj1
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "self",(char *) "m_rawFlags", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18767 if (SWIG_arg_fail(1)) SWIG_fail
;
18769 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18770 if (SWIG_arg_fail(2)) SWIG_fail
;
18772 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
18774 Py_INCREF(Py_None
); resultobj
= Py_None
;
18781 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18782 PyObject
*resultobj
;
18783 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18784 unsigned int result
;
18785 PyObject
* obj0
= 0 ;
18786 char *kwnames
[] = {
18787 (char *) "self", NULL
18790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
18791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18792 if (SWIG_arg_fail(1)) SWIG_fail
;
18793 result
= (unsigned int) ((arg1
)->m_rawFlags
);
18796 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18804 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18807 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
18809 return Py_BuildValue((char *)"");
18811 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxSize
const &arg1_defvalue
= wxDefaultSize
;
18814 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
18815 int arg2
= (int) 0 ;
18816 wxSizeEvent
*result
;
18818 PyObject
* obj0
= 0 ;
18819 PyObject
* obj1
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "sz",(char *) "winid", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18828 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
18833 arg2
= (int)(SWIG_As_int(obj1
));
18834 if (SWIG_arg_fail(2)) SWIG_fail
;
18838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18839 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
18851 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18852 PyObject
*resultobj
;
18853 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 char *kwnames
[] = {
18857 (char *) "self", NULL
18860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
18861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18862 if (SWIG_arg_fail(1)) SWIG_fail
;
18864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18865 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
18867 wxPyEndAllowThreads(__tstate
);
18868 if (PyErr_Occurred()) SWIG_fail
;
18871 wxSize
* resultptr
;
18872 resultptr
= new wxSize((wxSize
&)(result
));
18873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18881 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
;
18883 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
18891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18892 if (SWIG_arg_fail(1)) SWIG_fail
;
18894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18901 wxRect
* resultptr
;
18902 resultptr
= new wxRect((wxRect
&)(result
));
18903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
18911 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18915 PyObject
* obj0
= 0 ;
18916 PyObject
* obj1
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "self",(char *) "rect", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
18922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18923 if (SWIG_arg_fail(1)) SWIG_fail
;
18926 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
18927 if (SWIG_arg_fail(2)) SWIG_fail
;
18928 if (argp
== NULL
) {
18929 SWIG_null_ref("wxRect");
18931 if (SWIG_arg_fail(2)) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18936 (arg1
)->SetRect(arg2
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "size", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18960 if (SWIG_arg_fail(1)) SWIG_fail
;
18963 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
18964 if (SWIG_arg_fail(2)) SWIG_fail
;
18965 if (argp
== NULL
) {
18966 SWIG_null_ref("wxSize");
18968 if (SWIG_arg_fail(2)) SWIG_fail
;
18972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18973 wxSizeEvent_SetSize(arg1
,arg2
);
18975 wxPyEndAllowThreads(__tstate
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18978 Py_INCREF(Py_None
); resultobj
= Py_None
;
18985 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
18988 wxSize
*arg2
= (wxSize
*) 0 ;
18989 PyObject
* obj0
= 0 ;
18990 PyObject
* obj1
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self",(char *) "m_size", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
18997 if (SWIG_arg_fail(1)) SWIG_fail
;
18998 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
18999 if (SWIG_arg_fail(2)) SWIG_fail
;
19000 if (arg1
) (arg1
)->m_size
= *arg2
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19020 if (SWIG_arg_fail(1)) SWIG_fail
;
19021 result
= (wxSize
*)& ((arg1
)->m_size
);
19023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19030 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19033 wxRect
*arg2
= (wxRect
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "m_rect", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19042 if (SWIG_arg_fail(1)) SWIG_fail
;
19043 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19044 if (SWIG_arg_fail(2)) SWIG_fail
;
19045 if (arg1
) (arg1
)->m_rect
= *arg2
;
19047 Py_INCREF(Py_None
); resultobj
= Py_None
;
19054 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 char *kwnames
[] = {
19060 (char *) "self", NULL
19063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19065 if (SWIG_arg_fail(1)) SWIG_fail
;
19066 result
= (wxRect
*)& ((arg1
)->m_rect
);
19068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19075 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19078 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19080 return Py_BuildValue((char *)"");
19082 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
;
19084 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19085 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19086 int arg2
= (int) 0 ;
19087 wxMoveEvent
*result
;
19089 PyObject
* obj0
= 0 ;
19090 PyObject
* obj1
= 0 ;
19091 char *kwnames
[] = {
19092 (char *) "pos",(char *) "winid", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19099 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19104 arg2
= (int)(SWIG_As_int(obj1
));
19105 if (SWIG_arg_fail(2)) SWIG_fail
;
19109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19110 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19112 wxPyEndAllowThreads(__tstate
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19122 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19133 if (SWIG_arg_fail(1)) SWIG_fail
;
19135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19136 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19142 wxPoint
* resultptr
;
19143 resultptr
= new wxPoint((wxPoint
&)(result
));
19144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19152 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19163 if (SWIG_arg_fail(1)) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19172 wxRect
* resultptr
;
19173 resultptr
= new wxRect((wxRect
&)(result
));
19174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19182 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self",(char *) "rect", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19195 if (SWIG_arg_fail(1)) SWIG_fail
;
19198 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->SetRect((wxRect
const &)*arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19217 wxPoint
*arg2
= 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 char *kwnames
[] = {
19222 (char *) "self",(char *) "pos", NULL
19225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19227 if (SWIG_arg_fail(1)) SWIG_fail
;
19230 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 Py_INCREF(Py_None
); resultobj
= Py_None
;
19246 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19249 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19251 return Py_BuildValue((char *)"");
19253 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 int arg1
= (int) 0 ;
19256 wxPaintEvent
*result
;
19257 PyObject
* obj0
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "Id", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19265 arg1
= (int)(SWIG_As_int(obj0
));
19266 if (SWIG_arg_fail(1)) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19283 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19286 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19288 return Py_BuildValue((char *)"");
19290 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 int arg1
= (int) 0 ;
19293 wxNcPaintEvent
*result
;
19294 PyObject
* obj0
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "winid", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19302 arg1
= (int)(SWIG_As_int(obj0
));
19303 if (SWIG_arg_fail(1)) SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19320 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19323 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19325 return Py_BuildValue((char *)"");
19327 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 int arg1
= (int) 0 ;
19330 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19331 wxEraseEvent
*result
;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "Id",(char *) "dc", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19341 arg1
= (int)(SWIG_As_int(obj0
));
19342 if (SWIG_arg_fail(1)) SWIG_fail
;
19346 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19347 if (SWIG_arg_fail(2)) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19363 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19367 PyObject
* obj0
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19374 if (SWIG_arg_fail(1)) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19383 resultobj
= wxPyMake_wxObject(result
, 0);
19391 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19394 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19396 return Py_BuildValue((char *)"");
19398 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19401 int arg2
= (int) 0 ;
19402 wxFocusEvent
*result
;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "type",(char *) "winid", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19412 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19413 if (SWIG_arg_fail(1)) SWIG_fail
;
19418 arg2
= (int)(SWIG_As_int(obj1
));
19419 if (SWIG_arg_fail(2)) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19436 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19437 PyObject
*resultobj
;
19438 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19440 PyObject
* obj0
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19447 if (SWIG_arg_fail(1)) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19456 resultobj
= wxPyMake_wxObject(result
, 0);
19464 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19467 wxWindow
*arg2
= (wxWindow
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "win", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19476 if (SWIG_arg_fail(1)) SWIG_fail
;
19477 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19478 if (SWIG_arg_fail(2)) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 (arg1
)->SetWindow(arg2
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 Py_INCREF(Py_None
); resultobj
= Py_None
;
19493 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19496 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19498 return Py_BuildValue((char *)"");
19500 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxWindow
*arg1
= (wxWindow
*) NULL
;
19503 wxChildFocusEvent
*result
;
19504 PyObject
* obj0
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "win", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19512 if (SWIG_arg_fail(1)) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19528 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19532 PyObject
* obj0
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19539 if (SWIG_arg_fail(1)) SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= wxPyMake_wxObject(result
, 0);
19556 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19559 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19561 return Py_BuildValue((char *)"");
19563 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19566 bool arg2
= (bool) true ;
19567 int arg3
= (int) 0 ;
19568 wxActivateEvent
*result
;
19569 PyObject
* obj0
= 0 ;
19570 PyObject
* obj1
= 0 ;
19571 PyObject
* obj2
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "type",(char *) "active",(char *) "Id", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19579 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19580 if (SWIG_arg_fail(1)) SWIG_fail
;
19585 arg2
= (bool)(SWIG_As_bool(obj1
));
19586 if (SWIG_arg_fail(2)) SWIG_fail
;
19591 arg3
= (int)(SWIG_As_int(obj2
));
19592 if (SWIG_arg_fail(3)) SWIG_fail
;
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19609 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 char *kwnames
[] = {
19615 (char *) "self", NULL
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19620 if (SWIG_arg_fail(1)) SWIG_fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19637 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19640 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19642 return Py_BuildValue((char *)"");
19644 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19645 PyObject
*resultobj
;
19646 int arg1
= (int) 0 ;
19647 wxInitDialogEvent
*result
;
19648 PyObject
* obj0
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "Id", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19656 arg1
= (int)(SWIG_As_int(obj0
));
19657 if (SWIG_arg_fail(1)) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19674 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19677 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19679 return Py_BuildValue((char *)"");
19681 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19684 int arg2
= (int) 0 ;
19685 wxMenu
*arg3
= (wxMenu
*) NULL
;
19686 wxMenuEvent
*result
;
19687 PyObject
* obj0
= 0 ;
19688 PyObject
* obj1
= 0 ;
19689 PyObject
* obj2
= 0 ;
19690 char *kwnames
[] = {
19691 (char *) "type",(char *) "winid",(char *) "menu", NULL
19694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19697 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19698 if (SWIG_arg_fail(1)) SWIG_fail
;
19703 arg2
= (int)(SWIG_As_int(obj1
));
19704 if (SWIG_arg_fail(2)) SWIG_fail
;
19708 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19709 if (SWIG_arg_fail(3)) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19715 wxPyEndAllowThreads(__tstate
);
19716 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19725 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19736 if (SWIG_arg_fail(1)) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= SWIG_From_int((int)(result
));
19753 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19757 PyObject
* obj0
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19764 if (SWIG_arg_fail(1)) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19781 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19785 PyObject
* obj0
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
19791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19792 if (SWIG_arg_fail(1)) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= wxPyMake_wxObject(result
, 0);
19809 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
19811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19812 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
19814 return Py_BuildValue((char *)"");
19816 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19819 int arg2
= (int) 0 ;
19820 wxCloseEvent
*result
;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "type",(char *) "winid", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19830 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19831 if (SWIG_arg_fail(1)) SWIG_fail
;
19836 arg2
= (int)(SWIG_As_int(obj1
));
19837 if (SWIG_arg_fail(2)) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
19854 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self",(char *) "logOff", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
19865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19866 if (SWIG_arg_fail(1)) SWIG_fail
;
19868 arg2
= (bool)(SWIG_As_bool(obj1
));
19869 if (SWIG_arg_fail(2)) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 (arg1
)->SetLoggingOff(arg2
);
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 Py_INCREF(Py_None
); resultobj
= Py_None
;
19885 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19886 PyObject
*resultobj
;
19887 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19889 PyObject
* obj0
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
19895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19896 if (SWIG_arg_fail(1)) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19913 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19916 bool arg2
= (bool) true ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self",(char *) "veto", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
19924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19925 if (SWIG_arg_fail(1)) SWIG_fail
;
19928 arg2
= (bool)(SWIG_As_bool(obj1
));
19929 if (SWIG_arg_fail(2)) SWIG_fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 (arg1
)->Veto(arg2
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 Py_INCREF(Py_None
); resultobj
= Py_None
;
19946 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self",(char *) "canVeto", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
19957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19958 if (SWIG_arg_fail(1)) SWIG_fail
;
19960 arg2
= (bool)(SWIG_As_bool(obj1
));
19961 if (SWIG_arg_fail(2)) SWIG_fail
;
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 (arg1
)->SetCanVeto(arg2
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 Py_INCREF(Py_None
); resultobj
= Py_None
;
19977 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
;
19979 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
19981 PyObject
* obj0
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
19987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19988 if (SWIG_arg_fail(1)) SWIG_fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20005 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20016 if (SWIG_arg_fail(1)) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20033 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20036 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20038 return Py_BuildValue((char *)"");
20040 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 int arg1
= (int) 0 ;
20043 bool arg2
= (bool) false ;
20044 wxShowEvent
*result
;
20045 PyObject
* obj0
= 0 ;
20046 PyObject
* obj1
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "winid",(char *) "show", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20054 arg1
= (int)(SWIG_As_int(obj0
));
20055 if (SWIG_arg_fail(1)) SWIG_fail
;
20060 arg2
= (bool)(SWIG_As_bool(obj1
));
20061 if (SWIG_arg_fail(2)) SWIG_fail
;
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20068 wxPyEndAllowThreads(__tstate
);
20069 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20078 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20079 PyObject
*resultobj
;
20080 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20082 PyObject
* obj0
= 0 ;
20083 PyObject
* obj1
= 0 ;
20084 char *kwnames
[] = {
20085 (char *) "self",(char *) "show", NULL
20088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20090 if (SWIG_arg_fail(1)) SWIG_fail
;
20092 arg2
= (bool)(SWIG_As_bool(obj1
));
20093 if (SWIG_arg_fail(2)) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 (arg1
)->SetShow(arg2
);
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20102 Py_INCREF(Py_None
); resultobj
= Py_None
;
20109 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
;
20111 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20113 PyObject
* obj0
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20120 if (SWIG_arg_fail(1)) SWIG_fail
;
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20137 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20140 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20142 return Py_BuildValue((char *)"");
20144 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 int arg1
= (int) 0 ;
20147 bool arg2
= (bool) true ;
20148 wxIconizeEvent
*result
;
20149 PyObject
* obj0
= 0 ;
20150 PyObject
* obj1
= 0 ;
20151 char *kwnames
[] = {
20152 (char *) "id",(char *) "iconized", NULL
20155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20158 arg1
= (int)(SWIG_As_int(obj0
));
20159 if (SWIG_arg_fail(1)) SWIG_fail
;
20164 arg2
= (bool)(SWIG_As_bool(obj1
));
20165 if (SWIG_arg_fail(2)) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20182 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20193 if (SWIG_arg_fail(1)) SWIG_fail
;
20195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20196 result
= (bool)(arg1
)->Iconized();
20198 wxPyEndAllowThreads(__tstate
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20210 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20213 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20215 return Py_BuildValue((char *)"");
20217 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 int arg1
= (int) 0 ;
20220 wxMaximizeEvent
*result
;
20221 PyObject
* obj0
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "id", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20229 arg1
= (int)(SWIG_As_int(obj0
));
20230 if (SWIG_arg_fail(1)) SWIG_fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20247 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20250 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20252 return Py_BuildValue((char *)"");
20254 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20265 if (SWIG_arg_fail(1)) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 result
= (arg1
)->GetPosition();
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20274 wxPoint
* resultptr
;
20275 resultptr
= new wxPoint((wxPoint
&)(result
));
20276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20284 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20295 if (SWIG_arg_fail(1)) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20298 result
= (int)(arg1
)->GetNumberOfFiles();
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_From_int((int)(result
));
20312 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20316 PyObject
* obj0
= 0 ;
20317 char *kwnames
[] = {
20318 (char *) "self", NULL
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20323 if (SWIG_arg_fail(1)) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= result
;
20338 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20341 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20343 return Py_BuildValue((char *)"");
20345 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 int arg1
= (int) 0 ;
20348 wxUpdateUIEvent
*result
;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "commandId", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20357 arg1
= (int)(SWIG_As_int(obj0
));
20358 if (SWIG_arg_fail(1)) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20375 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20386 if (SWIG_arg_fail(1)) SWIG_fail
;
20388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20391 wxPyEndAllowThreads(__tstate
);
20392 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20403 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20404 PyObject
*resultobj
;
20405 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20407 PyObject
* obj0
= 0 ;
20408 char *kwnames
[] = {
20409 (char *) "self", NULL
20412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20414 if (SWIG_arg_fail(1)) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20431 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20435 PyObject
* obj0
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20442 if (SWIG_arg_fail(1)) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20463 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20474 if (SWIG_arg_fail(1)) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20491 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20519 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20547 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self",(char *) "check", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20559 if (SWIG_arg_fail(1)) SWIG_fail
;
20561 arg2
= (bool)(SWIG_As_bool(obj1
));
20562 if (SWIG_arg_fail(2)) SWIG_fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 (arg1
)->Check(arg2
);
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 Py_INCREF(Py_None
); resultobj
= Py_None
;
20578 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
;
20580 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self",(char *) "enable", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20590 if (SWIG_arg_fail(1)) SWIG_fail
;
20592 arg2
= (bool)(SWIG_As_bool(obj1
));
20593 if (SWIG_arg_fail(2)) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 (arg1
)->Enable(arg2
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 Py_INCREF(Py_None
); resultobj
= Py_None
;
20609 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20612 wxString
*arg2
= 0 ;
20613 bool temp2
= false ;
20614 PyObject
* obj0
= 0 ;
20615 PyObject
* obj1
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self",(char *) "text", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20622 if (SWIG_arg_fail(1)) SWIG_fail
;
20624 arg2
= wxString_in_helper(obj1
);
20625 if (arg2
== NULL
) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 (arg1
)->SetText((wxString
const &)*arg2
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 Py_INCREF(Py_None
); resultobj
= Py_None
;
20650 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20651 PyObject
*resultobj
;
20653 PyObject
* obj0
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "updateInterval", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20660 arg1
= (long)(SWIG_As_long(obj0
));
20661 if (SWIG_arg_fail(1)) SWIG_fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 Py_INCREF(Py_None
); resultobj
= Py_None
;
20677 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20680 char *kwnames
[] = {
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= SWIG_From_long((long)(result
));
20701 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20702 PyObject
*resultobj
;
20703 wxWindow
*arg1
= (wxWindow
*) 0 ;
20705 PyObject
* obj0
= 0 ;
20706 char *kwnames
[] = {
20707 (char *) "win", NULL
20710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20712 if (SWIG_arg_fail(1)) SWIG_fail
;
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20729 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 char *kwnames
[] = {
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 wxUpdateUIEvent::ResetUpdateTime();
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 Py_INCREF(Py_None
); resultobj
= Py_None
;
20750 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxUpdateUIMode arg1
;
20753 PyObject
* obj0
= 0 ;
20754 char *kwnames
[] = {
20755 (char *) "mode", NULL
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20760 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20761 if (SWIG_arg_fail(1)) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 Py_INCREF(Py_None
); resultobj
= Py_None
;
20777 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxUpdateUIMode result
;
20780 char *kwnames
[] = {
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_From_int((result
));
20799 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
20801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20802 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
20804 return Py_BuildValue((char *)"");
20806 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxSysColourChangedEvent
*result
;
20809 char *kwnames
[] = {
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
20828 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20831 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
20833 return Py_BuildValue((char *)"");
20835 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 int arg1
= (int) 0 ;
20838 wxWindow
*arg2
= (wxWindow
*) NULL
;
20839 wxMouseCaptureChangedEvent
*result
;
20840 PyObject
* obj0
= 0 ;
20841 PyObject
* obj1
= 0 ;
20842 char *kwnames
[] = {
20843 (char *) "winid",(char *) "gainedCapture", NULL
20846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20849 arg1
= (int)(SWIG_As_int(obj0
));
20850 if (SWIG_arg_fail(1)) SWIG_fail
;
20854 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20855 if (SWIG_arg_fail(2)) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
20871 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
20881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20882 if (SWIG_arg_fail(1)) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= wxPyMake_wxObject(result
, 0);
20899 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20902 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
20904 return Py_BuildValue((char *)"");
20906 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
;
20908 wxDisplayChangedEvent
*result
;
20909 char *kwnames
[] = {
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
20928 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
20930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20931 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
20933 return Py_BuildValue((char *)"");
20935 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 int arg1
= (int) 0 ;
20938 wxPaletteChangedEvent
*result
;
20939 PyObject
* obj0
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "id", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
20947 arg1
= (int)(SWIG_As_int(obj0
));
20948 if (SWIG_arg_fail(1)) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
20965 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20968 wxWindow
*arg2
= (wxWindow
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self",(char *) "win", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
20977 if (SWIG_arg_fail(1)) SWIG_fail
;
20978 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20979 if (SWIG_arg_fail(2)) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 (arg1
)->SetChangedWindow(arg2
);
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 Py_INCREF(Py_None
); resultobj
= Py_None
;
20994 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21005 if (SWIG_arg_fail(1)) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21014 resultobj
= wxPyMake_wxObject(result
, 0);
21022 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21025 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21027 return Py_BuildValue((char *)"");
21029 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21030 PyObject
*resultobj
;
21031 int arg1
= (int) 0 ;
21032 wxQueryNewPaletteEvent
*result
;
21033 PyObject
* obj0
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "winid", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21041 arg1
= (int)(SWIG_As_int(obj0
));
21042 if (SWIG_arg_fail(1)) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21059 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21060 PyObject
*resultobj
;
21061 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self",(char *) "realized", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21071 if (SWIG_arg_fail(1)) SWIG_fail
;
21073 arg2
= (bool)(SWIG_As_bool(obj1
));
21074 if (SWIG_arg_fail(2)) SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 (arg1
)->SetPaletteRealized(arg2
);
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21083 Py_INCREF(Py_None
); resultobj
= Py_None
;
21090 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21094 PyObject
* obj0
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "self", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21101 if (SWIG_arg_fail(1)) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21118 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21121 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21123 return Py_BuildValue((char *)"");
21125 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
;
21127 wxNavigationKeyEvent
*result
;
21128 char *kwnames
[] = {
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21147 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
;
21149 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21151 PyObject
* obj0
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21158 if (SWIG_arg_fail(1)) SWIG_fail
;
21160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21163 wxPyEndAllowThreads(__tstate
);
21164 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21175 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self",(char *) "forward", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21187 if (SWIG_arg_fail(1)) SWIG_fail
;
21189 arg2
= (bool)(SWIG_As_bool(obj1
));
21190 if (SWIG_arg_fail(2)) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 (arg1
)->SetDirection(arg2
);
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 Py_INCREF(Py_None
); resultobj
= Py_None
;
21206 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21210 PyObject
* obj0
= 0 ;
21211 char *kwnames
[] = {
21212 (char *) "self", NULL
21215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21217 if (SWIG_arg_fail(1)) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21234 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 char *kwnames
[] = {
21241 (char *) "self",(char *) "ischange", NULL
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21246 if (SWIG_arg_fail(1)) SWIG_fail
;
21248 arg2
= (bool)(SWIG_As_bool(obj1
));
21249 if (SWIG_arg_fail(2)) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 (arg1
)->SetWindowChange(arg2
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 Py_INCREF(Py_None
); resultobj
= Py_None
;
21265 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21276 if (SWIG_arg_fail(1)) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "bIs", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21305 if (SWIG_arg_fail(1)) SWIG_fail
;
21307 arg2
= (bool)(SWIG_As_bool(obj1
));
21308 if (SWIG_arg_fail(2)) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 (arg1
)->SetFromTab(arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 Py_INCREF(Py_None
); resultobj
= Py_None
;
21324 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21326 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21328 PyObject
* obj0
= 0 ;
21329 PyObject
* obj1
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "self",(char *) "flags", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21336 if (SWIG_arg_fail(1)) SWIG_fail
;
21338 arg2
= (long)(SWIG_As_long(obj1
));
21339 if (SWIG_arg_fail(2)) SWIG_fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 (arg1
)->SetFlags(arg2
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 Py_INCREF(Py_None
); resultobj
= Py_None
;
21355 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21359 PyObject
* obj0
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21366 if (SWIG_arg_fail(1)) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= wxPyMake_wxObject(result
, 0);
21383 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21386 wxWindow
*arg2
= (wxWindow
*) 0 ;
21387 PyObject
* obj0
= 0 ;
21388 PyObject
* obj1
= 0 ;
21389 char *kwnames
[] = {
21390 (char *) "self",(char *) "win", NULL
21393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21395 if (SWIG_arg_fail(1)) SWIG_fail
;
21396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21397 if (SWIG_arg_fail(2)) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 (arg1
)->SetCurrentFocus(arg2
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 Py_INCREF(Py_None
); resultobj
= Py_None
;
21412 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21415 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21417 return Py_BuildValue((char *)"");
21419 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxWindow
*arg1
= (wxWindow
*) NULL
;
21422 wxWindowCreateEvent
*result
;
21423 PyObject
* obj0
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "win", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21447 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21451 PyObject
* obj0
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21458 if (SWIG_arg_fail(1)) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= wxPyMake_wxObject(result
, 0);
21475 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21478 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21480 return Py_BuildValue((char *)"");
21482 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxWindow
*arg1
= (wxWindow
*) NULL
;
21485 wxWindowDestroyEvent
*result
;
21486 PyObject
* obj0
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "win", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21494 if (SWIG_arg_fail(1)) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21510 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21521 if (SWIG_arg_fail(1)) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21530 resultobj
= wxPyMake_wxObject(result
, 0);
21538 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21541 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21543 return Py_BuildValue((char *)"");
21545 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21548 int arg2
= (int) 0 ;
21549 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21550 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21551 wxContextMenuEvent
*result
;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 PyObject
* obj2
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "type",(char *) "winid",(char *) "pt", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21563 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21564 if (SWIG_arg_fail(1)) SWIG_fail
;
21569 arg2
= (int)(SWIG_As_int(obj1
));
21570 if (SWIG_arg_fail(2)) SWIG_fail
;
21576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21593 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21597 PyObject
* obj0
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21604 if (SWIG_arg_fail(1)) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21609 result
= (wxPoint
*) &_result_ref
;
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21622 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21625 wxPoint
*arg2
= 0 ;
21627 PyObject
* obj0
= 0 ;
21628 PyObject
* obj1
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "pos", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21635 if (SWIG_arg_fail(1)) SWIG_fail
;
21638 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 Py_INCREF(Py_None
); resultobj
= Py_None
;
21654 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21657 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21659 return Py_BuildValue((char *)"");
21661 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21663 wxIdleEvent
*result
;
21664 char *kwnames
[] = {
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (wxIdleEvent
*)new wxIdleEvent();
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21683 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21686 bool arg2
= (bool) true ;
21687 PyObject
* obj0
= 0 ;
21688 PyObject
* obj1
= 0 ;
21689 char *kwnames
[] = {
21690 (char *) "self",(char *) "needMore", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21695 if (SWIG_arg_fail(1)) SWIG_fail
;
21698 arg2
= (bool)(SWIG_As_bool(obj1
));
21699 if (SWIG_arg_fail(2)) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 (arg1
)->RequestMore(arg2
);
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21709 Py_INCREF(Py_None
); resultobj
= Py_None
;
21716 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21717 PyObject
*resultobj
;
21718 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21727 if (SWIG_arg_fail(1)) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21744 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21747 PyObject
* obj0
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "mode", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21754 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21755 if (SWIG_arg_fail(1)) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 Py_INCREF(Py_None
); resultobj
= Py_None
;
21771 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21774 char *kwnames
[] = {
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= (wxIdleMode
)wxIdleEvent::GetMode();
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= SWIG_From_int((result
));
21793 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
;
21795 wxWindow
*arg1
= (wxWindow
*) 0 ;
21797 PyObject
* obj0
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "win", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
21803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21804 if (SWIG_arg_fail(1)) SWIG_fail
;
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 result
= (bool)wxIdleEvent::CanSend(arg1
);
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21821 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
21823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21824 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
21826 return Py_BuildValue((char *)"");
21828 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 int arg1
= (int) 0 ;
21831 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "winid",(char *) "commandType", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21842 arg1
= (int)(SWIG_As_int(obj0
));
21843 if (SWIG_arg_fail(1)) SWIG_fail
;
21848 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
21849 if (SWIG_arg_fail(2)) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
21866 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21867 PyObject
*resultobj
;
21868 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21869 PyObject
* obj0
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
21875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21876 if (SWIG_arg_fail(1)) SWIG_fail
;
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 wxPyEndAllowThreads(__tstate
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21884 Py_INCREF(Py_None
); resultobj
= Py_None
;
21891 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21893 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21894 PyObject
*arg2
= (PyObject
*) 0 ;
21895 PyObject
* obj0
= 0 ;
21896 PyObject
* obj1
= 0 ;
21897 char *kwnames
[] = {
21898 (char *) "self",(char *) "self", NULL
21901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
21902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21903 if (SWIG_arg_fail(1)) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 (arg1
)->SetSelf(arg2
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 Py_INCREF(Py_None
); resultobj
= Py_None
;
21919 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
21923 PyObject
* obj0
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "self", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
21929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21930 if (SWIG_arg_fail(1)) SWIG_fail
;
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 result
= (PyObject
*)(arg1
)->GetSelf();
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= result
;
21945 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
21947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21948 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
21950 return Py_BuildValue((char *)"");
21952 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21955 int arg2
= (int) 0 ;
21956 wxPyCommandEvent
*result
;
21957 PyObject
* obj0
= 0 ;
21958 PyObject
* obj1
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "commandType",(char *) "id", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21967 if (SWIG_arg_fail(1)) SWIG_fail
;
21972 arg2
= (int)(SWIG_As_int(obj1
));
21973 if (SWIG_arg_fail(2)) SWIG_fail
;
21977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
21980 wxPyEndAllowThreads(__tstate
);
21981 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
21990 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
;
21992 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
21993 PyObject
* obj0
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
21999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22000 if (SWIG_arg_fail(1)) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 Py_INCREF(Py_None
); resultobj
= Py_None
;
22015 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22018 PyObject
*arg2
= (PyObject
*) 0 ;
22019 PyObject
* obj0
= 0 ;
22020 PyObject
* obj1
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self",(char *) "self", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22027 if (SWIG_arg_fail(1)) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 (arg1
)->SetSelf(arg2
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 Py_INCREF(Py_None
); resultobj
= Py_None
;
22043 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22054 if (SWIG_arg_fail(1)) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 result
= (PyObject
*)(arg1
)->GetSelf();
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 resultobj
= result
;
22069 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22072 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22074 return Py_BuildValue((char *)"");
22076 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22077 PyObject
*resultobj
;
22078 wxWindow
*arg1
= (wxWindow
*) 0 ;
22079 wxDateTime
*arg2
= 0 ;
22081 wxDateEvent
*result
;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 PyObject
* obj2
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "win",(char *) "dt",(char *) "type", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22091 if (SWIG_arg_fail(1)) SWIG_fail
;
22093 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22094 if (SWIG_arg_fail(2)) SWIG_fail
;
22095 if (arg2
== NULL
) {
22096 SWIG_null_ref("wxDateTime");
22098 if (SWIG_arg_fail(2)) SWIG_fail
;
22101 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22102 if (SWIG_arg_fail(3)) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22108 wxPyEndAllowThreads(__tstate
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22118 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22119 PyObject
*resultobj
;
22120 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22121 wxDateTime
*result
;
22122 PyObject
* obj0
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22129 if (SWIG_arg_fail(1)) SWIG_fail
;
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22133 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22134 result
= (wxDateTime
*) &_result_ref
;
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22147 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22150 wxDateTime
*arg2
= 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "date", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22159 if (SWIG_arg_fail(1)) SWIG_fail
;
22161 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22162 if (SWIG_arg_fail(2)) SWIG_fail
;
22163 if (arg2
== NULL
) {
22164 SWIG_null_ref("wxDateTime");
22166 if (SWIG_arg_fail(2)) SWIG_fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 Py_INCREF(Py_None
); resultobj
= Py_None
;
22182 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22185 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22187 return Py_BuildValue((char *)"");
22189 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22192 char *kwnames
[] = {
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (wxPyApp
*)new_wxPyApp();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22211 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
;
22213 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22214 PyObject
* obj0
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22221 if (SWIG_arg_fail(1)) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 Py_INCREF(Py_None
); resultobj
= Py_None
;
22236 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22239 PyObject
*arg2
= (PyObject
*) 0 ;
22240 PyObject
*arg3
= (PyObject
*) 0 ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 PyObject
* obj2
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "self",(char *) "_class", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22250 if (SWIG_arg_fail(1)) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 Py_INCREF(Py_None
); resultobj
= Py_None
;
22267 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
;
22269 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22278 if (SWIG_arg_fail(1)) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22299 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22302 wxString
*arg2
= 0 ;
22303 bool temp2
= false ;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self",(char *) "name", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
22315 if (arg2
== NULL
) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 (arg1
)->SetAppName((wxString
const &)*arg2
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 Py_INCREF(Py_None
); resultobj
= Py_None
;
22340 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22351 if (SWIG_arg_fail(1)) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22372 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22375 wxString
*arg2
= 0 ;
22376 bool temp2
= false ;
22377 PyObject
* obj0
= 0 ;
22378 PyObject
* obj1
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "self",(char *) "name", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22385 if (SWIG_arg_fail(1)) SWIG_fail
;
22387 arg2
= wxString_in_helper(obj1
);
22388 if (arg2
== NULL
) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 (arg1
)->SetClassName((wxString
const &)*arg2
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 Py_INCREF(Py_None
); resultobj
= Py_None
;
22413 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22417 PyObject
* obj0
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22424 if (SWIG_arg_fail(1)) SWIG_fail
;
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22429 result
= (wxString
*) &_result_ref
;
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22437 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22439 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22448 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22451 wxString
*arg2
= 0 ;
22452 bool temp2
= false ;
22453 PyObject
* obj0
= 0 ;
22454 PyObject
* obj1
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self",(char *) "name", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22461 if (SWIG_arg_fail(1)) SWIG_fail
;
22463 arg2
= wxString_in_helper(obj1
);
22464 if (arg2
== NULL
) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22489 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22492 wxAppTraits
*result
;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22500 if (SWIG_arg_fail(1)) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22515 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22518 PyObject
* obj0
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22525 if (SWIG_arg_fail(1)) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 (arg1
)->ProcessPendingEvents();
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 Py_INCREF(Py_None
); resultobj
= Py_None
;
22540 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22543 bool arg2
= (bool) false ;
22545 PyObject
* obj0
= 0 ;
22546 PyObject
* obj1
= 0 ;
22547 char *kwnames
[] = {
22548 (char *) "self",(char *) "onlyIfNeeded", NULL
22551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22553 if (SWIG_arg_fail(1)) SWIG_fail
;
22556 arg2
= (bool)(SWIG_As_bool(obj1
));
22557 if (SWIG_arg_fail(2)) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 result
= (bool)(arg1
)->Yield(arg2
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22576 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22586 if (SWIG_arg_fail(1)) SWIG_fail
;
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 (arg1
)->WakeUpIdle();
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 Py_INCREF(Py_None
); resultobj
= Py_None
;
22601 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22604 char *kwnames
[] = {
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22611 result
= (bool)wxPyApp::IsMainLoopRunning();
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22625 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
;
22627 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22629 PyObject
* obj0
= 0 ;
22630 char *kwnames
[] = {
22631 (char *) "self", NULL
22634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22636 if (SWIG_arg_fail(1)) SWIG_fail
;
22638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22639 result
= (int)(arg1
)->MainLoop();
22641 wxPyEndAllowThreads(__tstate
);
22642 if (PyErr_Occurred()) SWIG_fail
;
22645 resultobj
= SWIG_From_int((int)(result
));
22653 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
;
22655 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22663 if (SWIG_arg_fail(1)) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 Py_INCREF(Py_None
); resultobj
= Py_None
;
22678 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22688 if (SWIG_arg_fail(1)) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 (arg1
)->ExitMainLoop();
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22696 Py_INCREF(Py_None
); resultobj
= Py_None
;
22703 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22707 PyObject
* obj0
= 0 ;
22708 char *kwnames
[] = {
22709 (char *) "self", NULL
22712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22714 if (SWIG_arg_fail(1)) SWIG_fail
;
22716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22717 result
= (bool)(arg1
)->Pending();
22719 wxPyEndAllowThreads(__tstate
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22731 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22735 PyObject
* obj0
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22742 if (SWIG_arg_fail(1)) SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 result
= (bool)(arg1
)->Dispatch();
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22759 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22760 PyObject
*resultobj
;
22761 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 char *kwnames
[] = {
22765 (char *) "self", NULL
22768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
22769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22770 if (SWIG_arg_fail(1)) SWIG_fail
;
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 result
= (bool)(arg1
)->ProcessIdle();
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22787 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22790 wxWindow
*arg2
= (wxWindow
*) 0 ;
22791 wxIdleEvent
*arg3
= 0 ;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 PyObject
* obj2
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self",(char *) "win",(char *) "event", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22802 if (SWIG_arg_fail(1)) SWIG_fail
;
22803 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22804 if (SWIG_arg_fail(2)) SWIG_fail
;
22806 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22807 if (SWIG_arg_fail(3)) SWIG_fail
;
22808 if (arg3
== NULL
) {
22809 SWIG_null_ref("wxIdleEvent");
22811 if (SWIG_arg_fail(3)) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22829 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22833 PyObject
* obj0
= 0 ;
22834 char *kwnames
[] = {
22835 (char *) "self", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
22839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22840 if (SWIG_arg_fail(1)) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22857 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22858 PyObject
*resultobj
;
22859 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22860 wxWindow
*arg2
= (wxWindow
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 PyObject
* obj1
= 0 ;
22863 char *kwnames
[] = {
22864 (char *) "self",(char *) "win", NULL
22867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
22868 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22869 if (SWIG_arg_fail(1)) SWIG_fail
;
22870 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22871 if (SWIG_arg_fail(2)) SWIG_fail
;
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 (arg1
)->SetTopWindow(arg2
);
22876 wxPyEndAllowThreads(__tstate
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 Py_INCREF(Py_None
); resultobj
= Py_None
;
22886 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22888 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22890 PyObject
* obj0
= 0 ;
22891 char *kwnames
[] = {
22892 (char *) "self", NULL
22895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
22896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22897 if (SWIG_arg_fail(1)) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22906 resultobj
= wxPyMake_wxObject(result
, 0);
22914 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self",(char *) "flag", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
22925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22926 if (SWIG_arg_fail(1)) SWIG_fail
;
22928 arg2
= (bool)(SWIG_As_bool(obj1
));
22929 if (SWIG_arg_fail(2)) SWIG_fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 (arg1
)->SetExitOnFrameDelete(arg2
);
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 Py_INCREF(Py_None
); resultobj
= Py_None
;
22945 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
;
22947 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
22955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22956 if (SWIG_arg_fail(1)) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22973 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22975 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "self",(char *) "flag", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
22984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22985 if (SWIG_arg_fail(1)) SWIG_fail
;
22987 arg2
= (bool)(SWIG_As_bool(obj1
));
22988 if (SWIG_arg_fail(2)) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 (arg1
)->SetUseBestVisual(arg2
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 Py_INCREF(Py_None
); resultobj
= Py_None
;
23004 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23008 PyObject
* obj0
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23015 if (SWIG_arg_fail(1)) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23032 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 char *kwnames
[] = {
23039 (char *) "self",(char *) "mode", NULL
23042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23044 if (SWIG_arg_fail(1)) SWIG_fail
;
23046 arg2
= (int)(SWIG_As_int(obj1
));
23047 if (SWIG_arg_fail(2)) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 (arg1
)->SetPrintMode(arg2
);
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 Py_INCREF(Py_None
); resultobj
= Py_None
;
23063 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23067 PyObject
* obj0
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23074 if (SWIG_arg_fail(1)) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23083 resultobj
= SWIG_From_int((int)(result
));
23091 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
;
23093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23095 PyObject
* obj0
= 0 ;
23096 PyObject
* obj1
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self",(char *) "mode", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23103 if (SWIG_arg_fail(1)) SWIG_fail
;
23105 arg2
= (int)(SWIG_As_int(obj1
));
23106 if (SWIG_arg_fail(2)) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 (arg1
)->SetAssertMode(arg2
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23123 PyObject
*resultobj
;
23124 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23126 PyObject
* obj0
= 0 ;
23127 char *kwnames
[] = {
23128 (char *) "self", NULL
23131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23133 if (SWIG_arg_fail(1)) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23136 result
= (int)(arg1
)->GetAssertMode();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= SWIG_From_int((int)(result
));
23150 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
;
23153 char *kwnames
[] = {
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23174 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23175 PyObject
*resultobj
;
23177 char *kwnames
[] = {
23181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_From_long((long)(result
));
23198 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
;
23201 char *kwnames
[] = {
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23210 wxPyEndAllowThreads(__tstate
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= SWIG_From_long((long)(result
));
23222 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23225 char *kwnames
[] = {
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (long)wxPyApp::GetMacExitMenuItemId();
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= SWIG_From_long((long)(result
));
23246 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23249 char *kwnames
[] = {
23253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= wxPyApp::GetMacHelpMenuTitleName();
23258 wxPyEndAllowThreads(__tstate
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23274 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23275 PyObject
*resultobj
;
23277 PyObject
* obj0
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "val", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23284 arg1
= (bool)(SWIG_As_bool(obj0
));
23285 if (SWIG_arg_fail(1)) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 Py_INCREF(Py_None
); resultobj
= Py_None
;
23301 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23304 PyObject
* obj0
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "val", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23311 arg1
= (long)(SWIG_As_long(obj0
));
23312 if (SWIG_arg_fail(1)) SWIG_fail
;
23315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23316 wxPyApp::SetMacAboutMenuItemId(arg1
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 Py_INCREF(Py_None
); resultobj
= Py_None
;
23328 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23331 PyObject
* obj0
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "val", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23338 arg1
= (long)(SWIG_As_long(obj0
));
23339 if (SWIG_arg_fail(1)) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 Py_INCREF(Py_None
); resultobj
= Py_None
;
23355 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23358 PyObject
* obj0
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "val", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23365 arg1
= (long)(SWIG_As_long(obj0
));
23366 if (SWIG_arg_fail(1)) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 wxPyApp::SetMacExitMenuItemId(arg1
);
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 Py_INCREF(Py_None
); resultobj
= Py_None
;
23382 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxString
*arg1
= 0 ;
23385 bool temp1
= false ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "val", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23393 arg1
= wxString_in_helper(obj0
);
23394 if (arg1
== NULL
) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23404 Py_INCREF(Py_None
); resultobj
= Py_None
;
23419 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23422 PyObject
* obj0
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23429 if (SWIG_arg_fail(1)) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 (arg1
)->_BootstrapApp();
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 Py_INCREF(Py_None
); resultobj
= Py_None
;
23444 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23447 char *kwnames
[] = {
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (int)PyApp_GetComCtl32Version();
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_From_int((int)(result
));
23468 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23471 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23473 return Py_BuildValue((char *)"");
23475 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23476 PyObject
*resultobj
;
23477 char *kwnames
[] = {
23481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 Py_INCREF(Py_None
); resultobj
= Py_None
;
23496 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23499 char *kwnames
[] = {
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 result
= (bool)wxYield();
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23520 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23523 char *kwnames
[] = {
23527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 result
= (bool)wxYieldIfNeeded();
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23544 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxWindow
*arg1
= (wxWindow
*) NULL
;
23547 bool arg2
= (bool) false ;
23549 PyObject
* obj0
= 0 ;
23550 PyObject
* obj1
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "win",(char *) "onlyIfNeeded", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23558 if (SWIG_arg_fail(1)) SWIG_fail
;
23562 arg2
= (bool)(SWIG_As_bool(obj1
));
23563 if (SWIG_arg_fail(2)) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (bool)wxSafeYield(arg1
,arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23582 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 char *kwnames
[] = {
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 Py_INCREF(Py_None
); resultobj
= Py_None
;
23603 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23604 PyObject
*resultobj
;
23605 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23606 wxEvent
*arg2
= 0 ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "dest",(char *) "event", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23615 if (SWIG_arg_fail(1)) SWIG_fail
;
23617 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23618 if (SWIG_arg_fail(2)) SWIG_fail
;
23619 if (arg2
== NULL
) {
23620 SWIG_null_ref("wxEvent");
23622 if (SWIG_arg_fail(2)) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 wxPostEvent(arg1
,*arg2
);
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 Py_INCREF(Py_None
); resultobj
= Py_None
;
23638 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 char *kwnames
[] = {
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 Py_INCREF(Py_None
); resultobj
= Py_None
;
23659 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23662 char *kwnames
[] = {
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (wxPyApp
*)wxPyGetApp();
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= wxPyMake_wxObject(result
, 0);
23683 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 char *arg1
= (char *) 0 ;
23686 PyObject
* obj0
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "encoding", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23692 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23693 SWIG_arg_fail(1);SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 wxSetDefaultPyEncoding((char const *)arg1
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 Py_INCREF(Py_None
); resultobj
= Py_None
;
23709 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23712 char *kwnames
[] = {
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= (char *)wxGetDefaultPyEncoding();
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23724 resultobj
= SWIG_FromCharPtr(result
);
23731 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23732 PyObject
*resultobj
;
23733 wxEventLoop
*result
;
23734 char *kwnames
[] = {
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 result
= (wxEventLoop
*)new wxEventLoop();
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23753 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23756 PyObject
* obj0
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23763 if (SWIG_arg_fail(1)) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 Py_INCREF(Py_None
); resultobj
= Py_None
;
23778 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
23788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23789 if (SWIG_arg_fail(1)) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (int)(arg1
)->Run();
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= SWIG_From_int((int)(result
));
23806 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23808 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23809 int arg2
= (int) 0 ;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 char *kwnames
[] = {
23813 (char *) "self",(char *) "rc", NULL
23816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
23817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23818 if (SWIG_arg_fail(1)) SWIG_fail
;
23821 arg2
= (int)(SWIG_As_int(obj1
));
23822 if (SWIG_arg_fail(2)) SWIG_fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 (arg1
)->Exit(arg2
);
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 Py_INCREF(Py_None
); resultobj
= Py_None
;
23839 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
;
23841 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23843 PyObject
* obj0
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
23849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23850 if (SWIG_arg_fail(1)) SWIG_fail
;
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23867 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23868 PyObject
*resultobj
;
23869 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23871 PyObject
* obj0
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
23877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23878 if (SWIG_arg_fail(1)) SWIG_fail
;
23880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23881 result
= (bool)(arg1
)->Dispatch();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23895 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
;
23897 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23899 PyObject
* obj0
= 0 ;
23900 char *kwnames
[] = {
23901 (char *) "self", NULL
23904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
23905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23906 if (SWIG_arg_fail(1)) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23923 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
;
23925 wxEventLoop
*result
;
23926 char *kwnames
[] = {
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (wxEventLoop
*)wxEventLoop::GetActive();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
23945 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23947 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23948 PyObject
* obj0
= 0 ;
23949 char *kwnames
[] = {
23950 (char *) "loop", NULL
23953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
23954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23955 if (SWIG_arg_fail(1)) SWIG_fail
;
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 wxEventLoop::SetActive(arg1
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 Py_INCREF(Py_None
); resultobj
= Py_None
;
23970 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
23972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23973 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
23975 return Py_BuildValue((char *)"");
23977 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 int arg1
= (int) 0 ;
23980 int arg2
= (int) 0 ;
23981 int arg3
= (int) 0 ;
23982 wxAcceleratorEntry
*result
;
23983 PyObject
* obj0
= 0 ;
23984 PyObject
* obj1
= 0 ;
23985 PyObject
* obj2
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23993 arg1
= (int)(SWIG_As_int(obj0
));
23994 if (SWIG_arg_fail(1)) SWIG_fail
;
23999 arg2
= (int)(SWIG_As_int(obj1
));
24000 if (SWIG_arg_fail(2)) SWIG_fail
;
24005 arg3
= (int)(SWIG_As_int(obj2
));
24006 if (SWIG_arg_fail(3)) SWIG_fail
;
24010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24011 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24013 wxPyEndAllowThreads(__tstate
);
24014 if (PyErr_Occurred()) SWIG_fail
;
24016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24023 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24024 PyObject
*resultobj
;
24025 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24026 PyObject
* obj0
= 0 ;
24027 char *kwnames
[] = {
24028 (char *) "self", NULL
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24033 if (SWIG_arg_fail(1)) SWIG_fail
;
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 wxPyEndAllowThreads(__tstate
);
24039 if (PyErr_Occurred()) SWIG_fail
;
24041 Py_INCREF(Py_None
); resultobj
= Py_None
;
24048 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24054 PyObject
* obj0
= 0 ;
24055 PyObject
* obj1
= 0 ;
24056 PyObject
* obj2
= 0 ;
24057 PyObject
* obj3
= 0 ;
24058 char *kwnames
[] = {
24059 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24064 if (SWIG_arg_fail(1)) SWIG_fail
;
24066 arg2
= (int)(SWIG_As_int(obj1
));
24067 if (SWIG_arg_fail(2)) SWIG_fail
;
24070 arg3
= (int)(SWIG_As_int(obj2
));
24071 if (SWIG_arg_fail(3)) SWIG_fail
;
24074 arg4
= (int)(SWIG_As_int(obj3
));
24075 if (SWIG_arg_fail(4)) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 (arg1
)->Set(arg2
,arg3
,arg4
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 Py_INCREF(Py_None
); resultobj
= Py_None
;
24091 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24095 PyObject
* obj0
= 0 ;
24096 char *kwnames
[] = {
24097 (char *) "self", NULL
24100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24102 if (SWIG_arg_fail(1)) SWIG_fail
;
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 result
= (int)(arg1
)->GetFlags();
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= SWIG_From_int((int)(result
));
24119 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24121 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24129 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24130 if (SWIG_arg_fail(1)) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 result
= (int)(arg1
)->GetKeyCode();
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24139 resultobj
= SWIG_From_int((int)(result
));
24147 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24151 PyObject
* obj0
= 0 ;
24152 char *kwnames
[] = {
24153 (char *) "self", NULL
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24158 if (SWIG_arg_fail(1)) SWIG_fail
;
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= (int)(arg1
)->GetCommand();
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24167 resultobj
= SWIG_From_int((int)(result
));
24175 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24178 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24180 return Py_BuildValue((char *)"");
24182 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24185 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24186 wxAcceleratorTable
*result
;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24194 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24195 if (arg2
) arg1
= PyList_Size(obj0
);
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24218 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24219 PyObject
*resultobj
;
24220 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24221 PyObject
* obj0
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24228 if (SWIG_arg_fail(1)) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 wxPyEndAllowThreads(__tstate
);
24234 if (PyErr_Occurred()) SWIG_fail
;
24236 Py_INCREF(Py_None
); resultobj
= Py_None
;
24243 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
;
24245 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24247 PyObject
* obj0
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "self", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24254 if (SWIG_arg_fail(1)) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24271 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24274 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24276 return Py_BuildValue((char *)"");
24278 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24279 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24284 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24287 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24292 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxString
*arg1
= 0 ;
24295 wxAcceleratorEntry
*result
;
24296 bool temp1
= false ;
24297 PyObject
* obj0
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "label", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24304 arg1
= wxString_in_helper(obj0
);
24305 if (arg1
== NULL
) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24330 static int _wrap_PanelNameStr_set(PyObject
*) {
24331 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24336 static PyObject
*_wrap_PanelNameStr_get(void) {
24341 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24343 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24350 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24351 PyObject
*resultobj
;
24352 wxVisualAttributes
*result
;
24353 char *kwnames
[] = {
24357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24360 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24362 wxPyEndAllowThreads(__tstate
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24372 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24373 PyObject
*resultobj
;
24374 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "self", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24382 if (SWIG_arg_fail(1)) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 delete_wxVisualAttributes(arg1
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 Py_INCREF(Py_None
); resultobj
= Py_None
;
24397 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24400 wxFont
*arg2
= (wxFont
*) 0 ;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self",(char *) "font", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24409 if (SWIG_arg_fail(1)) SWIG_fail
;
24410 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24411 if (SWIG_arg_fail(2)) SWIG_fail
;
24412 if (arg1
) (arg1
)->font
= *arg2
;
24414 Py_INCREF(Py_None
); resultobj
= Py_None
;
24421 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24432 if (SWIG_arg_fail(1)) SWIG_fail
;
24433 result
= (wxFont
*)& ((arg1
)->font
);
24435 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24442 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
;
24444 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24445 wxColour
*arg2
= (wxColour
*) 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self",(char *) "colFg", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24454 if (SWIG_arg_fail(1)) SWIG_fail
;
24455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24456 if (SWIG_arg_fail(2)) SWIG_fail
;
24457 if (arg1
) (arg1
)->colFg
= *arg2
;
24459 Py_INCREF(Py_None
); resultobj
= Py_None
;
24466 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24470 PyObject
* obj0
= 0 ;
24471 char *kwnames
[] = {
24472 (char *) "self", NULL
24475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24477 if (SWIG_arg_fail(1)) SWIG_fail
;
24478 result
= (wxColour
*)& ((arg1
)->colFg
);
24480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24487 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
;
24489 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24490 wxColour
*arg2
= (wxColour
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self",(char *) "colBg", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24499 if (SWIG_arg_fail(1)) SWIG_fail
;
24500 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24501 if (SWIG_arg_fail(2)) SWIG_fail
;
24502 if (arg1
) (arg1
)->colBg
= *arg2
;
24504 Py_INCREF(Py_None
); resultobj
= Py_None
;
24511 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
;
24513 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24515 PyObject
* obj0
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "self", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24522 if (SWIG_arg_fail(1)) SWIG_fail
;
24523 result
= (wxColour
*)& ((arg1
)->colBg
);
24525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24532 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24535 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24537 return Py_BuildValue((char *)"");
24539 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxWindow
*arg1
= (wxWindow
*) 0 ;
24542 int arg2
= (int) (int)-1 ;
24543 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24544 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24545 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24546 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24547 long arg5
= (long) 0 ;
24548 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24549 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24553 bool temp6
= false ;
24554 PyObject
* obj0
= 0 ;
24555 PyObject
* obj1
= 0 ;
24556 PyObject
* obj2
= 0 ;
24557 PyObject
* obj3
= 0 ;
24558 PyObject
* obj4
= 0 ;
24559 PyObject
* obj5
= 0 ;
24560 char *kwnames
[] = {
24561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24566 if (SWIG_arg_fail(1)) SWIG_fail
;
24569 arg2
= (int const)(SWIG_As_int(obj1
));
24570 if (SWIG_arg_fail(2)) SWIG_fail
;
24576 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24582 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24587 arg5
= (long)(SWIG_As_long(obj4
));
24588 if (SWIG_arg_fail(5)) SWIG_fail
;
24593 arg6
= wxString_in_helper(obj5
);
24594 if (arg6
== NULL
) SWIG_fail
;
24599 if (!wxPyCheckForApp()) SWIG_fail
;
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24621 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24624 char *kwnames
[] = {
24628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24630 if (!wxPyCheckForApp()) SWIG_fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (wxWindow
*)new wxWindow();
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24644 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxWindow
*arg1
= (wxWindow
*) 0 ;
24647 wxWindow
*arg2
= (wxWindow
*) 0 ;
24648 int arg3
= (int) (int)-1 ;
24649 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24650 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24651 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24652 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24653 long arg6
= (long) 0 ;
24654 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24655 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24659 bool temp7
= false ;
24660 PyObject
* obj0
= 0 ;
24661 PyObject
* obj1
= 0 ;
24662 PyObject
* obj2
= 0 ;
24663 PyObject
* obj3
= 0 ;
24664 PyObject
* obj4
= 0 ;
24665 PyObject
* obj5
= 0 ;
24666 PyObject
* obj6
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24672 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24673 if (SWIG_arg_fail(1)) SWIG_fail
;
24674 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24675 if (SWIG_arg_fail(2)) SWIG_fail
;
24678 arg3
= (int const)(SWIG_As_int(obj2
));
24679 if (SWIG_arg_fail(3)) SWIG_fail
;
24685 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24691 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24696 arg6
= (long)(SWIG_As_long(obj5
));
24697 if (SWIG_arg_fail(6)) SWIG_fail
;
24702 arg7
= wxString_in_helper(obj6
);
24703 if (arg7
== NULL
) SWIG_fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24731 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
;
24733 wxWindow
*arg1
= (wxWindow
*) 0 ;
24734 bool arg2
= (bool) false ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self",(char *) "force", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24744 if (SWIG_arg_fail(1)) SWIG_fail
;
24747 arg2
= (bool)(SWIG_As_bool(obj1
));
24748 if (SWIG_arg_fail(2)) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (bool)(arg1
)->Close(arg2
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24767 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxWindow
*arg1
= (wxWindow
*) 0 ;
24771 PyObject
* obj0
= 0 ;
24772 char *kwnames
[] = {
24773 (char *) "self", NULL
24776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
24777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24778 if (SWIG_arg_fail(1)) SWIG_fail
;
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= (bool)(arg1
)->Destroy();
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24795 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24796 PyObject
*resultobj
;
24797 wxWindow
*arg1
= (wxWindow
*) 0 ;
24799 PyObject
* obj0
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
24805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24806 if (SWIG_arg_fail(1)) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (bool)(arg1
)->DestroyChildren();
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24823 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxWindow
*arg1
= (wxWindow
*) 0 ;
24827 PyObject
* obj0
= 0 ;
24828 char *kwnames
[] = {
24829 (char *) "self", NULL
24832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
24833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24834 if (SWIG_arg_fail(1)) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24851 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxWindow
*arg1
= (wxWindow
*) 0 ;
24854 wxString
*arg2
= 0 ;
24855 bool temp2
= false ;
24856 PyObject
* obj0
= 0 ;
24857 PyObject
* obj1
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self",(char *) "title", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
24863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24864 if (SWIG_arg_fail(1)) SWIG_fail
;
24866 arg2
= wxString_in_helper(obj1
);
24867 if (arg2
== NULL
) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 (arg1
)->SetTitle((wxString
const &)*arg2
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24877 Py_INCREF(Py_None
); resultobj
= Py_None
;
24892 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24893 PyObject
*resultobj
;
24894 wxWindow
*arg1
= (wxWindow
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 char *kwnames
[] = {
24898 (char *) "self", NULL
24901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
24902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24903 if (SWIG_arg_fail(1)) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= ((wxWindow
const *)arg1
)->GetTitle();
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24924 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24925 PyObject
*resultobj
;
24926 wxWindow
*arg1
= (wxWindow
*) 0 ;
24927 wxString
*arg2
= 0 ;
24928 bool temp2
= false ;
24929 PyObject
* obj0
= 0 ;
24930 PyObject
* obj1
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "label", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24937 if (SWIG_arg_fail(1)) SWIG_fail
;
24939 arg2
= wxString_in_helper(obj1
);
24940 if (arg2
== NULL
) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 (arg1
)->SetLabel((wxString
const &)*arg2
);
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24950 Py_INCREF(Py_None
); resultobj
= Py_None
;
24965 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxWindow
*arg1
= (wxWindow
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 char *kwnames
[] = {
24971 (char *) "self", NULL
24974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
24975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24976 if (SWIG_arg_fail(1)) SWIG_fail
;
24978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24979 result
= ((wxWindow
const *)arg1
)->GetLabel();
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24997 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxWindow
*arg1
= (wxWindow
*) 0 ;
25000 wxString
*arg2
= 0 ;
25001 bool temp2
= false ;
25002 PyObject
* obj0
= 0 ;
25003 PyObject
* obj1
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self",(char *) "name", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25010 if (SWIG_arg_fail(1)) SWIG_fail
;
25012 arg2
= wxString_in_helper(obj1
);
25013 if (arg2
== NULL
) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->SetName((wxString
const &)*arg2
);
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 Py_INCREF(Py_None
); resultobj
= Py_None
;
25038 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxWindow
*arg1
= (wxWindow
*) 0 ;
25042 PyObject
* obj0
= 0 ;
25043 char *kwnames
[] = {
25044 (char *) "self", NULL
25047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25049 if (SWIG_arg_fail(1)) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= ((wxWindow
const *)arg1
)->GetName();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25070 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxWindow
*arg1
= (wxWindow
*) 0 ;
25073 wxWindowVariant arg2
;
25074 PyObject
* obj0
= 0 ;
25075 PyObject
* obj1
= 0 ;
25076 char *kwnames
[] = {
25077 (char *) "self",(char *) "variant", NULL
25080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25082 if (SWIG_arg_fail(1)) SWIG_fail
;
25084 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25085 if (SWIG_arg_fail(2)) SWIG_fail
;
25088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25089 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25094 Py_INCREF(Py_None
); resultobj
= Py_None
;
25101 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25102 PyObject
*resultobj
;
25103 wxWindow
*arg1
= (wxWindow
*) 0 ;
25104 wxWindowVariant result
;
25105 PyObject
* obj0
= 0 ;
25106 char *kwnames
[] = {
25107 (char *) "self", NULL
25110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25112 if (SWIG_arg_fail(1)) SWIG_fail
;
25114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25115 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= SWIG_From_int((result
));
25127 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxWindow
*arg1
= (wxWindow
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 char *kwnames
[] = {
25134 (char *) "self",(char *) "winid", NULL
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25139 if (SWIG_arg_fail(1)) SWIG_fail
;
25141 arg2
= (int)(SWIG_As_int(obj1
));
25142 if (SWIG_arg_fail(2)) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 (arg1
)->SetId(arg2
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 Py_INCREF(Py_None
); resultobj
= Py_None
;
25158 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxWindow
*arg1
= (wxWindow
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25169 if (SWIG_arg_fail(1)) SWIG_fail
;
25171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25172 result
= (int)((wxWindow
const *)arg1
)->GetId();
25174 wxPyEndAllowThreads(__tstate
);
25175 if (PyErr_Occurred()) SWIG_fail
;
25178 resultobj
= SWIG_From_int((int)(result
));
25186 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25187 PyObject
*resultobj
;
25189 char *kwnames
[] = {
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 result
= (int)wxWindow::NewControlId();
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25202 resultobj
= SWIG_From_int((int)(result
));
25210 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25211 PyObject
*resultobj
;
25214 PyObject
* obj0
= 0 ;
25215 char *kwnames
[] = {
25216 (char *) "winid", NULL
25219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25221 arg1
= (int)(SWIG_As_int(obj0
));
25222 if (SWIG_arg_fail(1)) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (int)wxWindow::NextControlId(arg1
);
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_From_int((int)(result
));
25240 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
;
25244 PyObject
* obj0
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "winid", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25251 arg1
= (int)(SWIG_As_int(obj0
));
25252 if (SWIG_arg_fail(1)) SWIG_fail
;
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (int)wxWindow::PrevControlId(arg1
);
25258 wxPyEndAllowThreads(__tstate
);
25259 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_From_int((int)(result
));
25270 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25271 PyObject
*resultobj
;
25272 wxWindow
*arg1
= (wxWindow
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 char *kwnames
[] = {
25278 (char *) "self",(char *) "size", NULL
25281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25283 if (SWIG_arg_fail(1)) SWIG_fail
;
25286 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 (arg1
)->SetSize((wxSize
const &)*arg2
);
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25295 Py_INCREF(Py_None
); resultobj
= Py_None
;
25302 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25303 PyObject
*resultobj
;
25304 wxWindow
*arg1
= (wxWindow
*) 0 ;
25309 int arg6
= (int) wxSIZE_AUTO
;
25310 PyObject
* obj0
= 0 ;
25311 PyObject
* obj1
= 0 ;
25312 PyObject
* obj2
= 0 ;
25313 PyObject
* obj3
= 0 ;
25314 PyObject
* obj4
= 0 ;
25315 PyObject
* obj5
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25322 if (SWIG_arg_fail(1)) SWIG_fail
;
25324 arg2
= (int)(SWIG_As_int(obj1
));
25325 if (SWIG_arg_fail(2)) SWIG_fail
;
25328 arg3
= (int)(SWIG_As_int(obj2
));
25329 if (SWIG_arg_fail(3)) SWIG_fail
;
25332 arg4
= (int)(SWIG_As_int(obj3
));
25333 if (SWIG_arg_fail(4)) SWIG_fail
;
25336 arg5
= (int)(SWIG_As_int(obj4
));
25337 if (SWIG_arg_fail(5)) SWIG_fail
;
25341 arg6
= (int)(SWIG_As_int(obj5
));
25342 if (SWIG_arg_fail(6)) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 Py_INCREF(Py_None
); resultobj
= Py_None
;
25359 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
;
25361 wxWindow
*arg1
= (wxWindow
*) 0 ;
25363 int arg3
= (int) wxSIZE_AUTO
;
25365 PyObject
* obj0
= 0 ;
25366 PyObject
* obj1
= 0 ;
25367 PyObject
* obj2
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25374 if (SWIG_arg_fail(1)) SWIG_fail
;
25377 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25381 arg3
= (int)(SWIG_As_int(obj2
));
25382 if (SWIG_arg_fail(3)) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 Py_INCREF(Py_None
); resultobj
= Py_None
;
25399 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25400 PyObject
*resultobj
;
25401 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 PyObject
* obj0
= 0 ;
25405 PyObject
* obj1
= 0 ;
25406 PyObject
* obj2
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self",(char *) "width",(char *) "height", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25413 if (SWIG_arg_fail(1)) SWIG_fail
;
25415 arg2
= (int)(SWIG_As_int(obj1
));
25416 if (SWIG_arg_fail(2)) SWIG_fail
;
25419 arg3
= (int)(SWIG_As_int(obj2
));
25420 if (SWIG_arg_fail(3)) SWIG_fail
;
25423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25424 (arg1
)->SetSize(arg2
,arg3
);
25426 wxPyEndAllowThreads(__tstate
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25429 Py_INCREF(Py_None
); resultobj
= Py_None
;
25436 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25437 PyObject
*resultobj
;
25438 wxWindow
*arg1
= (wxWindow
*) 0 ;
25439 wxPoint
*arg2
= 0 ;
25440 int arg3
= (int) wxSIZE_USE_EXISTING
;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 PyObject
* obj2
= 0 ;
25445 char *kwnames
[] = {
25446 (char *) "self",(char *) "pt",(char *) "flags", NULL
25449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25451 if (SWIG_arg_fail(1)) SWIG_fail
;
25454 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25458 arg3
= (int)(SWIG_As_int(obj2
));
25459 if (SWIG_arg_fail(3)) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 Py_INCREF(Py_None
); resultobj
= Py_None
;
25476 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxWindow
*arg1
= (wxWindow
*) 0 ;
25481 int arg4
= (int) wxSIZE_USE_EXISTING
;
25482 PyObject
* obj0
= 0 ;
25483 PyObject
* obj1
= 0 ;
25484 PyObject
* obj2
= 0 ;
25485 PyObject
* obj3
= 0 ;
25486 char *kwnames
[] = {
25487 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25492 if (SWIG_arg_fail(1)) SWIG_fail
;
25494 arg2
= (int)(SWIG_As_int(obj1
));
25495 if (SWIG_arg_fail(2)) SWIG_fail
;
25498 arg3
= (int)(SWIG_As_int(obj2
));
25499 if (SWIG_arg_fail(3)) SWIG_fail
;
25503 arg4
= (int)(SWIG_As_int(obj3
));
25504 if (SWIG_arg_fail(4)) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 (arg1
)->Move(arg2
,arg3
,arg4
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 Py_INCREF(Py_None
); resultobj
= Py_None
;
25521 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxWindow
*arg1
= (wxWindow
*) 0 ;
25524 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25525 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 char *kwnames
[] = {
25530 (char *) "self",(char *) "size", NULL
25533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25535 if (SWIG_arg_fail(1)) SWIG_fail
;
25539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 Py_INCREF(Py_None
); resultobj
= Py_None
;
25556 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25557 PyObject
*resultobj
;
25558 wxWindow
*arg1
= (wxWindow
*) 0 ;
25559 PyObject
* obj0
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25566 if (SWIG_arg_fail(1)) SWIG_fail
;
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 Py_INCREF(Py_None
); resultobj
= Py_None
;
25581 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxWindow
*arg1
= (wxWindow
*) 0 ;
25584 PyObject
* obj0
= 0 ;
25585 char *kwnames
[] = {
25586 (char *) "self", NULL
25589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25591 if (SWIG_arg_fail(1)) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 Py_INCREF(Py_None
); resultobj
= Py_None
;
25606 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxWindow
*arg1
= (wxWindow
*) 0 ;
25611 PyObject
* obj0
= 0 ;
25612 PyObject
* obj1
= 0 ;
25613 char *kwnames
[] = {
25614 (char *) "self",(char *) "size", NULL
25617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25619 if (SWIG_arg_fail(1)) SWIG_fail
;
25622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 Py_INCREF(Py_None
); resultobj
= Py_None
;
25638 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxWindow
*arg1
= (wxWindow
*) 0 ;
25643 PyObject
* obj0
= 0 ;
25644 PyObject
* obj1
= 0 ;
25645 PyObject
* obj2
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "self",(char *) "width",(char *) "height", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25652 if (SWIG_arg_fail(1)) SWIG_fail
;
25654 arg2
= (int)(SWIG_As_int(obj1
));
25655 if (SWIG_arg_fail(2)) SWIG_fail
;
25658 arg3
= (int)(SWIG_As_int(obj2
));
25659 if (SWIG_arg_fail(3)) SWIG_fail
;
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25663 (arg1
)->SetClientSize(arg2
,arg3
);
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25668 Py_INCREF(Py_None
); resultobj
= Py_None
;
25675 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25676 PyObject
*resultobj
;
25677 wxWindow
*arg1
= (wxWindow
*) 0 ;
25680 PyObject
* obj0
= 0 ;
25681 PyObject
* obj1
= 0 ;
25682 char *kwnames
[] = {
25683 (char *) "self",(char *) "rect", NULL
25686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25688 if (SWIG_arg_fail(1)) SWIG_fail
;
25691 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25695 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25697 wxPyEndAllowThreads(__tstate
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25700 Py_INCREF(Py_None
); resultobj
= Py_None
;
25707 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25708 PyObject
*resultobj
;
25709 wxWindow
*arg1
= (wxWindow
*) 0 ;
25711 PyObject
* obj0
= 0 ;
25712 char *kwnames
[] = {
25713 (char *) "self", NULL
25716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25718 if (SWIG_arg_fail(1)) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 result
= (arg1
)->GetPosition();
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25727 wxPoint
* resultptr
;
25728 resultptr
= new wxPoint((wxPoint
&)(result
));
25729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25737 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
;
25739 wxWindow
*arg1
= (wxWindow
*) 0 ;
25740 int *arg2
= (int *) 0 ;
25741 int *arg3
= (int *) 0 ;
25746 PyObject
* obj0
= 0 ;
25747 char *kwnames
[] = {
25748 (char *) "self", NULL
25751 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25752 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25755 if (SWIG_arg_fail(1)) SWIG_fail
;
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 (arg1
)->GetPosition(arg2
,arg3
);
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25763 Py_INCREF(Py_None
); resultobj
= Py_None
;
25764 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25765 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25766 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25767 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25774 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxWindow
*arg1
= (wxWindow
*) 0 ;
25778 PyObject
* obj0
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
25784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25785 if (SWIG_arg_fail(1)) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= ((wxWindow
const *)arg1
)->GetSize();
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 wxSize
* resultptr
;
25795 resultptr
= new wxSize((wxSize
&)(result
));
25796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25804 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxWindow
*arg1
= (wxWindow
*) 0 ;
25807 int *arg2
= (int *) 0 ;
25808 int *arg3
= (int *) 0 ;
25813 PyObject
* obj0
= 0 ;
25814 char *kwnames
[] = {
25815 (char *) "self", NULL
25818 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25819 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
25821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25822 if (SWIG_arg_fail(1)) SWIG_fail
;
25824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25825 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
25827 wxPyEndAllowThreads(__tstate
);
25828 if (PyErr_Occurred()) SWIG_fail
;
25830 Py_INCREF(Py_None
); resultobj
= Py_None
;
25831 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25832 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25833 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25834 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25841 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
;
25843 wxWindow
*arg1
= (wxWindow
*) 0 ;
25845 PyObject
* obj0
= 0 ;
25846 char *kwnames
[] = {
25847 (char *) "self", NULL
25850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
25851 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25852 if (SWIG_arg_fail(1)) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 result
= ((wxWindow
const *)arg1
)->GetRect();
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25861 wxRect
* resultptr
;
25862 resultptr
= new wxRect((wxRect
&)(result
));
25863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25871 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxWindow
*arg1
= (wxWindow
*) 0 ;
25875 PyObject
* obj0
= 0 ;
25876 char *kwnames
[] = {
25877 (char *) "self", NULL
25880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
25881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25882 if (SWIG_arg_fail(1)) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= ((wxWindow
const *)arg1
)->GetClientSize();
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25891 wxSize
* resultptr
;
25892 resultptr
= new wxSize((wxSize
&)(result
));
25893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25901 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxWindow
*arg1
= (wxWindow
*) 0 ;
25904 int *arg2
= (int *) 0 ;
25905 int *arg3
= (int *) 0 ;
25910 PyObject
* obj0
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self", NULL
25915 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25916 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
25918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25919 if (SWIG_arg_fail(1)) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 Py_INCREF(Py_None
); resultobj
= Py_None
;
25928 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25929 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25930 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25931 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25938 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
;
25940 wxWindow
*arg1
= (wxWindow
*) 0 ;
25942 PyObject
* obj0
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
25948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25949 if (SWIG_arg_fail(1)) SWIG_fail
;
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25958 wxPoint
* resultptr
;
25959 resultptr
= new wxPoint((wxPoint
&)(result
));
25960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25968 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25969 PyObject
*resultobj
;
25970 wxWindow
*arg1
= (wxWindow
*) 0 ;
25972 PyObject
* obj0
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
25978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25979 if (SWIG_arg_fail(1)) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= ((wxWindow
const *)arg1
)->GetClientRect();
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25988 wxRect
* resultptr
;
25989 resultptr
= new wxRect((wxRect
&)(result
));
25990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25998 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxWindow
*arg1
= (wxWindow
*) 0 ;
26002 PyObject
* obj0
= 0 ;
26003 char *kwnames
[] = {
26004 (char *) "self", NULL
26007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26009 if (SWIG_arg_fail(1)) SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26018 wxSize
* resultptr
;
26019 resultptr
= new wxSize((wxSize
&)(result
));
26020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26028 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxWindow
*arg1
= (wxWindow
*) 0 ;
26031 int *arg2
= (int *) 0 ;
26032 int *arg3
= (int *) 0 ;
26037 PyObject
* obj0
= 0 ;
26038 char *kwnames
[] = {
26039 (char *) "self", NULL
26042 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26043 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26046 if (SWIG_arg_fail(1)) SWIG_fail
;
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26051 wxPyEndAllowThreads(__tstate
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26054 Py_INCREF(Py_None
); resultobj
= Py_None
;
26055 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26056 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26057 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26058 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26065 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
;
26067 wxWindow
*arg1
= (wxWindow
*) 0 ;
26068 PyObject
* obj0
= 0 ;
26069 char *kwnames
[] = {
26070 (char *) "self", NULL
26073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26075 if (SWIG_arg_fail(1)) SWIG_fail
;
26077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26078 (arg1
)->InvalidateBestSize();
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26083 Py_INCREF(Py_None
); resultobj
= Py_None
;
26090 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26091 PyObject
*resultobj
;
26092 wxWindow
*arg1
= (wxWindow
*) 0 ;
26094 PyObject
* obj0
= 0 ;
26095 char *kwnames
[] = {
26096 (char *) "self", NULL
26099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26101 if (SWIG_arg_fail(1)) SWIG_fail
;
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26110 wxSize
* resultptr
;
26111 resultptr
= new wxSize((wxSize
&)(result
));
26112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26120 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxWindow
*arg1
= (wxWindow
*) 0 ;
26124 PyObject
* obj0
= 0 ;
26125 char *kwnames
[] = {
26126 (char *) "self", NULL
26129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26131 if (SWIG_arg_fail(1)) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26140 wxSize
* resultptr
;
26141 resultptr
= new wxSize((wxSize
&)(result
));
26142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26150 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxWindow
*arg1
= (wxWindow
*) 0 ;
26153 int arg2
= (int) wxBOTH
;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self",(char *) "direction", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26162 if (SWIG_arg_fail(1)) SWIG_fail
;
26165 arg2
= (int)(SWIG_As_int(obj1
));
26166 if (SWIG_arg_fail(2)) SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 (arg1
)->Center(arg2
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 Py_INCREF(Py_None
); resultobj
= Py_None
;
26183 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxWindow
*arg1
= (wxWindow
*) 0 ;
26186 int arg2
= (int) wxBOTH
;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "dir", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26195 if (SWIG_arg_fail(1)) SWIG_fail
;
26198 arg2
= (int)(SWIG_As_int(obj1
));
26199 if (SWIG_arg_fail(2)) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->CenterOnScreen(arg2
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxWindow
*arg1
= (wxWindow
*) 0 ;
26219 int arg2
= (int) wxBOTH
;
26220 PyObject
* obj0
= 0 ;
26221 PyObject
* obj1
= 0 ;
26222 char *kwnames
[] = {
26223 (char *) "self",(char *) "dir", NULL
26226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26228 if (SWIG_arg_fail(1)) SWIG_fail
;
26231 arg2
= (int)(SWIG_As_int(obj1
));
26232 if (SWIG_arg_fail(2)) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26237 (arg1
)->CenterOnParent(arg2
);
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 Py_INCREF(Py_None
); resultobj
= Py_None
;
26249 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxWindow
*arg1
= (wxWindow
*) 0 ;
26252 PyObject
* obj0
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self", NULL
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26258 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26259 if (SWIG_arg_fail(1)) SWIG_fail
;
26261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 Py_INCREF(Py_None
); resultobj
= Py_None
;
26274 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
;
26276 wxWindow
*arg1
= (wxWindow
*) 0 ;
26277 PyObject
* obj0
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26284 if (SWIG_arg_fail(1)) SWIG_fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 (arg1
)->FitInside();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26292 Py_INCREF(Py_None
); resultobj
= Py_None
;
26299 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxWindow
*arg1
= (wxWindow
*) 0 ;
26304 int arg4
= (int) -1 ;
26305 int arg5
= (int) -1 ;
26306 int arg6
= (int) -1 ;
26307 int arg7
= (int) -1 ;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 PyObject
* obj2
= 0 ;
26311 PyObject
* obj3
= 0 ;
26312 PyObject
* obj4
= 0 ;
26313 PyObject
* obj5
= 0 ;
26314 PyObject
* obj6
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26321 if (SWIG_arg_fail(1)) SWIG_fail
;
26323 arg2
= (int)(SWIG_As_int(obj1
));
26324 if (SWIG_arg_fail(2)) SWIG_fail
;
26327 arg3
= (int)(SWIG_As_int(obj2
));
26328 if (SWIG_arg_fail(3)) SWIG_fail
;
26332 arg4
= (int)(SWIG_As_int(obj3
));
26333 if (SWIG_arg_fail(4)) SWIG_fail
;
26338 arg5
= (int)(SWIG_As_int(obj4
));
26339 if (SWIG_arg_fail(5)) SWIG_fail
;
26344 arg6
= (int)(SWIG_As_int(obj5
));
26345 if (SWIG_arg_fail(6)) SWIG_fail
;
26350 arg7
= (int)(SWIG_As_int(obj6
));
26351 if (SWIG_arg_fail(7)) SWIG_fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26361 Py_INCREF(Py_None
); resultobj
= Py_None
;
26368 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxWindow
*arg1
= (wxWindow
*) 0 ;
26372 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26373 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26374 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26375 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 PyObject
* obj2
= 0 ;
26382 PyObject
* obj3
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26389 if (SWIG_arg_fail(1)) SWIG_fail
;
26392 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26397 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26403 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 Py_INCREF(Py_None
); resultobj
= Py_None
;
26420 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxWindow
*arg1
= (wxWindow
*) 0 ;
26425 int arg4
= (int) -1 ;
26426 int arg5
= (int) -1 ;
26427 PyObject
* obj0
= 0 ;
26428 PyObject
* obj1
= 0 ;
26429 PyObject
* obj2
= 0 ;
26430 PyObject
* obj3
= 0 ;
26431 PyObject
* obj4
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26438 if (SWIG_arg_fail(1)) SWIG_fail
;
26440 arg2
= (int)(SWIG_As_int(obj1
));
26441 if (SWIG_arg_fail(2)) SWIG_fail
;
26444 arg3
= (int)(SWIG_As_int(obj2
));
26445 if (SWIG_arg_fail(3)) SWIG_fail
;
26449 arg4
= (int)(SWIG_As_int(obj3
));
26450 if (SWIG_arg_fail(4)) SWIG_fail
;
26455 arg5
= (int)(SWIG_As_int(obj4
));
26456 if (SWIG_arg_fail(5)) SWIG_fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26463 wxPyEndAllowThreads(__tstate
);
26464 if (PyErr_Occurred()) SWIG_fail
;
26466 Py_INCREF(Py_None
); resultobj
= Py_None
;
26473 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26474 PyObject
*resultobj
;
26475 wxWindow
*arg1
= (wxWindow
*) 0 ;
26477 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26478 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26481 PyObject
* obj0
= 0 ;
26482 PyObject
* obj1
= 0 ;
26483 PyObject
* obj2
= 0 ;
26484 char *kwnames
[] = {
26485 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26490 if (SWIG_arg_fail(1)) SWIG_fail
;
26493 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26498 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26508 Py_INCREF(Py_None
); resultobj
= Py_None
;
26515 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
;
26517 wxWindow
*arg1
= (wxWindow
*) 0 ;
26519 PyObject
* obj0
= 0 ;
26520 char *kwnames
[] = {
26521 (char *) "self", NULL
26524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26526 if (SWIG_arg_fail(1)) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26535 wxSize
* resultptr
;
26536 resultptr
= new wxSize((wxSize
&)(result
));
26537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26545 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26546 PyObject
*resultobj
;
26547 wxWindow
*arg1
= (wxWindow
*) 0 ;
26549 PyObject
* obj0
= 0 ;
26550 char *kwnames
[] = {
26551 (char *) "self", NULL
26554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26556 if (SWIG_arg_fail(1)) SWIG_fail
;
26558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26559 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26565 wxSize
* resultptr
;
26566 resultptr
= new wxSize((wxSize
&)(result
));
26567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26575 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
;
26577 wxWindow
*arg1
= (wxWindow
*) 0 ;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self",(char *) "minSize", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26588 if (SWIG_arg_fail(1)) SWIG_fail
;
26591 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 Py_INCREF(Py_None
); resultobj
= Py_None
;
26607 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26608 PyObject
*resultobj
;
26609 wxWindow
*arg1
= (wxWindow
*) 0 ;
26612 PyObject
* obj0
= 0 ;
26613 PyObject
* obj1
= 0 ;
26614 char *kwnames
[] = {
26615 (char *) "self",(char *) "maxSize", NULL
26618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26620 if (SWIG_arg_fail(1)) SWIG_fail
;
26623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 Py_INCREF(Py_None
); resultobj
= Py_None
;
26639 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26640 PyObject
*resultobj
;
26641 wxWindow
*arg1
= (wxWindow
*) 0 ;
26643 PyObject
* obj0
= 0 ;
26644 char *kwnames
[] = {
26645 (char *) "self", NULL
26648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26650 if (SWIG_arg_fail(1)) SWIG_fail
;
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= SWIG_From_int((int)(result
));
26667 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
;
26669 wxWindow
*arg1
= (wxWindow
*) 0 ;
26671 PyObject
* obj0
= 0 ;
26672 char *kwnames
[] = {
26673 (char *) "self", NULL
26676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26678 if (SWIG_arg_fail(1)) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26683 wxPyEndAllowThreads(__tstate
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= SWIG_From_int((int)(result
));
26695 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26696 PyObject
*resultobj
;
26697 wxWindow
*arg1
= (wxWindow
*) 0 ;
26699 PyObject
* obj0
= 0 ;
26700 char *kwnames
[] = {
26701 (char *) "self", NULL
26704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26706 if (SWIG_arg_fail(1)) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= SWIG_From_int((int)(result
));
26723 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26724 PyObject
*resultobj
;
26725 wxWindow
*arg1
= (wxWindow
*) 0 ;
26727 PyObject
* obj0
= 0 ;
26728 char *kwnames
[] = {
26729 (char *) "self", NULL
26732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26734 if (SWIG_arg_fail(1)) SWIG_fail
;
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26737 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_From_int((int)(result
));
26751 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26752 PyObject
*resultobj
;
26753 wxWindow
*arg1
= (wxWindow
*) 0 ;
26756 PyObject
* obj0
= 0 ;
26757 PyObject
* obj1
= 0 ;
26758 char *kwnames
[] = {
26759 (char *) "self",(char *) "size", NULL
26762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26764 if (SWIG_arg_fail(1)) SWIG_fail
;
26767 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26776 Py_INCREF(Py_None
); resultobj
= Py_None
;
26783 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26784 PyObject
*resultobj
;
26785 wxWindow
*arg1
= (wxWindow
*) 0 ;
26788 PyObject
* obj0
= 0 ;
26789 PyObject
* obj1
= 0 ;
26790 PyObject
* obj2
= 0 ;
26791 char *kwnames
[] = {
26792 (char *) "self",(char *) "w",(char *) "h", NULL
26795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26797 if (SWIG_arg_fail(1)) SWIG_fail
;
26799 arg2
= (int)(SWIG_As_int(obj1
));
26800 if (SWIG_arg_fail(2)) SWIG_fail
;
26803 arg3
= (int)(SWIG_As_int(obj2
));
26804 if (SWIG_arg_fail(3)) SWIG_fail
;
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 (arg1
)->SetVirtualSize(arg2
,arg3
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 Py_INCREF(Py_None
); resultobj
= Py_None
;
26820 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxWindow
*arg1
= (wxWindow
*) 0 ;
26824 PyObject
* obj0
= 0 ;
26825 char *kwnames
[] = {
26826 (char *) "self", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
26830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26831 if (SWIG_arg_fail(1)) SWIG_fail
;
26833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26834 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
26836 wxPyEndAllowThreads(__tstate
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 wxSize
* resultptr
;
26841 resultptr
= new wxSize((wxSize
&)(result
));
26842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26850 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
;
26852 wxWindow
*arg1
= (wxWindow
*) 0 ;
26853 int *arg2
= (int *) 0 ;
26854 int *arg3
= (int *) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self", NULL
26864 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26865 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
26867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26868 if (SWIG_arg_fail(1)) SWIG_fail
;
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26876 Py_INCREF(Py_None
); resultobj
= Py_None
;
26877 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26878 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26879 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26880 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26887 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26888 PyObject
*resultobj
;
26889 wxWindow
*arg1
= (wxWindow
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 char *kwnames
[] = {
26893 (char *) "self", NULL
26896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
26897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26898 if (SWIG_arg_fail(1)) SWIG_fail
;
26900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26901 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
26903 wxPyEndAllowThreads(__tstate
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26907 wxSize
* resultptr
;
26908 resultptr
= new wxSize((wxSize
&)(result
));
26909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26917 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26918 PyObject
*resultobj
;
26919 wxWindow
*arg1
= (wxWindow
*) 0 ;
26920 bool arg2
= (bool) true ;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "self",(char *) "show", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
26929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26930 if (SWIG_arg_fail(1)) SWIG_fail
;
26933 arg2
= (bool)(SWIG_As_bool(obj1
));
26934 if (SWIG_arg_fail(2)) SWIG_fail
;
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 result
= (bool)(arg1
)->Show(arg2
);
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26953 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxWindow
*arg1
= (wxWindow
*) 0 ;
26957 PyObject
* obj0
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
26963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 result
= (bool)(arg1
)->Hide();
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26981 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26982 PyObject
*resultobj
;
26983 wxWindow
*arg1
= (wxWindow
*) 0 ;
26984 bool arg2
= (bool) true ;
26986 PyObject
* obj0
= 0 ;
26987 PyObject
* obj1
= 0 ;
26988 char *kwnames
[] = {
26989 (char *) "self",(char *) "enable", NULL
26992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
26993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26994 if (SWIG_arg_fail(1)) SWIG_fail
;
26997 arg2
= (bool)(SWIG_As_bool(obj1
));
26998 if (SWIG_arg_fail(2)) SWIG_fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 result
= (bool)(arg1
)->Enable(arg2
);
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27017 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27018 PyObject
*resultobj
;
27019 wxWindow
*arg1
= (wxWindow
*) 0 ;
27021 PyObject
* obj0
= 0 ;
27022 char *kwnames
[] = {
27023 (char *) "self", NULL
27026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27028 if (SWIG_arg_fail(1)) SWIG_fail
;
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 result
= (bool)(arg1
)->Disable();
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27045 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxWindow
*arg1
= (wxWindow
*) 0 ;
27049 PyObject
* obj0
= 0 ;
27050 char *kwnames
[] = {
27051 (char *) "self", NULL
27054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27056 if (SWIG_arg_fail(1)) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27073 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27074 PyObject
*resultobj
;
27075 wxWindow
*arg1
= (wxWindow
*) 0 ;
27077 PyObject
* obj0
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",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 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27101 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxWindow
*arg1
= (wxWindow
*) 0 ;
27105 PyObject
* obj0
= 0 ;
27106 PyObject
* obj1
= 0 ;
27107 char *kwnames
[] = {
27108 (char *) "self",(char *) "style", NULL
27111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27113 if (SWIG_arg_fail(1)) SWIG_fail
;
27115 arg2
= (long)(SWIG_As_long(obj1
));
27116 if (SWIG_arg_fail(2)) SWIG_fail
;
27119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27120 (arg1
)->SetWindowStyleFlag(arg2
);
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27125 Py_INCREF(Py_None
); resultobj
= Py_None
;
27132 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxWindow
*arg1
= (wxWindow
*) 0 ;
27136 PyObject
* obj0
= 0 ;
27137 char *kwnames
[] = {
27138 (char *) "self", NULL
27141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27143 if (SWIG_arg_fail(1)) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= SWIG_From_long((long)(result
));
27160 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxWindow
*arg1
= (wxWindow
*) 0 ;
27165 PyObject
* obj0
= 0 ;
27166 PyObject
* obj1
= 0 ;
27167 char *kwnames
[] = {
27168 (char *) "self",(char *) "flag", NULL
27171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27173 if (SWIG_arg_fail(1)) SWIG_fail
;
27175 arg2
= (int)(SWIG_As_int(obj1
));
27176 if (SWIG_arg_fail(2)) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27182 wxPyEndAllowThreads(__tstate
);
27183 if (PyErr_Occurred()) SWIG_fail
;
27186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27194 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
;
27196 wxWindow
*arg1
= (wxWindow
*) 0 ;
27198 PyObject
* obj0
= 0 ;
27199 char *kwnames
[] = {
27200 (char *) "self", NULL
27203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27205 if (SWIG_arg_fail(1)) SWIG_fail
;
27207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27208 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27210 wxPyEndAllowThreads(__tstate
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27222 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
;
27224 wxWindow
*arg1
= (wxWindow
*) 0 ;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self",(char *) "exStyle", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27234 if (SWIG_arg_fail(1)) SWIG_fail
;
27236 arg2
= (long)(SWIG_As_long(obj1
));
27237 if (SWIG_arg_fail(2)) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 (arg1
)->SetExtraStyle(arg2
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 Py_INCREF(Py_None
); resultobj
= Py_None
;
27253 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxWindow
*arg1
= (wxWindow
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27264 if (SWIG_arg_fail(1)) SWIG_fail
;
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= SWIG_From_long((long)(result
));
27281 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxWindow
*arg1
= (wxWindow
*) 0 ;
27284 bool arg2
= (bool) true ;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self",(char *) "modal", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27293 if (SWIG_arg_fail(1)) SWIG_fail
;
27296 arg2
= (bool)(SWIG_As_bool(obj1
));
27297 if (SWIG_arg_fail(2)) SWIG_fail
;
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 (arg1
)->MakeModal(arg2
);
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 Py_INCREF(Py_None
); resultobj
= Py_None
;
27314 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
;
27316 wxWindow
*arg1
= (wxWindow
*) 0 ;
27318 PyObject
* obj0
= 0 ;
27319 PyObject
* obj1
= 0 ;
27320 char *kwnames
[] = {
27321 (char *) "self",(char *) "enableTheme", NULL
27324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27326 if (SWIG_arg_fail(1)) SWIG_fail
;
27328 arg2
= (bool)(SWIG_As_bool(obj1
));
27329 if (SWIG_arg_fail(2)) SWIG_fail
;
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 (arg1
)->SetThemeEnabled(arg2
);
27335 wxPyEndAllowThreads(__tstate
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27338 Py_INCREF(Py_None
); resultobj
= Py_None
;
27345 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
;
27347 wxWindow
*arg1
= (wxWindow
*) 0 ;
27349 PyObject
* obj0
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27356 if (SWIG_arg_fail(1)) SWIG_fail
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27373 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
;
27375 wxWindow
*arg1
= (wxWindow
*) 0 ;
27376 PyObject
* obj0
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27383 if (SWIG_arg_fail(1)) SWIG_fail
;
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 (arg1
)->SetFocus();
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27391 Py_INCREF(Py_None
); resultobj
= Py_None
;
27398 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
;
27400 wxWindow
*arg1
= (wxWindow
*) 0 ;
27401 PyObject
* obj0
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27408 if (SWIG_arg_fail(1)) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 (arg1
)->SetFocusFromKbd();
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 Py_INCREF(Py_None
); resultobj
= Py_None
;
27423 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27426 char *kwnames
[] = {
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27432 if (!wxPyCheckForApp()) SWIG_fail
;
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 result
= (wxWindow
*)wxWindow::FindFocus();
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27440 resultobj
= wxPyMake_wxObject(result
, 0);
27448 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxWindow
*arg1
= (wxWindow
*) 0 ;
27452 PyObject
* obj0
= 0 ;
27453 char *kwnames
[] = {
27454 (char *) "self", NULL
27457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27459 if (SWIG_arg_fail(1)) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27476 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
;
27478 wxWindow
*arg1
= (wxWindow
*) 0 ;
27480 PyObject
* obj0
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "self", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27487 if (SWIG_arg_fail(1)) SWIG_fail
;
27489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27490 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27492 wxPyEndAllowThreads(__tstate
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27504 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
;
27506 wxWindow
*arg1
= (wxWindow
*) 0 ;
27508 PyObject
* obj0
= 0 ;
27509 char *kwnames
[] = {
27510 (char *) "self", NULL
27513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27515 if (SWIG_arg_fail(1)) SWIG_fail
;
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27524 resultobj
= wxPyMake_wxObject(result
, 0);
27532 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxWindow
*arg1
= (wxWindow
*) 0 ;
27535 wxWindow
*arg2
= (wxWindow
*) 0 ;
27537 PyObject
* obj0
= 0 ;
27538 PyObject
* obj1
= 0 ;
27539 char *kwnames
[] = {
27540 (char *) "self",(char *) "child", NULL
27543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27545 if (SWIG_arg_fail(1)) SWIG_fail
;
27546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27547 if (SWIG_arg_fail(2)) SWIG_fail
;
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27552 wxPyEndAllowThreads(__tstate
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27556 resultobj
= wxPyMake_wxObject(result
, 0);
27564 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxWindow
*arg1
= (wxWindow
*) 0 ;
27567 wxWindow
*arg2
= (wxWindow
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 PyObject
* obj1
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self",(char *) "win", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",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
;
27577 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27578 if (SWIG_arg_fail(2)) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 (arg1
)->SetTmpDefaultItem(arg2
);
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 Py_INCREF(Py_None
); resultobj
= Py_None
;
27593 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxWindow
*arg1
= (wxWindow
*) 0 ;
27596 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27598 PyObject
* obj0
= 0 ;
27599 PyObject
* obj1
= 0 ;
27600 char *kwnames
[] = {
27601 (char *) "self",(char *) "flags", NULL
27604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27606 if (SWIG_arg_fail(1)) SWIG_fail
;
27609 arg2
= (int)(SWIG_As_int(obj1
));
27610 if (SWIG_arg_fail(2)) SWIG_fail
;
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 result
= (bool)(arg1
)->Navigate(arg2
);
27617 wxPyEndAllowThreads(__tstate
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27629 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxWindow
*arg1
= (wxWindow
*) 0 ;
27632 wxWindow
*arg2
= (wxWindow
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 PyObject
* obj1
= 0 ;
27635 char *kwnames
[] = {
27636 (char *) "self",(char *) "win", NULL
27639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27641 if (SWIG_arg_fail(1)) SWIG_fail
;
27642 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27643 if (SWIG_arg_fail(2)) SWIG_fail
;
27645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27646 (arg1
)->MoveAfterInTabOrder(arg2
);
27648 wxPyEndAllowThreads(__tstate
);
27649 if (PyErr_Occurred()) SWIG_fail
;
27651 Py_INCREF(Py_None
); resultobj
= Py_None
;
27658 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27659 PyObject
*resultobj
;
27660 wxWindow
*arg1
= (wxWindow
*) 0 ;
27661 wxWindow
*arg2
= (wxWindow
*) 0 ;
27662 PyObject
* obj0
= 0 ;
27663 PyObject
* obj1
= 0 ;
27664 char *kwnames
[] = {
27665 (char *) "self",(char *) "win", NULL
27668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27670 if (SWIG_arg_fail(1)) SWIG_fail
;
27671 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27672 if (SWIG_arg_fail(2)) SWIG_fail
;
27674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27675 (arg1
)->MoveBeforeInTabOrder(arg2
);
27677 wxPyEndAllowThreads(__tstate
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27680 Py_INCREF(Py_None
); resultobj
= Py_None
;
27687 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27688 PyObject
*resultobj
;
27689 wxWindow
*arg1
= (wxWindow
*) 0 ;
27691 PyObject
* obj0
= 0 ;
27692 char *kwnames
[] = {
27693 (char *) "self", NULL
27696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27698 if (SWIG_arg_fail(1)) SWIG_fail
;
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 resultobj
= result
;
27713 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
;
27715 wxWindow
*arg1
= (wxWindow
*) 0 ;
27717 PyObject
* obj0
= 0 ;
27718 char *kwnames
[] = {
27719 (char *) "self", NULL
27722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27724 if (SWIG_arg_fail(1)) SWIG_fail
;
27726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27727 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27729 wxPyEndAllowThreads(__tstate
);
27730 if (PyErr_Occurred()) SWIG_fail
;
27733 resultobj
= wxPyMake_wxObject(result
, 0);
27741 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27742 PyObject
*resultobj
;
27743 wxWindow
*arg1
= (wxWindow
*) 0 ;
27745 PyObject
* obj0
= 0 ;
27746 char *kwnames
[] = {
27747 (char *) "self", NULL
27750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27752 if (SWIG_arg_fail(1)) SWIG_fail
;
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27761 resultobj
= wxPyMake_wxObject(result
, 0);
27769 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxWindow
*arg1
= (wxWindow
*) 0 ;
27773 PyObject
* obj0
= 0 ;
27774 char *kwnames
[] = {
27775 (char *) "self", NULL
27778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
27779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27780 if (SWIG_arg_fail(1)) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27797 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27798 PyObject
*resultobj
;
27799 wxWindow
*arg1
= (wxWindow
*) 0 ;
27800 wxWindow
*arg2
= (wxWindow
*) 0 ;
27802 PyObject
* obj0
= 0 ;
27803 PyObject
* obj1
= 0 ;
27804 char *kwnames
[] = {
27805 (char *) "self",(char *) "newParent", NULL
27808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
27809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27810 if (SWIG_arg_fail(1)) SWIG_fail
;
27811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27812 if (SWIG_arg_fail(2)) SWIG_fail
;
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27815 result
= (bool)(arg1
)->Reparent(arg2
);
27817 wxPyEndAllowThreads(__tstate
);
27818 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27829 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxWindow
*arg1
= (wxWindow
*) 0 ;
27832 wxWindow
*arg2
= (wxWindow
*) 0 ;
27833 PyObject
* obj0
= 0 ;
27834 PyObject
* obj1
= 0 ;
27835 char *kwnames
[] = {
27836 (char *) "self",(char *) "child", NULL
27839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27841 if (SWIG_arg_fail(1)) SWIG_fail
;
27842 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27843 if (SWIG_arg_fail(2)) SWIG_fail
;
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 (arg1
)->AddChild(arg2
);
27848 wxPyEndAllowThreads(__tstate
);
27849 if (PyErr_Occurred()) SWIG_fail
;
27851 Py_INCREF(Py_None
); resultobj
= Py_None
;
27858 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27859 PyObject
*resultobj
;
27860 wxWindow
*arg1
= (wxWindow
*) 0 ;
27861 wxWindow
*arg2
= (wxWindow
*) 0 ;
27862 PyObject
* obj0
= 0 ;
27863 PyObject
* obj1
= 0 ;
27864 char *kwnames
[] = {
27865 (char *) "self",(char *) "child", NULL
27868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27870 if (SWIG_arg_fail(1)) SWIG_fail
;
27871 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27872 if (SWIG_arg_fail(2)) SWIG_fail
;
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 (arg1
)->RemoveChild(arg2
);
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27880 Py_INCREF(Py_None
); resultobj
= Py_None
;
27887 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27888 PyObject
*resultobj
;
27889 wxWindow
*arg1
= (wxWindow
*) 0 ;
27892 PyObject
* obj0
= 0 ;
27893 PyObject
* obj1
= 0 ;
27894 char *kwnames
[] = {
27895 (char *) "self",(char *) "winid", NULL
27898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27900 if (SWIG_arg_fail(1)) SWIG_fail
;
27902 arg2
= (long)(SWIG_As_long(obj1
));
27903 if (SWIG_arg_fail(2)) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= wxPyMake_wxObject(result
, 0);
27921 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27922 PyObject
*resultobj
;
27923 wxWindow
*arg1
= (wxWindow
*) 0 ;
27924 wxString
*arg2
= 0 ;
27926 bool temp2
= false ;
27927 PyObject
* obj0
= 0 ;
27928 PyObject
* obj1
= 0 ;
27929 char *kwnames
[] = {
27930 (char *) "self",(char *) "name", NULL
27933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27935 if (SWIG_arg_fail(1)) SWIG_fail
;
27937 arg2
= wxString_in_helper(obj1
);
27938 if (arg2
== NULL
) SWIG_fail
;
27942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27943 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
27945 wxPyEndAllowThreads(__tstate
);
27946 if (PyErr_Occurred()) SWIG_fail
;
27949 resultobj
= wxPyMake_wxObject(result
, 0);
27965 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxWindow
*arg1
= (wxWindow
*) 0 ;
27968 wxEvtHandler
*result
;
27969 PyObject
* obj0
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
27975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27976 if (SWIG_arg_fail(1)) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= wxPyMake_wxObject(result
, 0);
27993 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27994 PyObject
*resultobj
;
27995 wxWindow
*arg1
= (wxWindow
*) 0 ;
27996 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
27997 PyObject
* obj0
= 0 ;
27998 PyObject
* obj1
= 0 ;
27999 char *kwnames
[] = {
28000 (char *) "self",(char *) "handler", NULL
28003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28005 if (SWIG_arg_fail(1)) SWIG_fail
;
28006 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28007 if (SWIG_arg_fail(2)) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 (arg1
)->SetEventHandler(arg2
);
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28015 Py_INCREF(Py_None
); resultobj
= Py_None
;
28022 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28023 PyObject
*resultobj
;
28024 wxWindow
*arg1
= (wxWindow
*) 0 ;
28025 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "self",(char *) "handler", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28034 if (SWIG_arg_fail(1)) SWIG_fail
;
28035 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28036 if (SWIG_arg_fail(2)) SWIG_fail
;
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 (arg1
)->PushEventHandler(arg2
);
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28044 Py_INCREF(Py_None
); resultobj
= Py_None
;
28051 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
;
28053 wxWindow
*arg1
= (wxWindow
*) 0 ;
28054 bool arg2
= (bool) false ;
28055 wxEvtHandler
*result
;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self",(char *) "deleteHandler", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28064 if (SWIG_arg_fail(1)) SWIG_fail
;
28067 arg2
= (bool)(SWIG_As_bool(obj1
));
28068 if (SWIG_arg_fail(2)) SWIG_fail
;
28072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28073 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28075 wxPyEndAllowThreads(__tstate
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28079 resultobj
= wxPyMake_wxObject(result
, 0);
28087 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxWindow
*arg1
= (wxWindow
*) 0 ;
28090 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self",(char *) "handler", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28100 if (SWIG_arg_fail(1)) SWIG_fail
;
28101 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28102 if (SWIG_arg_fail(2)) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28119 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxWindow
*arg1
= (wxWindow
*) 0 ;
28122 wxValidator
*arg2
= 0 ;
28123 PyObject
* obj0
= 0 ;
28124 PyObject
* obj1
= 0 ;
28125 char *kwnames
[] = {
28126 (char *) "self",(char *) "validator", NULL
28129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28131 if (SWIG_arg_fail(1)) SWIG_fail
;
28133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28134 if (SWIG_arg_fail(2)) SWIG_fail
;
28135 if (arg2
== NULL
) {
28136 SWIG_null_ref("wxValidator");
28138 if (SWIG_arg_fail(2)) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28147 Py_INCREF(Py_None
); resultobj
= Py_None
;
28154 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
;
28156 wxWindow
*arg1
= (wxWindow
*) 0 ;
28157 wxValidator
*result
;
28158 PyObject
* obj0
= 0 ;
28159 char *kwnames
[] = {
28160 (char *) "self", NULL
28163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28165 if (SWIG_arg_fail(1)) SWIG_fail
;
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 result
= (wxValidator
*)(arg1
)->GetValidator();
28170 wxPyEndAllowThreads(__tstate
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28174 resultobj
= wxPyMake_wxObject(result
, 0);
28182 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28183 PyObject
*resultobj
;
28184 wxWindow
*arg1
= (wxWindow
*) 0 ;
28186 PyObject
* obj0
= 0 ;
28187 char *kwnames
[] = {
28188 (char *) "self", NULL
28191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28193 if (SWIG_arg_fail(1)) SWIG_fail
;
28195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 result
= (bool)(arg1
)->Validate();
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28210 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28211 PyObject
*resultobj
;
28212 wxWindow
*arg1
= (wxWindow
*) 0 ;
28214 PyObject
* obj0
= 0 ;
28215 char *kwnames
[] = {
28216 (char *) "self", NULL
28219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28221 if (SWIG_arg_fail(1)) SWIG_fail
;
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 result
= (bool)(arg1
)->TransferDataToWindow();
28226 wxPyEndAllowThreads(__tstate
);
28227 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28238 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
;
28240 wxWindow
*arg1
= (wxWindow
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 char *kwnames
[] = {
28244 (char *) "self", NULL
28247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28249 if (SWIG_arg_fail(1)) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (bool)(arg1
)->TransferDataFromWindow();
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28266 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
;
28268 wxWindow
*arg1
= (wxWindow
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 char *kwnames
[] = {
28271 (char *) "self", NULL
28274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28276 if (SWIG_arg_fail(1)) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 (arg1
)->InitDialog();
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 Py_INCREF(Py_None
); resultobj
= Py_None
;
28291 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
;
28293 wxWindow
*arg1
= (wxWindow
*) 0 ;
28294 wxAcceleratorTable
*arg2
= 0 ;
28295 PyObject
* obj0
= 0 ;
28296 PyObject
* obj1
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "self",(char *) "accel", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28303 if (SWIG_arg_fail(1)) SWIG_fail
;
28305 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28306 if (SWIG_arg_fail(2)) SWIG_fail
;
28307 if (arg2
== NULL
) {
28308 SWIG_null_ref("wxAcceleratorTable");
28310 if (SWIG_arg_fail(2)) SWIG_fail
;
28313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28314 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28316 wxPyEndAllowThreads(__tstate
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 Py_INCREF(Py_None
); resultobj
= Py_None
;
28326 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28328 wxWindow
*arg1
= (wxWindow
*) 0 ;
28329 wxAcceleratorTable
*result
;
28330 PyObject
* obj0
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "self", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28337 if (SWIG_arg_fail(1)) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28352 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28353 PyObject
*resultobj
;
28354 wxWindow
*arg1
= (wxWindow
*) 0 ;
28359 PyObject
* obj0
= 0 ;
28360 PyObject
* obj1
= 0 ;
28361 PyObject
* obj2
= 0 ;
28362 PyObject
* obj3
= 0 ;
28363 char *kwnames
[] = {
28364 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28369 if (SWIG_arg_fail(1)) SWIG_fail
;
28371 arg2
= (int)(SWIG_As_int(obj1
));
28372 if (SWIG_arg_fail(2)) SWIG_fail
;
28375 arg3
= (int)(SWIG_As_int(obj2
));
28376 if (SWIG_arg_fail(3)) SWIG_fail
;
28379 arg4
= (int)(SWIG_As_int(obj3
));
28380 if (SWIG_arg_fail(4)) SWIG_fail
;
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28386 wxPyEndAllowThreads(__tstate
);
28387 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28398 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxWindow
*arg1
= (wxWindow
*) 0 ;
28403 PyObject
* obj0
= 0 ;
28404 PyObject
* obj1
= 0 ;
28405 char *kwnames
[] = {
28406 (char *) "self",(char *) "hotkeyId", NULL
28409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28411 if (SWIG_arg_fail(1)) SWIG_fail
;
28413 arg2
= (int)(SWIG_As_int(obj1
));
28414 if (SWIG_arg_fail(2)) SWIG_fail
;
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28432 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28433 PyObject
*resultobj
;
28434 wxWindow
*arg1
= (wxWindow
*) 0 ;
28435 wxPoint
*arg2
= 0 ;
28438 PyObject
* obj0
= 0 ;
28439 PyObject
* obj1
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self",(char *) "pt", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28446 if (SWIG_arg_fail(1)) SWIG_fail
;
28449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28453 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28455 wxPyEndAllowThreads(__tstate
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28459 wxPoint
* resultptr
;
28460 resultptr
= new wxPoint((wxPoint
&)(result
));
28461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28469 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxWindow
*arg1
= (wxWindow
*) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 char *kwnames
[] = {
28478 (char *) "self",(char *) "sz", NULL
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28483 if (SWIG_arg_fail(1)) SWIG_fail
;
28486 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28492 wxPyEndAllowThreads(__tstate
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28496 wxSize
* resultptr
;
28497 resultptr
= new wxSize((wxSize
&)(result
));
28498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28506 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
;
28508 wxWindow
*arg1
= (wxWindow
*) 0 ;
28509 wxPoint
*arg2
= 0 ;
28512 PyObject
* obj0
= 0 ;
28513 PyObject
* obj1
= 0 ;
28514 char *kwnames
[] = {
28515 (char *) "self",(char *) "pt", NULL
28518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28520 if (SWIG_arg_fail(1)) SWIG_fail
;
28523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28527 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28529 wxPyEndAllowThreads(__tstate
);
28530 if (PyErr_Occurred()) SWIG_fail
;
28533 wxPoint
* resultptr
;
28534 resultptr
= new wxPoint((wxPoint
&)(result
));
28535 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28543 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
;
28545 wxWindow
*arg1
= (wxWindow
*) 0 ;
28549 PyObject
* obj0
= 0 ;
28550 PyObject
* obj1
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self",(char *) "sz", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28557 if (SWIG_arg_fail(1)) SWIG_fail
;
28560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28566 wxPyEndAllowThreads(__tstate
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28570 wxSize
* resultptr
;
28571 resultptr
= new wxSize((wxSize
&)(result
));
28572 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28580 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxWindow
*arg1
= (wxWindow
*) 0 ;
28583 wxPoint
*arg2
= 0 ;
28586 PyObject
* obj0
= 0 ;
28587 PyObject
* obj1
= 0 ;
28588 char *kwnames
[] = {
28589 (char *) "self",(char *) "pt", NULL
28592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28594 if (SWIG_arg_fail(1)) SWIG_fail
;
28597 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28607 wxPoint
* resultptr
;
28608 resultptr
= new wxPoint((wxPoint
&)(result
));
28609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28617 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28618 PyObject
*resultobj
;
28619 wxWindow
*arg1
= (wxWindow
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 PyObject
* obj1
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self",(char *) "sz", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28631 if (SWIG_arg_fail(1)) SWIG_fail
;
28634 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28644 wxSize
* resultptr
;
28645 resultptr
= new wxSize((wxSize
&)(result
));
28646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28654 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxWindow
*arg1
= (wxWindow
*) 0 ;
28659 PyObject
* obj0
= 0 ;
28660 PyObject
* obj1
= 0 ;
28661 PyObject
* obj2
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self",(char *) "x",(char *) "y", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28668 if (SWIG_arg_fail(1)) SWIG_fail
;
28670 arg2
= (int)(SWIG_As_int(obj1
));
28671 if (SWIG_arg_fail(2)) SWIG_fail
;
28674 arg3
= (int)(SWIG_As_int(obj2
));
28675 if (SWIG_arg_fail(3)) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 (arg1
)->WarpPointer(arg2
,arg3
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 Py_INCREF(Py_None
); resultobj
= Py_None
;
28691 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxWindow
*arg1
= (wxWindow
*) 0 ;
28694 PyObject
* obj0
= 0 ;
28695 char *kwnames
[] = {
28696 (char *) "self", NULL
28699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28701 if (SWIG_arg_fail(1)) SWIG_fail
;
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 (arg1
)->CaptureMouse();
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28709 Py_INCREF(Py_None
); resultobj
= Py_None
;
28716 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28717 PyObject
*resultobj
;
28718 wxWindow
*arg1
= (wxWindow
*) 0 ;
28719 PyObject
* obj0
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28726 if (SWIG_arg_fail(1)) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 (arg1
)->ReleaseMouse();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 Py_INCREF(Py_None
); resultobj
= Py_None
;
28741 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28744 char *kwnames
[] = {
28748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28750 if (!wxPyCheckForApp()) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 result
= (wxWindow
*)wxWindow::GetCapture();
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= wxPyMake_wxObject(result
, 0);
28766 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxWindow
*arg1
= (wxWindow
*) 0 ;
28770 PyObject
* obj0
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "self", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
28776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28777 if (SWIG_arg_fail(1)) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28794 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxWindow
*arg1
= (wxWindow
*) 0 ;
28797 bool arg2
= (bool) true ;
28798 wxRect
*arg3
= (wxRect
*) NULL
;
28799 PyObject
* obj0
= 0 ;
28800 PyObject
* obj1
= 0 ;
28801 PyObject
* obj2
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28808 if (SWIG_arg_fail(1)) SWIG_fail
;
28811 arg2
= (bool)(SWIG_As_bool(obj1
));
28812 if (SWIG_arg_fail(2)) SWIG_fail
;
28816 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
28817 if (SWIG_arg_fail(3)) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 Py_INCREF(Py_None
); resultobj
= Py_None
;
28833 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
;
28835 wxWindow
*arg1
= (wxWindow
*) 0 ;
28837 bool arg3
= (bool) true ;
28839 PyObject
* obj0
= 0 ;
28840 PyObject
* obj1
= 0 ;
28841 PyObject
* obj2
= 0 ;
28842 char *kwnames
[] = {
28843 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
28846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28848 if (SWIG_arg_fail(1)) SWIG_fail
;
28851 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28855 arg3
= (bool)(SWIG_As_bool(obj2
));
28856 if (SWIG_arg_fail(3)) SWIG_fail
;
28860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
28863 wxPyEndAllowThreads(__tstate
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28866 Py_INCREF(Py_None
); resultobj
= Py_None
;
28873 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28874 PyObject
*resultobj
;
28875 wxWindow
*arg1
= (wxWindow
*) 0 ;
28876 PyObject
* obj0
= 0 ;
28877 char *kwnames
[] = {
28878 (char *) "self", NULL
28881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
28882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28883 if (SWIG_arg_fail(1)) SWIG_fail
;
28885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 Py_INCREF(Py_None
); resultobj
= Py_None
;
28898 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28899 PyObject
*resultobj
;
28900 wxWindow
*arg1
= (wxWindow
*) 0 ;
28901 PyObject
* obj0
= 0 ;
28902 char *kwnames
[] = {
28903 (char *) "self", NULL
28906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
28907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28908 if (SWIG_arg_fail(1)) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 (arg1
)->ClearBackground();
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 Py_INCREF(Py_None
); resultobj
= Py_None
;
28923 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
;
28925 wxWindow
*arg1
= (wxWindow
*) 0 ;
28926 PyObject
* obj0
= 0 ;
28927 char *kwnames
[] = {
28928 (char *) "self", NULL
28931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
28932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28933 if (SWIG_arg_fail(1)) SWIG_fail
;
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28938 wxPyEndAllowThreads(__tstate
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28941 Py_INCREF(Py_None
); resultobj
= Py_None
;
28948 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28949 PyObject
*resultobj
;
28950 wxWindow
*arg1
= (wxWindow
*) 0 ;
28951 PyObject
* obj0
= 0 ;
28952 char *kwnames
[] = {
28953 (char *) "self", NULL
28956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
28957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28958 if (SWIG_arg_fail(1)) SWIG_fail
;
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 wxPyEndAllowThreads(__tstate
);
28964 if (PyErr_Occurred()) SWIG_fail
;
28966 Py_INCREF(Py_None
); resultobj
= Py_None
;
28973 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxWindow
*arg1
= (wxWindow
*) 0 ;
28977 PyObject
* obj0
= 0 ;
28978 PyObject
* obj1
= 0 ;
28979 char *kwnames
[] = {
28980 (char *) "self",(char *) "dc", NULL
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
28984 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28985 if (SWIG_arg_fail(1)) SWIG_fail
;
28987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
28988 if (SWIG_arg_fail(2)) SWIG_fail
;
28989 if (arg2
== NULL
) {
28990 SWIG_null_ref("wxDC");
28992 if (SWIG_arg_fail(2)) SWIG_fail
;
28995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28996 (arg1
)->PrepareDC(*arg2
);
28998 wxPyEndAllowThreads(__tstate
);
28999 if (PyErr_Occurred()) SWIG_fail
;
29001 Py_INCREF(Py_None
); resultobj
= Py_None
;
29008 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
;
29010 wxWindow
*arg1
= (wxWindow
*) 0 ;
29012 PyObject
* obj0
= 0 ;
29013 char *kwnames
[] = {
29014 (char *) "self", NULL
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29019 if (SWIG_arg_fail(1)) SWIG_fail
;
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29023 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29024 result
= (wxRegion
*) &_result_ref
;
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29037 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29038 PyObject
*resultobj
;
29039 wxWindow
*arg1
= (wxWindow
*) 0 ;
29041 PyObject
* obj0
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "self", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29048 if (SWIG_arg_fail(1)) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29057 wxRect
* resultptr
;
29058 resultptr
= new wxRect((wxRect
&)(result
));
29059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29067 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
;
29069 wxWindow
*arg1
= (wxWindow
*) 0 ;
29072 int arg4
= (int) 1 ;
29073 int arg5
= (int) 1 ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 PyObject
* obj2
= 0 ;
29078 PyObject
* obj3
= 0 ;
29079 PyObject
* obj4
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29086 if (SWIG_arg_fail(1)) SWIG_fail
;
29088 arg2
= (int)(SWIG_As_int(obj1
));
29089 if (SWIG_arg_fail(2)) SWIG_fail
;
29092 arg3
= (int)(SWIG_As_int(obj2
));
29093 if (SWIG_arg_fail(3)) SWIG_fail
;
29097 arg4
= (int)(SWIG_As_int(obj3
));
29098 if (SWIG_arg_fail(4)) SWIG_fail
;
29103 arg5
= (int)(SWIG_As_int(obj4
));
29104 if (SWIG_arg_fail(5)) SWIG_fail
;
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29123 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
;
29125 wxWindow
*arg1
= (wxWindow
*) 0 ;
29126 wxPoint
*arg2
= 0 ;
29129 PyObject
* obj0
= 0 ;
29130 PyObject
* obj1
= 0 ;
29131 char *kwnames
[] = {
29132 (char *) "self",(char *) "pt", NULL
29135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29137 if (SWIG_arg_fail(1)) SWIG_fail
;
29140 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29158 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29159 PyObject
*resultobj
;
29160 wxWindow
*arg1
= (wxWindow
*) 0 ;
29164 PyObject
* obj0
= 0 ;
29165 PyObject
* obj1
= 0 ;
29166 char *kwnames
[] = {
29167 (char *) "self",(char *) "rect", NULL
29170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29172 if (SWIG_arg_fail(1)) SWIG_fail
;
29175 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29193 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
;
29195 wxWindow
*arg1
= (wxWindow
*) 0 ;
29196 wxVisualAttributes result
;
29197 PyObject
* obj0
= 0 ;
29198 char *kwnames
[] = {
29199 (char *) "self", NULL
29202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29204 if (SWIG_arg_fail(1)) SWIG_fail
;
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29207 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29213 wxVisualAttributes
* resultptr
;
29214 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29223 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
;
29225 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29226 wxVisualAttributes result
;
29227 PyObject
* obj0
= 0 ;
29228 char *kwnames
[] = {
29229 (char *) "variant", NULL
29232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29235 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29236 if (SWIG_arg_fail(1)) SWIG_fail
;
29240 if (!wxPyCheckForApp()) SWIG_fail
;
29241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29242 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29248 wxVisualAttributes
* resultptr
;
29249 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29258 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxWindow
*arg1
= (wxWindow
*) 0 ;
29261 wxColour
*arg2
= 0 ;
29264 PyObject
* obj0
= 0 ;
29265 PyObject
* obj1
= 0 ;
29266 char *kwnames
[] = {
29267 (char *) "self",(char *) "colour", NULL
29270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29272 if (SWIG_arg_fail(1)) SWIG_fail
;
29275 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29279 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29293 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29294 PyObject
*resultobj
;
29295 wxWindow
*arg1
= (wxWindow
*) 0 ;
29296 wxColour
*arg2
= 0 ;
29298 PyObject
* obj0
= 0 ;
29299 PyObject
* obj1
= 0 ;
29300 char *kwnames
[] = {
29301 (char *) "self",(char *) "colour", NULL
29304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29306 if (SWIG_arg_fail(1)) SWIG_fail
;
29309 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29318 Py_INCREF(Py_None
); resultobj
= Py_None
;
29325 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29326 PyObject
*resultobj
;
29327 wxWindow
*arg1
= (wxWindow
*) 0 ;
29328 wxColour
*arg2
= 0 ;
29331 PyObject
* obj0
= 0 ;
29332 PyObject
* obj1
= 0 ;
29333 char *kwnames
[] = {
29334 (char *) "self",(char *) "colour", NULL
29337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29339 if (SWIG_arg_fail(1)) SWIG_fail
;
29342 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29346 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29348 wxPyEndAllowThreads(__tstate
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29360 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29361 PyObject
*resultobj
;
29362 wxWindow
*arg1
= (wxWindow
*) 0 ;
29363 wxColour
*arg2
= 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 char *kwnames
[] = {
29368 (char *) "self",(char *) "colour", NULL
29371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29373 if (SWIG_arg_fail(1)) SWIG_fail
;
29376 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 Py_INCREF(Py_None
); resultobj
= Py_None
;
29392 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29393 PyObject
*resultobj
;
29394 wxWindow
*arg1
= (wxWindow
*) 0 ;
29396 PyObject
* obj0
= 0 ;
29397 char *kwnames
[] = {
29398 (char *) "self", NULL
29401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29403 if (SWIG_arg_fail(1)) SWIG_fail
;
29405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29406 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29412 wxColour
* resultptr
;
29413 resultptr
= new wxColour((wxColour
&)(result
));
29414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29422 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29423 PyObject
*resultobj
;
29424 wxWindow
*arg1
= (wxWindow
*) 0 ;
29426 PyObject
* obj0
= 0 ;
29427 char *kwnames
[] = {
29428 (char *) "self", NULL
29431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29433 if (SWIG_arg_fail(1)) SWIG_fail
;
29435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29436 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29442 wxColour
* resultptr
;
29443 resultptr
= new wxColour((wxColour
&)(result
));
29444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29452 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29453 PyObject
*resultobj
;
29454 wxWindow
*arg1
= (wxWindow
*) 0 ;
29455 wxBackgroundStyle arg2
;
29457 PyObject
* obj0
= 0 ;
29458 PyObject
* obj1
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self",(char *) "style", NULL
29463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29465 if (SWIG_arg_fail(1)) SWIG_fail
;
29467 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29468 if (SWIG_arg_fail(2)) SWIG_fail
;
29471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29472 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29486 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29487 PyObject
*resultobj
;
29488 wxWindow
*arg1
= (wxWindow
*) 0 ;
29489 wxBackgroundStyle result
;
29490 PyObject
* obj0
= 0 ;
29491 char *kwnames
[] = {
29492 (char *) "self", NULL
29495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29497 if (SWIG_arg_fail(1)) SWIG_fail
;
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= SWIG_From_int((result
));
29512 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxWindow
*arg1
= (wxWindow
*) 0 ;
29516 PyObject
* obj0
= 0 ;
29517 char *kwnames
[] = {
29518 (char *) "self", NULL
29521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29523 if (SWIG_arg_fail(1)) SWIG_fail
;
29525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29526 result
= (bool)(arg1
)->HasTransparentBackground();
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29540 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29541 PyObject
*resultobj
;
29542 wxWindow
*arg1
= (wxWindow
*) 0 ;
29543 wxCursor
*arg2
= 0 ;
29545 PyObject
* obj0
= 0 ;
29546 PyObject
* obj1
= 0 ;
29547 char *kwnames
[] = {
29548 (char *) "self",(char *) "cursor", NULL
29551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29553 if (SWIG_arg_fail(1)) SWIG_fail
;
29555 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29556 if (SWIG_arg_fail(2)) SWIG_fail
;
29557 if (arg2
== NULL
) {
29558 SWIG_null_ref("wxCursor");
29560 if (SWIG_arg_fail(2)) SWIG_fail
;
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29578 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29579 PyObject
*resultobj
;
29580 wxWindow
*arg1
= (wxWindow
*) 0 ;
29582 PyObject
* obj0
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "self", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29589 if (SWIG_arg_fail(1)) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= (arg1
)->GetCursor();
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29598 wxCursor
* resultptr
;
29599 resultptr
= new wxCursor((wxCursor
&)(result
));
29600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29608 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
;
29610 wxWindow
*arg1
= (wxWindow
*) 0 ;
29613 PyObject
* obj0
= 0 ;
29614 PyObject
* obj1
= 0 ;
29615 char *kwnames
[] = {
29616 (char *) "self",(char *) "font", NULL
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29621 if (SWIG_arg_fail(1)) SWIG_fail
;
29623 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29624 if (SWIG_arg_fail(2)) SWIG_fail
;
29625 if (arg2
== NULL
) {
29626 SWIG_null_ref("wxFont");
29628 if (SWIG_arg_fail(2)) SWIG_fail
;
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29646 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29647 PyObject
*resultobj
;
29648 wxWindow
*arg1
= (wxWindow
*) 0 ;
29650 PyObject
* obj0
= 0 ;
29651 PyObject
* obj1
= 0 ;
29652 char *kwnames
[] = {
29653 (char *) "self",(char *) "font", NULL
29656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29658 if (SWIG_arg_fail(1)) SWIG_fail
;
29660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29661 if (SWIG_arg_fail(2)) SWIG_fail
;
29662 if (arg2
== NULL
) {
29663 SWIG_null_ref("wxFont");
29665 if (SWIG_arg_fail(2)) SWIG_fail
;
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29671 wxPyEndAllowThreads(__tstate
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29674 Py_INCREF(Py_None
); resultobj
= Py_None
;
29681 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29682 PyObject
*resultobj
;
29683 wxWindow
*arg1
= (wxWindow
*) 0 ;
29685 PyObject
* obj0
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "self", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29692 if (SWIG_arg_fail(1)) SWIG_fail
;
29694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29695 result
= (arg1
)->GetFont();
29697 wxPyEndAllowThreads(__tstate
);
29698 if (PyErr_Occurred()) SWIG_fail
;
29701 wxFont
* resultptr
;
29702 resultptr
= new wxFont((wxFont
&)(result
));
29703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
29711 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29712 PyObject
*resultobj
;
29713 wxWindow
*arg1
= (wxWindow
*) 0 ;
29714 wxCaret
*arg2
= (wxCaret
*) 0 ;
29715 PyObject
* obj0
= 0 ;
29716 PyObject
* obj1
= 0 ;
29717 char *kwnames
[] = {
29718 (char *) "self",(char *) "caret", NULL
29721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
29722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29723 if (SWIG_arg_fail(1)) SWIG_fail
;
29724 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
29725 if (SWIG_arg_fail(2)) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 (arg1
)->SetCaret(arg2
);
29730 wxPyEndAllowThreads(__tstate
);
29731 if (PyErr_Occurred()) SWIG_fail
;
29733 Py_INCREF(Py_None
); resultobj
= Py_None
;
29740 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29741 PyObject
*resultobj
;
29742 wxWindow
*arg1
= (wxWindow
*) 0 ;
29744 PyObject
* obj0
= 0 ;
29745 char *kwnames
[] = {
29746 (char *) "self", NULL
29749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
29750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29751 if (SWIG_arg_fail(1)) SWIG_fail
;
29753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29754 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
29756 wxPyEndAllowThreads(__tstate
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
29766 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29767 PyObject
*resultobj
;
29768 wxWindow
*arg1
= (wxWindow
*) 0 ;
29770 PyObject
* obj0
= 0 ;
29771 char *kwnames
[] = {
29772 (char *) "self", NULL
29775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
29776 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29777 if (SWIG_arg_fail(1)) SWIG_fail
;
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
29782 wxPyEndAllowThreads(__tstate
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29786 resultobj
= SWIG_From_int((int)(result
));
29794 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29795 PyObject
*resultobj
;
29796 wxWindow
*arg1
= (wxWindow
*) 0 ;
29798 PyObject
* obj0
= 0 ;
29799 char *kwnames
[] = {
29800 (char *) "self", NULL
29803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
29804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29805 if (SWIG_arg_fail(1)) SWIG_fail
;
29807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29808 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
29810 wxPyEndAllowThreads(__tstate
);
29811 if (PyErr_Occurred()) SWIG_fail
;
29814 resultobj
= SWIG_From_int((int)(result
));
29822 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29823 PyObject
*resultobj
;
29824 wxWindow
*arg1
= (wxWindow
*) 0 ;
29825 wxString
*arg2
= 0 ;
29826 int *arg3
= (int *) 0 ;
29827 int *arg4
= (int *) 0 ;
29828 bool temp2
= false ;
29833 PyObject
* obj0
= 0 ;
29834 PyObject
* obj1
= 0 ;
29835 char *kwnames
[] = {
29836 (char *) "self",(char *) "string", NULL
29839 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29840 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
29842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29843 if (SWIG_arg_fail(1)) SWIG_fail
;
29845 arg2
= wxString_in_helper(obj1
);
29846 if (arg2
== NULL
) SWIG_fail
;
29850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29856 Py_INCREF(Py_None
); resultobj
= Py_None
;
29857 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29858 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29859 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29860 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29875 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29876 PyObject
*resultobj
;
29877 wxWindow
*arg1
= (wxWindow
*) 0 ;
29878 wxString
*arg2
= 0 ;
29879 int *arg3
= (int *) 0 ;
29880 int *arg4
= (int *) 0 ;
29881 int *arg5
= (int *) 0 ;
29882 int *arg6
= (int *) 0 ;
29883 wxFont
*arg7
= (wxFont
*) NULL
;
29884 bool temp2
= false ;
29893 PyObject
* obj0
= 0 ;
29894 PyObject
* obj1
= 0 ;
29895 PyObject
* obj2
= 0 ;
29896 char *kwnames
[] = {
29897 (char *) "self",(char *) "string",(char *) "font", NULL
29900 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29901 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29902 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
29903 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29906 if (SWIG_arg_fail(1)) SWIG_fail
;
29908 arg2
= wxString_in_helper(obj1
);
29909 if (arg2
== NULL
) SWIG_fail
;
29913 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29914 if (SWIG_arg_fail(7)) SWIG_fail
;
29917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29918 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
29920 wxPyEndAllowThreads(__tstate
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29923 Py_INCREF(Py_None
); resultobj
= Py_None
;
29924 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29925 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29926 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29927 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
29928 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
29929 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
29930 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
29931 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
29946 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29947 PyObject
*resultobj
;
29948 wxWindow
*arg1
= (wxWindow
*) 0 ;
29949 int *arg2
= (int *) 0 ;
29950 int *arg3
= (int *) 0 ;
29955 PyObject
* obj0
= 0 ;
29956 PyObject
* obj1
= 0 ;
29957 PyObject
* obj2
= 0 ;
29958 char *kwnames
[] = {
29959 (char *) "self",(char *) "x",(char *) "y", NULL
29962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29964 if (SWIG_arg_fail(1)) SWIG_fail
;
29966 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
29967 temp2
= SWIG_As_int(obj1
);
29968 if (SWIG_arg_fail(2)) SWIG_fail
;
29970 res2
= SWIG_NEWOBJ
;
29974 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
29975 temp3
= SWIG_As_int(obj2
);
29976 if (SWIG_arg_fail(3)) SWIG_fail
;
29978 res3
= SWIG_NEWOBJ
;
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29983 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29988 Py_INCREF(Py_None
); resultobj
= Py_None
;
29989 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29990 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29991 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29992 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29999 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30000 PyObject
*resultobj
;
30001 wxWindow
*arg1
= (wxWindow
*) 0 ;
30002 int *arg2
= (int *) 0 ;
30003 int *arg3
= (int *) 0 ;
30008 PyObject
* obj0
= 0 ;
30009 PyObject
* obj1
= 0 ;
30010 PyObject
* obj2
= 0 ;
30011 char *kwnames
[] = {
30012 (char *) "self",(char *) "x",(char *) "y", NULL
30015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30017 if (SWIG_arg_fail(1)) SWIG_fail
;
30019 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30020 temp2
= SWIG_As_int(obj1
);
30021 if (SWIG_arg_fail(2)) SWIG_fail
;
30023 res2
= SWIG_NEWOBJ
;
30027 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30028 temp3
= SWIG_As_int(obj2
);
30029 if (SWIG_arg_fail(3)) SWIG_fail
;
30031 res3
= SWIG_NEWOBJ
;
30035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30036 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30038 wxPyEndAllowThreads(__tstate
);
30039 if (PyErr_Occurred()) SWIG_fail
;
30041 Py_INCREF(Py_None
); resultobj
= Py_None
;
30042 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30043 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30044 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30045 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30052 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30053 PyObject
*resultobj
;
30054 wxWindow
*arg1
= (wxWindow
*) 0 ;
30055 wxPoint
*arg2
= 0 ;
30058 PyObject
* obj0
= 0 ;
30059 PyObject
* obj1
= 0 ;
30060 char *kwnames
[] = {
30061 (char *) "self",(char *) "pt", NULL
30064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30066 if (SWIG_arg_fail(1)) SWIG_fail
;
30069 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30079 wxPoint
* resultptr
;
30080 resultptr
= new wxPoint((wxPoint
&)(result
));
30081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30089 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30090 PyObject
*resultobj
;
30091 wxWindow
*arg1
= (wxWindow
*) 0 ;
30092 wxPoint
*arg2
= 0 ;
30095 PyObject
* obj0
= 0 ;
30096 PyObject
* obj1
= 0 ;
30097 char *kwnames
[] = {
30098 (char *) "self",(char *) "pt", NULL
30101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30103 if (SWIG_arg_fail(1)) SWIG_fail
;
30106 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30116 wxPoint
* resultptr
;
30117 resultptr
= new wxPoint((wxPoint
&)(result
));
30118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30126 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30127 PyObject
*resultobj
;
30128 wxWindow
*arg1
= (wxWindow
*) 0 ;
30132 PyObject
* obj0
= 0 ;
30133 PyObject
* obj1
= 0 ;
30134 PyObject
* obj2
= 0 ;
30135 char *kwnames
[] = {
30136 (char *) "self",(char *) "x",(char *) "y", NULL
30139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30141 if (SWIG_arg_fail(1)) SWIG_fail
;
30143 arg2
= (int)(SWIG_As_int(obj1
));
30144 if (SWIG_arg_fail(2)) SWIG_fail
;
30147 arg3
= (int)(SWIG_As_int(obj2
));
30148 if (SWIG_arg_fail(3)) SWIG_fail
;
30151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30152 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30157 resultobj
= SWIG_From_int((result
));
30164 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30165 PyObject
*resultobj
;
30166 wxWindow
*arg1
= (wxWindow
*) 0 ;
30167 wxPoint
*arg2
= 0 ;
30170 PyObject
* obj0
= 0 ;
30171 PyObject
* obj1
= 0 ;
30172 char *kwnames
[] = {
30173 (char *) "self",(char *) "pt", NULL
30176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30178 if (SWIG_arg_fail(1)) SWIG_fail
;
30181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30190 resultobj
= SWIG_From_int((result
));
30197 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30198 PyObject
*resultobj
;
30199 wxWindow
*arg1
= (wxWindow
*) 0 ;
30202 PyObject
* obj0
= 0 ;
30203 PyObject
* obj1
= 0 ;
30205 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30207 if (SWIG_arg_fail(1)) SWIG_fail
;
30209 arg2
= (long)(SWIG_As_long(obj1
));
30210 if (SWIG_arg_fail(2)) SWIG_fail
;
30213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30214 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30216 wxPyEndAllowThreads(__tstate
);
30217 if (PyErr_Occurred()) SWIG_fail
;
30219 resultobj
= SWIG_From_int((result
));
30226 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30227 PyObject
*resultobj
;
30228 wxWindow
*arg1
= (wxWindow
*) 0 ;
30230 PyObject
* obj0
= 0 ;
30232 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30234 if (SWIG_arg_fail(1)) SWIG_fail
;
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30242 resultobj
= SWIG_From_int((result
));
30249 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30254 argc
= PyObject_Length(args
);
30255 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30256 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30270 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30277 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30285 _v
= SWIG_Check_long(argv
[1]);
30287 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30292 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30297 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
;
30299 wxWindow
*arg1
= (wxWindow
*) 0 ;
30300 long arg2
= (long) wxUPDATE_UI_NONE
;
30301 PyObject
* obj0
= 0 ;
30302 PyObject
* obj1
= 0 ;
30303 char *kwnames
[] = {
30304 (char *) "self",(char *) "flags", NULL
30307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30309 if (SWIG_arg_fail(1)) SWIG_fail
;
30312 arg2
= (long)(SWIG_As_long(obj1
));
30313 if (SWIG_arg_fail(2)) SWIG_fail
;
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 (arg1
)->UpdateWindowUI(arg2
);
30320 wxPyEndAllowThreads(__tstate
);
30321 if (PyErr_Occurred()) SWIG_fail
;
30323 Py_INCREF(Py_None
); resultobj
= Py_None
;
30330 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30331 PyObject
*resultobj
;
30332 wxWindow
*arg1
= (wxWindow
*) 0 ;
30333 wxMenu
*arg2
= (wxMenu
*) 0 ;
30334 int arg3
= (int) -1 ;
30335 int arg4
= (int) -1 ;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 PyObject
* obj2
= 0 ;
30340 PyObject
* obj3
= 0 ;
30341 char *kwnames
[] = {
30342 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30347 if (SWIG_arg_fail(1)) SWIG_fail
;
30348 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30349 if (SWIG_arg_fail(2)) SWIG_fail
;
30352 arg3
= (int)(SWIG_As_int(obj2
));
30353 if (SWIG_arg_fail(3)) SWIG_fail
;
30358 arg4
= (int)(SWIG_As_int(obj3
));
30359 if (SWIG_arg_fail(4)) SWIG_fail
;
30363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30378 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30379 PyObject
*resultobj
;
30380 wxWindow
*arg1
= (wxWindow
*) 0 ;
30381 wxMenu
*arg2
= (wxMenu
*) 0 ;
30382 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30383 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 PyObject
* obj2
= 0 ;
30389 char *kwnames
[] = {
30390 (char *) "self",(char *) "menu",(char *) "pos", NULL
30393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30395 if (SWIG_arg_fail(1)) SWIG_fail
;
30396 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30397 if (SWIG_arg_fail(2)) SWIG_fail
;
30401 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30406 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30408 wxPyEndAllowThreads(__tstate
);
30409 if (PyErr_Occurred()) SWIG_fail
;
30412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30420 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30421 PyObject
*resultobj
;
30422 wxWindow
*arg1
= (wxWindow
*) 0 ;
30424 PyObject
* obj0
= 0 ;
30425 char *kwnames
[] = {
30426 (char *) "self", NULL
30429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30431 if (SWIG_arg_fail(1)) SWIG_fail
;
30433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30434 result
= (long)wxWindow_GetHandle(arg1
);
30436 wxPyEndAllowThreads(__tstate
);
30437 if (PyErr_Occurred()) SWIG_fail
;
30440 resultobj
= SWIG_From_long((long)(result
));
30448 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
;
30450 wxWindow
*arg1
= (wxWindow
*) 0 ;
30452 PyObject
* obj0
= 0 ;
30453 PyObject
* obj1
= 0 ;
30454 char *kwnames
[] = {
30455 (char *) "self",(char *) "handle", NULL
30458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30460 if (SWIG_arg_fail(1)) SWIG_fail
;
30462 arg2
= (long)(SWIG_As_long(obj1
));
30463 if (SWIG_arg_fail(2)) SWIG_fail
;
30466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30467 wxWindow_AssociateHandle(arg1
,arg2
);
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30472 Py_INCREF(Py_None
); resultobj
= Py_None
;
30479 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30480 PyObject
*resultobj
;
30481 wxWindow
*arg1
= (wxWindow
*) 0 ;
30482 PyObject
* obj0
= 0 ;
30483 char *kwnames
[] = {
30484 (char *) "self", NULL
30487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30489 if (SWIG_arg_fail(1)) SWIG_fail
;
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 (arg1
)->DissociateHandle();
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 Py_INCREF(Py_None
); resultobj
= Py_None
;
30504 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30505 PyObject
*resultobj
;
30506 wxWindow
*arg1
= (wxWindow
*) 0 ;
30509 PyObject
* obj0
= 0 ;
30510 PyObject
* obj1
= 0 ;
30511 char *kwnames
[] = {
30512 (char *) "self",(char *) "orient", NULL
30515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30517 if (SWIG_arg_fail(1)) SWIG_fail
;
30519 arg2
= (int)(SWIG_As_int(obj1
));
30520 if (SWIG_arg_fail(2)) SWIG_fail
;
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30538 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30539 PyObject
*resultobj
;
30540 wxWindow
*arg1
= (wxWindow
*) 0 ;
30545 bool arg6
= (bool) true ;
30546 PyObject
* obj0
= 0 ;
30547 PyObject
* obj1
= 0 ;
30548 PyObject
* obj2
= 0 ;
30549 PyObject
* obj3
= 0 ;
30550 PyObject
* obj4
= 0 ;
30551 PyObject
* obj5
= 0 ;
30552 char *kwnames
[] = {
30553 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30558 if (SWIG_arg_fail(1)) SWIG_fail
;
30560 arg2
= (int)(SWIG_As_int(obj1
));
30561 if (SWIG_arg_fail(2)) SWIG_fail
;
30564 arg3
= (int)(SWIG_As_int(obj2
));
30565 if (SWIG_arg_fail(3)) SWIG_fail
;
30568 arg4
= (int)(SWIG_As_int(obj3
));
30569 if (SWIG_arg_fail(4)) SWIG_fail
;
30572 arg5
= (int)(SWIG_As_int(obj4
));
30573 if (SWIG_arg_fail(5)) SWIG_fail
;
30577 arg6
= (bool)(SWIG_As_bool(obj5
));
30578 if (SWIG_arg_fail(6)) SWIG_fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30588 Py_INCREF(Py_None
); resultobj
= Py_None
;
30595 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30596 PyObject
*resultobj
;
30597 wxWindow
*arg1
= (wxWindow
*) 0 ;
30600 bool arg4
= (bool) true ;
30601 PyObject
* obj0
= 0 ;
30602 PyObject
* obj1
= 0 ;
30603 PyObject
* obj2
= 0 ;
30604 PyObject
* obj3
= 0 ;
30605 char *kwnames
[] = {
30606 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30611 if (SWIG_arg_fail(1)) SWIG_fail
;
30613 arg2
= (int)(SWIG_As_int(obj1
));
30614 if (SWIG_arg_fail(2)) SWIG_fail
;
30617 arg3
= (int)(SWIG_As_int(obj2
));
30618 if (SWIG_arg_fail(3)) SWIG_fail
;
30622 arg4
= (bool)(SWIG_As_bool(obj3
));
30623 if (SWIG_arg_fail(4)) SWIG_fail
;
30627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30628 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30630 wxPyEndAllowThreads(__tstate
);
30631 if (PyErr_Occurred()) SWIG_fail
;
30633 Py_INCREF(Py_None
); resultobj
= Py_None
;
30640 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30641 PyObject
*resultobj
;
30642 wxWindow
*arg1
= (wxWindow
*) 0 ;
30645 PyObject
* obj0
= 0 ;
30646 PyObject
* obj1
= 0 ;
30647 char *kwnames
[] = {
30648 (char *) "self",(char *) "orientation", NULL
30651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30653 if (SWIG_arg_fail(1)) SWIG_fail
;
30655 arg2
= (int)(SWIG_As_int(obj1
));
30656 if (SWIG_arg_fail(2)) SWIG_fail
;
30659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30660 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30666 resultobj
= SWIG_From_int((int)(result
));
30674 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30675 PyObject
*resultobj
;
30676 wxWindow
*arg1
= (wxWindow
*) 0 ;
30679 PyObject
* obj0
= 0 ;
30680 PyObject
* obj1
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self",(char *) "orientation", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30687 if (SWIG_arg_fail(1)) SWIG_fail
;
30689 arg2
= (int)(SWIG_As_int(obj1
));
30690 if (SWIG_arg_fail(2)) SWIG_fail
;
30693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30700 resultobj
= SWIG_From_int((int)(result
));
30708 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30709 PyObject
*resultobj
;
30710 wxWindow
*arg1
= (wxWindow
*) 0 ;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 char *kwnames
[] = {
30716 (char *) "self",(char *) "orientation", NULL
30719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
30720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30721 if (SWIG_arg_fail(1)) SWIG_fail
;
30723 arg2
= (int)(SWIG_As_int(obj1
));
30724 if (SWIG_arg_fail(2)) SWIG_fail
;
30727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30728 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
30730 wxPyEndAllowThreads(__tstate
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30734 resultobj
= SWIG_From_int((int)(result
));
30742 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30743 PyObject
*resultobj
;
30744 wxWindow
*arg1
= (wxWindow
*) 0 ;
30747 wxRect
*arg4
= (wxRect
*) NULL
;
30748 PyObject
* obj0
= 0 ;
30749 PyObject
* obj1
= 0 ;
30750 PyObject
* obj2
= 0 ;
30751 PyObject
* obj3
= 0 ;
30752 char *kwnames
[] = {
30753 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
30756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30758 if (SWIG_arg_fail(1)) SWIG_fail
;
30760 arg2
= (int)(SWIG_As_int(obj1
));
30761 if (SWIG_arg_fail(2)) SWIG_fail
;
30764 arg3
= (int)(SWIG_As_int(obj2
));
30765 if (SWIG_arg_fail(3)) SWIG_fail
;
30768 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
30769 if (SWIG_arg_fail(4)) SWIG_fail
;
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 Py_INCREF(Py_None
); resultobj
= Py_None
;
30785 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
;
30787 wxWindow
*arg1
= (wxWindow
*) 0 ;
30790 PyObject
* obj0
= 0 ;
30791 PyObject
* obj1
= 0 ;
30792 char *kwnames
[] = {
30793 (char *) "self",(char *) "lines", NULL
30796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
30797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30798 if (SWIG_arg_fail(1)) SWIG_fail
;
30800 arg2
= (int)(SWIG_As_int(obj1
));
30801 if (SWIG_arg_fail(2)) SWIG_fail
;
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 result
= (bool)(arg1
)->ScrollLines(arg2
);
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30819 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
;
30821 wxWindow
*arg1
= (wxWindow
*) 0 ;
30824 PyObject
* obj0
= 0 ;
30825 PyObject
* obj1
= 0 ;
30826 char *kwnames
[] = {
30827 (char *) "self",(char *) "pages", NULL
30830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
30831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30832 if (SWIG_arg_fail(1)) SWIG_fail
;
30834 arg2
= (int)(SWIG_As_int(obj1
));
30835 if (SWIG_arg_fail(2)) SWIG_fail
;
30838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30839 result
= (bool)(arg1
)->ScrollPages(arg2
);
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30853 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30854 PyObject
*resultobj
;
30855 wxWindow
*arg1
= (wxWindow
*) 0 ;
30857 PyObject
* obj0
= 0 ;
30858 char *kwnames
[] = {
30859 (char *) "self", NULL
30862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
30863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30864 if (SWIG_arg_fail(1)) SWIG_fail
;
30866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30867 result
= (bool)(arg1
)->LineUp();
30869 wxPyEndAllowThreads(__tstate
);
30870 if (PyErr_Occurred()) SWIG_fail
;
30873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30881 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30882 PyObject
*resultobj
;
30883 wxWindow
*arg1
= (wxWindow
*) 0 ;
30885 PyObject
* obj0
= 0 ;
30886 char *kwnames
[] = {
30887 (char *) "self", NULL
30890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
30891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30892 if (SWIG_arg_fail(1)) SWIG_fail
;
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 result
= (bool)(arg1
)->LineDown();
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30909 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30910 PyObject
*resultobj
;
30911 wxWindow
*arg1
= (wxWindow
*) 0 ;
30913 PyObject
* obj0
= 0 ;
30914 char *kwnames
[] = {
30915 (char *) "self", NULL
30918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
30919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30920 if (SWIG_arg_fail(1)) SWIG_fail
;
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 result
= (bool)(arg1
)->PageUp();
30925 wxPyEndAllowThreads(__tstate
);
30926 if (PyErr_Occurred()) SWIG_fail
;
30929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30937 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30938 PyObject
*resultobj
;
30939 wxWindow
*arg1
= (wxWindow
*) 0 ;
30941 PyObject
* obj0
= 0 ;
30942 char *kwnames
[] = {
30943 (char *) "self", NULL
30946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
30947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30948 if (SWIG_arg_fail(1)) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 result
= (bool)(arg1
)->PageDown();
30953 wxPyEndAllowThreads(__tstate
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30965 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxWindow
*arg1
= (wxWindow
*) 0 ;
30968 wxString
*arg2
= 0 ;
30969 bool temp2
= false ;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 char *kwnames
[] = {
30973 (char *) "self",(char *) "text", NULL
30976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
30977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30978 if (SWIG_arg_fail(1)) SWIG_fail
;
30980 arg2
= wxString_in_helper(obj1
);
30981 if (arg2
== NULL
) SWIG_fail
;
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 (arg1
)->SetHelpText((wxString
const &)*arg2
);
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30991 Py_INCREF(Py_None
); resultobj
= Py_None
;
31006 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31007 PyObject
*resultobj
;
31008 wxWindow
*arg1
= (wxWindow
*) 0 ;
31009 wxString
*arg2
= 0 ;
31010 bool temp2
= false ;
31011 PyObject
* obj0
= 0 ;
31012 PyObject
* obj1
= 0 ;
31013 char *kwnames
[] = {
31014 (char *) "self",(char *) "text", NULL
31017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31019 if (SWIG_arg_fail(1)) SWIG_fail
;
31021 arg2
= wxString_in_helper(obj1
);
31022 if (arg2
== NULL
) SWIG_fail
;
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31027 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31029 wxPyEndAllowThreads(__tstate
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31032 Py_INCREF(Py_None
); resultobj
= Py_None
;
31047 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31048 PyObject
*resultobj
;
31049 wxWindow
*arg1
= (wxWindow
*) 0 ;
31051 PyObject
* obj0
= 0 ;
31052 char *kwnames
[] = {
31053 (char *) "self", NULL
31056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31058 if (SWIG_arg_fail(1)) SWIG_fail
;
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31061 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31063 wxPyEndAllowThreads(__tstate
);
31064 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31079 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31080 PyObject
*resultobj
;
31081 wxWindow
*arg1
= (wxWindow
*) 0 ;
31082 wxString
*arg2
= 0 ;
31083 bool temp2
= false ;
31084 PyObject
* obj0
= 0 ;
31085 PyObject
* obj1
= 0 ;
31086 char *kwnames
[] = {
31087 (char *) "self",(char *) "tip", NULL
31090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31092 if (SWIG_arg_fail(1)) SWIG_fail
;
31094 arg2
= wxString_in_helper(obj1
);
31095 if (arg2
== NULL
) SWIG_fail
;
31099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31100 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31102 wxPyEndAllowThreads(__tstate
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31105 Py_INCREF(Py_None
); resultobj
= Py_None
;
31120 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31121 PyObject
*resultobj
;
31122 wxWindow
*arg1
= (wxWindow
*) 0 ;
31123 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31124 PyObject
* obj0
= 0 ;
31125 PyObject
* obj1
= 0 ;
31126 char *kwnames
[] = {
31127 (char *) "self",(char *) "tip", NULL
31130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31132 if (SWIG_arg_fail(1)) SWIG_fail
;
31133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31134 if (SWIG_arg_fail(2)) SWIG_fail
;
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 (arg1
)->SetToolTip(arg2
);
31139 wxPyEndAllowThreads(__tstate
);
31140 if (PyErr_Occurred()) SWIG_fail
;
31142 Py_INCREF(Py_None
); resultobj
= Py_None
;
31149 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31150 PyObject
*resultobj
;
31151 wxWindow
*arg1
= (wxWindow
*) 0 ;
31153 PyObject
* obj0
= 0 ;
31154 char *kwnames
[] = {
31155 (char *) "self", NULL
31158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31160 if (SWIG_arg_fail(1)) SWIG_fail
;
31162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31163 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31165 wxPyEndAllowThreads(__tstate
);
31166 if (PyErr_Occurred()) SWIG_fail
;
31169 resultobj
= wxPyMake_wxObject(result
, 0);
31177 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31178 PyObject
*resultobj
;
31179 wxWindow
*arg1
= (wxWindow
*) 0 ;
31180 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31181 PyObject
* obj0
= 0 ;
31182 PyObject
* obj1
= 0 ;
31183 char *kwnames
[] = {
31184 (char *) "self",(char *) "dropTarget", NULL
31187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31189 if (SWIG_arg_fail(1)) SWIG_fail
;
31190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31191 if (SWIG_arg_fail(2)) SWIG_fail
;
31193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31194 (arg1
)->SetDropTarget(arg2
);
31196 wxPyEndAllowThreads(__tstate
);
31197 if (PyErr_Occurred()) SWIG_fail
;
31199 Py_INCREF(Py_None
); resultobj
= Py_None
;
31206 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31207 PyObject
*resultobj
;
31208 wxWindow
*arg1
= (wxWindow
*) 0 ;
31209 wxPyDropTarget
*result
;
31210 PyObject
* obj0
= 0 ;
31211 char *kwnames
[] = {
31212 (char *) "self", NULL
31215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31217 if (SWIG_arg_fail(1)) SWIG_fail
;
31219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31222 wxPyEndAllowThreads(__tstate
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31232 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
;
31234 wxWindow
*arg1
= (wxWindow
*) 0 ;
31235 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 char *kwnames
[] = {
31239 (char *) "self",(char *) "constraints", NULL
31242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31244 if (SWIG_arg_fail(1)) SWIG_fail
;
31245 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31246 if (SWIG_arg_fail(2)) SWIG_fail
;
31248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31249 (arg1
)->SetConstraints(arg2
);
31251 wxPyEndAllowThreads(__tstate
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31254 Py_INCREF(Py_None
); resultobj
= Py_None
;
31261 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
;
31263 wxWindow
*arg1
= (wxWindow
*) 0 ;
31264 wxLayoutConstraints
*result
;
31265 PyObject
* obj0
= 0 ;
31266 char *kwnames
[] = {
31267 (char *) "self", NULL
31270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31272 if (SWIG_arg_fail(1)) SWIG_fail
;
31274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31275 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31287 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31288 PyObject
*resultobj
;
31289 wxWindow
*arg1
= (wxWindow
*) 0 ;
31291 PyObject
* obj0
= 0 ;
31292 PyObject
* obj1
= 0 ;
31293 char *kwnames
[] = {
31294 (char *) "self",(char *) "autoLayout", NULL
31297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31299 if (SWIG_arg_fail(1)) SWIG_fail
;
31301 arg2
= (bool)(SWIG_As_bool(obj1
));
31302 if (SWIG_arg_fail(2)) SWIG_fail
;
31305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31306 (arg1
)->SetAutoLayout(arg2
);
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31311 Py_INCREF(Py_None
); resultobj
= Py_None
;
31318 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31319 PyObject
*resultobj
;
31320 wxWindow
*arg1
= (wxWindow
*) 0 ;
31322 PyObject
* obj0
= 0 ;
31323 char *kwnames
[] = {
31324 (char *) "self", NULL
31327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31329 if (SWIG_arg_fail(1)) SWIG_fail
;
31331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31332 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31334 wxPyEndAllowThreads(__tstate
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31346 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31347 PyObject
*resultobj
;
31348 wxWindow
*arg1
= (wxWindow
*) 0 ;
31350 PyObject
* obj0
= 0 ;
31351 char *kwnames
[] = {
31352 (char *) "self", NULL
31355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31357 if (SWIG_arg_fail(1)) SWIG_fail
;
31359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31360 result
= (bool)(arg1
)->Layout();
31362 wxPyEndAllowThreads(__tstate
);
31363 if (PyErr_Occurred()) SWIG_fail
;
31366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31374 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31375 PyObject
*resultobj
;
31376 wxWindow
*arg1
= (wxWindow
*) 0 ;
31377 wxSizer
*arg2
= (wxSizer
*) 0 ;
31378 bool arg3
= (bool) true ;
31379 PyObject
* obj0
= 0 ;
31380 PyObject
* obj1
= 0 ;
31381 PyObject
* obj2
= 0 ;
31382 char *kwnames
[] = {
31383 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31388 if (SWIG_arg_fail(1)) SWIG_fail
;
31389 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31390 if (SWIG_arg_fail(2)) SWIG_fail
;
31393 arg3
= (bool)(SWIG_As_bool(obj2
));
31394 if (SWIG_arg_fail(3)) SWIG_fail
;
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 (arg1
)->SetSizer(arg2
,arg3
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 Py_INCREF(Py_None
); resultobj
= Py_None
;
31411 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31412 PyObject
*resultobj
;
31413 wxWindow
*arg1
= (wxWindow
*) 0 ;
31414 wxSizer
*arg2
= (wxSizer
*) 0 ;
31415 bool arg3
= (bool) true ;
31416 PyObject
* obj0
= 0 ;
31417 PyObject
* obj1
= 0 ;
31418 PyObject
* obj2
= 0 ;
31419 char *kwnames
[] = {
31420 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31425 if (SWIG_arg_fail(1)) SWIG_fail
;
31426 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31427 if (SWIG_arg_fail(2)) SWIG_fail
;
31430 arg3
= (bool)(SWIG_As_bool(obj2
));
31431 if (SWIG_arg_fail(3)) SWIG_fail
;
31435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31436 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31438 wxPyEndAllowThreads(__tstate
);
31439 if (PyErr_Occurred()) SWIG_fail
;
31441 Py_INCREF(Py_None
); resultobj
= Py_None
;
31448 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31449 PyObject
*resultobj
;
31450 wxWindow
*arg1
= (wxWindow
*) 0 ;
31452 PyObject
* obj0
= 0 ;
31453 char *kwnames
[] = {
31454 (char *) "self", NULL
31457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31459 if (SWIG_arg_fail(1)) SWIG_fail
;
31461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= wxPyMake_wxSizer(result
, 0);
31476 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31477 PyObject
*resultobj
;
31478 wxWindow
*arg1
= (wxWindow
*) 0 ;
31479 wxSizer
*arg2
= (wxSizer
*) 0 ;
31480 PyObject
* obj0
= 0 ;
31481 PyObject
* obj1
= 0 ;
31482 char *kwnames
[] = {
31483 (char *) "self",(char *) "sizer", NULL
31486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31488 if (SWIG_arg_fail(1)) SWIG_fail
;
31489 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31490 if (SWIG_arg_fail(2)) SWIG_fail
;
31492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31493 (arg1
)->SetContainingSizer(arg2
);
31495 wxPyEndAllowThreads(__tstate
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31498 Py_INCREF(Py_None
); resultobj
= Py_None
;
31505 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31506 PyObject
*resultobj
;
31507 wxWindow
*arg1
= (wxWindow
*) 0 ;
31509 PyObject
* obj0
= 0 ;
31510 char *kwnames
[] = {
31511 (char *) "self", NULL
31514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31516 if (SWIG_arg_fail(1)) SWIG_fail
;
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31521 wxPyEndAllowThreads(__tstate
);
31522 if (PyErr_Occurred()) SWIG_fail
;
31525 resultobj
= wxPyMake_wxSizer(result
, 0);
31533 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31534 PyObject
*resultobj
;
31535 wxWindow
*arg1
= (wxWindow
*) 0 ;
31536 PyObject
* obj0
= 0 ;
31537 char *kwnames
[] = {
31538 (char *) "self", NULL
31541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31543 if (SWIG_arg_fail(1)) SWIG_fail
;
31545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31546 (arg1
)->InheritAttributes();
31548 wxPyEndAllowThreads(__tstate
);
31549 if (PyErr_Occurred()) SWIG_fail
;
31551 Py_INCREF(Py_None
); resultobj
= Py_None
;
31558 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31559 PyObject
*resultobj
;
31560 wxWindow
*arg1
= (wxWindow
*) 0 ;
31562 PyObject
* obj0
= 0 ;
31563 char *kwnames
[] = {
31564 (char *) "self", NULL
31567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31569 if (SWIG_arg_fail(1)) SWIG_fail
;
31571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31572 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31574 wxPyEndAllowThreads(__tstate
);
31575 if (PyErr_Occurred()) SWIG_fail
;
31578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31586 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31589 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31591 return Py_BuildValue((char *)"");
31593 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31594 PyObject
*resultobj
;
31596 wxWindow
*arg2
= (wxWindow
*) NULL
;
31598 PyObject
* obj0
= 0 ;
31599 PyObject
* obj1
= 0 ;
31600 char *kwnames
[] = {
31601 (char *) "id",(char *) "parent", NULL
31604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31606 arg1
= (long)(SWIG_As_long(obj0
));
31607 if (SWIG_arg_fail(1)) SWIG_fail
;
31610 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31611 if (SWIG_arg_fail(2)) SWIG_fail
;
31614 if (!wxPyCheckForApp()) SWIG_fail
;
31615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31616 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31618 wxPyEndAllowThreads(__tstate
);
31619 if (PyErr_Occurred()) SWIG_fail
;
31622 resultobj
= wxPyMake_wxObject(result
, 0);
31630 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
;
31632 wxString
*arg1
= 0 ;
31633 wxWindow
*arg2
= (wxWindow
*) NULL
;
31635 bool temp1
= false ;
31636 PyObject
* obj0
= 0 ;
31637 PyObject
* obj1
= 0 ;
31638 char *kwnames
[] = {
31639 (char *) "name",(char *) "parent", NULL
31642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31644 arg1
= wxString_in_helper(obj0
);
31645 if (arg1
== NULL
) SWIG_fail
;
31649 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31650 if (SWIG_arg_fail(2)) SWIG_fail
;
31653 if (!wxPyCheckForApp()) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31661 resultobj
= wxPyMake_wxObject(result
, 0);
31677 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31678 PyObject
*resultobj
;
31679 wxString
*arg1
= 0 ;
31680 wxWindow
*arg2
= (wxWindow
*) NULL
;
31682 bool temp1
= false ;
31683 PyObject
* obj0
= 0 ;
31684 PyObject
* obj1
= 0 ;
31685 char *kwnames
[] = {
31686 (char *) "label",(char *) "parent", NULL
31689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31691 arg1
= wxString_in_helper(obj0
);
31692 if (arg1
== NULL
) SWIG_fail
;
31696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31697 if (SWIG_arg_fail(2)) SWIG_fail
;
31700 if (!wxPyCheckForApp()) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31708 resultobj
= wxPyMake_wxObject(result
, 0);
31724 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31725 PyObject
*resultobj
;
31726 wxWindow
*arg1
= (wxWindow
*) 0 ;
31727 unsigned long arg2
;
31729 PyObject
* obj0
= 0 ;
31730 PyObject
* obj1
= 0 ;
31731 char *kwnames
[] = {
31732 (char *) "parent",(char *) "_hWnd", NULL
31735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
31736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31737 if (SWIG_arg_fail(1)) SWIG_fail
;
31739 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
31740 if (SWIG_arg_fail(2)) SWIG_fail
;
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
31746 wxPyEndAllowThreads(__tstate
);
31747 if (PyErr_Occurred()) SWIG_fail
;
31750 resultobj
= wxPyMake_wxObject(result
, 0);
31758 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31759 PyObject
*resultobj
;
31760 wxValidator
*result
;
31761 char *kwnames
[] = {
31765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 result
= (wxValidator
*)new wxValidator();
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
31780 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
;
31782 wxValidator
*arg1
= (wxValidator
*) 0 ;
31783 wxValidator
*result
;
31784 PyObject
* obj0
= 0 ;
31785 char *kwnames
[] = {
31786 (char *) "self", NULL
31789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
31790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31791 if (SWIG_arg_fail(1)) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 result
= (wxValidator
*)(arg1
)->Clone();
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31800 resultobj
= wxPyMake_wxObject(result
, 0);
31808 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
;
31810 wxValidator
*arg1
= (wxValidator
*) 0 ;
31811 wxWindow
*arg2
= (wxWindow
*) 0 ;
31813 PyObject
* obj0
= 0 ;
31814 PyObject
* obj1
= 0 ;
31815 char *kwnames
[] = {
31816 (char *) "self",(char *) "parent", NULL
31819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
31820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31821 if (SWIG_arg_fail(1)) SWIG_fail
;
31822 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31823 if (SWIG_arg_fail(2)) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 result
= (bool)(arg1
)->Validate(arg2
);
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31840 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31841 PyObject
*resultobj
;
31842 wxValidator
*arg1
= (wxValidator
*) 0 ;
31844 PyObject
* obj0
= 0 ;
31845 char *kwnames
[] = {
31846 (char *) "self", NULL
31849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
31850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31851 if (SWIG_arg_fail(1)) SWIG_fail
;
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 result
= (bool)(arg1
)->TransferToWindow();
31856 wxPyEndAllowThreads(__tstate
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31868 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
;
31870 wxValidator
*arg1
= (wxValidator
*) 0 ;
31872 PyObject
* obj0
= 0 ;
31873 char *kwnames
[] = {
31874 (char *) "self", NULL
31877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
31878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31879 if (SWIG_arg_fail(1)) SWIG_fail
;
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 result
= (bool)(arg1
)->TransferFromWindow();
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31896 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
;
31898 wxValidator
*arg1
= (wxValidator
*) 0 ;
31900 PyObject
* obj0
= 0 ;
31901 char *kwnames
[] = {
31902 (char *) "self", NULL
31905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
31906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31907 if (SWIG_arg_fail(1)) SWIG_fail
;
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 result
= (wxWindow
*)(arg1
)->GetWindow();
31912 wxPyEndAllowThreads(__tstate
);
31913 if (PyErr_Occurred()) SWIG_fail
;
31916 resultobj
= wxPyMake_wxObject(result
, 0);
31924 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
;
31926 wxValidator
*arg1
= (wxValidator
*) 0 ;
31927 wxWindow
*arg2
= (wxWindow
*) 0 ;
31928 PyObject
* obj0
= 0 ;
31929 PyObject
* obj1
= 0 ;
31930 char *kwnames
[] = {
31931 (char *) "self",(char *) "window", NULL
31934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
31935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
31936 if (SWIG_arg_fail(1)) SWIG_fail
;
31937 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31938 if (SWIG_arg_fail(2)) SWIG_fail
;
31940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31941 (arg1
)->SetWindow(arg2
);
31943 wxPyEndAllowThreads(__tstate
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31946 Py_INCREF(Py_None
); resultobj
= Py_None
;
31953 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31954 PyObject
*resultobj
;
31956 char *kwnames
[] = {
31960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
31962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31963 result
= (bool)wxValidator::IsSilent();
31965 wxPyEndAllowThreads(__tstate
);
31966 if (PyErr_Occurred()) SWIG_fail
;
31969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31977 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31978 PyObject
*resultobj
;
31979 int arg1
= (int) true ;
31980 PyObject
* obj0
= 0 ;
31981 char *kwnames
[] = {
31982 (char *) "doIt", NULL
31985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
31988 arg1
= (int)(SWIG_As_int(obj0
));
31989 if (SWIG_arg_fail(1)) SWIG_fail
;
31993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31994 wxValidator::SetBellOnError(arg1
);
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
31999 Py_INCREF(Py_None
); resultobj
= Py_None
;
32006 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32009 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32011 return Py_BuildValue((char *)"");
32013 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
;
32015 wxPyValidator
*result
;
32016 char *kwnames
[] = {
32020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 result
= (wxPyValidator
*)new wxPyValidator();
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32035 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
;
32037 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32038 PyObject
*arg2
= (PyObject
*) 0 ;
32039 PyObject
*arg3
= (PyObject
*) 0 ;
32040 int arg4
= (int) true ;
32041 PyObject
* obj0
= 0 ;
32042 PyObject
* obj1
= 0 ;
32043 PyObject
* obj2
= 0 ;
32044 PyObject
* obj3
= 0 ;
32045 char *kwnames
[] = {
32046 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32050 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32051 if (SWIG_arg_fail(1)) SWIG_fail
;
32056 arg4
= (int)(SWIG_As_int(obj3
));
32057 if (SWIG_arg_fail(4)) SWIG_fail
;
32061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32062 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32064 wxPyEndAllowThreads(__tstate
);
32065 if (PyErr_Occurred()) SWIG_fail
;
32067 Py_INCREF(Py_None
); resultobj
= Py_None
;
32074 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32077 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32079 return Py_BuildValue((char *)"");
32081 static int _wrap_DefaultValidator_set(PyObject
*) {
32082 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32087 static PyObject
*_wrap_DefaultValidator_get(void) {
32090 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32095 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32096 PyObject
*resultobj
;
32097 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32098 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32099 long arg2
= (long) 0 ;
32101 bool temp1
= false ;
32102 PyObject
* obj0
= 0 ;
32103 PyObject
* obj1
= 0 ;
32104 char *kwnames
[] = {
32105 (char *) "title",(char *) "style", NULL
32108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32111 arg1
= wxString_in_helper(obj0
);
32112 if (arg1
== NULL
) SWIG_fail
;
32118 arg2
= (long)(SWIG_As_long(obj1
));
32119 if (SWIG_arg_fail(2)) SWIG_fail
;
32123 if (!wxPyCheckForApp()) SWIG_fail
;
32124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32125 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32127 wxPyEndAllowThreads(__tstate
);
32128 if (PyErr_Occurred()) SWIG_fail
;
32130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32145 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32146 PyObject
*resultobj
;
32147 wxMenu
*arg1
= (wxMenu
*) 0 ;
32149 wxString
*arg3
= 0 ;
32150 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32151 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32152 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32153 wxMenuItem
*result
;
32154 bool temp3
= false ;
32155 bool temp4
= false ;
32156 PyObject
* obj0
= 0 ;
32157 PyObject
* obj1
= 0 ;
32158 PyObject
* obj2
= 0 ;
32159 PyObject
* obj3
= 0 ;
32160 PyObject
* obj4
= 0 ;
32161 char *kwnames
[] = {
32162 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32167 if (SWIG_arg_fail(1)) SWIG_fail
;
32169 arg2
= (int)(SWIG_As_int(obj1
));
32170 if (SWIG_arg_fail(2)) SWIG_fail
;
32173 arg3
= wxString_in_helper(obj2
);
32174 if (arg3
== NULL
) SWIG_fail
;
32179 arg4
= wxString_in_helper(obj3
);
32180 if (arg4
== NULL
) SWIG_fail
;
32186 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32187 if (SWIG_arg_fail(5)) SWIG_fail
;
32191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32192 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32194 wxPyEndAllowThreads(__tstate
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32198 resultobj
= wxPyMake_wxObject(result
, 0);
32222 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32223 PyObject
*resultobj
;
32224 wxMenu
*arg1
= (wxMenu
*) 0 ;
32225 wxMenuItem
*result
;
32226 PyObject
* obj0
= 0 ;
32227 char *kwnames
[] = {
32228 (char *) "self", NULL
32231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32233 if (SWIG_arg_fail(1)) SWIG_fail
;
32235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32242 resultobj
= wxPyMake_wxObject(result
, 0);
32250 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32251 PyObject
*resultobj
;
32252 wxMenu
*arg1
= (wxMenu
*) 0 ;
32254 wxString
*arg3
= 0 ;
32255 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32256 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32257 wxMenuItem
*result
;
32258 bool temp3
= false ;
32259 bool temp4
= false ;
32260 PyObject
* obj0
= 0 ;
32261 PyObject
* obj1
= 0 ;
32262 PyObject
* obj2
= 0 ;
32263 PyObject
* obj3
= 0 ;
32264 char *kwnames
[] = {
32265 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32270 if (SWIG_arg_fail(1)) SWIG_fail
;
32272 arg2
= (int)(SWIG_As_int(obj1
));
32273 if (SWIG_arg_fail(2)) SWIG_fail
;
32276 arg3
= wxString_in_helper(obj2
);
32277 if (arg3
== NULL
) SWIG_fail
;
32282 arg4
= wxString_in_helper(obj3
);
32283 if (arg4
== NULL
) SWIG_fail
;
32288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32289 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32291 wxPyEndAllowThreads(__tstate
);
32292 if (PyErr_Occurred()) SWIG_fail
;
32295 resultobj
= wxPyMake_wxObject(result
, 0);
32319 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32320 PyObject
*resultobj
;
32321 wxMenu
*arg1
= (wxMenu
*) 0 ;
32323 wxString
*arg3
= 0 ;
32324 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32325 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32326 wxMenuItem
*result
;
32327 bool temp3
= false ;
32328 bool temp4
= false ;
32329 PyObject
* obj0
= 0 ;
32330 PyObject
* obj1
= 0 ;
32331 PyObject
* obj2
= 0 ;
32332 PyObject
* obj3
= 0 ;
32333 char *kwnames
[] = {
32334 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32339 if (SWIG_arg_fail(1)) SWIG_fail
;
32341 arg2
= (int)(SWIG_As_int(obj1
));
32342 if (SWIG_arg_fail(2)) SWIG_fail
;
32345 arg3
= wxString_in_helper(obj2
);
32346 if (arg3
== NULL
) SWIG_fail
;
32351 arg4
= wxString_in_helper(obj3
);
32352 if (arg4
== NULL
) SWIG_fail
;
32357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32358 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32360 wxPyEndAllowThreads(__tstate
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32364 resultobj
= wxPyMake_wxObject(result
, 0);
32388 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32389 PyObject
*resultobj
;
32390 wxMenu
*arg1
= (wxMenu
*) 0 ;
32392 wxString
*arg3
= 0 ;
32393 wxMenu
*arg4
= (wxMenu
*) 0 ;
32394 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32395 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32396 wxMenuItem
*result
;
32397 bool temp3
= 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 *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",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
= (int)(SWIG_As_int(obj1
));
32413 if (SWIG_arg_fail(2)) SWIG_fail
;
32416 arg3
= wxString_in_helper(obj2
);
32417 if (arg3
== NULL
) SWIG_fail
;
32420 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32421 if (SWIG_arg_fail(4)) SWIG_fail
;
32424 arg5
= wxString_in_helper(obj4
);
32425 if (arg5
== NULL
) SWIG_fail
;
32430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32431 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32437 resultobj
= wxPyMake_wxObject(result
, 0);
32461 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32462 PyObject
*resultobj
;
32463 wxMenu
*arg1
= (wxMenu
*) 0 ;
32464 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32465 wxMenuItem
*result
;
32466 PyObject
* obj0
= 0 ;
32467 PyObject
* obj1
= 0 ;
32468 char *kwnames
[] = {
32469 (char *) "self",(char *) "item", NULL
32472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32474 if (SWIG_arg_fail(1)) SWIG_fail
;
32475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32476 if (SWIG_arg_fail(2)) SWIG_fail
;
32478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32479 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32481 wxPyEndAllowThreads(__tstate
);
32482 if (PyErr_Occurred()) SWIG_fail
;
32485 resultobj
= wxPyMake_wxObject(result
, 0);
32493 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
;
32495 wxMenu
*arg1
= (wxMenu
*) 0 ;
32496 PyObject
* obj0
= 0 ;
32497 char *kwnames
[] = {
32498 (char *) "self", NULL
32501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32503 if (SWIG_arg_fail(1)) SWIG_fail
;
32505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32508 wxPyEndAllowThreads(__tstate
);
32509 if (PyErr_Occurred()) SWIG_fail
;
32511 Py_INCREF(Py_None
); resultobj
= Py_None
;
32518 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32519 PyObject
*resultobj
;
32520 wxMenu
*arg1
= (wxMenu
*) 0 ;
32522 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32523 wxMenuItem
*result
;
32524 PyObject
* obj0
= 0 ;
32525 PyObject
* obj1
= 0 ;
32526 PyObject
* obj2
= 0 ;
32527 char *kwnames
[] = {
32528 (char *) "self",(char *) "pos",(char *) "item", NULL
32531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32533 if (SWIG_arg_fail(1)) SWIG_fail
;
32535 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32536 if (SWIG_arg_fail(2)) SWIG_fail
;
32538 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32539 if (SWIG_arg_fail(3)) SWIG_fail
;
32541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32542 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32544 wxPyEndAllowThreads(__tstate
);
32545 if (PyErr_Occurred()) SWIG_fail
;
32548 resultobj
= wxPyMake_wxObject(result
, 0);
32556 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
;
32558 wxMenu
*arg1
= (wxMenu
*) 0 ;
32561 wxString
*arg4
= 0 ;
32562 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32563 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32564 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32565 wxMenuItem
*result
;
32566 bool temp4
= false ;
32567 bool temp5
= false ;
32568 PyObject
* obj0
= 0 ;
32569 PyObject
* obj1
= 0 ;
32570 PyObject
* obj2
= 0 ;
32571 PyObject
* obj3
= 0 ;
32572 PyObject
* obj4
= 0 ;
32573 PyObject
* obj5
= 0 ;
32574 char *kwnames
[] = {
32575 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32580 if (SWIG_arg_fail(1)) SWIG_fail
;
32582 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32583 if (SWIG_arg_fail(2)) SWIG_fail
;
32586 arg3
= (int)(SWIG_As_int(obj2
));
32587 if (SWIG_arg_fail(3)) SWIG_fail
;
32590 arg4
= wxString_in_helper(obj3
);
32591 if (arg4
== NULL
) SWIG_fail
;
32596 arg5
= wxString_in_helper(obj4
);
32597 if (arg5
== NULL
) SWIG_fail
;
32603 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32604 if (SWIG_arg_fail(6)) SWIG_fail
;
32608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32609 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32611 wxPyEndAllowThreads(__tstate
);
32612 if (PyErr_Occurred()) SWIG_fail
;
32615 resultobj
= wxPyMake_wxObject(result
, 0);
32639 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32640 PyObject
*resultobj
;
32641 wxMenu
*arg1
= (wxMenu
*) 0 ;
32643 wxMenuItem
*result
;
32644 PyObject
* obj0
= 0 ;
32645 PyObject
* obj1
= 0 ;
32646 char *kwnames
[] = {
32647 (char *) "self",(char *) "pos", NULL
32650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32652 if (SWIG_arg_fail(1)) SWIG_fail
;
32654 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32655 if (SWIG_arg_fail(2)) SWIG_fail
;
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32659 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32665 resultobj
= wxPyMake_wxObject(result
, 0);
32673 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
;
32675 wxMenu
*arg1
= (wxMenu
*) 0 ;
32678 wxString
*arg4
= 0 ;
32679 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32680 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32681 wxMenuItem
*result
;
32682 bool temp4
= false ;
32683 bool temp5
= false ;
32684 PyObject
* obj0
= 0 ;
32685 PyObject
* obj1
= 0 ;
32686 PyObject
* obj2
= 0 ;
32687 PyObject
* obj3
= 0 ;
32688 PyObject
* obj4
= 0 ;
32689 char *kwnames
[] = {
32690 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32695 if (SWIG_arg_fail(1)) SWIG_fail
;
32697 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32698 if (SWIG_arg_fail(2)) SWIG_fail
;
32701 arg3
= (int)(SWIG_As_int(obj2
));
32702 if (SWIG_arg_fail(3)) SWIG_fail
;
32705 arg4
= wxString_in_helper(obj3
);
32706 if (arg4
== NULL
) SWIG_fail
;
32711 arg5
= wxString_in_helper(obj4
);
32712 if (arg5
== NULL
) SWIG_fail
;
32717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32724 resultobj
= wxPyMake_wxObject(result
, 0);
32748 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32749 PyObject
*resultobj
;
32750 wxMenu
*arg1
= (wxMenu
*) 0 ;
32753 wxString
*arg4
= 0 ;
32754 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32755 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32756 wxMenuItem
*result
;
32757 bool temp4
= false ;
32758 bool temp5
= false ;
32759 PyObject
* obj0
= 0 ;
32760 PyObject
* obj1
= 0 ;
32761 PyObject
* obj2
= 0 ;
32762 PyObject
* obj3
= 0 ;
32763 PyObject
* obj4
= 0 ;
32764 char *kwnames
[] = {
32765 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32770 if (SWIG_arg_fail(1)) SWIG_fail
;
32772 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32773 if (SWIG_arg_fail(2)) SWIG_fail
;
32776 arg3
= (int)(SWIG_As_int(obj2
));
32777 if (SWIG_arg_fail(3)) SWIG_fail
;
32780 arg4
= wxString_in_helper(obj3
);
32781 if (arg4
== NULL
) SWIG_fail
;
32786 arg5
= wxString_in_helper(obj4
);
32787 if (arg5
== NULL
) SWIG_fail
;
32792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
32795 wxPyEndAllowThreads(__tstate
);
32796 if (PyErr_Occurred()) SWIG_fail
;
32799 resultobj
= wxPyMake_wxObject(result
, 0);
32823 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32824 PyObject
*resultobj
;
32825 wxMenu
*arg1
= (wxMenu
*) 0 ;
32828 wxString
*arg4
= 0 ;
32829 wxMenu
*arg5
= (wxMenu
*) 0 ;
32830 wxString
const &arg6_defvalue
= wxPyEmptyString
;
32831 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
32832 wxMenuItem
*result
;
32833 bool temp4
= false ;
32834 bool temp6
= false ;
32835 PyObject
* obj0
= 0 ;
32836 PyObject
* obj1
= 0 ;
32837 PyObject
* obj2
= 0 ;
32838 PyObject
* obj3
= 0 ;
32839 PyObject
* obj4
= 0 ;
32840 PyObject
* obj5
= 0 ;
32841 char *kwnames
[] = {
32842 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32847 if (SWIG_arg_fail(1)) SWIG_fail
;
32849 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32850 if (SWIG_arg_fail(2)) SWIG_fail
;
32853 arg3
= (int)(SWIG_As_int(obj2
));
32854 if (SWIG_arg_fail(3)) SWIG_fail
;
32857 arg4
= wxString_in_helper(obj3
);
32858 if (arg4
== NULL
) SWIG_fail
;
32861 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32862 if (SWIG_arg_fail(5)) SWIG_fail
;
32865 arg6
= wxString_in_helper(obj5
);
32866 if (arg6
== NULL
) SWIG_fail
;
32871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32872 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
32874 wxPyEndAllowThreads(__tstate
);
32875 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= wxPyMake_wxObject(result
, 0);
32902 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32903 PyObject
*resultobj
;
32904 wxMenu
*arg1
= (wxMenu
*) 0 ;
32905 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32906 wxMenuItem
*result
;
32907 PyObject
* obj0
= 0 ;
32908 PyObject
* obj1
= 0 ;
32909 char *kwnames
[] = {
32910 (char *) "self",(char *) "item", NULL
32913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32915 if (SWIG_arg_fail(1)) SWIG_fail
;
32916 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32917 if (SWIG_arg_fail(2)) SWIG_fail
;
32919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32920 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
32922 wxPyEndAllowThreads(__tstate
);
32923 if (PyErr_Occurred()) SWIG_fail
;
32926 resultobj
= wxPyMake_wxObject(result
, 0);
32934 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32935 PyObject
*resultobj
;
32936 wxMenu
*arg1
= (wxMenu
*) 0 ;
32938 wxString
*arg3
= 0 ;
32939 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32940 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32941 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32942 wxMenuItem
*result
;
32943 bool temp3
= false ;
32944 bool temp4
= false ;
32945 PyObject
* obj0
= 0 ;
32946 PyObject
* obj1
= 0 ;
32947 PyObject
* obj2
= 0 ;
32948 PyObject
* obj3
= 0 ;
32949 PyObject
* obj4
= 0 ;
32950 char *kwnames
[] = {
32951 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32955 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32956 if (SWIG_arg_fail(1)) SWIG_fail
;
32958 arg2
= (int)(SWIG_As_int(obj1
));
32959 if (SWIG_arg_fail(2)) SWIG_fail
;
32962 arg3
= wxString_in_helper(obj2
);
32963 if (arg3
== NULL
) SWIG_fail
;
32968 arg4
= wxString_in_helper(obj3
);
32969 if (arg4
== NULL
) SWIG_fail
;
32975 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32976 if (SWIG_arg_fail(5)) SWIG_fail
;
32980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32981 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32983 wxPyEndAllowThreads(__tstate
);
32984 if (PyErr_Occurred()) SWIG_fail
;
32987 resultobj
= wxPyMake_wxObject(result
, 0);
33011 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
;
33013 wxMenu
*arg1
= (wxMenu
*) 0 ;
33014 wxMenuItem
*result
;
33015 PyObject
* obj0
= 0 ;
33016 char *kwnames
[] = {
33017 (char *) "self", NULL
33020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33022 if (SWIG_arg_fail(1)) SWIG_fail
;
33024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33025 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33027 wxPyEndAllowThreads(__tstate
);
33028 if (PyErr_Occurred()) SWIG_fail
;
33031 resultobj
= wxPyMake_wxObject(result
, 0);
33039 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33040 PyObject
*resultobj
;
33041 wxMenu
*arg1
= (wxMenu
*) 0 ;
33043 wxString
*arg3
= 0 ;
33044 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33045 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33046 wxMenuItem
*result
;
33047 bool temp3
= false ;
33048 bool temp4
= false ;
33049 PyObject
* obj0
= 0 ;
33050 PyObject
* obj1
= 0 ;
33051 PyObject
* obj2
= 0 ;
33052 PyObject
* obj3
= 0 ;
33053 char *kwnames
[] = {
33054 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33059 if (SWIG_arg_fail(1)) SWIG_fail
;
33061 arg2
= (int)(SWIG_As_int(obj1
));
33062 if (SWIG_arg_fail(2)) SWIG_fail
;
33065 arg3
= wxString_in_helper(obj2
);
33066 if (arg3
== NULL
) SWIG_fail
;
33071 arg4
= wxString_in_helper(obj3
);
33072 if (arg4
== NULL
) SWIG_fail
;
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33084 resultobj
= wxPyMake_wxObject(result
, 0);
33108 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33109 PyObject
*resultobj
;
33110 wxMenu
*arg1
= (wxMenu
*) 0 ;
33112 wxString
*arg3
= 0 ;
33113 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33114 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33115 wxMenuItem
*result
;
33116 bool temp3
= false ;
33117 bool temp4
= false ;
33118 PyObject
* obj0
= 0 ;
33119 PyObject
* obj1
= 0 ;
33120 PyObject
* obj2
= 0 ;
33121 PyObject
* obj3
= 0 ;
33122 char *kwnames
[] = {
33123 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33128 if (SWIG_arg_fail(1)) SWIG_fail
;
33130 arg2
= (int)(SWIG_As_int(obj1
));
33131 if (SWIG_arg_fail(2)) SWIG_fail
;
33134 arg3
= wxString_in_helper(obj2
);
33135 if (arg3
== NULL
) SWIG_fail
;
33140 arg4
= wxString_in_helper(obj3
);
33141 if (arg4
== NULL
) SWIG_fail
;
33146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33147 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33149 wxPyEndAllowThreads(__tstate
);
33150 if (PyErr_Occurred()) SWIG_fail
;
33153 resultobj
= wxPyMake_wxObject(result
, 0);
33177 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33178 PyObject
*resultobj
;
33179 wxMenu
*arg1
= (wxMenu
*) 0 ;
33181 wxString
*arg3
= 0 ;
33182 wxMenu
*arg4
= (wxMenu
*) 0 ;
33183 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33184 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33185 wxMenuItem
*result
;
33186 bool temp3
= false ;
33187 bool temp5
= false ;
33188 PyObject
* obj0
= 0 ;
33189 PyObject
* obj1
= 0 ;
33190 PyObject
* obj2
= 0 ;
33191 PyObject
* obj3
= 0 ;
33192 PyObject
* obj4
= 0 ;
33193 char *kwnames
[] = {
33194 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33199 if (SWIG_arg_fail(1)) SWIG_fail
;
33201 arg2
= (int)(SWIG_As_int(obj1
));
33202 if (SWIG_arg_fail(2)) SWIG_fail
;
33205 arg3
= wxString_in_helper(obj2
);
33206 if (arg3
== NULL
) SWIG_fail
;
33209 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33210 if (SWIG_arg_fail(4)) SWIG_fail
;
33213 arg5
= wxString_in_helper(obj4
);
33214 if (arg5
== NULL
) SWIG_fail
;
33219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33220 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33222 wxPyEndAllowThreads(__tstate
);
33223 if (PyErr_Occurred()) SWIG_fail
;
33226 resultobj
= wxPyMake_wxObject(result
, 0);
33250 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33251 PyObject
*resultobj
;
33252 wxMenu
*arg1
= (wxMenu
*) 0 ;
33254 wxMenuItem
*result
;
33255 PyObject
* obj0
= 0 ;
33256 PyObject
* obj1
= 0 ;
33257 char *kwnames
[] = {
33258 (char *) "self",(char *) "id", NULL
33261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33263 if (SWIG_arg_fail(1)) SWIG_fail
;
33265 arg2
= (int)(SWIG_As_int(obj1
));
33266 if (SWIG_arg_fail(2)) SWIG_fail
;
33269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33270 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33272 wxPyEndAllowThreads(__tstate
);
33273 if (PyErr_Occurred()) SWIG_fail
;
33276 resultobj
= wxPyMake_wxObject(result
, 0);
33284 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
;
33286 wxMenu
*arg1
= (wxMenu
*) 0 ;
33287 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33288 wxMenuItem
*result
;
33289 PyObject
* obj0
= 0 ;
33290 PyObject
* obj1
= 0 ;
33291 char *kwnames
[] = {
33292 (char *) "self",(char *) "item", NULL
33295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33297 if (SWIG_arg_fail(1)) SWIG_fail
;
33298 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33299 if (SWIG_arg_fail(2)) SWIG_fail
;
33301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33302 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33304 wxPyEndAllowThreads(__tstate
);
33305 if (PyErr_Occurred()) SWIG_fail
;
33308 resultobj
= wxPyMake_wxObject(result
, 0);
33316 static PyObject
*_wrap_Menu_Delete(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_Delete",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)(arg1
)->Delete(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_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33351 PyObject
*resultobj
;
33352 wxMenu
*arg1
= (wxMenu
*) 0 ;
33353 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33355 PyObject
* obj0
= 0 ;
33356 PyObject
* obj1
= 0 ;
33357 char *kwnames
[] = {
33358 (char *) "self",(char *) "item", NULL
33361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33363 if (SWIG_arg_fail(1)) SWIG_fail
;
33364 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33365 if (SWIG_arg_fail(2)) SWIG_fail
;
33367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33368 result
= (bool)(arg1
)->Delete(arg2
);
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33382 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33383 PyObject
*resultobj
;
33384 wxMenu
*arg1
= (wxMenu
*) 0 ;
33385 PyObject
* obj0
= 0 ;
33386 char *kwnames
[] = {
33387 (char *) "self", NULL
33390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33392 if (SWIG_arg_fail(1)) SWIG_fail
;
33394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33395 wxMenu_Destroy(arg1
);
33397 wxPyEndAllowThreads(__tstate
);
33398 if (PyErr_Occurred()) SWIG_fail
;
33400 Py_INCREF(Py_None
); resultobj
= Py_None
;
33407 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33408 PyObject
*resultobj
;
33409 wxMenu
*arg1
= (wxMenu
*) 0 ;
33412 PyObject
* obj0
= 0 ;
33413 PyObject
* obj1
= 0 ;
33414 char *kwnames
[] = {
33415 (char *) "self",(char *) "id", NULL
33418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33420 if (SWIG_arg_fail(1)) SWIG_fail
;
33422 arg2
= (int)(SWIG_As_int(obj1
));
33423 if (SWIG_arg_fail(2)) SWIG_fail
;
33426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33427 result
= (bool)(arg1
)->Destroy(arg2
);
33429 wxPyEndAllowThreads(__tstate
);
33430 if (PyErr_Occurred()) SWIG_fail
;
33433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33441 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33442 PyObject
*resultobj
;
33443 wxMenu
*arg1
= (wxMenu
*) 0 ;
33444 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33446 PyObject
* obj0
= 0 ;
33447 PyObject
* obj1
= 0 ;
33448 char *kwnames
[] = {
33449 (char *) "self",(char *) "item", NULL
33452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33453 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33454 if (SWIG_arg_fail(1)) SWIG_fail
;
33455 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33456 if (SWIG_arg_fail(2)) SWIG_fail
;
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 result
= (bool)(arg1
)->Destroy(arg2
);
33461 wxPyEndAllowThreads(__tstate
);
33462 if (PyErr_Occurred()) SWIG_fail
;
33465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33473 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33474 PyObject
*resultobj
;
33475 wxMenu
*arg1
= (wxMenu
*) 0 ;
33477 PyObject
* obj0
= 0 ;
33478 char *kwnames
[] = {
33479 (char *) "self", NULL
33482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33483 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33484 if (SWIG_arg_fail(1)) SWIG_fail
;
33486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33487 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33489 wxPyEndAllowThreads(__tstate
);
33490 if (PyErr_Occurred()) SWIG_fail
;
33493 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33501 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33502 PyObject
*resultobj
;
33503 wxMenu
*arg1
= (wxMenu
*) 0 ;
33505 PyObject
* obj0
= 0 ;
33506 char *kwnames
[] = {
33507 (char *) "self", NULL
33510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33512 if (SWIG_arg_fail(1)) SWIG_fail
;
33514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33515 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33517 wxPyEndAllowThreads(__tstate
);
33518 if (PyErr_Occurred()) SWIG_fail
;
33520 resultobj
= result
;
33527 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33528 PyObject
*resultobj
;
33529 wxMenu
*arg1
= (wxMenu
*) 0 ;
33530 wxString
*arg2
= 0 ;
33532 bool temp2
= false ;
33533 PyObject
* obj0
= 0 ;
33534 PyObject
* obj1
= 0 ;
33535 char *kwnames
[] = {
33536 (char *) "self",(char *) "item", NULL
33539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33541 if (SWIG_arg_fail(1)) SWIG_fail
;
33543 arg2
= wxString_in_helper(obj1
);
33544 if (arg2
== NULL
) SWIG_fail
;
33548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33549 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33551 wxPyEndAllowThreads(__tstate
);
33552 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= SWIG_From_int((int)(result
));
33571 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33572 PyObject
*resultobj
;
33573 wxMenu
*arg1
= (wxMenu
*) 0 ;
33575 wxMenuItem
*result
;
33576 PyObject
* obj0
= 0 ;
33577 PyObject
* obj1
= 0 ;
33578 char *kwnames
[] = {
33579 (char *) "self",(char *) "id", NULL
33582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33584 if (SWIG_arg_fail(1)) SWIG_fail
;
33586 arg2
= (int)(SWIG_As_int(obj1
));
33587 if (SWIG_arg_fail(2)) SWIG_fail
;
33590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33591 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33593 wxPyEndAllowThreads(__tstate
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33597 resultobj
= wxPyMake_wxObject(result
, 0);
33605 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33606 PyObject
*resultobj
;
33607 wxMenu
*arg1
= (wxMenu
*) 0 ;
33609 wxMenuItem
*result
;
33610 PyObject
* obj0
= 0 ;
33611 PyObject
* obj1
= 0 ;
33612 char *kwnames
[] = {
33613 (char *) "self",(char *) "position", NULL
33616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33618 if (SWIG_arg_fail(1)) SWIG_fail
;
33620 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33621 if (SWIG_arg_fail(2)) SWIG_fail
;
33624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33625 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33627 wxPyEndAllowThreads(__tstate
);
33628 if (PyErr_Occurred()) SWIG_fail
;
33631 resultobj
= wxPyMake_wxObject(result
, 0);
33639 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
;
33641 wxMenu
*arg1
= (wxMenu
*) 0 ;
33644 PyObject
* obj0
= 0 ;
33645 PyObject
* obj1
= 0 ;
33646 PyObject
* obj2
= 0 ;
33647 char *kwnames
[] = {
33648 (char *) "self",(char *) "id",(char *) "enable", NULL
33651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33653 if (SWIG_arg_fail(1)) SWIG_fail
;
33655 arg2
= (int)(SWIG_As_int(obj1
));
33656 if (SWIG_arg_fail(2)) SWIG_fail
;
33659 arg3
= (bool)(SWIG_As_bool(obj2
));
33660 if (SWIG_arg_fail(3)) SWIG_fail
;
33663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33664 (arg1
)->Enable(arg2
,arg3
);
33666 wxPyEndAllowThreads(__tstate
);
33667 if (PyErr_Occurred()) SWIG_fail
;
33669 Py_INCREF(Py_None
); resultobj
= Py_None
;
33676 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33677 PyObject
*resultobj
;
33678 wxMenu
*arg1
= (wxMenu
*) 0 ;
33681 PyObject
* obj0
= 0 ;
33682 PyObject
* obj1
= 0 ;
33683 char *kwnames
[] = {
33684 (char *) "self",(char *) "id", NULL
33687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33689 if (SWIG_arg_fail(1)) SWIG_fail
;
33691 arg2
= (int)(SWIG_As_int(obj1
));
33692 if (SWIG_arg_fail(2)) SWIG_fail
;
33695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33696 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33698 wxPyEndAllowThreads(__tstate
);
33699 if (PyErr_Occurred()) SWIG_fail
;
33702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33710 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33711 PyObject
*resultobj
;
33712 wxMenu
*arg1
= (wxMenu
*) 0 ;
33715 PyObject
* obj0
= 0 ;
33716 PyObject
* obj1
= 0 ;
33717 PyObject
* obj2
= 0 ;
33718 char *kwnames
[] = {
33719 (char *) "self",(char *) "id",(char *) "check", NULL
33722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33724 if (SWIG_arg_fail(1)) SWIG_fail
;
33726 arg2
= (int)(SWIG_As_int(obj1
));
33727 if (SWIG_arg_fail(2)) SWIG_fail
;
33730 arg3
= (bool)(SWIG_As_bool(obj2
));
33731 if (SWIG_arg_fail(3)) SWIG_fail
;
33734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33735 (arg1
)->Check(arg2
,arg3
);
33737 wxPyEndAllowThreads(__tstate
);
33738 if (PyErr_Occurred()) SWIG_fail
;
33740 Py_INCREF(Py_None
); resultobj
= Py_None
;
33747 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33748 PyObject
*resultobj
;
33749 wxMenu
*arg1
= (wxMenu
*) 0 ;
33752 PyObject
* obj0
= 0 ;
33753 PyObject
* obj1
= 0 ;
33754 char *kwnames
[] = {
33755 (char *) "self",(char *) "id", NULL
33758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
33759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33760 if (SWIG_arg_fail(1)) SWIG_fail
;
33762 arg2
= (int)(SWIG_As_int(obj1
));
33763 if (SWIG_arg_fail(2)) SWIG_fail
;
33766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33767 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
33769 wxPyEndAllowThreads(__tstate
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33781 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33782 PyObject
*resultobj
;
33783 wxMenu
*arg1
= (wxMenu
*) 0 ;
33785 wxString
*arg3
= 0 ;
33786 bool temp3
= false ;
33787 PyObject
* obj0
= 0 ;
33788 PyObject
* obj1
= 0 ;
33789 PyObject
* obj2
= 0 ;
33790 char *kwnames
[] = {
33791 (char *) "self",(char *) "id",(char *) "label", NULL
33794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33796 if (SWIG_arg_fail(1)) SWIG_fail
;
33798 arg2
= (int)(SWIG_As_int(obj1
));
33799 if (SWIG_arg_fail(2)) SWIG_fail
;
33802 arg3
= wxString_in_helper(obj2
);
33803 if (arg3
== NULL
) SWIG_fail
;
33807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33808 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
33810 wxPyEndAllowThreads(__tstate
);
33811 if (PyErr_Occurred()) SWIG_fail
;
33813 Py_INCREF(Py_None
); resultobj
= Py_None
;
33828 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33829 PyObject
*resultobj
;
33830 wxMenu
*arg1
= (wxMenu
*) 0 ;
33833 PyObject
* obj0
= 0 ;
33834 PyObject
* obj1
= 0 ;
33835 char *kwnames
[] = {
33836 (char *) "self",(char *) "id", NULL
33839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33841 if (SWIG_arg_fail(1)) SWIG_fail
;
33843 arg2
= (int)(SWIG_As_int(obj1
));
33844 if (SWIG_arg_fail(2)) SWIG_fail
;
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
33850 wxPyEndAllowThreads(__tstate
);
33851 if (PyErr_Occurred()) SWIG_fail
;
33855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33866 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33867 PyObject
*resultobj
;
33868 wxMenu
*arg1
= (wxMenu
*) 0 ;
33870 wxString
*arg3
= 0 ;
33871 bool temp3
= false ;
33872 PyObject
* obj0
= 0 ;
33873 PyObject
* obj1
= 0 ;
33874 PyObject
* obj2
= 0 ;
33875 char *kwnames
[] = {
33876 (char *) "self",(char *) "id",(char *) "helpString", NULL
33879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33881 if (SWIG_arg_fail(1)) SWIG_fail
;
33883 arg2
= (int)(SWIG_As_int(obj1
));
33884 if (SWIG_arg_fail(2)) SWIG_fail
;
33887 arg3
= wxString_in_helper(obj2
);
33888 if (arg3
== NULL
) SWIG_fail
;
33892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
33895 wxPyEndAllowThreads(__tstate
);
33896 if (PyErr_Occurred()) SWIG_fail
;
33898 Py_INCREF(Py_None
); resultobj
= Py_None
;
33913 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33914 PyObject
*resultobj
;
33915 wxMenu
*arg1
= (wxMenu
*) 0 ;
33918 PyObject
* obj0
= 0 ;
33919 PyObject
* obj1
= 0 ;
33920 char *kwnames
[] = {
33921 (char *) "self",(char *) "id", NULL
33924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
33925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33926 if (SWIG_arg_fail(1)) SWIG_fail
;
33928 arg2
= (int)(SWIG_As_int(obj1
));
33929 if (SWIG_arg_fail(2)) SWIG_fail
;
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33933 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
33935 wxPyEndAllowThreads(__tstate
);
33936 if (PyErr_Occurred()) SWIG_fail
;
33940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33951 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33952 PyObject
*resultobj
;
33953 wxMenu
*arg1
= (wxMenu
*) 0 ;
33954 wxString
*arg2
= 0 ;
33955 bool temp2
= false ;
33956 PyObject
* obj0
= 0 ;
33957 PyObject
* obj1
= 0 ;
33958 char *kwnames
[] = {
33959 (char *) "self",(char *) "title", NULL
33962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
33963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33964 if (SWIG_arg_fail(1)) SWIG_fail
;
33966 arg2
= wxString_in_helper(obj1
);
33967 if (arg2
== NULL
) SWIG_fail
;
33971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33972 (arg1
)->SetTitle((wxString
const &)*arg2
);
33974 wxPyEndAllowThreads(__tstate
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33977 Py_INCREF(Py_None
); resultobj
= Py_None
;
33992 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33993 PyObject
*resultobj
;
33994 wxMenu
*arg1
= (wxMenu
*) 0 ;
33996 PyObject
* obj0
= 0 ;
33997 char *kwnames
[] = {
33998 (char *) "self", NULL
34001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34003 if (SWIG_arg_fail(1)) SWIG_fail
;
34005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34006 result
= ((wxMenu
const *)arg1
)->GetTitle();
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34024 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34025 PyObject
*resultobj
;
34026 wxMenu
*arg1
= (wxMenu
*) 0 ;
34027 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34028 PyObject
* obj0
= 0 ;
34029 PyObject
* obj1
= 0 ;
34030 char *kwnames
[] = {
34031 (char *) "self",(char *) "handler", NULL
34034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34036 if (SWIG_arg_fail(1)) SWIG_fail
;
34037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34038 if (SWIG_arg_fail(2)) SWIG_fail
;
34040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34041 (arg1
)->SetEventHandler(arg2
);
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34046 Py_INCREF(Py_None
); resultobj
= Py_None
;
34053 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34054 PyObject
*resultobj
;
34055 wxMenu
*arg1
= (wxMenu
*) 0 ;
34056 wxEvtHandler
*result
;
34057 PyObject
* obj0
= 0 ;
34058 char *kwnames
[] = {
34059 (char *) "self", NULL
34062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34064 if (SWIG_arg_fail(1)) SWIG_fail
;
34066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34067 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34069 wxPyEndAllowThreads(__tstate
);
34070 if (PyErr_Occurred()) SWIG_fail
;
34073 resultobj
= wxPyMake_wxObject(result
, 0);
34081 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
;
34083 wxMenu
*arg1
= (wxMenu
*) 0 ;
34084 wxWindow
*arg2
= (wxWindow
*) 0 ;
34085 PyObject
* obj0
= 0 ;
34086 PyObject
* obj1
= 0 ;
34087 char *kwnames
[] = {
34088 (char *) "self",(char *) "win", NULL
34091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34093 if (SWIG_arg_fail(1)) SWIG_fail
;
34094 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34095 if (SWIG_arg_fail(2)) SWIG_fail
;
34097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34098 (arg1
)->SetInvokingWindow(arg2
);
34100 wxPyEndAllowThreads(__tstate
);
34101 if (PyErr_Occurred()) SWIG_fail
;
34103 Py_INCREF(Py_None
); resultobj
= Py_None
;
34110 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34111 PyObject
*resultobj
;
34112 wxMenu
*arg1
= (wxMenu
*) 0 ;
34114 PyObject
* obj0
= 0 ;
34115 char *kwnames
[] = {
34116 (char *) "self", NULL
34119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34121 if (SWIG_arg_fail(1)) SWIG_fail
;
34123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34124 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34130 resultobj
= wxPyMake_wxObject(result
, 0);
34138 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
;
34140 wxMenu
*arg1
= (wxMenu
*) 0 ;
34142 PyObject
* obj0
= 0 ;
34143 char *kwnames
[] = {
34144 (char *) "self", NULL
34147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34148 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34149 if (SWIG_arg_fail(1)) SWIG_fail
;
34151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34152 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34154 wxPyEndAllowThreads(__tstate
);
34155 if (PyErr_Occurred()) SWIG_fail
;
34158 resultobj
= SWIG_From_long((long)(result
));
34166 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34167 PyObject
*resultobj
;
34168 wxMenu
*arg1
= (wxMenu
*) 0 ;
34169 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34170 PyObject
* obj0
= 0 ;
34171 PyObject
* obj1
= 0 ;
34172 char *kwnames
[] = {
34173 (char *) "self",(char *) "source", NULL
34176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34178 if (SWIG_arg_fail(1)) SWIG_fail
;
34180 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34181 if (SWIG_arg_fail(2)) SWIG_fail
;
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 (arg1
)->UpdateUI(arg2
);
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34190 Py_INCREF(Py_None
); resultobj
= Py_None
;
34197 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34198 PyObject
*resultobj
;
34199 wxMenu
*arg1
= (wxMenu
*) 0 ;
34201 PyObject
* obj0
= 0 ;
34202 char *kwnames
[] = {
34203 (char *) "self", NULL
34206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34208 if (SWIG_arg_fail(1)) SWIG_fail
;
34210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34211 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34213 wxPyEndAllowThreads(__tstate
);
34214 if (PyErr_Occurred()) SWIG_fail
;
34217 resultobj
= wxPyMake_wxObject(result
, 0);
34225 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34226 PyObject
*resultobj
;
34227 wxMenu
*arg1
= (wxMenu
*) 0 ;
34228 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34229 PyObject
* obj0
= 0 ;
34230 PyObject
* obj1
= 0 ;
34231 char *kwnames
[] = {
34232 (char *) "self",(char *) "menubar", NULL
34235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34237 if (SWIG_arg_fail(1)) SWIG_fail
;
34238 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34239 if (SWIG_arg_fail(2)) SWIG_fail
;
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 (arg1
)->Attach(arg2
);
34244 wxPyEndAllowThreads(__tstate
);
34245 if (PyErr_Occurred()) SWIG_fail
;
34247 Py_INCREF(Py_None
); resultobj
= Py_None
;
34254 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34255 PyObject
*resultobj
;
34256 wxMenu
*arg1
= (wxMenu
*) 0 ;
34257 PyObject
* obj0
= 0 ;
34258 char *kwnames
[] = {
34259 (char *) "self", NULL
34262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34264 if (SWIG_arg_fail(1)) SWIG_fail
;
34266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34269 wxPyEndAllowThreads(__tstate
);
34270 if (PyErr_Occurred()) SWIG_fail
;
34272 Py_INCREF(Py_None
); resultobj
= Py_None
;
34279 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34280 PyObject
*resultobj
;
34281 wxMenu
*arg1
= (wxMenu
*) 0 ;
34283 PyObject
* obj0
= 0 ;
34284 char *kwnames
[] = {
34285 (char *) "self", NULL
34288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34290 if (SWIG_arg_fail(1)) SWIG_fail
;
34292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34293 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34295 wxPyEndAllowThreads(__tstate
);
34296 if (PyErr_Occurred()) SWIG_fail
;
34299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34307 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34308 PyObject
*resultobj
;
34309 wxMenu
*arg1
= (wxMenu
*) 0 ;
34310 wxMenu
*arg2
= (wxMenu
*) 0 ;
34311 PyObject
* obj0
= 0 ;
34312 PyObject
* obj1
= 0 ;
34313 char *kwnames
[] = {
34314 (char *) "self",(char *) "parent", NULL
34317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34319 if (SWIG_arg_fail(1)) SWIG_fail
;
34320 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34321 if (SWIG_arg_fail(2)) SWIG_fail
;
34323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34324 (arg1
)->SetParent(arg2
);
34326 wxPyEndAllowThreads(__tstate
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34329 Py_INCREF(Py_None
); resultobj
= Py_None
;
34336 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34337 PyObject
*resultobj
;
34338 wxMenu
*arg1
= (wxMenu
*) 0 ;
34340 PyObject
* obj0
= 0 ;
34341 char *kwnames
[] = {
34342 (char *) "self", NULL
34345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34347 if (SWIG_arg_fail(1)) SWIG_fail
;
34349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34350 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34356 resultobj
= wxPyMake_wxObject(result
, 0);
34364 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34367 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34369 return Py_BuildValue((char *)"");
34371 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34372 PyObject
*resultobj
;
34373 long arg1
= (long) 0 ;
34375 PyObject
* obj0
= 0 ;
34376 char *kwnames
[] = {
34377 (char *) "style", NULL
34380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34383 arg1
= (long)(SWIG_As_long(obj0
));
34384 if (SWIG_arg_fail(1)) SWIG_fail
;
34388 if (!wxPyCheckForApp()) SWIG_fail
;
34389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34390 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34392 wxPyEndAllowThreads(__tstate
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34402 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34403 PyObject
*resultobj
;
34404 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34405 wxMenu
*arg2
= (wxMenu
*) 0 ;
34406 wxString
*arg3
= 0 ;
34408 bool temp3
= false ;
34409 PyObject
* obj0
= 0 ;
34410 PyObject
* obj1
= 0 ;
34411 PyObject
* obj2
= 0 ;
34412 char *kwnames
[] = {
34413 (char *) "self",(char *) "menu",(char *) "title", NULL
34416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34418 if (SWIG_arg_fail(1)) SWIG_fail
;
34419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34420 if (SWIG_arg_fail(2)) SWIG_fail
;
34422 arg3
= wxString_in_helper(obj2
);
34423 if (arg3
== NULL
) SWIG_fail
;
34427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34428 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34430 wxPyEndAllowThreads(__tstate
);
34431 if (PyErr_Occurred()) SWIG_fail
;
34434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34450 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
;
34452 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34454 wxMenu
*arg3
= (wxMenu
*) 0 ;
34455 wxString
*arg4
= 0 ;
34457 bool temp4
= false ;
34458 PyObject
* obj0
= 0 ;
34459 PyObject
* obj1
= 0 ;
34460 PyObject
* obj2
= 0 ;
34461 PyObject
* obj3
= 0 ;
34462 char *kwnames
[] = {
34463 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34468 if (SWIG_arg_fail(1)) SWIG_fail
;
34470 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34471 if (SWIG_arg_fail(2)) SWIG_fail
;
34473 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34474 if (SWIG_arg_fail(3)) SWIG_fail
;
34476 arg4
= wxString_in_helper(obj3
);
34477 if (arg4
== NULL
) SWIG_fail
;
34481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34482 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34484 wxPyEndAllowThreads(__tstate
);
34485 if (PyErr_Occurred()) SWIG_fail
;
34488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34504 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34505 PyObject
*resultobj
;
34506 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34508 PyObject
* obj0
= 0 ;
34509 char *kwnames
[] = {
34510 (char *) "self", NULL
34513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34515 if (SWIG_arg_fail(1)) SWIG_fail
;
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34524 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34532 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34533 PyObject
*resultobj
;
34534 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34537 PyObject
* obj0
= 0 ;
34538 PyObject
* obj1
= 0 ;
34539 char *kwnames
[] = {
34540 (char *) "self",(char *) "pos", NULL
34543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34545 if (SWIG_arg_fail(1)) SWIG_fail
;
34547 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34548 if (SWIG_arg_fail(2)) SWIG_fail
;
34551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34552 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34554 wxPyEndAllowThreads(__tstate
);
34555 if (PyErr_Occurred()) SWIG_fail
;
34558 resultobj
= wxPyMake_wxObject(result
, 0);
34566 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34567 PyObject
*resultobj
;
34568 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34570 wxMenu
*arg3
= (wxMenu
*) 0 ;
34571 wxString
*arg4
= 0 ;
34573 bool temp4
= false ;
34574 PyObject
* obj0
= 0 ;
34575 PyObject
* obj1
= 0 ;
34576 PyObject
* obj2
= 0 ;
34577 PyObject
* obj3
= 0 ;
34578 char *kwnames
[] = {
34579 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34584 if (SWIG_arg_fail(1)) SWIG_fail
;
34586 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34587 if (SWIG_arg_fail(2)) SWIG_fail
;
34589 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34590 if (SWIG_arg_fail(3)) SWIG_fail
;
34592 arg4
= wxString_in_helper(obj3
);
34593 if (arg4
== NULL
) SWIG_fail
;
34597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34598 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34604 resultobj
= wxPyMake_wxObject(result
, 0);
34620 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34621 PyObject
*resultobj
;
34622 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34625 PyObject
* obj0
= 0 ;
34626 PyObject
* obj1
= 0 ;
34627 char *kwnames
[] = {
34628 (char *) "self",(char *) "pos", NULL
34631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34633 if (SWIG_arg_fail(1)) SWIG_fail
;
34635 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34636 if (SWIG_arg_fail(2)) SWIG_fail
;
34639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34640 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34642 wxPyEndAllowThreads(__tstate
);
34643 if (PyErr_Occurred()) SWIG_fail
;
34646 resultobj
= wxPyMake_wxObject(result
, 0);
34654 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34655 PyObject
*resultobj
;
34656 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34659 PyObject
* obj0
= 0 ;
34660 PyObject
* obj1
= 0 ;
34661 PyObject
* obj2
= 0 ;
34662 char *kwnames
[] = {
34663 (char *) "self",(char *) "pos",(char *) "enable", NULL
34666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34668 if (SWIG_arg_fail(1)) SWIG_fail
;
34670 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34671 if (SWIG_arg_fail(2)) SWIG_fail
;
34674 arg3
= (bool)(SWIG_As_bool(obj2
));
34675 if (SWIG_arg_fail(3)) SWIG_fail
;
34678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34679 (arg1
)->EnableTop(arg2
,arg3
);
34681 wxPyEndAllowThreads(__tstate
);
34682 if (PyErr_Occurred()) SWIG_fail
;
34684 Py_INCREF(Py_None
); resultobj
= Py_None
;
34691 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34692 PyObject
*resultobj
;
34693 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34696 PyObject
* obj0
= 0 ;
34697 PyObject
* obj1
= 0 ;
34698 char *kwnames
[] = {
34699 (char *) "self",(char *) "pos", NULL
34702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34704 if (SWIG_arg_fail(1)) SWIG_fail
;
34706 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34707 if (SWIG_arg_fail(2)) SWIG_fail
;
34710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34711 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34725 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34726 PyObject
*resultobj
;
34727 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34729 wxString
*arg3
= 0 ;
34730 bool temp3
= false ;
34731 PyObject
* obj0
= 0 ;
34732 PyObject
* obj1
= 0 ;
34733 PyObject
* obj2
= 0 ;
34734 char *kwnames
[] = {
34735 (char *) "self",(char *) "pos",(char *) "label", NULL
34738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34740 if (SWIG_arg_fail(1)) SWIG_fail
;
34742 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34743 if (SWIG_arg_fail(2)) SWIG_fail
;
34746 arg3
= wxString_in_helper(obj2
);
34747 if (arg3
== NULL
) SWIG_fail
;
34751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34752 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
34754 wxPyEndAllowThreads(__tstate
);
34755 if (PyErr_Occurred()) SWIG_fail
;
34757 Py_INCREF(Py_None
); resultobj
= Py_None
;
34772 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34773 PyObject
*resultobj
;
34774 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34777 PyObject
* obj0
= 0 ;
34778 PyObject
* obj1
= 0 ;
34779 char *kwnames
[] = {
34780 (char *) "self",(char *) "pos", NULL
34783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34785 if (SWIG_arg_fail(1)) SWIG_fail
;
34787 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34788 if (SWIG_arg_fail(2)) SWIG_fail
;
34791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
34794 wxPyEndAllowThreads(__tstate
);
34795 if (PyErr_Occurred()) SWIG_fail
;
34799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34810 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34811 PyObject
*resultobj
;
34812 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34813 wxString
*arg2
= 0 ;
34814 wxString
*arg3
= 0 ;
34816 bool temp2
= false ;
34817 bool temp3
= false ;
34818 PyObject
* obj0
= 0 ;
34819 PyObject
* obj1
= 0 ;
34820 PyObject
* obj2
= 0 ;
34821 char *kwnames
[] = {
34822 (char *) "self",(char *) "menu",(char *) "item", NULL
34825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34827 if (SWIG_arg_fail(1)) SWIG_fail
;
34829 arg2
= wxString_in_helper(obj1
);
34830 if (arg2
== NULL
) SWIG_fail
;
34834 arg3
= wxString_in_helper(obj2
);
34835 if (arg3
== NULL
) SWIG_fail
;
34839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34840 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
34842 wxPyEndAllowThreads(__tstate
);
34843 if (PyErr_Occurred()) SWIG_fail
;
34846 resultobj
= SWIG_From_int((int)(result
));
34870 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34871 PyObject
*resultobj
;
34872 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34874 wxMenuItem
*result
;
34875 PyObject
* obj0
= 0 ;
34876 PyObject
* obj1
= 0 ;
34877 char *kwnames
[] = {
34878 (char *) "self",(char *) "id", NULL
34881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34883 if (SWIG_arg_fail(1)) SWIG_fail
;
34885 arg2
= (int)(SWIG_As_int(obj1
));
34886 if (SWIG_arg_fail(2)) SWIG_fail
;
34889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34890 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34896 resultobj
= wxPyMake_wxObject(result
, 0);
34904 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34905 PyObject
*resultobj
;
34906 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34907 wxString
*arg2
= 0 ;
34909 bool temp2
= false ;
34910 PyObject
* obj0
= 0 ;
34911 PyObject
* obj1
= 0 ;
34912 char *kwnames
[] = {
34913 (char *) "self",(char *) "title", NULL
34916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34918 if (SWIG_arg_fail(1)) SWIG_fail
;
34920 arg2
= wxString_in_helper(obj1
);
34921 if (arg2
== NULL
) SWIG_fail
;
34925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34926 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
34928 wxPyEndAllowThreads(__tstate
);
34929 if (PyErr_Occurred()) SWIG_fail
;
34932 resultobj
= SWIG_From_int((int)(result
));
34948 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34949 PyObject
*resultobj
;
34950 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34953 PyObject
* obj0
= 0 ;
34954 PyObject
* obj1
= 0 ;
34955 PyObject
* obj2
= 0 ;
34956 char *kwnames
[] = {
34957 (char *) "self",(char *) "id",(char *) "enable", NULL
34960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34962 if (SWIG_arg_fail(1)) SWIG_fail
;
34964 arg2
= (int)(SWIG_As_int(obj1
));
34965 if (SWIG_arg_fail(2)) SWIG_fail
;
34968 arg3
= (bool)(SWIG_As_bool(obj2
));
34969 if (SWIG_arg_fail(3)) SWIG_fail
;
34972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34973 (arg1
)->Enable(arg2
,arg3
);
34975 wxPyEndAllowThreads(__tstate
);
34976 if (PyErr_Occurred()) SWIG_fail
;
34978 Py_INCREF(Py_None
); resultobj
= Py_None
;
34985 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34986 PyObject
*resultobj
;
34987 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34990 PyObject
* obj0
= 0 ;
34991 PyObject
* obj1
= 0 ;
34992 PyObject
* obj2
= 0 ;
34993 char *kwnames
[] = {
34994 (char *) "self",(char *) "id",(char *) "check", NULL
34997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34999 if (SWIG_arg_fail(1)) SWIG_fail
;
35001 arg2
= (int)(SWIG_As_int(obj1
));
35002 if (SWIG_arg_fail(2)) SWIG_fail
;
35005 arg3
= (bool)(SWIG_As_bool(obj2
));
35006 if (SWIG_arg_fail(3)) SWIG_fail
;
35009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35010 (arg1
)->Check(arg2
,arg3
);
35012 wxPyEndAllowThreads(__tstate
);
35013 if (PyErr_Occurred()) SWIG_fail
;
35015 Py_INCREF(Py_None
); resultobj
= Py_None
;
35022 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35023 PyObject
*resultobj
;
35024 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35027 PyObject
* obj0
= 0 ;
35028 PyObject
* obj1
= 0 ;
35029 char *kwnames
[] = {
35030 (char *) "self",(char *) "id", NULL
35033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35035 if (SWIG_arg_fail(1)) SWIG_fail
;
35037 arg2
= (int)(SWIG_As_int(obj1
));
35038 if (SWIG_arg_fail(2)) SWIG_fail
;
35041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35042 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35056 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35057 PyObject
*resultobj
;
35058 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35061 PyObject
* obj0
= 0 ;
35062 PyObject
* obj1
= 0 ;
35063 char *kwnames
[] = {
35064 (char *) "self",(char *) "id", NULL
35067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35069 if (SWIG_arg_fail(1)) SWIG_fail
;
35071 arg2
= (int)(SWIG_As_int(obj1
));
35072 if (SWIG_arg_fail(2)) SWIG_fail
;
35075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35076 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35078 wxPyEndAllowThreads(__tstate
);
35079 if (PyErr_Occurred()) SWIG_fail
;
35082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35090 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35091 PyObject
*resultobj
;
35092 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35094 wxString
*arg3
= 0 ;
35095 bool temp3
= false ;
35096 PyObject
* obj0
= 0 ;
35097 PyObject
* obj1
= 0 ;
35098 PyObject
* obj2
= 0 ;
35099 char *kwnames
[] = {
35100 (char *) "self",(char *) "id",(char *) "label", NULL
35103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35105 if (SWIG_arg_fail(1)) SWIG_fail
;
35107 arg2
= (int)(SWIG_As_int(obj1
));
35108 if (SWIG_arg_fail(2)) SWIG_fail
;
35111 arg3
= wxString_in_helper(obj2
);
35112 if (arg3
== NULL
) SWIG_fail
;
35116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35117 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35119 wxPyEndAllowThreads(__tstate
);
35120 if (PyErr_Occurred()) SWIG_fail
;
35122 Py_INCREF(Py_None
); resultobj
= Py_None
;
35137 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35138 PyObject
*resultobj
;
35139 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35142 PyObject
* obj0
= 0 ;
35143 PyObject
* obj1
= 0 ;
35144 char *kwnames
[] = {
35145 (char *) "self",(char *) "id", NULL
35148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35150 if (SWIG_arg_fail(1)) SWIG_fail
;
35152 arg2
= (int)(SWIG_As_int(obj1
));
35153 if (SWIG_arg_fail(2)) SWIG_fail
;
35156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35157 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35159 wxPyEndAllowThreads(__tstate
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35175 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35176 PyObject
*resultobj
;
35177 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35179 wxString
*arg3
= 0 ;
35180 bool temp3
= false ;
35181 PyObject
* obj0
= 0 ;
35182 PyObject
* obj1
= 0 ;
35183 PyObject
* obj2
= 0 ;
35184 char *kwnames
[] = {
35185 (char *) "self",(char *) "id",(char *) "helpString", NULL
35188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35190 if (SWIG_arg_fail(1)) SWIG_fail
;
35192 arg2
= (int)(SWIG_As_int(obj1
));
35193 if (SWIG_arg_fail(2)) SWIG_fail
;
35196 arg3
= wxString_in_helper(obj2
);
35197 if (arg3
== NULL
) SWIG_fail
;
35201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35202 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35204 wxPyEndAllowThreads(__tstate
);
35205 if (PyErr_Occurred()) SWIG_fail
;
35207 Py_INCREF(Py_None
); resultobj
= Py_None
;
35222 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35223 PyObject
*resultobj
;
35224 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35227 PyObject
* obj0
= 0 ;
35228 PyObject
* obj1
= 0 ;
35229 char *kwnames
[] = {
35230 (char *) "self",(char *) "id", NULL
35233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35235 if (SWIG_arg_fail(1)) SWIG_fail
;
35237 arg2
= (int)(SWIG_As_int(obj1
));
35238 if (SWIG_arg_fail(2)) SWIG_fail
;
35241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35242 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35244 wxPyEndAllowThreads(__tstate
);
35245 if (PyErr_Occurred()) SWIG_fail
;
35249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35260 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35261 PyObject
*resultobj
;
35262 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35264 PyObject
* obj0
= 0 ;
35265 char *kwnames
[] = {
35266 (char *) "self", NULL
35269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35271 if (SWIG_arg_fail(1)) SWIG_fail
;
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35276 wxPyEndAllowThreads(__tstate
);
35277 if (PyErr_Occurred()) SWIG_fail
;
35280 resultobj
= wxPyMake_wxObject(result
, 0);
35288 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35289 PyObject
*resultobj
;
35290 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35292 PyObject
* obj0
= 0 ;
35293 char *kwnames
[] = {
35294 (char *) "self", NULL
35297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35299 if (SWIG_arg_fail(1)) SWIG_fail
;
35301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35302 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35304 wxPyEndAllowThreads(__tstate
);
35305 if (PyErr_Occurred()) SWIG_fail
;
35308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35316 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35317 PyObject
*resultobj
;
35318 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35319 wxFrame
*arg2
= (wxFrame
*) 0 ;
35320 PyObject
* obj0
= 0 ;
35321 PyObject
* obj1
= 0 ;
35322 char *kwnames
[] = {
35323 (char *) "self",(char *) "frame", NULL
35326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35328 if (SWIG_arg_fail(1)) SWIG_fail
;
35329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35330 if (SWIG_arg_fail(2)) SWIG_fail
;
35332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35333 (arg1
)->Attach(arg2
);
35335 wxPyEndAllowThreads(__tstate
);
35336 if (PyErr_Occurred()) SWIG_fail
;
35338 Py_INCREF(Py_None
); resultobj
= Py_None
;
35345 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
;
35347 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35348 PyObject
* obj0
= 0 ;
35349 char *kwnames
[] = {
35350 (char *) "self", NULL
35353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35355 if (SWIG_arg_fail(1)) SWIG_fail
;
35357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35360 wxPyEndAllowThreads(__tstate
);
35361 if (PyErr_Occurred()) SWIG_fail
;
35363 Py_INCREF(Py_None
); resultobj
= Py_None
;
35370 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35373 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35375 return Py_BuildValue((char *)"");
35377 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35378 PyObject
*resultobj
;
35379 wxMenu
*arg1
= (wxMenu
*) NULL
;
35380 int arg2
= (int) wxID_ANY
;
35381 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35382 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35383 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35384 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35385 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35386 wxMenu
*arg6
= (wxMenu
*) NULL
;
35387 wxMenuItem
*result
;
35388 bool temp3
= false ;
35389 bool temp4
= false ;
35390 PyObject
* obj0
= 0 ;
35391 PyObject
* obj1
= 0 ;
35392 PyObject
* obj2
= 0 ;
35393 PyObject
* obj3
= 0 ;
35394 PyObject
* obj4
= 0 ;
35395 PyObject
* obj5
= 0 ;
35396 char *kwnames
[] = {
35397 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35403 if (SWIG_arg_fail(1)) SWIG_fail
;
35407 arg2
= (int)(SWIG_As_int(obj1
));
35408 if (SWIG_arg_fail(2)) SWIG_fail
;
35413 arg3
= wxString_in_helper(obj2
);
35414 if (arg3
== NULL
) SWIG_fail
;
35420 arg4
= wxString_in_helper(obj3
);
35421 if (arg4
== NULL
) SWIG_fail
;
35427 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35428 if (SWIG_arg_fail(5)) SWIG_fail
;
35432 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35433 if (SWIG_arg_fail(6)) SWIG_fail
;
35436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35437 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35439 wxPyEndAllowThreads(__tstate
);
35440 if (PyErr_Occurred()) SWIG_fail
;
35443 resultobj
= wxPyMake_wxObject(result
, 1);
35467 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35468 PyObject
*resultobj
;
35469 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35471 PyObject
* obj0
= 0 ;
35472 char *kwnames
[] = {
35473 (char *) "self", NULL
35476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35478 if (SWIG_arg_fail(1)) SWIG_fail
;
35480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35481 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35483 wxPyEndAllowThreads(__tstate
);
35484 if (PyErr_Occurred()) SWIG_fail
;
35487 resultobj
= wxPyMake_wxObject(result
, 0);
35495 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35496 PyObject
*resultobj
;
35497 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35498 wxMenu
*arg2
= (wxMenu
*) 0 ;
35499 PyObject
* obj0
= 0 ;
35500 PyObject
* obj1
= 0 ;
35501 char *kwnames
[] = {
35502 (char *) "self",(char *) "menu", NULL
35505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35507 if (SWIG_arg_fail(1)) SWIG_fail
;
35508 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35509 if (SWIG_arg_fail(2)) SWIG_fail
;
35511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35512 (arg1
)->SetMenu(arg2
);
35514 wxPyEndAllowThreads(__tstate
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35517 Py_INCREF(Py_None
); resultobj
= Py_None
;
35524 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35525 PyObject
*resultobj
;
35526 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35528 PyObject
* obj0
= 0 ;
35529 PyObject
* obj1
= 0 ;
35530 char *kwnames
[] = {
35531 (char *) "self",(char *) "id", NULL
35534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35536 if (SWIG_arg_fail(1)) SWIG_fail
;
35538 arg2
= (int)(SWIG_As_int(obj1
));
35539 if (SWIG_arg_fail(2)) SWIG_fail
;
35542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35543 (arg1
)->SetId(arg2
);
35545 wxPyEndAllowThreads(__tstate
);
35546 if (PyErr_Occurred()) SWIG_fail
;
35548 Py_INCREF(Py_None
); resultobj
= Py_None
;
35555 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35556 PyObject
*resultobj
;
35557 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35559 PyObject
* obj0
= 0 ;
35560 char *kwnames
[] = {
35561 (char *) "self", NULL
35564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35566 if (SWIG_arg_fail(1)) SWIG_fail
;
35568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35569 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35571 wxPyEndAllowThreads(__tstate
);
35572 if (PyErr_Occurred()) SWIG_fail
;
35575 resultobj
= SWIG_From_int((int)(result
));
35583 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35584 PyObject
*resultobj
;
35585 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35587 PyObject
* obj0
= 0 ;
35588 char *kwnames
[] = {
35589 (char *) "self", NULL
35592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35593 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35594 if (SWIG_arg_fail(1)) SWIG_fail
;
35596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35597 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35599 wxPyEndAllowThreads(__tstate
);
35600 if (PyErr_Occurred()) SWIG_fail
;
35603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35611 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35612 PyObject
*resultobj
;
35613 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35614 wxString
*arg2
= 0 ;
35615 bool temp2
= false ;
35616 PyObject
* obj0
= 0 ;
35617 PyObject
* obj1
= 0 ;
35618 char *kwnames
[] = {
35619 (char *) "self",(char *) "str", NULL
35622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35624 if (SWIG_arg_fail(1)) SWIG_fail
;
35626 arg2
= wxString_in_helper(obj1
);
35627 if (arg2
== NULL
) SWIG_fail
;
35631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35632 (arg1
)->SetText((wxString
const &)*arg2
);
35634 wxPyEndAllowThreads(__tstate
);
35635 if (PyErr_Occurred()) SWIG_fail
;
35637 Py_INCREF(Py_None
); resultobj
= Py_None
;
35652 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35653 PyObject
*resultobj
;
35654 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35656 PyObject
* obj0
= 0 ;
35657 char *kwnames
[] = {
35658 (char *) "self", NULL
35661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35663 if (SWIG_arg_fail(1)) SWIG_fail
;
35665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35666 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35668 wxPyEndAllowThreads(__tstate
);
35669 if (PyErr_Occurred()) SWIG_fail
;
35673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35684 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35685 PyObject
*resultobj
;
35686 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35688 PyObject
* obj0
= 0 ;
35689 char *kwnames
[] = {
35690 (char *) "self", NULL
35693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35695 if (SWIG_arg_fail(1)) SWIG_fail
;
35697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35699 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35700 result
= (wxString
*) &_result_ref
;
35703 wxPyEndAllowThreads(__tstate
);
35704 if (PyErr_Occurred()) SWIG_fail
;
35708 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
35710 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
35719 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35720 PyObject
*resultobj
;
35721 wxString
*arg1
= 0 ;
35723 bool temp1
= false ;
35724 PyObject
* obj0
= 0 ;
35725 char *kwnames
[] = {
35726 (char *) "text", NULL
35729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
35731 arg1
= wxString_in_helper(obj0
);
35732 if (arg1
== NULL
) SWIG_fail
;
35736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35737 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
35739 wxPyEndAllowThreads(__tstate
);
35740 if (PyErr_Occurred()) SWIG_fail
;
35744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35763 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35764 PyObject
*resultobj
;
35765 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35767 PyObject
* obj0
= 0 ;
35768 char *kwnames
[] = {
35769 (char *) "self", NULL
35772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
35773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35774 if (SWIG_arg_fail(1)) SWIG_fail
;
35776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35777 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
35779 wxPyEndAllowThreads(__tstate
);
35780 if (PyErr_Occurred()) SWIG_fail
;
35782 resultobj
= SWIG_From_int((result
));
35789 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35790 PyObject
*resultobj
;
35791 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35793 PyObject
* obj0
= 0 ;
35794 PyObject
* obj1
= 0 ;
35795 char *kwnames
[] = {
35796 (char *) "self",(char *) "kind", NULL
35799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
35800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35801 if (SWIG_arg_fail(1)) SWIG_fail
;
35803 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
35804 if (SWIG_arg_fail(2)) SWIG_fail
;
35807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 (arg1
)->SetKind((wxItemKind
)arg2
);
35810 wxPyEndAllowThreads(__tstate
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35813 Py_INCREF(Py_None
); resultobj
= Py_None
;
35820 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35821 PyObject
*resultobj
;
35822 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35824 PyObject
* obj0
= 0 ;
35825 PyObject
* obj1
= 0 ;
35826 char *kwnames
[] = {
35827 (char *) "self",(char *) "checkable", NULL
35830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
35831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35832 if (SWIG_arg_fail(1)) SWIG_fail
;
35834 arg2
= (bool)(SWIG_As_bool(obj1
));
35835 if (SWIG_arg_fail(2)) SWIG_fail
;
35838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35839 (arg1
)->SetCheckable(arg2
);
35841 wxPyEndAllowThreads(__tstate
);
35842 if (PyErr_Occurred()) SWIG_fail
;
35844 Py_INCREF(Py_None
); resultobj
= Py_None
;
35851 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35852 PyObject
*resultobj
;
35853 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35855 PyObject
* obj0
= 0 ;
35856 char *kwnames
[] = {
35857 (char *) "self", NULL
35860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
35861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35862 if (SWIG_arg_fail(1)) SWIG_fail
;
35864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35865 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
35867 wxPyEndAllowThreads(__tstate
);
35868 if (PyErr_Occurred()) SWIG_fail
;
35871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35879 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35880 PyObject
*resultobj
;
35881 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35883 PyObject
* obj0
= 0 ;
35884 char *kwnames
[] = {
35885 (char *) "self", NULL
35888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
35889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35890 if (SWIG_arg_fail(1)) SWIG_fail
;
35892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35893 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
35895 wxPyEndAllowThreads(__tstate
);
35896 if (PyErr_Occurred()) SWIG_fail
;
35899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35907 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35908 PyObject
*resultobj
;
35909 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35910 wxMenu
*arg2
= (wxMenu
*) 0 ;
35911 PyObject
* obj0
= 0 ;
35912 PyObject
* obj1
= 0 ;
35913 char *kwnames
[] = {
35914 (char *) "self",(char *) "menu", NULL
35917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35919 if (SWIG_arg_fail(1)) SWIG_fail
;
35920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35921 if (SWIG_arg_fail(2)) SWIG_fail
;
35923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35924 (arg1
)->SetSubMenu(arg2
);
35926 wxPyEndAllowThreads(__tstate
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35929 Py_INCREF(Py_None
); resultobj
= Py_None
;
35936 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35937 PyObject
*resultobj
;
35938 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35940 PyObject
* obj0
= 0 ;
35941 char *kwnames
[] = {
35942 (char *) "self", NULL
35945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
35946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35947 if (SWIG_arg_fail(1)) SWIG_fail
;
35949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35950 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
35952 wxPyEndAllowThreads(__tstate
);
35953 if (PyErr_Occurred()) SWIG_fail
;
35956 resultobj
= wxPyMake_wxObject(result
, 0);
35964 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35965 PyObject
*resultobj
;
35966 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35967 bool arg2
= (bool) true ;
35968 PyObject
* obj0
= 0 ;
35969 PyObject
* obj1
= 0 ;
35970 char *kwnames
[] = {
35971 (char *) "self",(char *) "enable", NULL
35974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
35975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35976 if (SWIG_arg_fail(1)) SWIG_fail
;
35979 arg2
= (bool)(SWIG_As_bool(obj1
));
35980 if (SWIG_arg_fail(2)) SWIG_fail
;
35984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35985 (arg1
)->Enable(arg2
);
35987 wxPyEndAllowThreads(__tstate
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35990 Py_INCREF(Py_None
); resultobj
= Py_None
;
35997 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35998 PyObject
*resultobj
;
35999 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36001 PyObject
* obj0
= 0 ;
36002 char *kwnames
[] = {
36003 (char *) "self", NULL
36006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36008 if (SWIG_arg_fail(1)) SWIG_fail
;
36010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36011 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36013 wxPyEndAllowThreads(__tstate
);
36014 if (PyErr_Occurred()) SWIG_fail
;
36017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36025 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36026 PyObject
*resultobj
;
36027 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36028 bool arg2
= (bool) true ;
36029 PyObject
* obj0
= 0 ;
36030 PyObject
* obj1
= 0 ;
36031 char *kwnames
[] = {
36032 (char *) "self",(char *) "check", NULL
36035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36037 if (SWIG_arg_fail(1)) SWIG_fail
;
36040 arg2
= (bool)(SWIG_As_bool(obj1
));
36041 if (SWIG_arg_fail(2)) SWIG_fail
;
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 (arg1
)->Check(arg2
);
36048 wxPyEndAllowThreads(__tstate
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36051 Py_INCREF(Py_None
); resultobj
= Py_None
;
36058 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36059 PyObject
*resultobj
;
36060 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36062 PyObject
* obj0
= 0 ;
36063 char *kwnames
[] = {
36064 (char *) "self", NULL
36067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36069 if (SWIG_arg_fail(1)) SWIG_fail
;
36071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36072 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36074 wxPyEndAllowThreads(__tstate
);
36075 if (PyErr_Occurred()) SWIG_fail
;
36078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36086 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36087 PyObject
*resultobj
;
36088 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36089 PyObject
* obj0
= 0 ;
36090 char *kwnames
[] = {
36091 (char *) "self", NULL
36094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36096 if (SWIG_arg_fail(1)) SWIG_fail
;
36098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36101 wxPyEndAllowThreads(__tstate
);
36102 if (PyErr_Occurred()) SWIG_fail
;
36104 Py_INCREF(Py_None
); resultobj
= Py_None
;
36111 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
;
36113 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36114 wxString
*arg2
= 0 ;
36115 bool temp2
= false ;
36116 PyObject
* obj0
= 0 ;
36117 PyObject
* obj1
= 0 ;
36118 char *kwnames
[] = {
36119 (char *) "self",(char *) "str", NULL
36122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36124 if (SWIG_arg_fail(1)) SWIG_fail
;
36126 arg2
= wxString_in_helper(obj1
);
36127 if (arg2
== NULL
) SWIG_fail
;
36131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36132 (arg1
)->SetHelp((wxString
const &)*arg2
);
36134 wxPyEndAllowThreads(__tstate
);
36135 if (PyErr_Occurred()) SWIG_fail
;
36137 Py_INCREF(Py_None
); resultobj
= Py_None
;
36152 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36153 PyObject
*resultobj
;
36154 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36156 PyObject
* obj0
= 0 ;
36157 char *kwnames
[] = {
36158 (char *) "self", NULL
36161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36162 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36163 if (SWIG_arg_fail(1)) SWIG_fail
;
36165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36167 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36168 result
= (wxString
*) &_result_ref
;
36171 wxPyEndAllowThreads(__tstate
);
36172 if (PyErr_Occurred()) SWIG_fail
;
36176 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36178 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36187 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36188 PyObject
*resultobj
;
36189 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36190 wxAcceleratorEntry
*result
;
36191 PyObject
* obj0
= 0 ;
36192 char *kwnames
[] = {
36193 (char *) "self", NULL
36196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36198 if (SWIG_arg_fail(1)) SWIG_fail
;
36200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36201 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36203 wxPyEndAllowThreads(__tstate
);
36204 if (PyErr_Occurred()) SWIG_fail
;
36206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36213 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36214 PyObject
*resultobj
;
36215 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36216 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36217 PyObject
* obj0
= 0 ;
36218 PyObject
* obj1
= 0 ;
36219 char *kwnames
[] = {
36220 (char *) "self",(char *) "accel", NULL
36223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36225 if (SWIG_arg_fail(1)) SWIG_fail
;
36226 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36227 if (SWIG_arg_fail(2)) SWIG_fail
;
36229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36230 (arg1
)->SetAccel(arg2
);
36232 wxPyEndAllowThreads(__tstate
);
36233 if (PyErr_Occurred()) SWIG_fail
;
36235 Py_INCREF(Py_None
); resultobj
= Py_None
;
36242 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36243 PyObject
*resultobj
;
36244 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36246 PyObject
* obj0
= 0 ;
36247 PyObject
* obj1
= 0 ;
36248 char *kwnames
[] = {
36249 (char *) "self",(char *) "font", NULL
36252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36254 if (SWIG_arg_fail(1)) SWIG_fail
;
36256 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36257 if (SWIG_arg_fail(2)) SWIG_fail
;
36258 if (arg2
== NULL
) {
36259 SWIG_null_ref("wxFont");
36261 if (SWIG_arg_fail(2)) SWIG_fail
;
36264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36265 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36267 wxPyEndAllowThreads(__tstate
);
36268 if (PyErr_Occurred()) SWIG_fail
;
36270 Py_INCREF(Py_None
); resultobj
= Py_None
;
36277 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36278 PyObject
*resultobj
;
36279 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36281 PyObject
* obj0
= 0 ;
36282 char *kwnames
[] = {
36283 (char *) "self", NULL
36286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36288 if (SWIG_arg_fail(1)) SWIG_fail
;
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 result
= wxMenuItem_GetFont(arg1
);
36293 wxPyEndAllowThreads(__tstate
);
36294 if (PyErr_Occurred()) SWIG_fail
;
36297 wxFont
* resultptr
;
36298 resultptr
= new wxFont((wxFont
&)(result
));
36299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36307 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36308 PyObject
*resultobj
;
36309 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36310 wxColour
*arg2
= 0 ;
36312 PyObject
* obj0
= 0 ;
36313 PyObject
* obj1
= 0 ;
36314 char *kwnames
[] = {
36315 (char *) "self",(char *) "colText", NULL
36318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36320 if (SWIG_arg_fail(1)) SWIG_fail
;
36323 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36327 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36329 wxPyEndAllowThreads(__tstate
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36332 Py_INCREF(Py_None
); resultobj
= Py_None
;
36339 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36340 PyObject
*resultobj
;
36341 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36343 PyObject
* obj0
= 0 ;
36344 char *kwnames
[] = {
36345 (char *) "self", NULL
36348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36350 if (SWIG_arg_fail(1)) SWIG_fail
;
36352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36353 result
= wxMenuItem_GetTextColour(arg1
);
36355 wxPyEndAllowThreads(__tstate
);
36356 if (PyErr_Occurred()) SWIG_fail
;
36359 wxColour
* resultptr
;
36360 resultptr
= new wxColour((wxColour
&)(result
));
36361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36369 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36370 PyObject
*resultobj
;
36371 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36372 wxColour
*arg2
= 0 ;
36374 PyObject
* obj0
= 0 ;
36375 PyObject
* obj1
= 0 ;
36376 char *kwnames
[] = {
36377 (char *) "self",(char *) "colBack", NULL
36380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36382 if (SWIG_arg_fail(1)) SWIG_fail
;
36385 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36389 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36391 wxPyEndAllowThreads(__tstate
);
36392 if (PyErr_Occurred()) SWIG_fail
;
36394 Py_INCREF(Py_None
); resultobj
= Py_None
;
36401 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36402 PyObject
*resultobj
;
36403 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36405 PyObject
* obj0
= 0 ;
36406 char *kwnames
[] = {
36407 (char *) "self", NULL
36410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36412 if (SWIG_arg_fail(1)) SWIG_fail
;
36414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36415 result
= wxMenuItem_GetBackgroundColour(arg1
);
36417 wxPyEndAllowThreads(__tstate
);
36418 if (PyErr_Occurred()) SWIG_fail
;
36421 wxColour
* resultptr
;
36422 resultptr
= new wxColour((wxColour
&)(result
));
36423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36431 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36432 PyObject
*resultobj
;
36433 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36434 wxBitmap
*arg2
= 0 ;
36435 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36436 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36437 PyObject
* obj0
= 0 ;
36438 PyObject
* obj1
= 0 ;
36439 PyObject
* obj2
= 0 ;
36440 char *kwnames
[] = {
36441 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36446 if (SWIG_arg_fail(1)) SWIG_fail
;
36448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36449 if (SWIG_arg_fail(2)) SWIG_fail
;
36450 if (arg2
== NULL
) {
36451 SWIG_null_ref("wxBitmap");
36453 if (SWIG_arg_fail(2)) SWIG_fail
;
36457 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36458 if (SWIG_arg_fail(3)) SWIG_fail
;
36459 if (arg3
== NULL
) {
36460 SWIG_null_ref("wxBitmap");
36462 if (SWIG_arg_fail(3)) SWIG_fail
;
36466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36467 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36469 wxPyEndAllowThreads(__tstate
);
36470 if (PyErr_Occurred()) SWIG_fail
;
36472 Py_INCREF(Py_None
); resultobj
= Py_None
;
36479 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36480 PyObject
*resultobj
;
36481 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36482 wxBitmap
*arg2
= 0 ;
36483 PyObject
* obj0
= 0 ;
36484 PyObject
* obj1
= 0 ;
36485 char *kwnames
[] = {
36486 (char *) "self",(char *) "bmpDisabled", NULL
36489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36491 if (SWIG_arg_fail(1)) SWIG_fail
;
36493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36494 if (SWIG_arg_fail(2)) SWIG_fail
;
36495 if (arg2
== NULL
) {
36496 SWIG_null_ref("wxBitmap");
36498 if (SWIG_arg_fail(2)) SWIG_fail
;
36501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36502 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
36504 wxPyEndAllowThreads(__tstate
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36507 Py_INCREF(Py_None
); resultobj
= Py_None
;
36514 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36515 PyObject
*resultobj
;
36516 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36518 PyObject
* obj0
= 0 ;
36519 char *kwnames
[] = {
36520 (char *) "self", NULL
36523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36525 if (SWIG_arg_fail(1)) SWIG_fail
;
36527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36529 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
36530 result
= (wxBitmap
*) &_result_ref
;
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36537 wxBitmap
* resultptr
= new wxBitmap(*result
);
36538 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36546 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36547 PyObject
*resultobj
;
36548 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36550 PyObject
* obj0
= 0 ;
36551 PyObject
* obj1
= 0 ;
36552 char *kwnames
[] = {
36553 (char *) "self",(char *) "nWidth", NULL
36556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36558 if (SWIG_arg_fail(1)) SWIG_fail
;
36560 arg2
= (int)(SWIG_As_int(obj1
));
36561 if (SWIG_arg_fail(2)) SWIG_fail
;
36564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36565 wxMenuItem_SetMarginWidth(arg1
,arg2
);
36567 wxPyEndAllowThreads(__tstate
);
36568 if (PyErr_Occurred()) SWIG_fail
;
36570 Py_INCREF(Py_None
); resultobj
= Py_None
;
36577 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36578 PyObject
*resultobj
;
36579 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36581 PyObject
* obj0
= 0 ;
36582 char *kwnames
[] = {
36583 (char *) "self", NULL
36586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36588 if (SWIG_arg_fail(1)) SWIG_fail
;
36590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36591 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
36593 wxPyEndAllowThreads(__tstate
);
36594 if (PyErr_Occurred()) SWIG_fail
;
36597 resultobj
= SWIG_From_int((int)(result
));
36605 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36606 PyObject
*resultobj
;
36608 char *kwnames
[] = {
36612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36615 result
= (int)MenuItem_GetDefaultMarginWidth();
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36621 resultobj
= SWIG_From_int((int)(result
));
36629 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36630 PyObject
*resultobj
;
36631 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36633 PyObject
* obj0
= 0 ;
36634 char *kwnames
[] = {
36635 (char *) "self", NULL
36638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36640 if (SWIG_arg_fail(1)) SWIG_fail
;
36642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36643 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
36645 wxPyEndAllowThreads(__tstate
);
36646 if (PyErr_Occurred()) SWIG_fail
;
36649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36657 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36658 PyObject
*resultobj
;
36659 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36660 bool arg2
= (bool) true ;
36661 PyObject
* obj0
= 0 ;
36662 PyObject
* obj1
= 0 ;
36663 char *kwnames
[] = {
36664 (char *) "self",(char *) "ownerDrawn", NULL
36667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36669 if (SWIG_arg_fail(1)) SWIG_fail
;
36672 arg2
= (bool)(SWIG_As_bool(obj1
));
36673 if (SWIG_arg_fail(2)) SWIG_fail
;
36677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36678 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
36680 wxPyEndAllowThreads(__tstate
);
36681 if (PyErr_Occurred()) SWIG_fail
;
36683 Py_INCREF(Py_None
); resultobj
= Py_None
;
36690 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36691 PyObject
*resultobj
;
36692 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36693 PyObject
* obj0
= 0 ;
36694 char *kwnames
[] = {
36695 (char *) "self", NULL
36698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36700 if (SWIG_arg_fail(1)) SWIG_fail
;
36702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36703 wxMenuItem_ResetOwnerDrawn(arg1
);
36705 wxPyEndAllowThreads(__tstate
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36708 Py_INCREF(Py_None
); resultobj
= Py_None
;
36715 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36716 PyObject
*resultobj
;
36717 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36718 wxBitmap
*arg2
= 0 ;
36719 PyObject
* obj0
= 0 ;
36720 PyObject
* obj1
= 0 ;
36721 char *kwnames
[] = {
36722 (char *) "self",(char *) "bitmap", NULL
36725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36727 if (SWIG_arg_fail(1)) SWIG_fail
;
36729 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36730 if (SWIG_arg_fail(2)) SWIG_fail
;
36731 if (arg2
== NULL
) {
36732 SWIG_null_ref("wxBitmap");
36734 if (SWIG_arg_fail(2)) SWIG_fail
;
36737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36738 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
36740 wxPyEndAllowThreads(__tstate
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36743 Py_INCREF(Py_None
); resultobj
= Py_None
;
36750 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36751 PyObject
*resultobj
;
36752 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36754 PyObject
* obj0
= 0 ;
36755 char *kwnames
[] = {
36756 (char *) "self", NULL
36759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
36760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36761 if (SWIG_arg_fail(1)) SWIG_fail
;
36763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36765 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
36766 result
= (wxBitmap
*) &_result_ref
;
36769 wxPyEndAllowThreads(__tstate
);
36770 if (PyErr_Occurred()) SWIG_fail
;
36773 wxBitmap
* resultptr
= new wxBitmap(*result
);
36774 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36782 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
36784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36785 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
36787 return Py_BuildValue((char *)"");
36789 static int _wrap_ControlNameStr_set(PyObject
*) {
36790 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
36795 static PyObject
*_wrap_ControlNameStr_get(void) {
36800 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36802 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
36809 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36810 PyObject
*resultobj
;
36811 wxWindow
*arg1
= (wxWindow
*) 0 ;
36812 int arg2
= (int) -1 ;
36813 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36814 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36815 wxSize
const &arg4_defvalue
= wxDefaultSize
;
36816 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
36817 long arg5
= (long) 0 ;
36818 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
36819 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
36820 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
36821 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36825 bool temp7
= false ;
36826 PyObject
* obj0
= 0 ;
36827 PyObject
* obj1
= 0 ;
36828 PyObject
* obj2
= 0 ;
36829 PyObject
* obj3
= 0 ;
36830 PyObject
* obj4
= 0 ;
36831 PyObject
* obj5
= 0 ;
36832 PyObject
* obj6
= 0 ;
36833 char *kwnames
[] = {
36834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36839 if (SWIG_arg_fail(1)) SWIG_fail
;
36842 arg2
= (int)(SWIG_As_int(obj1
));
36843 if (SWIG_arg_fail(2)) SWIG_fail
;
36849 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36855 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
36860 arg5
= (long)(SWIG_As_long(obj4
));
36861 if (SWIG_arg_fail(5)) SWIG_fail
;
36866 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36867 if (SWIG_arg_fail(6)) SWIG_fail
;
36868 if (arg6
== NULL
) {
36869 SWIG_null_ref("wxValidator");
36871 if (SWIG_arg_fail(6)) SWIG_fail
;
36876 arg7
= wxString_in_helper(obj6
);
36877 if (arg7
== NULL
) SWIG_fail
;
36882 if (!wxPyCheckForApp()) SWIG_fail
;
36883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36884 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
36886 wxPyEndAllowThreads(__tstate
);
36887 if (PyErr_Occurred()) SWIG_fail
;
36889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36904 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36905 PyObject
*resultobj
;
36907 char *kwnames
[] = {
36911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
36913 if (!wxPyCheckForApp()) SWIG_fail
;
36914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36915 result
= (wxControl
*)new wxControl();
36917 wxPyEndAllowThreads(__tstate
);
36918 if (PyErr_Occurred()) SWIG_fail
;
36920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
36927 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36928 PyObject
*resultobj
;
36929 wxControl
*arg1
= (wxControl
*) 0 ;
36930 wxWindow
*arg2
= (wxWindow
*) 0 ;
36931 int arg3
= (int) -1 ;
36932 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36933 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36934 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36935 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36936 long arg6
= (long) 0 ;
36937 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
36938 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
36939 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
36940 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
36944 bool temp8
= false ;
36945 PyObject
* obj0
= 0 ;
36946 PyObject
* obj1
= 0 ;
36947 PyObject
* obj2
= 0 ;
36948 PyObject
* obj3
= 0 ;
36949 PyObject
* obj4
= 0 ;
36950 PyObject
* obj5
= 0 ;
36951 PyObject
* obj6
= 0 ;
36952 PyObject
* obj7
= 0 ;
36953 char *kwnames
[] = {
36954 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
36957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
36958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
36959 if (SWIG_arg_fail(1)) SWIG_fail
;
36960 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
36961 if (SWIG_arg_fail(2)) SWIG_fail
;
36964 arg3
= (int)(SWIG_As_int(obj2
));
36965 if (SWIG_arg_fail(3)) SWIG_fail
;
36971 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36977 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36982 arg6
= (long)(SWIG_As_long(obj5
));
36983 if (SWIG_arg_fail(6)) SWIG_fail
;
36988 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
36989 if (SWIG_arg_fail(7)) SWIG_fail
;
36990 if (arg7
== NULL
) {
36991 SWIG_null_ref("wxValidator");
36993 if (SWIG_arg_fail(7)) SWIG_fail
;
36998 arg8
= wxString_in_helper(obj7
);
36999 if (arg8
== NULL
) SWIG_fail
;
37004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37007 wxPyEndAllowThreads(__tstate
);
37008 if (PyErr_Occurred()) SWIG_fail
;
37011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37027 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37028 PyObject
*resultobj
;
37029 wxControl
*arg1
= (wxControl
*) 0 ;
37030 wxCommandEvent
*arg2
= 0 ;
37031 PyObject
* obj0
= 0 ;
37032 PyObject
* obj1
= 0 ;
37033 char *kwnames
[] = {
37034 (char *) "self",(char *) "event", NULL
37037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37039 if (SWIG_arg_fail(1)) SWIG_fail
;
37041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37042 if (SWIG_arg_fail(2)) SWIG_fail
;
37043 if (arg2
== NULL
) {
37044 SWIG_null_ref("wxCommandEvent");
37046 if (SWIG_arg_fail(2)) SWIG_fail
;
37049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37050 (arg1
)->Command(*arg2
);
37052 wxPyEndAllowThreads(__tstate
);
37053 if (PyErr_Occurred()) SWIG_fail
;
37055 Py_INCREF(Py_None
); resultobj
= Py_None
;
37062 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37063 PyObject
*resultobj
;
37064 wxControl
*arg1
= (wxControl
*) 0 ;
37066 PyObject
* obj0
= 0 ;
37067 char *kwnames
[] = {
37068 (char *) "self", NULL
37071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37073 if (SWIG_arg_fail(1)) SWIG_fail
;
37075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37076 result
= (arg1
)->GetLabel();
37078 wxPyEndAllowThreads(__tstate
);
37079 if (PyErr_Occurred()) SWIG_fail
;
37083 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37085 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37094 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37095 PyObject
*resultobj
;
37096 wxControl
*arg1
= (wxControl
*) 0 ;
37097 wxString
*arg2
= 0 ;
37098 bool temp2
= false ;
37099 PyObject
* obj0
= 0 ;
37100 PyObject
* obj1
= 0 ;
37101 char *kwnames
[] = {
37102 (char *) "self",(char *) "label", NULL
37105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37107 if (SWIG_arg_fail(1)) SWIG_fail
;
37109 arg2
= wxString_in_helper(obj1
);
37110 if (arg2
== NULL
) SWIG_fail
;
37114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37115 (arg1
)->SetLabel((wxString
const &)*arg2
);
37117 wxPyEndAllowThreads(__tstate
);
37118 if (PyErr_Occurred()) SWIG_fail
;
37120 Py_INCREF(Py_None
); resultobj
= Py_None
;
37135 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37136 PyObject
*resultobj
;
37137 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37138 wxVisualAttributes result
;
37139 PyObject
* obj0
= 0 ;
37140 char *kwnames
[] = {
37141 (char *) "variant", NULL
37144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37147 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37148 if (SWIG_arg_fail(1)) SWIG_fail
;
37152 if (!wxPyCheckForApp()) SWIG_fail
;
37153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37154 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37156 wxPyEndAllowThreads(__tstate
);
37157 if (PyErr_Occurred()) SWIG_fail
;
37160 wxVisualAttributes
* resultptr
;
37161 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37170 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37173 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37175 return Py_BuildValue((char *)"");
37177 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37178 PyObject
*resultobj
;
37179 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37180 wxString
*arg2
= 0 ;
37181 PyObject
*arg3
= (PyObject
*) NULL
;
37183 bool temp2
= false ;
37184 PyObject
* obj0
= 0 ;
37185 PyObject
* obj1
= 0 ;
37186 PyObject
* obj2
= 0 ;
37187 char *kwnames
[] = {
37188 (char *) "self",(char *) "item",(char *) "clientData", NULL
37191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37193 if (SWIG_arg_fail(1)) SWIG_fail
;
37195 arg2
= wxString_in_helper(obj1
);
37196 if (arg2
== NULL
) SWIG_fail
;
37203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37204 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37206 wxPyEndAllowThreads(__tstate
);
37207 if (PyErr_Occurred()) SWIG_fail
;
37210 resultobj
= SWIG_From_int((int)(result
));
37226 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37227 PyObject
*resultobj
;
37228 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37229 wxArrayString
*arg2
= 0 ;
37230 bool temp2
= false ;
37231 PyObject
* obj0
= 0 ;
37232 PyObject
* obj1
= 0 ;
37233 char *kwnames
[] = {
37234 (char *) "self",(char *) "strings", NULL
37237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37239 if (SWIG_arg_fail(1)) SWIG_fail
;
37241 if (! PySequence_Check(obj1
)) {
37242 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37245 arg2
= new wxArrayString
;
37247 int i
, len
=PySequence_Length(obj1
);
37248 for (i
=0; i
<len
; i
++) {
37249 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37251 PyObject
* str
= PyObject_Unicode(item
);
37253 PyObject
* str
= PyObject_Str(item
);
37255 if (PyErr_Occurred()) SWIG_fail
;
37256 arg2
->Add(Py2wxString(str
));
37262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37263 (arg1
)->Append((wxArrayString
const &)*arg2
);
37265 wxPyEndAllowThreads(__tstate
);
37266 if (PyErr_Occurred()) SWIG_fail
;
37268 Py_INCREF(Py_None
); resultobj
= Py_None
;
37270 if (temp2
) delete arg2
;
37275 if (temp2
) delete arg2
;
37281 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37282 PyObject
*resultobj
;
37283 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37284 wxString
*arg2
= 0 ;
37286 PyObject
*arg4
= (PyObject
*) NULL
;
37288 bool temp2
= false ;
37289 PyObject
* obj0
= 0 ;
37290 PyObject
* obj1
= 0 ;
37291 PyObject
* obj2
= 0 ;
37292 PyObject
* obj3
= 0 ;
37293 char *kwnames
[] = {
37294 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37299 if (SWIG_arg_fail(1)) SWIG_fail
;
37301 arg2
= wxString_in_helper(obj1
);
37302 if (arg2
== NULL
) SWIG_fail
;
37306 arg3
= (int)(SWIG_As_int(obj2
));
37307 if (SWIG_arg_fail(3)) SWIG_fail
;
37313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37314 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37316 wxPyEndAllowThreads(__tstate
);
37317 if (PyErr_Occurred()) SWIG_fail
;
37320 resultobj
= SWIG_From_int((int)(result
));
37336 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37337 PyObject
*resultobj
;
37338 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37339 PyObject
* obj0
= 0 ;
37340 char *kwnames
[] = {
37341 (char *) "self", NULL
37344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37346 if (SWIG_arg_fail(1)) SWIG_fail
;
37348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37351 wxPyEndAllowThreads(__tstate
);
37352 if (PyErr_Occurred()) SWIG_fail
;
37354 Py_INCREF(Py_None
); resultobj
= Py_None
;
37361 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37362 PyObject
*resultobj
;
37363 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37365 PyObject
* obj0
= 0 ;
37366 PyObject
* obj1
= 0 ;
37367 char *kwnames
[] = {
37368 (char *) "self",(char *) "n", NULL
37371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37373 if (SWIG_arg_fail(1)) SWIG_fail
;
37375 arg2
= (int)(SWIG_As_int(obj1
));
37376 if (SWIG_arg_fail(2)) SWIG_fail
;
37379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37380 (arg1
)->Delete(arg2
);
37382 wxPyEndAllowThreads(__tstate
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37385 Py_INCREF(Py_None
); resultobj
= Py_None
;
37392 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37393 PyObject
*resultobj
;
37394 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37397 PyObject
* obj0
= 0 ;
37398 PyObject
* obj1
= 0 ;
37399 char *kwnames
[] = {
37400 (char *) "self",(char *) "n", NULL
37403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37405 if (SWIG_arg_fail(1)) SWIG_fail
;
37407 arg2
= (int)(SWIG_As_int(obj1
));
37408 if (SWIG_arg_fail(2)) SWIG_fail
;
37411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37412 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37414 wxPyEndAllowThreads(__tstate
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37417 resultobj
= result
;
37424 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37425 PyObject
*resultobj
;
37426 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37428 PyObject
*arg3
= (PyObject
*) 0 ;
37429 PyObject
* obj0
= 0 ;
37430 PyObject
* obj1
= 0 ;
37431 PyObject
* obj2
= 0 ;
37432 char *kwnames
[] = {
37433 (char *) "self",(char *) "n",(char *) "clientData", NULL
37436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37438 if (SWIG_arg_fail(1)) SWIG_fail
;
37440 arg2
= (int)(SWIG_As_int(obj1
));
37441 if (SWIG_arg_fail(2)) SWIG_fail
;
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37448 wxPyEndAllowThreads(__tstate
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37451 Py_INCREF(Py_None
); resultobj
= Py_None
;
37458 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37459 PyObject
*resultobj
;
37460 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37462 PyObject
* obj0
= 0 ;
37463 char *kwnames
[] = {
37464 (char *) "self", NULL
37467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37469 if (SWIG_arg_fail(1)) SWIG_fail
;
37471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37472 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37474 wxPyEndAllowThreads(__tstate
);
37475 if (PyErr_Occurred()) SWIG_fail
;
37478 resultobj
= SWIG_From_int((int)(result
));
37486 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37487 PyObject
*resultobj
;
37488 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37490 PyObject
* obj0
= 0 ;
37491 char *kwnames
[] = {
37492 (char *) "self", NULL
37495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37497 if (SWIG_arg_fail(1)) SWIG_fail
;
37499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37500 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37502 wxPyEndAllowThreads(__tstate
);
37503 if (PyErr_Occurred()) SWIG_fail
;
37506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37514 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37515 PyObject
*resultobj
;
37516 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37519 PyObject
* obj0
= 0 ;
37520 PyObject
* obj1
= 0 ;
37521 char *kwnames
[] = {
37522 (char *) "self",(char *) "n", NULL
37525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37527 if (SWIG_arg_fail(1)) SWIG_fail
;
37529 arg2
= (int)(SWIG_As_int(obj1
));
37530 if (SWIG_arg_fail(2)) SWIG_fail
;
37533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37534 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37536 wxPyEndAllowThreads(__tstate
);
37537 if (PyErr_Occurred()) SWIG_fail
;
37541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37552 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37553 PyObject
*resultobj
;
37554 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37555 wxArrayString result
;
37556 PyObject
* obj0
= 0 ;
37557 char *kwnames
[] = {
37558 (char *) "self", NULL
37561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37563 if (SWIG_arg_fail(1)) SWIG_fail
;
37565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37566 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37568 wxPyEndAllowThreads(__tstate
);
37569 if (PyErr_Occurred()) SWIG_fail
;
37572 resultobj
= wxArrayString2PyList_helper(result
);
37580 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37581 PyObject
*resultobj
;
37582 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37584 wxString
*arg3
= 0 ;
37585 bool temp3
= false ;
37586 PyObject
* obj0
= 0 ;
37587 PyObject
* obj1
= 0 ;
37588 PyObject
* obj2
= 0 ;
37589 char *kwnames
[] = {
37590 (char *) "self",(char *) "n",(char *) "s", NULL
37593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37595 if (SWIG_arg_fail(1)) SWIG_fail
;
37597 arg2
= (int)(SWIG_As_int(obj1
));
37598 if (SWIG_arg_fail(2)) SWIG_fail
;
37601 arg3
= wxString_in_helper(obj2
);
37602 if (arg3
== NULL
) SWIG_fail
;
37606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37607 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37612 Py_INCREF(Py_None
); resultobj
= Py_None
;
37627 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37628 PyObject
*resultobj
;
37629 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37630 wxString
*arg2
= 0 ;
37632 bool temp2
= false ;
37633 PyObject
* obj0
= 0 ;
37634 PyObject
* obj1
= 0 ;
37635 char *kwnames
[] = {
37636 (char *) "self",(char *) "s", NULL
37639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37640 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37641 if (SWIG_arg_fail(1)) SWIG_fail
;
37643 arg2
= wxString_in_helper(obj1
);
37644 if (arg2
== NULL
) SWIG_fail
;
37648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37649 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37651 wxPyEndAllowThreads(__tstate
);
37652 if (PyErr_Occurred()) SWIG_fail
;
37655 resultobj
= SWIG_From_int((int)(result
));
37671 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37672 PyObject
*resultobj
;
37673 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37675 PyObject
* obj0
= 0 ;
37676 PyObject
* obj1
= 0 ;
37677 char *kwnames
[] = {
37678 (char *) "self",(char *) "n", NULL
37681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37683 if (SWIG_arg_fail(1)) SWIG_fail
;
37685 arg2
= (int)(SWIG_As_int(obj1
));
37686 if (SWIG_arg_fail(2)) SWIG_fail
;
37689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37690 (arg1
)->SetSelection(arg2
);
37692 wxPyEndAllowThreads(__tstate
);
37693 if (PyErr_Occurred()) SWIG_fail
;
37695 Py_INCREF(Py_None
); resultobj
= Py_None
;
37702 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37703 PyObject
*resultobj
;
37704 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37706 PyObject
* obj0
= 0 ;
37707 char *kwnames
[] = {
37708 (char *) "self", NULL
37711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
37712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37713 if (SWIG_arg_fail(1)) SWIG_fail
;
37715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37716 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
37718 wxPyEndAllowThreads(__tstate
);
37719 if (PyErr_Occurred()) SWIG_fail
;
37722 resultobj
= SWIG_From_int((int)(result
));
37730 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37731 PyObject
*resultobj
;
37732 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37733 wxString
*arg2
= 0 ;
37735 bool temp2
= false ;
37736 PyObject
* obj0
= 0 ;
37737 PyObject
* obj1
= 0 ;
37738 char *kwnames
[] = {
37739 (char *) "self",(char *) "s", NULL
37742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37743 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37744 if (SWIG_arg_fail(1)) SWIG_fail
;
37746 arg2
= wxString_in_helper(obj1
);
37747 if (arg2
== NULL
) SWIG_fail
;
37751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37752 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
37754 wxPyEndAllowThreads(__tstate
);
37755 if (PyErr_Occurred()) SWIG_fail
;
37758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37774 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37775 PyObject
*resultobj
;
37776 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37778 PyObject
* obj0
= 0 ;
37779 char *kwnames
[] = {
37780 (char *) "self", NULL
37783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
37784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37785 if (SWIG_arg_fail(1)) SWIG_fail
;
37787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37788 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
37790 wxPyEndAllowThreads(__tstate
);
37791 if (PyErr_Occurred()) SWIG_fail
;
37795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37806 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37807 PyObject
*resultobj
;
37808 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37810 PyObject
* obj0
= 0 ;
37811 PyObject
* obj1
= 0 ;
37812 char *kwnames
[] = {
37813 (char *) "self",(char *) "n", NULL
37816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
37817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37818 if (SWIG_arg_fail(1)) SWIG_fail
;
37820 arg2
= (int)(SWIG_As_int(obj1
));
37821 if (SWIG_arg_fail(2)) SWIG_fail
;
37824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37825 (arg1
)->Select(arg2
);
37827 wxPyEndAllowThreads(__tstate
);
37828 if (PyErr_Occurred()) SWIG_fail
;
37830 Py_INCREF(Py_None
); resultobj
= Py_None
;
37837 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
37839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37840 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
37842 return Py_BuildValue((char *)"");
37844 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
37846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37847 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
37849 return Py_BuildValue((char *)"");
37851 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37852 PyObject
*resultobj
;
37853 wxSizerItem
*result
;
37854 char *kwnames
[] = {
37858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
37860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37861 result
= (wxSizerItem
*)new wxSizerItem();
37863 wxPyEndAllowThreads(__tstate
);
37864 if (PyErr_Occurred()) SWIG_fail
;
37866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37873 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37874 PyObject
*resultobj
;
37875 wxWindow
*arg1
= (wxWindow
*) 0 ;
37879 PyObject
*arg5
= (PyObject
*) NULL
;
37880 wxSizerItem
*result
;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 PyObject
* obj2
= 0 ;
37884 PyObject
* obj3
= 0 ;
37885 PyObject
* obj4
= 0 ;
37886 char *kwnames
[] = {
37887 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37892 if (SWIG_arg_fail(1)) SWIG_fail
;
37894 arg2
= (int)(SWIG_As_int(obj1
));
37895 if (SWIG_arg_fail(2)) SWIG_fail
;
37898 arg3
= (int)(SWIG_As_int(obj2
));
37899 if (SWIG_arg_fail(3)) SWIG_fail
;
37902 arg4
= (int)(SWIG_As_int(obj3
));
37903 if (SWIG_arg_fail(4)) SWIG_fail
;
37909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37910 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
37912 wxPyEndAllowThreads(__tstate
);
37913 if (PyErr_Occurred()) SWIG_fail
;
37915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37922 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37923 PyObject
*resultobj
;
37929 PyObject
*arg6
= (PyObject
*) NULL
;
37930 wxSizerItem
*result
;
37931 PyObject
* obj0
= 0 ;
37932 PyObject
* obj1
= 0 ;
37933 PyObject
* obj2
= 0 ;
37934 PyObject
* obj3
= 0 ;
37935 PyObject
* obj4
= 0 ;
37936 PyObject
* obj5
= 0 ;
37937 char *kwnames
[] = {
37938 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37943 arg1
= (int)(SWIG_As_int(obj0
));
37944 if (SWIG_arg_fail(1)) SWIG_fail
;
37947 arg2
= (int)(SWIG_As_int(obj1
));
37948 if (SWIG_arg_fail(2)) SWIG_fail
;
37951 arg3
= (int)(SWIG_As_int(obj2
));
37952 if (SWIG_arg_fail(3)) SWIG_fail
;
37955 arg4
= (int)(SWIG_As_int(obj3
));
37956 if (SWIG_arg_fail(4)) SWIG_fail
;
37959 arg5
= (int)(SWIG_As_int(obj4
));
37960 if (SWIG_arg_fail(5)) SWIG_fail
;
37966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37967 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
37969 wxPyEndAllowThreads(__tstate
);
37970 if (PyErr_Occurred()) SWIG_fail
;
37972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
37979 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37980 PyObject
*resultobj
;
37981 wxSizer
*arg1
= (wxSizer
*) 0 ;
37985 PyObject
*arg5
= (PyObject
*) NULL
;
37986 wxSizerItem
*result
;
37987 PyObject
* obj0
= 0 ;
37988 PyObject
* obj1
= 0 ;
37989 PyObject
* obj2
= 0 ;
37990 PyObject
* obj3
= 0 ;
37991 PyObject
* obj4
= 0 ;
37992 char *kwnames
[] = {
37993 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
37996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
37997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
37998 if (SWIG_arg_fail(1)) SWIG_fail
;
38000 arg2
= (int)(SWIG_As_int(obj1
));
38001 if (SWIG_arg_fail(2)) SWIG_fail
;
38004 arg3
= (int)(SWIG_As_int(obj2
));
38005 if (SWIG_arg_fail(3)) SWIG_fail
;
38008 arg4
= (int)(SWIG_As_int(obj3
));
38009 if (SWIG_arg_fail(4)) SWIG_fail
;
38015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38016 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38018 wxPyEndAllowThreads(__tstate
);
38019 if (PyErr_Occurred()) SWIG_fail
;
38021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38028 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38029 PyObject
*resultobj
;
38030 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38031 PyObject
* obj0
= 0 ;
38032 char *kwnames
[] = {
38033 (char *) "self", NULL
38036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38038 if (SWIG_arg_fail(1)) SWIG_fail
;
38040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38041 (arg1
)->DeleteWindows();
38043 wxPyEndAllowThreads(__tstate
);
38044 if (PyErr_Occurred()) SWIG_fail
;
38046 Py_INCREF(Py_None
); resultobj
= Py_None
;
38053 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38054 PyObject
*resultobj
;
38055 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38056 PyObject
* obj0
= 0 ;
38057 char *kwnames
[] = {
38058 (char *) "self", NULL
38061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38063 if (SWIG_arg_fail(1)) SWIG_fail
;
38065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38066 (arg1
)->DetachSizer();
38068 wxPyEndAllowThreads(__tstate
);
38069 if (PyErr_Occurred()) SWIG_fail
;
38071 Py_INCREF(Py_None
); resultobj
= Py_None
;
38078 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38079 PyObject
*resultobj
;
38080 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38082 PyObject
* obj0
= 0 ;
38083 char *kwnames
[] = {
38084 (char *) "self", NULL
38087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38089 if (SWIG_arg_fail(1)) SWIG_fail
;
38091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38092 result
= (arg1
)->GetSize();
38094 wxPyEndAllowThreads(__tstate
);
38095 if (PyErr_Occurred()) SWIG_fail
;
38098 wxSize
* resultptr
;
38099 resultptr
= new wxSize((wxSize
&)(result
));
38100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38108 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38109 PyObject
*resultobj
;
38110 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38112 PyObject
* obj0
= 0 ;
38113 char *kwnames
[] = {
38114 (char *) "self", NULL
38117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38119 if (SWIG_arg_fail(1)) SWIG_fail
;
38121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38122 result
= (arg1
)->CalcMin();
38124 wxPyEndAllowThreads(__tstate
);
38125 if (PyErr_Occurred()) SWIG_fail
;
38128 wxSize
* resultptr
;
38129 resultptr
= new wxSize((wxSize
&)(result
));
38130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38138 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38139 PyObject
*resultobj
;
38140 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38143 PyObject
* obj0
= 0 ;
38144 PyObject
* obj1
= 0 ;
38145 PyObject
* obj2
= 0 ;
38146 char *kwnames
[] = {
38147 (char *) "self",(char *) "pos",(char *) "size", NULL
38150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38152 if (SWIG_arg_fail(1)) SWIG_fail
;
38155 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38156 if (SWIG_arg_fail(2)) SWIG_fail
;
38157 if (argp
== NULL
) {
38158 SWIG_null_ref("wxPoint");
38160 if (SWIG_arg_fail(2)) SWIG_fail
;
38165 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38166 if (SWIG_arg_fail(3)) SWIG_fail
;
38167 if (argp
== NULL
) {
38168 SWIG_null_ref("wxSize");
38170 if (SWIG_arg_fail(3)) SWIG_fail
;
38174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38175 (arg1
)->SetDimension(arg2
,arg3
);
38177 wxPyEndAllowThreads(__tstate
);
38178 if (PyErr_Occurred()) SWIG_fail
;
38180 Py_INCREF(Py_None
); resultobj
= Py_None
;
38187 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38188 PyObject
*resultobj
;
38189 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38191 PyObject
* obj0
= 0 ;
38192 char *kwnames
[] = {
38193 (char *) "self", NULL
38196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38198 if (SWIG_arg_fail(1)) SWIG_fail
;
38200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38201 result
= (arg1
)->GetMinSize();
38203 wxPyEndAllowThreads(__tstate
);
38204 if (PyErr_Occurred()) SWIG_fail
;
38207 wxSize
* resultptr
;
38208 resultptr
= new wxSize((wxSize
&)(result
));
38209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38217 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38218 PyObject
*resultobj
;
38219 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38221 PyObject
* obj0
= 0 ;
38222 char *kwnames
[] = {
38223 (char *) "self", NULL
38226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38228 if (SWIG_arg_fail(1)) SWIG_fail
;
38230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38231 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38233 wxPyEndAllowThreads(__tstate
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38237 wxSize
* resultptr
;
38238 resultptr
= new wxSize((wxSize
&)(result
));
38239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38247 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38248 PyObject
*resultobj
;
38249 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38252 PyObject
* obj0
= 0 ;
38253 PyObject
* obj1
= 0 ;
38254 PyObject
* obj2
= 0 ;
38255 char *kwnames
[] = {
38256 (char *) "self",(char *) "x",(char *) "y", NULL
38259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38261 if (SWIG_arg_fail(1)) SWIG_fail
;
38263 arg2
= (int)(SWIG_As_int(obj1
));
38264 if (SWIG_arg_fail(2)) SWIG_fail
;
38267 arg3
= (int)(SWIG_As_int(obj2
));
38268 if (SWIG_arg_fail(3)) SWIG_fail
;
38271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38272 (arg1
)->SetInitSize(arg2
,arg3
);
38274 wxPyEndAllowThreads(__tstate
);
38275 if (PyErr_Occurred()) SWIG_fail
;
38277 Py_INCREF(Py_None
); resultobj
= Py_None
;
38284 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38285 PyObject
*resultobj
;
38286 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38289 PyObject
* obj0
= 0 ;
38290 PyObject
* obj1
= 0 ;
38291 PyObject
* obj2
= 0 ;
38292 char *kwnames
[] = {
38293 (char *) "self",(char *) "width",(char *) "height", NULL
38296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38298 if (SWIG_arg_fail(1)) SWIG_fail
;
38300 arg2
= (int)(SWIG_As_int(obj1
));
38301 if (SWIG_arg_fail(2)) SWIG_fail
;
38304 arg3
= (int)(SWIG_As_int(obj2
));
38305 if (SWIG_arg_fail(3)) SWIG_fail
;
38308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38309 (arg1
)->SetRatio(arg2
,arg3
);
38311 wxPyEndAllowThreads(__tstate
);
38312 if (PyErr_Occurred()) SWIG_fail
;
38314 Py_INCREF(Py_None
); resultobj
= Py_None
;
38321 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38322 PyObject
*resultobj
;
38323 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38325 PyObject
* obj0
= 0 ;
38326 PyObject
* obj1
= 0 ;
38327 char *kwnames
[] = {
38328 (char *) "self",(char *) "size", NULL
38331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38333 if (SWIG_arg_fail(1)) SWIG_fail
;
38336 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38337 if (SWIG_arg_fail(2)) SWIG_fail
;
38338 if (argp
== NULL
) {
38339 SWIG_null_ref("wxSize");
38341 if (SWIG_arg_fail(2)) SWIG_fail
;
38345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38346 (arg1
)->SetRatio(arg2
);
38348 wxPyEndAllowThreads(__tstate
);
38349 if (PyErr_Occurred()) SWIG_fail
;
38351 Py_INCREF(Py_None
); resultobj
= Py_None
;
38358 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38359 PyObject
*resultobj
;
38360 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38362 PyObject
* obj0
= 0 ;
38363 PyObject
* obj1
= 0 ;
38364 char *kwnames
[] = {
38365 (char *) "self",(char *) "ratio", NULL
38368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38370 if (SWIG_arg_fail(1)) SWIG_fail
;
38372 arg2
= (float)(SWIG_As_float(obj1
));
38373 if (SWIG_arg_fail(2)) SWIG_fail
;
38376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38377 (arg1
)->SetRatio(arg2
);
38379 wxPyEndAllowThreads(__tstate
);
38380 if (PyErr_Occurred()) SWIG_fail
;
38382 Py_INCREF(Py_None
); resultobj
= Py_None
;
38389 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38390 PyObject
*resultobj
;
38391 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38393 PyObject
* obj0
= 0 ;
38394 char *kwnames
[] = {
38395 (char *) "self", NULL
38398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38400 if (SWIG_arg_fail(1)) SWIG_fail
;
38402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38403 result
= (float)(arg1
)->GetRatio();
38405 wxPyEndAllowThreads(__tstate
);
38406 if (PyErr_Occurred()) SWIG_fail
;
38409 resultobj
= SWIG_From_float((float)(result
));
38417 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38418 PyObject
*resultobj
;
38419 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38421 PyObject
* obj0
= 0 ;
38422 char *kwnames
[] = {
38423 (char *) "self", NULL
38426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38428 if (SWIG_arg_fail(1)) SWIG_fail
;
38430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38431 result
= (arg1
)->GetRect();
38433 wxPyEndAllowThreads(__tstate
);
38434 if (PyErr_Occurred()) SWIG_fail
;
38437 wxRect
* resultptr
;
38438 resultptr
= new wxRect((wxRect
&)(result
));
38439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38447 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38448 PyObject
*resultobj
;
38449 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38451 PyObject
* obj0
= 0 ;
38452 char *kwnames
[] = {
38453 (char *) "self", NULL
38456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38458 if (SWIG_arg_fail(1)) SWIG_fail
;
38460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38461 result
= (bool)(arg1
)->IsWindow();
38463 wxPyEndAllowThreads(__tstate
);
38464 if (PyErr_Occurred()) SWIG_fail
;
38467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38475 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38476 PyObject
*resultobj
;
38477 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38479 PyObject
* obj0
= 0 ;
38480 char *kwnames
[] = {
38481 (char *) "self", NULL
38484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38486 if (SWIG_arg_fail(1)) SWIG_fail
;
38488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38489 result
= (bool)(arg1
)->IsSizer();
38491 wxPyEndAllowThreads(__tstate
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38503 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38504 PyObject
*resultobj
;
38505 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38507 PyObject
* obj0
= 0 ;
38508 char *kwnames
[] = {
38509 (char *) "self", NULL
38512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38514 if (SWIG_arg_fail(1)) SWIG_fail
;
38516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38517 result
= (bool)(arg1
)->IsSpacer();
38519 wxPyEndAllowThreads(__tstate
);
38520 if (PyErr_Occurred()) SWIG_fail
;
38523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38531 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38532 PyObject
*resultobj
;
38533 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38535 PyObject
* obj0
= 0 ;
38536 PyObject
* obj1
= 0 ;
38537 char *kwnames
[] = {
38538 (char *) "self",(char *) "proportion", NULL
38541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38543 if (SWIG_arg_fail(1)) SWIG_fail
;
38545 arg2
= (int)(SWIG_As_int(obj1
));
38546 if (SWIG_arg_fail(2)) SWIG_fail
;
38549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38550 (arg1
)->SetProportion(arg2
);
38552 wxPyEndAllowThreads(__tstate
);
38553 if (PyErr_Occurred()) SWIG_fail
;
38555 Py_INCREF(Py_None
); resultobj
= Py_None
;
38562 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38563 PyObject
*resultobj
;
38564 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38566 PyObject
* obj0
= 0 ;
38567 char *kwnames
[] = {
38568 (char *) "self", NULL
38571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38573 if (SWIG_arg_fail(1)) SWIG_fail
;
38575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38576 result
= (int)(arg1
)->GetProportion();
38578 wxPyEndAllowThreads(__tstate
);
38579 if (PyErr_Occurred()) SWIG_fail
;
38582 resultobj
= SWIG_From_int((int)(result
));
38590 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38591 PyObject
*resultobj
;
38592 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38594 PyObject
* obj0
= 0 ;
38595 PyObject
* obj1
= 0 ;
38596 char *kwnames
[] = {
38597 (char *) "self",(char *) "flag", NULL
38600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38602 if (SWIG_arg_fail(1)) SWIG_fail
;
38604 arg2
= (int)(SWIG_As_int(obj1
));
38605 if (SWIG_arg_fail(2)) SWIG_fail
;
38608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38609 (arg1
)->SetFlag(arg2
);
38611 wxPyEndAllowThreads(__tstate
);
38612 if (PyErr_Occurred()) SWIG_fail
;
38614 Py_INCREF(Py_None
); resultobj
= Py_None
;
38621 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38622 PyObject
*resultobj
;
38623 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38625 PyObject
* obj0
= 0 ;
38626 char *kwnames
[] = {
38627 (char *) "self", NULL
38630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38632 if (SWIG_arg_fail(1)) SWIG_fail
;
38634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38635 result
= (int)(arg1
)->GetFlag();
38637 wxPyEndAllowThreads(__tstate
);
38638 if (PyErr_Occurred()) SWIG_fail
;
38641 resultobj
= SWIG_From_int((int)(result
));
38649 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38650 PyObject
*resultobj
;
38651 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38653 PyObject
* obj0
= 0 ;
38654 PyObject
* obj1
= 0 ;
38655 char *kwnames
[] = {
38656 (char *) "self",(char *) "border", NULL
38659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
38660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38661 if (SWIG_arg_fail(1)) SWIG_fail
;
38663 arg2
= (int)(SWIG_As_int(obj1
));
38664 if (SWIG_arg_fail(2)) SWIG_fail
;
38667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38668 (arg1
)->SetBorder(arg2
);
38670 wxPyEndAllowThreads(__tstate
);
38671 if (PyErr_Occurred()) SWIG_fail
;
38673 Py_INCREF(Py_None
); resultobj
= Py_None
;
38680 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38681 PyObject
*resultobj
;
38682 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38684 PyObject
* obj0
= 0 ;
38685 char *kwnames
[] = {
38686 (char *) "self", NULL
38689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
38690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38691 if (SWIG_arg_fail(1)) SWIG_fail
;
38693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38694 result
= (int)(arg1
)->GetBorder();
38696 wxPyEndAllowThreads(__tstate
);
38697 if (PyErr_Occurred()) SWIG_fail
;
38700 resultobj
= SWIG_From_int((int)(result
));
38708 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38709 PyObject
*resultobj
;
38710 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38712 PyObject
* obj0
= 0 ;
38713 char *kwnames
[] = {
38714 (char *) "self", NULL
38717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
38718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38719 if (SWIG_arg_fail(1)) SWIG_fail
;
38721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38722 result
= (wxWindow
*)(arg1
)->GetWindow();
38724 wxPyEndAllowThreads(__tstate
);
38725 if (PyErr_Occurred()) SWIG_fail
;
38728 resultobj
= wxPyMake_wxObject(result
, 0);
38736 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38737 PyObject
*resultobj
;
38738 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38739 wxWindow
*arg2
= (wxWindow
*) 0 ;
38740 PyObject
* obj0
= 0 ;
38741 PyObject
* obj1
= 0 ;
38742 char *kwnames
[] = {
38743 (char *) "self",(char *) "window", NULL
38746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
38747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38748 if (SWIG_arg_fail(1)) SWIG_fail
;
38749 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38750 if (SWIG_arg_fail(2)) SWIG_fail
;
38752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38753 (arg1
)->SetWindow(arg2
);
38755 wxPyEndAllowThreads(__tstate
);
38756 if (PyErr_Occurred()) SWIG_fail
;
38758 Py_INCREF(Py_None
); resultobj
= Py_None
;
38765 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38766 PyObject
*resultobj
;
38767 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38769 PyObject
* obj0
= 0 ;
38770 char *kwnames
[] = {
38771 (char *) "self", NULL
38774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
38775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38776 if (SWIG_arg_fail(1)) SWIG_fail
;
38778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38779 result
= (wxSizer
*)(arg1
)->GetSizer();
38781 wxPyEndAllowThreads(__tstate
);
38782 if (PyErr_Occurred()) SWIG_fail
;
38785 resultobj
= wxPyMake_wxSizer(result
, 0);
38793 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38794 PyObject
*resultobj
;
38795 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38796 wxSizer
*arg2
= (wxSizer
*) 0 ;
38797 PyObject
* obj0
= 0 ;
38798 PyObject
* obj1
= 0 ;
38799 char *kwnames
[] = {
38800 (char *) "self",(char *) "sizer", NULL
38803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38804 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38805 if (SWIG_arg_fail(1)) SWIG_fail
;
38806 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38807 if (SWIG_arg_fail(2)) SWIG_fail
;
38809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38810 (arg1
)->SetSizer(arg2
);
38812 wxPyEndAllowThreads(__tstate
);
38813 if (PyErr_Occurred()) SWIG_fail
;
38815 Py_INCREF(Py_None
); resultobj
= Py_None
;
38822 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38823 PyObject
*resultobj
;
38824 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38826 PyObject
* obj0
= 0 ;
38827 char *kwnames
[] = {
38828 (char *) "self", NULL
38831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
38832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38833 if (SWIG_arg_fail(1)) SWIG_fail
;
38835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38837 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
38838 result
= (wxSize
*) &_result_ref
;
38841 wxPyEndAllowThreads(__tstate
);
38842 if (PyErr_Occurred()) SWIG_fail
;
38844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
38851 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38852 PyObject
*resultobj
;
38853 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38856 PyObject
* obj0
= 0 ;
38857 PyObject
* obj1
= 0 ;
38858 char *kwnames
[] = {
38859 (char *) "self",(char *) "size", NULL
38862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
38863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38864 if (SWIG_arg_fail(1)) SWIG_fail
;
38867 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38871 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
38873 wxPyEndAllowThreads(__tstate
);
38874 if (PyErr_Occurred()) SWIG_fail
;
38876 Py_INCREF(Py_None
); resultobj
= Py_None
;
38883 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38884 PyObject
*resultobj
;
38885 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38887 PyObject
* obj0
= 0 ;
38888 PyObject
* obj1
= 0 ;
38889 char *kwnames
[] = {
38890 (char *) "self",(char *) "show", NULL
38893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
38894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38895 if (SWIG_arg_fail(1)) SWIG_fail
;
38897 arg2
= (bool)(SWIG_As_bool(obj1
));
38898 if (SWIG_arg_fail(2)) SWIG_fail
;
38901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38902 (arg1
)->Show(arg2
);
38904 wxPyEndAllowThreads(__tstate
);
38905 if (PyErr_Occurred()) SWIG_fail
;
38907 Py_INCREF(Py_None
); resultobj
= Py_None
;
38914 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38915 PyObject
*resultobj
;
38916 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38918 PyObject
* obj0
= 0 ;
38919 char *kwnames
[] = {
38920 (char *) "self", NULL
38923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
38924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38925 if (SWIG_arg_fail(1)) SWIG_fail
;
38927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38928 result
= (bool)(arg1
)->IsShown();
38930 wxPyEndAllowThreads(__tstate
);
38931 if (PyErr_Occurred()) SWIG_fail
;
38934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38942 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38943 PyObject
*resultobj
;
38944 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38946 PyObject
* obj0
= 0 ;
38947 char *kwnames
[] = {
38948 (char *) "self", NULL
38951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
38952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38953 if (SWIG_arg_fail(1)) SWIG_fail
;
38955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38956 result
= (arg1
)->GetPosition();
38958 wxPyEndAllowThreads(__tstate
);
38959 if (PyErr_Occurred()) SWIG_fail
;
38962 wxPoint
* resultptr
;
38963 resultptr
= new wxPoint((wxPoint
&)(result
));
38964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
38972 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38973 PyObject
*resultobj
;
38974 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38976 PyObject
* obj0
= 0 ;
38977 char *kwnames
[] = {
38978 (char *) "self", NULL
38981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
38982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38983 if (SWIG_arg_fail(1)) SWIG_fail
;
38985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38986 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38991 resultobj
= result
;
38998 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39001 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39003 return Py_BuildValue((char *)"");
39005 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39006 PyObject
*resultobj
;
39007 wxSizer
*arg1
= (wxSizer
*) 0 ;
39008 PyObject
*arg2
= (PyObject
*) 0 ;
39009 PyObject
* obj0
= 0 ;
39010 PyObject
* obj1
= 0 ;
39011 char *kwnames
[] = {
39012 (char *) "self",(char *) "_self", NULL
39015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39017 if (SWIG_arg_fail(1)) SWIG_fail
;
39020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39021 wxSizer__setOORInfo(arg1
,arg2
);
39023 wxPyEndAllowThreads(__tstate
);
39024 if (PyErr_Occurred()) SWIG_fail
;
39026 Py_INCREF(Py_None
); resultobj
= Py_None
;
39033 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39034 PyObject
*resultobj
;
39035 wxSizer
*arg1
= (wxSizer
*) 0 ;
39036 PyObject
*arg2
= (PyObject
*) 0 ;
39037 int arg3
= (int) 0 ;
39038 int arg4
= (int) 0 ;
39039 int arg5
= (int) 0 ;
39040 PyObject
*arg6
= (PyObject
*) NULL
;
39041 wxSizerItem
*result
;
39042 PyObject
* obj0
= 0 ;
39043 PyObject
* obj1
= 0 ;
39044 PyObject
* obj2
= 0 ;
39045 PyObject
* obj3
= 0 ;
39046 PyObject
* obj4
= 0 ;
39047 PyObject
* obj5
= 0 ;
39048 char *kwnames
[] = {
39049 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39054 if (SWIG_arg_fail(1)) SWIG_fail
;
39058 arg3
= (int)(SWIG_As_int(obj2
));
39059 if (SWIG_arg_fail(3)) SWIG_fail
;
39064 arg4
= (int)(SWIG_As_int(obj3
));
39065 if (SWIG_arg_fail(4)) SWIG_fail
;
39070 arg5
= (int)(SWIG_As_int(obj4
));
39071 if (SWIG_arg_fail(5)) SWIG_fail
;
39078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39079 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39081 wxPyEndAllowThreads(__tstate
);
39082 if (PyErr_Occurred()) SWIG_fail
;
39084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39091 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39092 PyObject
*resultobj
;
39093 wxSizer
*arg1
= (wxSizer
*) 0 ;
39095 PyObject
*arg3
= (PyObject
*) 0 ;
39096 int arg4
= (int) 0 ;
39097 int arg5
= (int) 0 ;
39098 int arg6
= (int) 0 ;
39099 PyObject
*arg7
= (PyObject
*) NULL
;
39100 wxSizerItem
*result
;
39101 PyObject
* obj0
= 0 ;
39102 PyObject
* obj1
= 0 ;
39103 PyObject
* obj2
= 0 ;
39104 PyObject
* obj3
= 0 ;
39105 PyObject
* obj4
= 0 ;
39106 PyObject
* obj5
= 0 ;
39107 PyObject
* obj6
= 0 ;
39108 char *kwnames
[] = {
39109 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39114 if (SWIG_arg_fail(1)) SWIG_fail
;
39116 arg2
= (int)(SWIG_As_int(obj1
));
39117 if (SWIG_arg_fail(2)) SWIG_fail
;
39122 arg4
= (int)(SWIG_As_int(obj3
));
39123 if (SWIG_arg_fail(4)) SWIG_fail
;
39128 arg5
= (int)(SWIG_As_int(obj4
));
39129 if (SWIG_arg_fail(5)) SWIG_fail
;
39134 arg6
= (int)(SWIG_As_int(obj5
));
39135 if (SWIG_arg_fail(6)) SWIG_fail
;
39142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39143 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39145 wxPyEndAllowThreads(__tstate
);
39146 if (PyErr_Occurred()) SWIG_fail
;
39148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39155 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39156 PyObject
*resultobj
;
39157 wxSizer
*arg1
= (wxSizer
*) 0 ;
39158 PyObject
*arg2
= (PyObject
*) 0 ;
39159 int arg3
= (int) 0 ;
39160 int arg4
= (int) 0 ;
39161 int arg5
= (int) 0 ;
39162 PyObject
*arg6
= (PyObject
*) NULL
;
39163 wxSizerItem
*result
;
39164 PyObject
* obj0
= 0 ;
39165 PyObject
* obj1
= 0 ;
39166 PyObject
* obj2
= 0 ;
39167 PyObject
* obj3
= 0 ;
39168 PyObject
* obj4
= 0 ;
39169 PyObject
* obj5
= 0 ;
39170 char *kwnames
[] = {
39171 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39176 if (SWIG_arg_fail(1)) SWIG_fail
;
39180 arg3
= (int)(SWIG_As_int(obj2
));
39181 if (SWIG_arg_fail(3)) SWIG_fail
;
39186 arg4
= (int)(SWIG_As_int(obj3
));
39187 if (SWIG_arg_fail(4)) SWIG_fail
;
39192 arg5
= (int)(SWIG_As_int(obj4
));
39193 if (SWIG_arg_fail(5)) SWIG_fail
;
39200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39201 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39203 wxPyEndAllowThreads(__tstate
);
39204 if (PyErr_Occurred()) SWIG_fail
;
39206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39213 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39214 PyObject
*resultobj
;
39215 wxSizer
*arg1
= (wxSizer
*) 0 ;
39216 PyObject
*arg2
= (PyObject
*) 0 ;
39218 PyObject
* obj0
= 0 ;
39219 PyObject
* obj1
= 0 ;
39220 char *kwnames
[] = {
39221 (char *) "self",(char *) "item", NULL
39224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39226 if (SWIG_arg_fail(1)) SWIG_fail
;
39229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39230 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39232 wxPyEndAllowThreads(__tstate
);
39233 if (PyErr_Occurred()) SWIG_fail
;
39236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39244 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39245 PyObject
*resultobj
;
39246 wxSizer
*arg1
= (wxSizer
*) 0 ;
39247 PyObject
*arg2
= (PyObject
*) 0 ;
39249 PyObject
* obj0
= 0 ;
39250 PyObject
* obj1
= 0 ;
39251 char *kwnames
[] = {
39252 (char *) "self",(char *) "item", NULL
39255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39257 if (SWIG_arg_fail(1)) SWIG_fail
;
39260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39261 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39263 wxPyEndAllowThreads(__tstate
);
39264 if (PyErr_Occurred()) SWIG_fail
;
39267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39275 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39276 PyObject
*resultobj
;
39277 wxSizer
*arg1
= (wxSizer
*) 0 ;
39278 PyObject
*arg2
= (PyObject
*) 0 ;
39279 wxSizerItem
*result
;
39280 PyObject
* obj0
= 0 ;
39281 PyObject
* obj1
= 0 ;
39282 char *kwnames
[] = {
39283 (char *) "self",(char *) "item", NULL
39286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39288 if (SWIG_arg_fail(1)) SWIG_fail
;
39291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39292 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39294 wxPyEndAllowThreads(__tstate
);
39295 if (PyErr_Occurred()) SWIG_fail
;
39297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39304 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39305 PyObject
*resultobj
;
39306 wxSizer
*arg1
= (wxSizer
*) 0 ;
39307 PyObject
*arg2
= (PyObject
*) 0 ;
39310 PyObject
* obj0
= 0 ;
39311 PyObject
* obj1
= 0 ;
39312 PyObject
* obj2
= 0 ;
39313 char *kwnames
[] = {
39314 (char *) "self",(char *) "item",(char *) "size", NULL
39317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39319 if (SWIG_arg_fail(1)) SWIG_fail
;
39323 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39327 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39329 wxPyEndAllowThreads(__tstate
);
39330 if (PyErr_Occurred()) SWIG_fail
;
39332 Py_INCREF(Py_None
); resultobj
= Py_None
;
39339 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39340 PyObject
*resultobj
;
39341 wxSizer
*arg1
= (wxSizer
*) 0 ;
39342 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39343 wxSizerItem
*result
;
39344 PyObject
* obj0
= 0 ;
39345 PyObject
* obj1
= 0 ;
39346 char *kwnames
[] = {
39347 (char *) "self",(char *) "item", NULL
39350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39352 if (SWIG_arg_fail(1)) SWIG_fail
;
39353 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39354 if (SWIG_arg_fail(2)) SWIG_fail
;
39356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39357 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39359 wxPyEndAllowThreads(__tstate
);
39360 if (PyErr_Occurred()) SWIG_fail
;
39362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39369 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39370 PyObject
*resultobj
;
39371 wxSizer
*arg1
= (wxSizer
*) 0 ;
39373 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39374 wxSizerItem
*result
;
39375 PyObject
* obj0
= 0 ;
39376 PyObject
* obj1
= 0 ;
39377 PyObject
* obj2
= 0 ;
39378 char *kwnames
[] = {
39379 (char *) "self",(char *) "index",(char *) "item", NULL
39382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39384 if (SWIG_arg_fail(1)) SWIG_fail
;
39386 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39387 if (SWIG_arg_fail(2)) SWIG_fail
;
39389 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39390 if (SWIG_arg_fail(3)) SWIG_fail
;
39392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39393 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39395 wxPyEndAllowThreads(__tstate
);
39396 if (PyErr_Occurred()) SWIG_fail
;
39398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39405 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39406 PyObject
*resultobj
;
39407 wxSizer
*arg1
= (wxSizer
*) 0 ;
39408 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39409 wxSizerItem
*result
;
39410 PyObject
* obj0
= 0 ;
39411 PyObject
* obj1
= 0 ;
39412 char *kwnames
[] = {
39413 (char *) "self",(char *) "item", NULL
39416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39418 if (SWIG_arg_fail(1)) SWIG_fail
;
39419 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39420 if (SWIG_arg_fail(2)) SWIG_fail
;
39422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39423 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39425 wxPyEndAllowThreads(__tstate
);
39426 if (PyErr_Occurred()) SWIG_fail
;
39428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39435 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39436 PyObject
*resultobj
;
39437 wxSizer
*arg1
= (wxSizer
*) 0 ;
39442 PyObject
* obj0
= 0 ;
39443 PyObject
* obj1
= 0 ;
39444 PyObject
* obj2
= 0 ;
39445 PyObject
* obj3
= 0 ;
39446 PyObject
* obj4
= 0 ;
39447 char *kwnames
[] = {
39448 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39453 if (SWIG_arg_fail(1)) SWIG_fail
;
39455 arg2
= (int)(SWIG_As_int(obj1
));
39456 if (SWIG_arg_fail(2)) SWIG_fail
;
39459 arg3
= (int)(SWIG_As_int(obj2
));
39460 if (SWIG_arg_fail(3)) SWIG_fail
;
39463 arg4
= (int)(SWIG_As_int(obj3
));
39464 if (SWIG_arg_fail(4)) SWIG_fail
;
39467 arg5
= (int)(SWIG_As_int(obj4
));
39468 if (SWIG_arg_fail(5)) SWIG_fail
;
39471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39472 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39474 wxPyEndAllowThreads(__tstate
);
39475 if (PyErr_Occurred()) SWIG_fail
;
39477 Py_INCREF(Py_None
); resultobj
= Py_None
;
39484 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39485 PyObject
*resultobj
;
39486 wxSizer
*arg1
= (wxSizer
*) 0 ;
39489 PyObject
* obj0
= 0 ;
39490 PyObject
* obj1
= 0 ;
39491 char *kwnames
[] = {
39492 (char *) "self",(char *) "size", NULL
39495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39497 if (SWIG_arg_fail(1)) SWIG_fail
;
39500 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39504 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39506 wxPyEndAllowThreads(__tstate
);
39507 if (PyErr_Occurred()) SWIG_fail
;
39509 Py_INCREF(Py_None
); resultobj
= Py_None
;
39516 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39517 PyObject
*resultobj
;
39518 wxSizer
*arg1
= (wxSizer
*) 0 ;
39520 PyObject
* obj0
= 0 ;
39521 char *kwnames
[] = {
39522 (char *) "self", NULL
39525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39527 if (SWIG_arg_fail(1)) SWIG_fail
;
39529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39530 result
= (arg1
)->GetSize();
39532 wxPyEndAllowThreads(__tstate
);
39533 if (PyErr_Occurred()) SWIG_fail
;
39536 wxSize
* resultptr
;
39537 resultptr
= new wxSize((wxSize
&)(result
));
39538 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39546 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39547 PyObject
*resultobj
;
39548 wxSizer
*arg1
= (wxSizer
*) 0 ;
39550 PyObject
* obj0
= 0 ;
39551 char *kwnames
[] = {
39552 (char *) "self", NULL
39555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39557 if (SWIG_arg_fail(1)) SWIG_fail
;
39559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39560 result
= (arg1
)->GetPosition();
39562 wxPyEndAllowThreads(__tstate
);
39563 if (PyErr_Occurred()) SWIG_fail
;
39566 wxPoint
* resultptr
;
39567 resultptr
= new wxPoint((wxPoint
&)(result
));
39568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39576 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39577 PyObject
*resultobj
;
39578 wxSizer
*arg1
= (wxSizer
*) 0 ;
39580 PyObject
* obj0
= 0 ;
39581 char *kwnames
[] = {
39582 (char *) "self", NULL
39585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39587 if (SWIG_arg_fail(1)) SWIG_fail
;
39589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39590 result
= (arg1
)->GetMinSize();
39592 wxPyEndAllowThreads(__tstate
);
39593 if (PyErr_Occurred()) SWIG_fail
;
39596 wxSize
* resultptr
;
39597 resultptr
= new wxSize((wxSize
&)(result
));
39598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39606 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39607 PyObject
*resultobj
;
39608 wxSizer
*arg1
= (wxSizer
*) 0 ;
39609 PyObject
* obj0
= 0 ;
39610 char *kwnames
[] = {
39611 (char *) "self", NULL
39614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39616 if (SWIG_arg_fail(1)) SWIG_fail
;
39618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39619 (arg1
)->RecalcSizes();
39621 wxPyEndAllowThreads(__tstate
);
39622 if (PyErr_Occurred()) SWIG_fail
;
39624 Py_INCREF(Py_None
); resultobj
= Py_None
;
39631 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39632 PyObject
*resultobj
;
39633 wxSizer
*arg1
= (wxSizer
*) 0 ;
39635 PyObject
* obj0
= 0 ;
39636 char *kwnames
[] = {
39637 (char *) "self", NULL
39640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39642 if (SWIG_arg_fail(1)) SWIG_fail
;
39644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39645 result
= (arg1
)->CalcMin();
39647 wxPyEndAllowThreads(__tstate
);
39648 if (PyErr_Occurred()) SWIG_fail
;
39651 wxSize
* resultptr
;
39652 resultptr
= new wxSize((wxSize
&)(result
));
39653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39661 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39662 PyObject
*resultobj
;
39663 wxSizer
*arg1
= (wxSizer
*) 0 ;
39664 PyObject
* obj0
= 0 ;
39665 char *kwnames
[] = {
39666 (char *) "self", NULL
39669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39670 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39671 if (SWIG_arg_fail(1)) SWIG_fail
;
39673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39676 wxPyEndAllowThreads(__tstate
);
39677 if (PyErr_Occurred()) SWIG_fail
;
39679 Py_INCREF(Py_None
); resultobj
= Py_None
;
39686 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39687 PyObject
*resultobj
;
39688 wxSizer
*arg1
= (wxSizer
*) 0 ;
39689 wxWindow
*arg2
= (wxWindow
*) 0 ;
39691 PyObject
* obj0
= 0 ;
39692 PyObject
* obj1
= 0 ;
39693 char *kwnames
[] = {
39694 (char *) "self",(char *) "window", NULL
39697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39699 if (SWIG_arg_fail(1)) SWIG_fail
;
39700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39701 if (SWIG_arg_fail(2)) SWIG_fail
;
39703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39704 result
= (arg1
)->Fit(arg2
);
39706 wxPyEndAllowThreads(__tstate
);
39707 if (PyErr_Occurred()) SWIG_fail
;
39710 wxSize
* resultptr
;
39711 resultptr
= new wxSize((wxSize
&)(result
));
39712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39720 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39721 PyObject
*resultobj
;
39722 wxSizer
*arg1
= (wxSizer
*) 0 ;
39723 wxWindow
*arg2
= (wxWindow
*) 0 ;
39724 PyObject
* obj0
= 0 ;
39725 PyObject
* obj1
= 0 ;
39726 char *kwnames
[] = {
39727 (char *) "self",(char *) "window", NULL
39730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
39731 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39732 if (SWIG_arg_fail(1)) SWIG_fail
;
39733 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39734 if (SWIG_arg_fail(2)) SWIG_fail
;
39736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39737 (arg1
)->FitInside(arg2
);
39739 wxPyEndAllowThreads(__tstate
);
39740 if (PyErr_Occurred()) SWIG_fail
;
39742 Py_INCREF(Py_None
); resultobj
= Py_None
;
39749 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39750 PyObject
*resultobj
;
39751 wxSizer
*arg1
= (wxSizer
*) 0 ;
39752 wxWindow
*arg2
= (wxWindow
*) 0 ;
39753 PyObject
* obj0
= 0 ;
39754 PyObject
* obj1
= 0 ;
39755 char *kwnames
[] = {
39756 (char *) "self",(char *) "window", NULL
39759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39761 if (SWIG_arg_fail(1)) SWIG_fail
;
39762 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39763 if (SWIG_arg_fail(2)) SWIG_fail
;
39765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39766 (arg1
)->SetSizeHints(arg2
);
39768 wxPyEndAllowThreads(__tstate
);
39769 if (PyErr_Occurred()) SWIG_fail
;
39771 Py_INCREF(Py_None
); resultobj
= Py_None
;
39778 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39779 PyObject
*resultobj
;
39780 wxSizer
*arg1
= (wxSizer
*) 0 ;
39781 wxWindow
*arg2
= (wxWindow
*) 0 ;
39782 PyObject
* obj0
= 0 ;
39783 PyObject
* obj1
= 0 ;
39784 char *kwnames
[] = {
39785 (char *) "self",(char *) "window", NULL
39788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
39789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39790 if (SWIG_arg_fail(1)) SWIG_fail
;
39791 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39792 if (SWIG_arg_fail(2)) SWIG_fail
;
39794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39795 (arg1
)->SetVirtualSizeHints(arg2
);
39797 wxPyEndAllowThreads(__tstate
);
39798 if (PyErr_Occurred()) SWIG_fail
;
39800 Py_INCREF(Py_None
); resultobj
= Py_None
;
39807 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39808 PyObject
*resultobj
;
39809 wxSizer
*arg1
= (wxSizer
*) 0 ;
39810 bool arg2
= (bool) false ;
39811 PyObject
* obj0
= 0 ;
39812 PyObject
* obj1
= 0 ;
39813 char *kwnames
[] = {
39814 (char *) "self",(char *) "deleteWindows", NULL
39817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
39818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39819 if (SWIG_arg_fail(1)) SWIG_fail
;
39822 arg2
= (bool)(SWIG_As_bool(obj1
));
39823 if (SWIG_arg_fail(2)) SWIG_fail
;
39827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39828 (arg1
)->Clear(arg2
);
39830 wxPyEndAllowThreads(__tstate
);
39831 if (PyErr_Occurred()) SWIG_fail
;
39833 Py_INCREF(Py_None
); resultobj
= Py_None
;
39840 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39841 PyObject
*resultobj
;
39842 wxSizer
*arg1
= (wxSizer
*) 0 ;
39843 PyObject
* obj0
= 0 ;
39844 char *kwnames
[] = {
39845 (char *) "self", NULL
39848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
39849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39850 if (SWIG_arg_fail(1)) SWIG_fail
;
39852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39853 (arg1
)->DeleteWindows();
39855 wxPyEndAllowThreads(__tstate
);
39856 if (PyErr_Occurred()) SWIG_fail
;
39858 Py_INCREF(Py_None
); resultobj
= Py_None
;
39865 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39866 PyObject
*resultobj
;
39867 wxSizer
*arg1
= (wxSizer
*) 0 ;
39869 PyObject
* obj0
= 0 ;
39870 char *kwnames
[] = {
39871 (char *) "self", NULL
39874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
39875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39876 if (SWIG_arg_fail(1)) SWIG_fail
;
39878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39879 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
39881 wxPyEndAllowThreads(__tstate
);
39882 if (PyErr_Occurred()) SWIG_fail
;
39884 resultobj
= result
;
39891 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39892 PyObject
*resultobj
;
39893 wxSizer
*arg1
= (wxSizer
*) 0 ;
39894 PyObject
*arg2
= (PyObject
*) 0 ;
39895 bool arg3
= (bool) true ;
39896 bool arg4
= (bool) false ;
39898 PyObject
* obj0
= 0 ;
39899 PyObject
* obj1
= 0 ;
39900 PyObject
* obj2
= 0 ;
39901 PyObject
* obj3
= 0 ;
39902 char *kwnames
[] = {
39903 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
39906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39908 if (SWIG_arg_fail(1)) SWIG_fail
;
39912 arg3
= (bool)(SWIG_As_bool(obj2
));
39913 if (SWIG_arg_fail(3)) SWIG_fail
;
39918 arg4
= (bool)(SWIG_As_bool(obj3
));
39919 if (SWIG_arg_fail(4)) SWIG_fail
;
39923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39924 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
39926 wxPyEndAllowThreads(__tstate
);
39927 if (PyErr_Occurred()) SWIG_fail
;
39930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39938 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39939 PyObject
*resultobj
;
39940 wxSizer
*arg1
= (wxSizer
*) 0 ;
39941 PyObject
*arg2
= (PyObject
*) 0 ;
39943 PyObject
* obj0
= 0 ;
39944 PyObject
* obj1
= 0 ;
39945 char *kwnames
[] = {
39946 (char *) "self",(char *) "item", NULL
39949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
39950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39951 if (SWIG_arg_fail(1)) SWIG_fail
;
39954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39955 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
39957 wxPyEndAllowThreads(__tstate
);
39958 if (PyErr_Occurred()) SWIG_fail
;
39961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39969 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39970 PyObject
*resultobj
;
39971 wxSizer
*arg1
= (wxSizer
*) 0 ;
39973 PyObject
* obj0
= 0 ;
39974 PyObject
* obj1
= 0 ;
39975 char *kwnames
[] = {
39976 (char *) "self",(char *) "show", NULL
39979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
39980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39981 if (SWIG_arg_fail(1)) SWIG_fail
;
39983 arg2
= (bool)(SWIG_As_bool(obj1
));
39984 if (SWIG_arg_fail(2)) SWIG_fail
;
39987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39988 (arg1
)->ShowItems(arg2
);
39990 wxPyEndAllowThreads(__tstate
);
39991 if (PyErr_Occurred()) SWIG_fail
;
39993 Py_INCREF(Py_None
); resultobj
= Py_None
;
40000 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40003 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40005 return Py_BuildValue((char *)"");
40007 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40008 PyObject
*resultobj
;
40010 char *kwnames
[] = {
40014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40017 result
= (wxPySizer
*)new wxPySizer();
40019 wxPyEndAllowThreads(__tstate
);
40020 if (PyErr_Occurred()) SWIG_fail
;
40022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40029 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40030 PyObject
*resultobj
;
40031 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40032 PyObject
*arg2
= (PyObject
*) 0 ;
40033 PyObject
*arg3
= (PyObject
*) 0 ;
40034 PyObject
* obj0
= 0 ;
40035 PyObject
* obj1
= 0 ;
40036 PyObject
* obj2
= 0 ;
40037 char *kwnames
[] = {
40038 (char *) "self",(char *) "self",(char *) "_class", NULL
40041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40043 if (SWIG_arg_fail(1)) SWIG_fail
;
40047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40048 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40050 wxPyEndAllowThreads(__tstate
);
40051 if (PyErr_Occurred()) SWIG_fail
;
40053 Py_INCREF(Py_None
); resultobj
= Py_None
;
40060 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40063 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40065 return Py_BuildValue((char *)"");
40067 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40068 PyObject
*resultobj
;
40069 int arg1
= (int) wxHORIZONTAL
;
40070 wxBoxSizer
*result
;
40071 PyObject
* obj0
= 0 ;
40072 char *kwnames
[] = {
40073 (char *) "orient", NULL
40076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40079 arg1
= (int)(SWIG_As_int(obj0
));
40080 if (SWIG_arg_fail(1)) SWIG_fail
;
40084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40085 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40087 wxPyEndAllowThreads(__tstate
);
40088 if (PyErr_Occurred()) SWIG_fail
;
40090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40097 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40098 PyObject
*resultobj
;
40099 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40101 PyObject
* obj0
= 0 ;
40102 char *kwnames
[] = {
40103 (char *) "self", NULL
40106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40108 if (SWIG_arg_fail(1)) SWIG_fail
;
40110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40111 result
= (int)(arg1
)->GetOrientation();
40113 wxPyEndAllowThreads(__tstate
);
40114 if (PyErr_Occurred()) SWIG_fail
;
40117 resultobj
= SWIG_From_int((int)(result
));
40125 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40126 PyObject
*resultobj
;
40127 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40129 PyObject
* obj0
= 0 ;
40130 PyObject
* obj1
= 0 ;
40131 char *kwnames
[] = {
40132 (char *) "self",(char *) "orient", NULL
40135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40136 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40137 if (SWIG_arg_fail(1)) SWIG_fail
;
40139 arg2
= (int)(SWIG_As_int(obj1
));
40140 if (SWIG_arg_fail(2)) SWIG_fail
;
40143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40144 (arg1
)->SetOrientation(arg2
);
40146 wxPyEndAllowThreads(__tstate
);
40147 if (PyErr_Occurred()) SWIG_fail
;
40149 Py_INCREF(Py_None
); resultobj
= Py_None
;
40156 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40159 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40161 return Py_BuildValue((char *)"");
40163 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40164 PyObject
*resultobj
;
40165 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40166 int arg2
= (int) wxHORIZONTAL
;
40167 wxStaticBoxSizer
*result
;
40168 PyObject
* obj0
= 0 ;
40169 PyObject
* obj1
= 0 ;
40170 char *kwnames
[] = {
40171 (char *) "box",(char *) "orient", NULL
40174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40176 if (SWIG_arg_fail(1)) SWIG_fail
;
40179 arg2
= (int)(SWIG_As_int(obj1
));
40180 if (SWIG_arg_fail(2)) SWIG_fail
;
40184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40185 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40187 wxPyEndAllowThreads(__tstate
);
40188 if (PyErr_Occurred()) SWIG_fail
;
40190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40197 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40198 PyObject
*resultobj
;
40199 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40200 wxStaticBox
*result
;
40201 PyObject
* obj0
= 0 ;
40202 char *kwnames
[] = {
40203 (char *) "self", NULL
40206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40207 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40208 if (SWIG_arg_fail(1)) SWIG_fail
;
40210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40211 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40213 wxPyEndAllowThreads(__tstate
);
40214 if (PyErr_Occurred()) SWIG_fail
;
40217 resultobj
= wxPyMake_wxObject(result
, 0);
40225 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40228 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40230 return Py_BuildValue((char *)"");
40232 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40233 PyObject
*resultobj
;
40234 int arg1
= (int) 1 ;
40235 int arg2
= (int) 0 ;
40236 int arg3
= (int) 0 ;
40237 int arg4
= (int) 0 ;
40238 wxGridSizer
*result
;
40239 PyObject
* obj0
= 0 ;
40240 PyObject
* obj1
= 0 ;
40241 PyObject
* obj2
= 0 ;
40242 PyObject
* obj3
= 0 ;
40243 char *kwnames
[] = {
40244 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40250 arg1
= (int)(SWIG_As_int(obj0
));
40251 if (SWIG_arg_fail(1)) SWIG_fail
;
40256 arg2
= (int)(SWIG_As_int(obj1
));
40257 if (SWIG_arg_fail(2)) SWIG_fail
;
40262 arg3
= (int)(SWIG_As_int(obj2
));
40263 if (SWIG_arg_fail(3)) SWIG_fail
;
40268 arg4
= (int)(SWIG_As_int(obj3
));
40269 if (SWIG_arg_fail(4)) SWIG_fail
;
40273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40274 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40276 wxPyEndAllowThreads(__tstate
);
40277 if (PyErr_Occurred()) SWIG_fail
;
40279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40286 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40287 PyObject
*resultobj
;
40288 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40290 PyObject
* obj0
= 0 ;
40291 PyObject
* obj1
= 0 ;
40292 char *kwnames
[] = {
40293 (char *) "self",(char *) "cols", NULL
40296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40298 if (SWIG_arg_fail(1)) SWIG_fail
;
40300 arg2
= (int)(SWIG_As_int(obj1
));
40301 if (SWIG_arg_fail(2)) SWIG_fail
;
40304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40305 (arg1
)->SetCols(arg2
);
40307 wxPyEndAllowThreads(__tstate
);
40308 if (PyErr_Occurred()) SWIG_fail
;
40310 Py_INCREF(Py_None
); resultobj
= Py_None
;
40317 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40318 PyObject
*resultobj
;
40319 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40321 PyObject
* obj0
= 0 ;
40322 PyObject
* obj1
= 0 ;
40323 char *kwnames
[] = {
40324 (char *) "self",(char *) "rows", NULL
40327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40329 if (SWIG_arg_fail(1)) SWIG_fail
;
40331 arg2
= (int)(SWIG_As_int(obj1
));
40332 if (SWIG_arg_fail(2)) SWIG_fail
;
40335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40336 (arg1
)->SetRows(arg2
);
40338 wxPyEndAllowThreads(__tstate
);
40339 if (PyErr_Occurred()) SWIG_fail
;
40341 Py_INCREF(Py_None
); resultobj
= Py_None
;
40348 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40349 PyObject
*resultobj
;
40350 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40352 PyObject
* obj0
= 0 ;
40353 PyObject
* obj1
= 0 ;
40354 char *kwnames
[] = {
40355 (char *) "self",(char *) "gap", NULL
40358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40360 if (SWIG_arg_fail(1)) SWIG_fail
;
40362 arg2
= (int)(SWIG_As_int(obj1
));
40363 if (SWIG_arg_fail(2)) SWIG_fail
;
40366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40367 (arg1
)->SetVGap(arg2
);
40369 wxPyEndAllowThreads(__tstate
);
40370 if (PyErr_Occurred()) SWIG_fail
;
40372 Py_INCREF(Py_None
); resultobj
= Py_None
;
40379 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40380 PyObject
*resultobj
;
40381 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40383 PyObject
* obj0
= 0 ;
40384 PyObject
* obj1
= 0 ;
40385 char *kwnames
[] = {
40386 (char *) "self",(char *) "gap", NULL
40389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40391 if (SWIG_arg_fail(1)) SWIG_fail
;
40393 arg2
= (int)(SWIG_As_int(obj1
));
40394 if (SWIG_arg_fail(2)) SWIG_fail
;
40397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40398 (arg1
)->SetHGap(arg2
);
40400 wxPyEndAllowThreads(__tstate
);
40401 if (PyErr_Occurred()) SWIG_fail
;
40403 Py_INCREF(Py_None
); resultobj
= Py_None
;
40410 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40411 PyObject
*resultobj
;
40412 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40414 PyObject
* obj0
= 0 ;
40415 char *kwnames
[] = {
40416 (char *) "self", NULL
40419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40421 if (SWIG_arg_fail(1)) SWIG_fail
;
40423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40424 result
= (int)(arg1
)->GetCols();
40426 wxPyEndAllowThreads(__tstate
);
40427 if (PyErr_Occurred()) SWIG_fail
;
40430 resultobj
= SWIG_From_int((int)(result
));
40438 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40439 PyObject
*resultobj
;
40440 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40442 PyObject
* obj0
= 0 ;
40443 char *kwnames
[] = {
40444 (char *) "self", NULL
40447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40449 if (SWIG_arg_fail(1)) SWIG_fail
;
40451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40452 result
= (int)(arg1
)->GetRows();
40454 wxPyEndAllowThreads(__tstate
);
40455 if (PyErr_Occurred()) SWIG_fail
;
40458 resultobj
= SWIG_From_int((int)(result
));
40466 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40467 PyObject
*resultobj
;
40468 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40470 PyObject
* obj0
= 0 ;
40471 char *kwnames
[] = {
40472 (char *) "self", NULL
40475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40477 if (SWIG_arg_fail(1)) SWIG_fail
;
40479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40480 result
= (int)(arg1
)->GetVGap();
40482 wxPyEndAllowThreads(__tstate
);
40483 if (PyErr_Occurred()) SWIG_fail
;
40486 resultobj
= SWIG_From_int((int)(result
));
40494 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40495 PyObject
*resultobj
;
40496 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40498 PyObject
* obj0
= 0 ;
40499 char *kwnames
[] = {
40500 (char *) "self", NULL
40503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40505 if (SWIG_arg_fail(1)) SWIG_fail
;
40507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40508 result
= (int)(arg1
)->GetHGap();
40510 wxPyEndAllowThreads(__tstate
);
40511 if (PyErr_Occurred()) SWIG_fail
;
40514 resultobj
= SWIG_From_int((int)(result
));
40522 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40525 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40527 return Py_BuildValue((char *)"");
40529 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40530 PyObject
*resultobj
;
40531 int arg1
= (int) 1 ;
40532 int arg2
= (int) 0 ;
40533 int arg3
= (int) 0 ;
40534 int arg4
= (int) 0 ;
40535 wxFlexGridSizer
*result
;
40536 PyObject
* obj0
= 0 ;
40537 PyObject
* obj1
= 0 ;
40538 PyObject
* obj2
= 0 ;
40539 PyObject
* obj3
= 0 ;
40540 char *kwnames
[] = {
40541 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40547 arg1
= (int)(SWIG_As_int(obj0
));
40548 if (SWIG_arg_fail(1)) SWIG_fail
;
40553 arg2
= (int)(SWIG_As_int(obj1
));
40554 if (SWIG_arg_fail(2)) SWIG_fail
;
40559 arg3
= (int)(SWIG_As_int(obj2
));
40560 if (SWIG_arg_fail(3)) SWIG_fail
;
40565 arg4
= (int)(SWIG_As_int(obj3
));
40566 if (SWIG_arg_fail(4)) SWIG_fail
;
40570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40571 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40573 wxPyEndAllowThreads(__tstate
);
40574 if (PyErr_Occurred()) SWIG_fail
;
40576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40583 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40584 PyObject
*resultobj
;
40585 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40587 int arg3
= (int) 0 ;
40588 PyObject
* obj0
= 0 ;
40589 PyObject
* obj1
= 0 ;
40590 PyObject
* obj2
= 0 ;
40591 char *kwnames
[] = {
40592 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40597 if (SWIG_arg_fail(1)) SWIG_fail
;
40599 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40600 if (SWIG_arg_fail(2)) SWIG_fail
;
40604 arg3
= (int)(SWIG_As_int(obj2
));
40605 if (SWIG_arg_fail(3)) SWIG_fail
;
40609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40610 (arg1
)->AddGrowableRow(arg2
,arg3
);
40612 wxPyEndAllowThreads(__tstate
);
40613 if (PyErr_Occurred()) SWIG_fail
;
40615 Py_INCREF(Py_None
); resultobj
= Py_None
;
40622 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40623 PyObject
*resultobj
;
40624 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40626 PyObject
* obj0
= 0 ;
40627 PyObject
* obj1
= 0 ;
40628 char *kwnames
[] = {
40629 (char *) "self",(char *) "idx", NULL
40632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40634 if (SWIG_arg_fail(1)) SWIG_fail
;
40636 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40637 if (SWIG_arg_fail(2)) SWIG_fail
;
40640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40641 (arg1
)->RemoveGrowableRow(arg2
);
40643 wxPyEndAllowThreads(__tstate
);
40644 if (PyErr_Occurred()) SWIG_fail
;
40646 Py_INCREF(Py_None
); resultobj
= Py_None
;
40653 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40654 PyObject
*resultobj
;
40655 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40657 int arg3
= (int) 0 ;
40658 PyObject
* obj0
= 0 ;
40659 PyObject
* obj1
= 0 ;
40660 PyObject
* obj2
= 0 ;
40661 char *kwnames
[] = {
40662 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40667 if (SWIG_arg_fail(1)) SWIG_fail
;
40669 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40670 if (SWIG_arg_fail(2)) SWIG_fail
;
40674 arg3
= (int)(SWIG_As_int(obj2
));
40675 if (SWIG_arg_fail(3)) SWIG_fail
;
40679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40680 (arg1
)->AddGrowableCol(arg2
,arg3
);
40682 wxPyEndAllowThreads(__tstate
);
40683 if (PyErr_Occurred()) SWIG_fail
;
40685 Py_INCREF(Py_None
); resultobj
= Py_None
;
40692 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40693 PyObject
*resultobj
;
40694 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40696 PyObject
* obj0
= 0 ;
40697 PyObject
* obj1
= 0 ;
40698 char *kwnames
[] = {
40699 (char *) "self",(char *) "idx", NULL
40702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40704 if (SWIG_arg_fail(1)) SWIG_fail
;
40706 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40707 if (SWIG_arg_fail(2)) SWIG_fail
;
40710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40711 (arg1
)->RemoveGrowableCol(arg2
);
40713 wxPyEndAllowThreads(__tstate
);
40714 if (PyErr_Occurred()) SWIG_fail
;
40716 Py_INCREF(Py_None
); resultobj
= Py_None
;
40723 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40724 PyObject
*resultobj
;
40725 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40727 PyObject
* obj0
= 0 ;
40728 PyObject
* obj1
= 0 ;
40729 char *kwnames
[] = {
40730 (char *) "self",(char *) "direction", NULL
40733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
40734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40735 if (SWIG_arg_fail(1)) SWIG_fail
;
40737 arg2
= (int)(SWIG_As_int(obj1
));
40738 if (SWIG_arg_fail(2)) SWIG_fail
;
40741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40742 (arg1
)->SetFlexibleDirection(arg2
);
40744 wxPyEndAllowThreads(__tstate
);
40745 if (PyErr_Occurred()) SWIG_fail
;
40747 Py_INCREF(Py_None
); resultobj
= Py_None
;
40754 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40755 PyObject
*resultobj
;
40756 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40758 PyObject
* obj0
= 0 ;
40759 char *kwnames
[] = {
40760 (char *) "self", NULL
40763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
40764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40765 if (SWIG_arg_fail(1)) SWIG_fail
;
40767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40768 result
= (int)(arg1
)->GetFlexibleDirection();
40770 wxPyEndAllowThreads(__tstate
);
40771 if (PyErr_Occurred()) SWIG_fail
;
40774 resultobj
= SWIG_From_int((int)(result
));
40782 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40783 PyObject
*resultobj
;
40784 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40785 wxFlexSizerGrowMode arg2
;
40786 PyObject
* obj0
= 0 ;
40787 PyObject
* obj1
= 0 ;
40788 char *kwnames
[] = {
40789 (char *) "self",(char *) "mode", NULL
40792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
40793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40794 if (SWIG_arg_fail(1)) SWIG_fail
;
40796 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
40797 if (SWIG_arg_fail(2)) SWIG_fail
;
40800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40801 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
40803 wxPyEndAllowThreads(__tstate
);
40804 if (PyErr_Occurred()) SWIG_fail
;
40806 Py_INCREF(Py_None
); resultobj
= Py_None
;
40813 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40814 PyObject
*resultobj
;
40815 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40816 wxFlexSizerGrowMode result
;
40817 PyObject
* obj0
= 0 ;
40818 char *kwnames
[] = {
40819 (char *) "self", NULL
40822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
40823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40824 if (SWIG_arg_fail(1)) SWIG_fail
;
40826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40827 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
40829 wxPyEndAllowThreads(__tstate
);
40830 if (PyErr_Occurred()) SWIG_fail
;
40832 resultobj
= SWIG_From_int((result
));
40839 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40840 PyObject
*resultobj
;
40841 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40842 wxArrayInt
*result
;
40843 PyObject
* obj0
= 0 ;
40844 char *kwnames
[] = {
40845 (char *) "self", NULL
40848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
40849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40850 if (SWIG_arg_fail(1)) SWIG_fail
;
40852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40854 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
40855 result
= (wxArrayInt
*) &_result_ref
;
40858 wxPyEndAllowThreads(__tstate
);
40859 if (PyErr_Occurred()) SWIG_fail
;
40862 resultobj
= PyList_New(0);
40864 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40865 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40866 PyList_Append(resultobj
, val
);
40876 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40877 PyObject
*resultobj
;
40878 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40879 wxArrayInt
*result
;
40880 PyObject
* obj0
= 0 ;
40881 char *kwnames
[] = {
40882 (char *) "self", NULL
40885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
40886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40887 if (SWIG_arg_fail(1)) SWIG_fail
;
40889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40891 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
40892 result
= (wxArrayInt
*) &_result_ref
;
40895 wxPyEndAllowThreads(__tstate
);
40896 if (PyErr_Occurred()) SWIG_fail
;
40899 resultobj
= PyList_New(0);
40901 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
40902 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
40903 PyList_Append(resultobj
, val
);
40913 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
40915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40916 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
40918 return Py_BuildValue((char *)"");
40920 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40921 PyObject
*resultobj
;
40922 wxStdDialogButtonSizer
*result
;
40923 char *kwnames
[] = {
40927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
40929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40930 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
40932 wxPyEndAllowThreads(__tstate
);
40933 if (PyErr_Occurred()) SWIG_fail
;
40935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
40942 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40943 PyObject
*resultobj
;
40944 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40945 wxButton
*arg2
= (wxButton
*) 0 ;
40946 PyObject
* obj0
= 0 ;
40947 PyObject
* obj1
= 0 ;
40948 char *kwnames
[] = {
40949 (char *) "self",(char *) "button", NULL
40952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
40953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40954 if (SWIG_arg_fail(1)) SWIG_fail
;
40955 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
40956 if (SWIG_arg_fail(2)) SWIG_fail
;
40958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40959 (arg1
)->AddButton(arg2
);
40961 wxPyEndAllowThreads(__tstate
);
40962 if (PyErr_Occurred()) SWIG_fail
;
40964 Py_INCREF(Py_None
); resultobj
= Py_None
;
40971 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40972 PyObject
*resultobj
;
40973 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40974 PyObject
* obj0
= 0 ;
40975 char *kwnames
[] = {
40976 (char *) "self", NULL
40979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
40980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
40981 if (SWIG_arg_fail(1)) SWIG_fail
;
40983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40986 wxPyEndAllowThreads(__tstate
);
40987 if (PyErr_Occurred()) SWIG_fail
;
40989 Py_INCREF(Py_None
); resultobj
= Py_None
;
40996 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40997 PyObject
*resultobj
;
40998 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
40999 wxButton
*arg2
= (wxButton
*) 0 ;
41000 PyObject
* obj0
= 0 ;
41001 PyObject
* obj1
= 0 ;
41002 char *kwnames
[] = {
41003 (char *) "self",(char *) "button", NULL
41006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41008 if (SWIG_arg_fail(1)) SWIG_fail
;
41009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41010 if (SWIG_arg_fail(2)) SWIG_fail
;
41012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41013 (arg1
)->SetAffirmativeButton(arg2
);
41015 wxPyEndAllowThreads(__tstate
);
41016 if (PyErr_Occurred()) SWIG_fail
;
41018 Py_INCREF(Py_None
); resultobj
= Py_None
;
41025 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41026 PyObject
*resultobj
;
41027 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41028 wxButton
*arg2
= (wxButton
*) 0 ;
41029 PyObject
* obj0
= 0 ;
41030 PyObject
* obj1
= 0 ;
41031 char *kwnames
[] = {
41032 (char *) "self",(char *) "button", NULL
41035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41037 if (SWIG_arg_fail(1)) SWIG_fail
;
41038 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41039 if (SWIG_arg_fail(2)) SWIG_fail
;
41041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41042 (arg1
)->SetNegativeButton(arg2
);
41044 wxPyEndAllowThreads(__tstate
);
41045 if (PyErr_Occurred()) SWIG_fail
;
41047 Py_INCREF(Py_None
); resultobj
= Py_None
;
41054 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41055 PyObject
*resultobj
;
41056 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41057 wxButton
*arg2
= (wxButton
*) 0 ;
41058 PyObject
* obj0
= 0 ;
41059 PyObject
* obj1
= 0 ;
41060 char *kwnames
[] = {
41061 (char *) "self",(char *) "button", NULL
41064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41066 if (SWIG_arg_fail(1)) SWIG_fail
;
41067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41068 if (SWIG_arg_fail(2)) SWIG_fail
;
41070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41071 (arg1
)->SetCancelButton(arg2
);
41073 wxPyEndAllowThreads(__tstate
);
41074 if (PyErr_Occurred()) SWIG_fail
;
41076 Py_INCREF(Py_None
); resultobj
= Py_None
;
41083 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41084 PyObject
*resultobj
;
41085 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41087 PyObject
* obj0
= 0 ;
41088 char *kwnames
[] = {
41089 (char *) "self", NULL
41092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41094 if (SWIG_arg_fail(1)) SWIG_fail
;
41096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41097 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41099 wxPyEndAllowThreads(__tstate
);
41100 if (PyErr_Occurred()) SWIG_fail
;
41103 resultobj
= wxPyMake_wxObject(result
, 0);
41111 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41112 PyObject
*resultobj
;
41113 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41115 PyObject
* obj0
= 0 ;
41116 char *kwnames
[] = {
41117 (char *) "self", NULL
41120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41122 if (SWIG_arg_fail(1)) SWIG_fail
;
41124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41125 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41127 wxPyEndAllowThreads(__tstate
);
41128 if (PyErr_Occurred()) SWIG_fail
;
41131 resultobj
= wxPyMake_wxObject(result
, 0);
41139 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41140 PyObject
*resultobj
;
41141 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41143 PyObject
* obj0
= 0 ;
41144 char *kwnames
[] = {
41145 (char *) "self", NULL
41148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41150 if (SWIG_arg_fail(1)) SWIG_fail
;
41152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41153 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41155 wxPyEndAllowThreads(__tstate
);
41156 if (PyErr_Occurred()) SWIG_fail
;
41159 resultobj
= wxPyMake_wxObject(result
, 0);
41167 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41168 PyObject
*resultobj
;
41169 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41171 PyObject
* obj0
= 0 ;
41172 char *kwnames
[] = {
41173 (char *) "self", NULL
41176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41178 if (SWIG_arg_fail(1)) SWIG_fail
;
41180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41181 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41183 wxPyEndAllowThreads(__tstate
);
41184 if (PyErr_Occurred()) SWIG_fail
;
41187 resultobj
= wxPyMake_wxObject(result
, 0);
41195 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41196 PyObject
*resultobj
;
41197 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41199 PyObject
* obj0
= 0 ;
41200 char *kwnames
[] = {
41201 (char *) "self", NULL
41204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41205 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41206 if (SWIG_arg_fail(1)) SWIG_fail
;
41208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41209 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41211 wxPyEndAllowThreads(__tstate
);
41212 if (PyErr_Occurred()) SWIG_fail
;
41215 resultobj
= wxPyMake_wxObject(result
, 0);
41223 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41226 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41228 return Py_BuildValue((char *)"");
41230 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41231 PyObject
*resultobj
;
41232 int arg1
= (int) 0 ;
41233 int arg2
= (int) 0 ;
41234 wxGBPosition
*result
;
41235 PyObject
* obj0
= 0 ;
41236 PyObject
* obj1
= 0 ;
41237 char *kwnames
[] = {
41238 (char *) "row",(char *) "col", NULL
41241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41244 arg1
= (int)(SWIG_As_int(obj0
));
41245 if (SWIG_arg_fail(1)) SWIG_fail
;
41250 arg2
= (int)(SWIG_As_int(obj1
));
41251 if (SWIG_arg_fail(2)) SWIG_fail
;
41255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41256 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41258 wxPyEndAllowThreads(__tstate
);
41259 if (PyErr_Occurred()) SWIG_fail
;
41261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41268 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41269 PyObject
*resultobj
;
41270 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41272 PyObject
* obj0
= 0 ;
41273 char *kwnames
[] = {
41274 (char *) "self", NULL
41277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41279 if (SWIG_arg_fail(1)) SWIG_fail
;
41281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41282 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41284 wxPyEndAllowThreads(__tstate
);
41285 if (PyErr_Occurred()) SWIG_fail
;
41288 resultobj
= SWIG_From_int((int)(result
));
41296 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41297 PyObject
*resultobj
;
41298 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41300 PyObject
* obj0
= 0 ;
41301 char *kwnames
[] = {
41302 (char *) "self", NULL
41305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41307 if (SWIG_arg_fail(1)) SWIG_fail
;
41309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41310 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41312 wxPyEndAllowThreads(__tstate
);
41313 if (PyErr_Occurred()) SWIG_fail
;
41316 resultobj
= SWIG_From_int((int)(result
));
41324 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41325 PyObject
*resultobj
;
41326 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41328 PyObject
* obj0
= 0 ;
41329 PyObject
* obj1
= 0 ;
41330 char *kwnames
[] = {
41331 (char *) "self",(char *) "row", NULL
41334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41336 if (SWIG_arg_fail(1)) SWIG_fail
;
41338 arg2
= (int)(SWIG_As_int(obj1
));
41339 if (SWIG_arg_fail(2)) SWIG_fail
;
41342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41343 (arg1
)->SetRow(arg2
);
41345 wxPyEndAllowThreads(__tstate
);
41346 if (PyErr_Occurred()) SWIG_fail
;
41348 Py_INCREF(Py_None
); resultobj
= Py_None
;
41355 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41356 PyObject
*resultobj
;
41357 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41359 PyObject
* obj0
= 0 ;
41360 PyObject
* obj1
= 0 ;
41361 char *kwnames
[] = {
41362 (char *) "self",(char *) "col", NULL
41365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41367 if (SWIG_arg_fail(1)) SWIG_fail
;
41369 arg2
= (int)(SWIG_As_int(obj1
));
41370 if (SWIG_arg_fail(2)) SWIG_fail
;
41373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41374 (arg1
)->SetCol(arg2
);
41376 wxPyEndAllowThreads(__tstate
);
41377 if (PyErr_Occurred()) SWIG_fail
;
41379 Py_INCREF(Py_None
); resultobj
= Py_None
;
41386 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41387 PyObject
*resultobj
;
41388 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41389 wxGBPosition
*arg2
= 0 ;
41391 wxGBPosition temp2
;
41392 PyObject
* obj0
= 0 ;
41393 PyObject
* obj1
= 0 ;
41394 char *kwnames
[] = {
41395 (char *) "self",(char *) "other", NULL
41398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41400 if (SWIG_arg_fail(1)) SWIG_fail
;
41403 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41407 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41409 wxPyEndAllowThreads(__tstate
);
41410 if (PyErr_Occurred()) SWIG_fail
;
41413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41421 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41422 PyObject
*resultobj
;
41423 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41424 wxGBPosition
*arg2
= 0 ;
41426 wxGBPosition temp2
;
41427 PyObject
* obj0
= 0 ;
41428 PyObject
* obj1
= 0 ;
41429 char *kwnames
[] = {
41430 (char *) "self",(char *) "other", NULL
41433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41435 if (SWIG_arg_fail(1)) SWIG_fail
;
41438 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41442 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41444 wxPyEndAllowThreads(__tstate
);
41445 if (PyErr_Occurred()) SWIG_fail
;
41448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41456 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41457 PyObject
*resultobj
;
41458 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41459 int arg2
= (int) 0 ;
41460 int arg3
= (int) 0 ;
41461 PyObject
* obj0
= 0 ;
41462 PyObject
* obj1
= 0 ;
41463 PyObject
* obj2
= 0 ;
41464 char *kwnames
[] = {
41465 (char *) "self",(char *) "row",(char *) "col", NULL
41468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41470 if (SWIG_arg_fail(1)) SWIG_fail
;
41473 arg2
= (int)(SWIG_As_int(obj1
));
41474 if (SWIG_arg_fail(2)) SWIG_fail
;
41479 arg3
= (int)(SWIG_As_int(obj2
));
41480 if (SWIG_arg_fail(3)) SWIG_fail
;
41484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41485 wxGBPosition_Set(arg1
,arg2
,arg3
);
41487 wxPyEndAllowThreads(__tstate
);
41488 if (PyErr_Occurred()) SWIG_fail
;
41490 Py_INCREF(Py_None
); resultobj
= Py_None
;
41497 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41498 PyObject
*resultobj
;
41499 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41501 PyObject
* obj0
= 0 ;
41502 char *kwnames
[] = {
41503 (char *) "self", NULL
41506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41508 if (SWIG_arg_fail(1)) SWIG_fail
;
41510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41511 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41513 wxPyEndAllowThreads(__tstate
);
41514 if (PyErr_Occurred()) SWIG_fail
;
41516 resultobj
= result
;
41523 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41526 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41528 return Py_BuildValue((char *)"");
41530 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41531 PyObject
*resultobj
;
41532 int arg1
= (int) 1 ;
41533 int arg2
= (int) 1 ;
41535 PyObject
* obj0
= 0 ;
41536 PyObject
* obj1
= 0 ;
41537 char *kwnames
[] = {
41538 (char *) "rowspan",(char *) "colspan", NULL
41541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41544 arg1
= (int)(SWIG_As_int(obj0
));
41545 if (SWIG_arg_fail(1)) SWIG_fail
;
41550 arg2
= (int)(SWIG_As_int(obj1
));
41551 if (SWIG_arg_fail(2)) SWIG_fail
;
41555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41556 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41558 wxPyEndAllowThreads(__tstate
);
41559 if (PyErr_Occurred()) SWIG_fail
;
41561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41568 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41569 PyObject
*resultobj
;
41570 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41572 PyObject
* obj0
= 0 ;
41573 char *kwnames
[] = {
41574 (char *) "self", NULL
41577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41578 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41579 if (SWIG_arg_fail(1)) SWIG_fail
;
41581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41582 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41584 wxPyEndAllowThreads(__tstate
);
41585 if (PyErr_Occurred()) SWIG_fail
;
41588 resultobj
= SWIG_From_int((int)(result
));
41596 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41597 PyObject
*resultobj
;
41598 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41600 PyObject
* obj0
= 0 ;
41601 char *kwnames
[] = {
41602 (char *) "self", NULL
41605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41607 if (SWIG_arg_fail(1)) SWIG_fail
;
41609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41610 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41612 wxPyEndAllowThreads(__tstate
);
41613 if (PyErr_Occurred()) SWIG_fail
;
41616 resultobj
= SWIG_From_int((int)(result
));
41624 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41625 PyObject
*resultobj
;
41626 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41628 PyObject
* obj0
= 0 ;
41629 PyObject
* obj1
= 0 ;
41630 char *kwnames
[] = {
41631 (char *) "self",(char *) "rowspan", NULL
41634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41636 if (SWIG_arg_fail(1)) SWIG_fail
;
41638 arg2
= (int)(SWIG_As_int(obj1
));
41639 if (SWIG_arg_fail(2)) SWIG_fail
;
41642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41643 (arg1
)->SetRowspan(arg2
);
41645 wxPyEndAllowThreads(__tstate
);
41646 if (PyErr_Occurred()) SWIG_fail
;
41648 Py_INCREF(Py_None
); resultobj
= Py_None
;
41655 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41656 PyObject
*resultobj
;
41657 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41659 PyObject
* obj0
= 0 ;
41660 PyObject
* obj1
= 0 ;
41661 char *kwnames
[] = {
41662 (char *) "self",(char *) "colspan", NULL
41665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41667 if (SWIG_arg_fail(1)) SWIG_fail
;
41669 arg2
= (int)(SWIG_As_int(obj1
));
41670 if (SWIG_arg_fail(2)) SWIG_fail
;
41673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41674 (arg1
)->SetColspan(arg2
);
41676 wxPyEndAllowThreads(__tstate
);
41677 if (PyErr_Occurred()) SWIG_fail
;
41679 Py_INCREF(Py_None
); resultobj
= Py_None
;
41686 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41687 PyObject
*resultobj
;
41688 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41689 wxGBSpan
*arg2
= 0 ;
41692 PyObject
* obj0
= 0 ;
41693 PyObject
* obj1
= 0 ;
41694 char *kwnames
[] = {
41695 (char *) "self",(char *) "other", NULL
41698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41699 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41700 if (SWIG_arg_fail(1)) SWIG_fail
;
41703 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41707 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
41709 wxPyEndAllowThreads(__tstate
);
41710 if (PyErr_Occurred()) SWIG_fail
;
41713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41721 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41722 PyObject
*resultobj
;
41723 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41724 wxGBSpan
*arg2
= 0 ;
41727 PyObject
* obj0
= 0 ;
41728 PyObject
* obj1
= 0 ;
41729 char *kwnames
[] = {
41730 (char *) "self",(char *) "other", NULL
41733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41735 if (SWIG_arg_fail(1)) SWIG_fail
;
41738 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41742 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
41744 wxPyEndAllowThreads(__tstate
);
41745 if (PyErr_Occurred()) SWIG_fail
;
41748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41756 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41757 PyObject
*resultobj
;
41758 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41759 int arg2
= (int) 1 ;
41760 int arg3
= (int) 1 ;
41761 PyObject
* obj0
= 0 ;
41762 PyObject
* obj1
= 0 ;
41763 PyObject
* obj2
= 0 ;
41764 char *kwnames
[] = {
41765 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
41768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41770 if (SWIG_arg_fail(1)) SWIG_fail
;
41773 arg2
= (int)(SWIG_As_int(obj1
));
41774 if (SWIG_arg_fail(2)) SWIG_fail
;
41779 arg3
= (int)(SWIG_As_int(obj2
));
41780 if (SWIG_arg_fail(3)) SWIG_fail
;
41784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41785 wxGBSpan_Set(arg1
,arg2
,arg3
);
41787 wxPyEndAllowThreads(__tstate
);
41788 if (PyErr_Occurred()) SWIG_fail
;
41790 Py_INCREF(Py_None
); resultobj
= Py_None
;
41797 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41798 PyObject
*resultobj
;
41799 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41801 PyObject
* obj0
= 0 ;
41802 char *kwnames
[] = {
41803 (char *) "self", NULL
41806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
41807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41808 if (SWIG_arg_fail(1)) SWIG_fail
;
41810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41811 result
= (PyObject
*)wxGBSpan_Get(arg1
);
41813 wxPyEndAllowThreads(__tstate
);
41814 if (PyErr_Occurred()) SWIG_fail
;
41816 resultobj
= result
;
41823 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
41825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41826 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
41828 return Py_BuildValue((char *)"");
41830 static int _wrap_DefaultSpan_set(PyObject
*) {
41831 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
41836 static PyObject
*_wrap_DefaultSpan_get(void) {
41839 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
41844 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41845 PyObject
*resultobj
;
41846 wxGBSizerItem
*result
;
41847 char *kwnames
[] = {
41851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
41853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41854 result
= (wxGBSizerItem
*)new wxGBSizerItem();
41856 wxPyEndAllowThreads(__tstate
);
41857 if (PyErr_Occurred()) SWIG_fail
;
41859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41866 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41867 PyObject
*resultobj
;
41868 wxWindow
*arg1
= (wxWindow
*) 0 ;
41869 wxGBPosition
*arg2
= 0 ;
41870 wxGBSpan
*arg3
= 0 ;
41873 PyObject
*arg6
= (PyObject
*) NULL
;
41874 wxGBSizerItem
*result
;
41875 wxGBPosition temp2
;
41877 PyObject
* obj0
= 0 ;
41878 PyObject
* obj1
= 0 ;
41879 PyObject
* obj2
= 0 ;
41880 PyObject
* obj3
= 0 ;
41881 PyObject
* obj4
= 0 ;
41882 PyObject
* obj5
= 0 ;
41883 char *kwnames
[] = {
41884 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
41889 if (SWIG_arg_fail(1)) SWIG_fail
;
41892 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41896 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41899 arg4
= (int)(SWIG_As_int(obj3
));
41900 if (SWIG_arg_fail(4)) SWIG_fail
;
41903 arg5
= (int)(SWIG_As_int(obj4
));
41904 if (SWIG_arg_fail(5)) SWIG_fail
;
41910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41911 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41913 wxPyEndAllowThreads(__tstate
);
41914 if (PyErr_Occurred()) SWIG_fail
;
41916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41923 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41924 PyObject
*resultobj
;
41925 wxSizer
*arg1
= (wxSizer
*) 0 ;
41926 wxGBPosition
*arg2
= 0 ;
41927 wxGBSpan
*arg3
= 0 ;
41930 PyObject
*arg6
= (PyObject
*) NULL
;
41931 wxGBSizerItem
*result
;
41932 wxGBPosition temp2
;
41934 PyObject
* obj0
= 0 ;
41935 PyObject
* obj1
= 0 ;
41936 PyObject
* obj2
= 0 ;
41937 PyObject
* obj3
= 0 ;
41938 PyObject
* obj4
= 0 ;
41939 PyObject
* obj5
= 0 ;
41940 char *kwnames
[] = {
41941 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
41944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
41945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
41946 if (SWIG_arg_fail(1)) SWIG_fail
;
41949 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41953 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
41956 arg4
= (int)(SWIG_As_int(obj3
));
41957 if (SWIG_arg_fail(4)) SWIG_fail
;
41960 arg5
= (int)(SWIG_As_int(obj4
));
41961 if (SWIG_arg_fail(5)) SWIG_fail
;
41967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41968 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
41970 wxPyEndAllowThreads(__tstate
);
41971 if (PyErr_Occurred()) SWIG_fail
;
41973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
41980 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41981 PyObject
*resultobj
;
41984 wxGBPosition
*arg3
= 0 ;
41985 wxGBSpan
*arg4
= 0 ;
41988 PyObject
*arg7
= (PyObject
*) NULL
;
41989 wxGBSizerItem
*result
;
41990 wxGBPosition temp3
;
41992 PyObject
* obj0
= 0 ;
41993 PyObject
* obj1
= 0 ;
41994 PyObject
* obj2
= 0 ;
41995 PyObject
* obj3
= 0 ;
41996 PyObject
* obj4
= 0 ;
41997 PyObject
* obj5
= 0 ;
41998 PyObject
* obj6
= 0 ;
41999 char *kwnames
[] = {
42000 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42005 arg1
= (int)(SWIG_As_int(obj0
));
42006 if (SWIG_arg_fail(1)) SWIG_fail
;
42009 arg2
= (int)(SWIG_As_int(obj1
));
42010 if (SWIG_arg_fail(2)) SWIG_fail
;
42014 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42018 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42021 arg5
= (int)(SWIG_As_int(obj4
));
42022 if (SWIG_arg_fail(5)) SWIG_fail
;
42025 arg6
= (int)(SWIG_As_int(obj5
));
42026 if (SWIG_arg_fail(6)) SWIG_fail
;
42032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42033 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42035 wxPyEndAllowThreads(__tstate
);
42036 if (PyErr_Occurred()) SWIG_fail
;
42038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42045 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42046 PyObject
*resultobj
;
42047 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42048 wxGBPosition result
;
42049 PyObject
* obj0
= 0 ;
42050 char *kwnames
[] = {
42051 (char *) "self", NULL
42054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42056 if (SWIG_arg_fail(1)) SWIG_fail
;
42058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42059 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42061 wxPyEndAllowThreads(__tstate
);
42062 if (PyErr_Occurred()) SWIG_fail
;
42065 wxGBPosition
* resultptr
;
42066 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42075 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42076 PyObject
*resultobj
;
42077 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42079 PyObject
* obj0
= 0 ;
42080 char *kwnames
[] = {
42081 (char *) "self", NULL
42084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42086 if (SWIG_arg_fail(1)) SWIG_fail
;
42088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42089 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42091 wxPyEndAllowThreads(__tstate
);
42092 if (PyErr_Occurred()) SWIG_fail
;
42095 wxGBSpan
* resultptr
;
42096 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42105 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42106 PyObject
*resultobj
;
42107 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42108 wxGBPosition
*arg2
= 0 ;
42110 wxGBPosition temp2
;
42111 PyObject
* obj0
= 0 ;
42112 PyObject
* obj1
= 0 ;
42113 char *kwnames
[] = {
42114 (char *) "self",(char *) "pos", NULL
42117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42119 if (SWIG_arg_fail(1)) SWIG_fail
;
42122 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42126 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42128 wxPyEndAllowThreads(__tstate
);
42129 if (PyErr_Occurred()) SWIG_fail
;
42132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42140 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42141 PyObject
*resultobj
;
42142 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42143 wxGBSpan
*arg2
= 0 ;
42146 PyObject
* obj0
= 0 ;
42147 PyObject
* obj1
= 0 ;
42148 char *kwnames
[] = {
42149 (char *) "self",(char *) "span", NULL
42152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42154 if (SWIG_arg_fail(1)) SWIG_fail
;
42157 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42161 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42163 wxPyEndAllowThreads(__tstate
);
42164 if (PyErr_Occurred()) SWIG_fail
;
42167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42175 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42176 PyObject
*resultobj
;
42177 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42178 wxGBSizerItem
*arg2
= 0 ;
42180 PyObject
* obj0
= 0 ;
42181 PyObject
* obj1
= 0 ;
42182 char *kwnames
[] = {
42183 (char *) "self",(char *) "other", NULL
42186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42188 if (SWIG_arg_fail(1)) SWIG_fail
;
42190 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42191 if (SWIG_arg_fail(2)) SWIG_fail
;
42192 if (arg2
== NULL
) {
42193 SWIG_null_ref("wxGBSizerItem");
42195 if (SWIG_arg_fail(2)) SWIG_fail
;
42198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42199 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42201 wxPyEndAllowThreads(__tstate
);
42202 if (PyErr_Occurred()) SWIG_fail
;
42205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42213 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42214 PyObject
*resultobj
;
42215 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42216 wxGBPosition
*arg2
= 0 ;
42217 wxGBSpan
*arg3
= 0 ;
42219 wxGBPosition temp2
;
42221 PyObject
* obj0
= 0 ;
42222 PyObject
* obj1
= 0 ;
42223 PyObject
* obj2
= 0 ;
42224 char *kwnames
[] = {
42225 (char *) "self",(char *) "pos",(char *) "span", NULL
42228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42230 if (SWIG_arg_fail(1)) SWIG_fail
;
42233 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42237 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42241 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42243 wxPyEndAllowThreads(__tstate
);
42244 if (PyErr_Occurred()) SWIG_fail
;
42247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42255 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42256 PyObject
*resultobj
;
42257 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42258 wxGBPosition result
;
42259 PyObject
* obj0
= 0 ;
42260 char *kwnames
[] = {
42261 (char *) "self", NULL
42264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42266 if (SWIG_arg_fail(1)) SWIG_fail
;
42268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42269 result
= wxGBSizerItem_GetEndPos(arg1
);
42271 wxPyEndAllowThreads(__tstate
);
42272 if (PyErr_Occurred()) SWIG_fail
;
42275 wxGBPosition
* resultptr
;
42276 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42277 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42285 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42286 PyObject
*resultobj
;
42287 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42288 wxGridBagSizer
*result
;
42289 PyObject
* obj0
= 0 ;
42290 char *kwnames
[] = {
42291 (char *) "self", NULL
42294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42295 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42296 if (SWIG_arg_fail(1)) SWIG_fail
;
42298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42299 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42301 wxPyEndAllowThreads(__tstate
);
42302 if (PyErr_Occurred()) SWIG_fail
;
42304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42311 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42312 PyObject
*resultobj
;
42313 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42314 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42315 PyObject
* obj0
= 0 ;
42316 PyObject
* obj1
= 0 ;
42317 char *kwnames
[] = {
42318 (char *) "self",(char *) "sizer", NULL
42321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42323 if (SWIG_arg_fail(1)) SWIG_fail
;
42324 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42325 if (SWIG_arg_fail(2)) SWIG_fail
;
42327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42328 (arg1
)->SetGBSizer(arg2
);
42330 wxPyEndAllowThreads(__tstate
);
42331 if (PyErr_Occurred()) SWIG_fail
;
42333 Py_INCREF(Py_None
); resultobj
= Py_None
;
42340 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42343 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42345 return Py_BuildValue((char *)"");
42347 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42348 PyObject
*resultobj
;
42349 int arg1
= (int) 0 ;
42350 int arg2
= (int) 0 ;
42351 wxGridBagSizer
*result
;
42352 PyObject
* obj0
= 0 ;
42353 PyObject
* obj1
= 0 ;
42354 char *kwnames
[] = {
42355 (char *) "vgap",(char *) "hgap", NULL
42358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42361 arg1
= (int)(SWIG_As_int(obj0
));
42362 if (SWIG_arg_fail(1)) SWIG_fail
;
42367 arg2
= (int)(SWIG_As_int(obj1
));
42368 if (SWIG_arg_fail(2)) SWIG_fail
;
42372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42373 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42375 wxPyEndAllowThreads(__tstate
);
42376 if (PyErr_Occurred()) SWIG_fail
;
42378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42385 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42386 PyObject
*resultobj
;
42387 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42388 PyObject
*arg2
= (PyObject
*) 0 ;
42389 wxGBPosition
*arg3
= 0 ;
42390 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42391 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42392 int arg5
= (int) 0 ;
42393 int arg6
= (int) 0 ;
42394 PyObject
*arg7
= (PyObject
*) NULL
;
42395 wxGBSizerItem
*result
;
42396 wxGBPosition temp3
;
42398 PyObject
* obj0
= 0 ;
42399 PyObject
* obj1
= 0 ;
42400 PyObject
* obj2
= 0 ;
42401 PyObject
* obj3
= 0 ;
42402 PyObject
* obj4
= 0 ;
42403 PyObject
* obj5
= 0 ;
42404 PyObject
* obj6
= 0 ;
42405 char *kwnames
[] = {
42406 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42411 if (SWIG_arg_fail(1)) SWIG_fail
;
42415 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42420 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42425 arg5
= (int)(SWIG_As_int(obj4
));
42426 if (SWIG_arg_fail(5)) SWIG_fail
;
42431 arg6
= (int)(SWIG_As_int(obj5
));
42432 if (SWIG_arg_fail(6)) SWIG_fail
;
42439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42440 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42442 wxPyEndAllowThreads(__tstate
);
42443 if (PyErr_Occurred()) SWIG_fail
;
42445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42452 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42453 PyObject
*resultobj
;
42454 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42455 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42456 wxGBSizerItem
*result
;
42457 PyObject
* obj0
= 0 ;
42458 PyObject
* obj1
= 0 ;
42459 char *kwnames
[] = {
42460 (char *) "self",(char *) "item", NULL
42463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42465 if (SWIG_arg_fail(1)) SWIG_fail
;
42466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42467 if (SWIG_arg_fail(2)) SWIG_fail
;
42469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42470 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42472 wxPyEndAllowThreads(__tstate
);
42473 if (PyErr_Occurred()) SWIG_fail
;
42475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42482 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42483 PyObject
*resultobj
;
42484 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42488 PyObject
* obj0
= 0 ;
42489 PyObject
* obj1
= 0 ;
42490 PyObject
* obj2
= 0 ;
42491 char *kwnames
[] = {
42492 (char *) "self",(char *) "row",(char *) "col", NULL
42495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42497 if (SWIG_arg_fail(1)) SWIG_fail
;
42499 arg2
= (int)(SWIG_As_int(obj1
));
42500 if (SWIG_arg_fail(2)) SWIG_fail
;
42503 arg3
= (int)(SWIG_As_int(obj2
));
42504 if (SWIG_arg_fail(3)) SWIG_fail
;
42507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42508 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42510 wxPyEndAllowThreads(__tstate
);
42511 if (PyErr_Occurred()) SWIG_fail
;
42514 wxSize
* resultptr
;
42515 resultptr
= new wxSize((wxSize
&)(result
));
42516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42524 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42525 PyObject
*resultobj
;
42526 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42528 PyObject
* obj0
= 0 ;
42529 char *kwnames
[] = {
42530 (char *) "self", NULL
42533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42535 if (SWIG_arg_fail(1)) SWIG_fail
;
42537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42538 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42540 wxPyEndAllowThreads(__tstate
);
42541 if (PyErr_Occurred()) SWIG_fail
;
42544 wxSize
* resultptr
;
42545 resultptr
= new wxSize((wxSize
&)(result
));
42546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42554 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42555 PyObject
*resultobj
;
42556 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42559 PyObject
* obj0
= 0 ;
42560 PyObject
* obj1
= 0 ;
42561 char *kwnames
[] = {
42562 (char *) "self",(char *) "sz", NULL
42565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42567 if (SWIG_arg_fail(1)) SWIG_fail
;
42570 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42574 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42576 wxPyEndAllowThreads(__tstate
);
42577 if (PyErr_Occurred()) SWIG_fail
;
42579 Py_INCREF(Py_None
); resultobj
= Py_None
;
42586 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42587 PyObject
*resultobj
;
42588 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42589 wxWindow
*arg2
= (wxWindow
*) 0 ;
42590 wxGBPosition result
;
42591 PyObject
* obj0
= 0 ;
42592 PyObject
* obj1
= 0 ;
42594 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42596 if (SWIG_arg_fail(1)) SWIG_fail
;
42597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42598 if (SWIG_arg_fail(2)) SWIG_fail
;
42600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42601 result
= (arg1
)->GetItemPosition(arg2
);
42603 wxPyEndAllowThreads(__tstate
);
42604 if (PyErr_Occurred()) SWIG_fail
;
42607 wxGBPosition
* resultptr
;
42608 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42617 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42618 PyObject
*resultobj
;
42619 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42620 wxSizer
*arg2
= (wxSizer
*) 0 ;
42621 wxGBPosition result
;
42622 PyObject
* obj0
= 0 ;
42623 PyObject
* obj1
= 0 ;
42625 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42627 if (SWIG_arg_fail(1)) SWIG_fail
;
42628 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42629 if (SWIG_arg_fail(2)) SWIG_fail
;
42631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42632 result
= (arg1
)->GetItemPosition(arg2
);
42634 wxPyEndAllowThreads(__tstate
);
42635 if (PyErr_Occurred()) SWIG_fail
;
42638 wxGBPosition
* resultptr
;
42639 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42648 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42649 PyObject
*resultobj
;
42650 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42652 wxGBPosition result
;
42653 PyObject
* obj0
= 0 ;
42654 PyObject
* obj1
= 0 ;
42656 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42658 if (SWIG_arg_fail(1)) SWIG_fail
;
42660 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42661 if (SWIG_arg_fail(2)) SWIG_fail
;
42664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42665 result
= (arg1
)->GetItemPosition(arg2
);
42667 wxPyEndAllowThreads(__tstate
);
42668 if (PyErr_Occurred()) SWIG_fail
;
42671 wxGBPosition
* resultptr
;
42672 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42673 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42681 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42686 argc
= PyObject_Length(args
);
42687 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42688 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42694 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42704 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42712 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
42720 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42730 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42738 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
42746 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42754 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42756 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
42761 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
42766 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42767 PyObject
*resultobj
;
42768 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42769 wxWindow
*arg2
= (wxWindow
*) 0 ;
42770 wxGBPosition
*arg3
= 0 ;
42772 wxGBPosition temp3
;
42773 PyObject
* obj0
= 0 ;
42774 PyObject
* obj1
= 0 ;
42775 PyObject
* obj2
= 0 ;
42777 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42779 if (SWIG_arg_fail(1)) SWIG_fail
;
42780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42781 if (SWIG_arg_fail(2)) SWIG_fail
;
42784 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42788 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42790 wxPyEndAllowThreads(__tstate
);
42791 if (PyErr_Occurred()) SWIG_fail
;
42794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42802 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42803 PyObject
*resultobj
;
42804 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42805 wxSizer
*arg2
= (wxSizer
*) 0 ;
42806 wxGBPosition
*arg3
= 0 ;
42808 wxGBPosition temp3
;
42809 PyObject
* obj0
= 0 ;
42810 PyObject
* obj1
= 0 ;
42811 PyObject
* obj2
= 0 ;
42813 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42815 if (SWIG_arg_fail(1)) SWIG_fail
;
42816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42817 if (SWIG_arg_fail(2)) SWIG_fail
;
42820 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42824 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42826 wxPyEndAllowThreads(__tstate
);
42827 if (PyErr_Occurred()) SWIG_fail
;
42830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42838 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42839 PyObject
*resultobj
;
42840 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42842 wxGBPosition
*arg3
= 0 ;
42844 wxGBPosition temp3
;
42845 PyObject
* obj0
= 0 ;
42846 PyObject
* obj1
= 0 ;
42847 PyObject
* obj2
= 0 ;
42849 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
42850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42851 if (SWIG_arg_fail(1)) SWIG_fail
;
42853 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42854 if (SWIG_arg_fail(2)) SWIG_fail
;
42858 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42862 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
42864 wxPyEndAllowThreads(__tstate
);
42865 if (PyErr_Occurred()) SWIG_fail
;
42868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42876 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
42881 argc
= PyObject_Length(args
);
42882 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
42883 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42889 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42899 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
42908 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42911 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
42920 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42930 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
42939 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42942 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
42951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42959 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
42962 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
42965 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
42971 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
42976 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
42977 PyObject
*resultobj
;
42978 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42979 wxWindow
*arg2
= (wxWindow
*) 0 ;
42981 PyObject
* obj0
= 0 ;
42982 PyObject
* obj1
= 0 ;
42984 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
42985 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42986 if (SWIG_arg_fail(1)) SWIG_fail
;
42987 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42988 if (SWIG_arg_fail(2)) SWIG_fail
;
42990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42991 result
= (arg1
)->GetItemSpan(arg2
);
42993 wxPyEndAllowThreads(__tstate
);
42994 if (PyErr_Occurred()) SWIG_fail
;
42997 wxGBSpan
* resultptr
;
42998 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43007 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43008 PyObject
*resultobj
;
43009 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43010 wxSizer
*arg2
= (wxSizer
*) 0 ;
43012 PyObject
* obj0
= 0 ;
43013 PyObject
* obj1
= 0 ;
43015 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43017 if (SWIG_arg_fail(1)) SWIG_fail
;
43018 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43019 if (SWIG_arg_fail(2)) SWIG_fail
;
43021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43022 result
= (arg1
)->GetItemSpan(arg2
);
43024 wxPyEndAllowThreads(__tstate
);
43025 if (PyErr_Occurred()) SWIG_fail
;
43028 wxGBSpan
* resultptr
;
43029 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43038 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43039 PyObject
*resultobj
;
43040 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43043 PyObject
* obj0
= 0 ;
43044 PyObject
* obj1
= 0 ;
43046 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43048 if (SWIG_arg_fail(1)) SWIG_fail
;
43050 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43051 if (SWIG_arg_fail(2)) SWIG_fail
;
43054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43055 result
= (arg1
)->GetItemSpan(arg2
);
43057 wxPyEndAllowThreads(__tstate
);
43058 if (PyErr_Occurred()) SWIG_fail
;
43061 wxGBSpan
* resultptr
;
43062 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43071 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43076 argc
= PyObject_Length(args
);
43077 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43078 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43084 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43094 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43102 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43110 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43120 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43128 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43136 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43144 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43146 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43151 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43156 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43157 PyObject
*resultobj
;
43158 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43159 wxWindow
*arg2
= (wxWindow
*) 0 ;
43160 wxGBSpan
*arg3
= 0 ;
43163 PyObject
* obj0
= 0 ;
43164 PyObject
* obj1
= 0 ;
43165 PyObject
* obj2
= 0 ;
43167 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43169 if (SWIG_arg_fail(1)) SWIG_fail
;
43170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43171 if (SWIG_arg_fail(2)) SWIG_fail
;
43174 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43178 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43180 wxPyEndAllowThreads(__tstate
);
43181 if (PyErr_Occurred()) SWIG_fail
;
43184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43192 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43193 PyObject
*resultobj
;
43194 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43195 wxSizer
*arg2
= (wxSizer
*) 0 ;
43196 wxGBSpan
*arg3
= 0 ;
43199 PyObject
* obj0
= 0 ;
43200 PyObject
* obj1
= 0 ;
43201 PyObject
* obj2
= 0 ;
43203 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43205 if (SWIG_arg_fail(1)) SWIG_fail
;
43206 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43207 if (SWIG_arg_fail(2)) SWIG_fail
;
43210 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43214 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43216 wxPyEndAllowThreads(__tstate
);
43217 if (PyErr_Occurred()) SWIG_fail
;
43220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43228 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43229 PyObject
*resultobj
;
43230 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43232 wxGBSpan
*arg3
= 0 ;
43235 PyObject
* obj0
= 0 ;
43236 PyObject
* obj1
= 0 ;
43237 PyObject
* obj2
= 0 ;
43239 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43241 if (SWIG_arg_fail(1)) SWIG_fail
;
43243 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43244 if (SWIG_arg_fail(2)) SWIG_fail
;
43248 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43252 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43254 wxPyEndAllowThreads(__tstate
);
43255 if (PyErr_Occurred()) SWIG_fail
;
43258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43266 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43271 argc
= PyObject_Length(args
);
43272 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43273 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43279 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43289 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43298 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43301 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43310 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43320 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43329 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43332 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43341 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43349 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43352 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43355 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43361 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43366 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43367 PyObject
*resultobj
;
43368 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43369 wxWindow
*arg2
= (wxWindow
*) 0 ;
43370 wxGBSizerItem
*result
;
43371 PyObject
* obj0
= 0 ;
43372 PyObject
* obj1
= 0 ;
43374 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43376 if (SWIG_arg_fail(1)) SWIG_fail
;
43377 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43378 if (SWIG_arg_fail(2)) SWIG_fail
;
43380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43381 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43383 wxPyEndAllowThreads(__tstate
);
43384 if (PyErr_Occurred()) SWIG_fail
;
43386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43393 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43394 PyObject
*resultobj
;
43395 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43396 wxSizer
*arg2
= (wxSizer
*) 0 ;
43397 wxGBSizerItem
*result
;
43398 PyObject
* obj0
= 0 ;
43399 PyObject
* obj1
= 0 ;
43401 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43403 if (SWIG_arg_fail(1)) SWIG_fail
;
43404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43405 if (SWIG_arg_fail(2)) SWIG_fail
;
43407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43408 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43410 wxPyEndAllowThreads(__tstate
);
43411 if (PyErr_Occurred()) SWIG_fail
;
43413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43420 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43425 argc
= PyObject_Length(args
);
43426 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43427 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43433 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43443 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43451 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43459 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43469 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43477 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43482 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43487 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43488 PyObject
*resultobj
;
43489 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43490 wxGBPosition
*arg2
= 0 ;
43491 wxGBSizerItem
*result
;
43492 wxGBPosition temp2
;
43493 PyObject
* obj0
= 0 ;
43494 PyObject
* obj1
= 0 ;
43495 char *kwnames
[] = {
43496 (char *) "self",(char *) "pos", NULL
43499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43501 if (SWIG_arg_fail(1)) SWIG_fail
;
43504 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43508 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43510 wxPyEndAllowThreads(__tstate
);
43511 if (PyErr_Occurred()) SWIG_fail
;
43513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43520 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43521 PyObject
*resultobj
;
43522 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43523 wxPoint
*arg2
= 0 ;
43524 wxGBSizerItem
*result
;
43526 PyObject
* obj0
= 0 ;
43527 PyObject
* obj1
= 0 ;
43528 char *kwnames
[] = {
43529 (char *) "self",(char *) "pt", NULL
43532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43534 if (SWIG_arg_fail(1)) SWIG_fail
;
43537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43541 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43543 wxPyEndAllowThreads(__tstate
);
43544 if (PyErr_Occurred()) SWIG_fail
;
43546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43553 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43554 PyObject
*resultobj
;
43555 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43556 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43557 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43559 PyObject
* obj0
= 0 ;
43560 PyObject
* obj1
= 0 ;
43561 PyObject
* obj2
= 0 ;
43562 char *kwnames
[] = {
43563 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43568 if (SWIG_arg_fail(1)) SWIG_fail
;
43569 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43570 if (SWIG_arg_fail(2)) SWIG_fail
;
43572 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43573 if (SWIG_arg_fail(3)) SWIG_fail
;
43576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43577 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43579 wxPyEndAllowThreads(__tstate
);
43580 if (PyErr_Occurred()) SWIG_fail
;
43583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43591 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43592 PyObject
*resultobj
;
43593 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43594 wxGBPosition
*arg2
= 0 ;
43595 wxGBSpan
*arg3
= 0 ;
43596 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43598 wxGBPosition temp2
;
43600 PyObject
* obj0
= 0 ;
43601 PyObject
* obj1
= 0 ;
43602 PyObject
* obj2
= 0 ;
43603 PyObject
* obj3
= 0 ;
43604 char *kwnames
[] = {
43605 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43610 if (SWIG_arg_fail(1)) SWIG_fail
;
43613 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43617 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43620 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43621 if (SWIG_arg_fail(4)) SWIG_fail
;
43624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43625 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43627 wxPyEndAllowThreads(__tstate
);
43628 if (PyErr_Occurred()) SWIG_fail
;
43631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43639 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43642 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43644 return Py_BuildValue((char *)"");
43646 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43647 PyObject
*resultobj
;
43648 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43649 wxRelationship arg2
;
43650 wxWindow
*arg3
= (wxWindow
*) 0 ;
43652 int arg5
= (int) 0 ;
43653 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43654 PyObject
* obj0
= 0 ;
43655 PyObject
* obj1
= 0 ;
43656 PyObject
* obj2
= 0 ;
43657 PyObject
* obj3
= 0 ;
43658 PyObject
* obj4
= 0 ;
43659 PyObject
* obj5
= 0 ;
43660 char *kwnames
[] = {
43661 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43666 if (SWIG_arg_fail(1)) SWIG_fail
;
43668 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43669 if (SWIG_arg_fail(2)) SWIG_fail
;
43671 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43672 if (SWIG_arg_fail(3)) SWIG_fail
;
43674 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43675 if (SWIG_arg_fail(4)) SWIG_fail
;
43679 arg5
= (int)(SWIG_As_int(obj4
));
43680 if (SWIG_arg_fail(5)) SWIG_fail
;
43685 arg6
= (int)(SWIG_As_int(obj5
));
43686 if (SWIG_arg_fail(6)) SWIG_fail
;
43690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43691 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43693 wxPyEndAllowThreads(__tstate
);
43694 if (PyErr_Occurred()) SWIG_fail
;
43696 Py_INCREF(Py_None
); resultobj
= Py_None
;
43703 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43704 PyObject
*resultobj
;
43705 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43706 wxWindow
*arg2
= (wxWindow
*) 0 ;
43707 int arg3
= (int) 0 ;
43708 PyObject
* obj0
= 0 ;
43709 PyObject
* obj1
= 0 ;
43710 PyObject
* obj2
= 0 ;
43711 char *kwnames
[] = {
43712 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43717 if (SWIG_arg_fail(1)) SWIG_fail
;
43718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43719 if (SWIG_arg_fail(2)) SWIG_fail
;
43722 arg3
= (int)(SWIG_As_int(obj2
));
43723 if (SWIG_arg_fail(3)) SWIG_fail
;
43727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43728 (arg1
)->LeftOf(arg2
,arg3
);
43730 wxPyEndAllowThreads(__tstate
);
43731 if (PyErr_Occurred()) SWIG_fail
;
43733 Py_INCREF(Py_None
); resultobj
= Py_None
;
43740 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43741 PyObject
*resultobj
;
43742 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43743 wxWindow
*arg2
= (wxWindow
*) 0 ;
43744 int arg3
= (int) 0 ;
43745 PyObject
* obj0
= 0 ;
43746 PyObject
* obj1
= 0 ;
43747 PyObject
* obj2
= 0 ;
43748 char *kwnames
[] = {
43749 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43754 if (SWIG_arg_fail(1)) SWIG_fail
;
43755 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43756 if (SWIG_arg_fail(2)) SWIG_fail
;
43759 arg3
= (int)(SWIG_As_int(obj2
));
43760 if (SWIG_arg_fail(3)) SWIG_fail
;
43764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43765 (arg1
)->RightOf(arg2
,arg3
);
43767 wxPyEndAllowThreads(__tstate
);
43768 if (PyErr_Occurred()) SWIG_fail
;
43770 Py_INCREF(Py_None
); resultobj
= Py_None
;
43777 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43778 PyObject
*resultobj
;
43779 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43780 wxWindow
*arg2
= (wxWindow
*) 0 ;
43781 int arg3
= (int) 0 ;
43782 PyObject
* obj0
= 0 ;
43783 PyObject
* obj1
= 0 ;
43784 PyObject
* obj2
= 0 ;
43785 char *kwnames
[] = {
43786 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43791 if (SWIG_arg_fail(1)) SWIG_fail
;
43792 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43793 if (SWIG_arg_fail(2)) SWIG_fail
;
43796 arg3
= (int)(SWIG_As_int(obj2
));
43797 if (SWIG_arg_fail(3)) SWIG_fail
;
43801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43802 (arg1
)->Above(arg2
,arg3
);
43804 wxPyEndAllowThreads(__tstate
);
43805 if (PyErr_Occurred()) SWIG_fail
;
43807 Py_INCREF(Py_None
); resultobj
= Py_None
;
43814 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43815 PyObject
*resultobj
;
43816 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43817 wxWindow
*arg2
= (wxWindow
*) 0 ;
43818 int arg3
= (int) 0 ;
43819 PyObject
* obj0
= 0 ;
43820 PyObject
* obj1
= 0 ;
43821 PyObject
* obj2
= 0 ;
43822 char *kwnames
[] = {
43823 (char *) "self",(char *) "sibling",(char *) "marg", NULL
43826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43828 if (SWIG_arg_fail(1)) SWIG_fail
;
43829 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43830 if (SWIG_arg_fail(2)) SWIG_fail
;
43833 arg3
= (int)(SWIG_As_int(obj2
));
43834 if (SWIG_arg_fail(3)) SWIG_fail
;
43838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43839 (arg1
)->Below(arg2
,arg3
);
43841 wxPyEndAllowThreads(__tstate
);
43842 if (PyErr_Occurred()) SWIG_fail
;
43844 Py_INCREF(Py_None
); resultobj
= Py_None
;
43851 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43852 PyObject
*resultobj
;
43853 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43854 wxWindow
*arg2
= (wxWindow
*) 0 ;
43856 int arg4
= (int) 0 ;
43857 PyObject
* obj0
= 0 ;
43858 PyObject
* obj1
= 0 ;
43859 PyObject
* obj2
= 0 ;
43860 PyObject
* obj3
= 0 ;
43861 char *kwnames
[] = {
43862 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
43865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43867 if (SWIG_arg_fail(1)) SWIG_fail
;
43868 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43869 if (SWIG_arg_fail(2)) SWIG_fail
;
43871 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43872 if (SWIG_arg_fail(3)) SWIG_fail
;
43876 arg4
= (int)(SWIG_As_int(obj3
));
43877 if (SWIG_arg_fail(4)) SWIG_fail
;
43881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43882 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
43884 wxPyEndAllowThreads(__tstate
);
43885 if (PyErr_Occurred()) SWIG_fail
;
43887 Py_INCREF(Py_None
); resultobj
= Py_None
;
43894 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43895 PyObject
*resultobj
;
43896 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43897 wxWindow
*arg2
= (wxWindow
*) 0 ;
43900 PyObject
* obj0
= 0 ;
43901 PyObject
* obj1
= 0 ;
43902 PyObject
* obj2
= 0 ;
43903 PyObject
* obj3
= 0 ;
43904 char *kwnames
[] = {
43905 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
43908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43910 if (SWIG_arg_fail(1)) SWIG_fail
;
43911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43912 if (SWIG_arg_fail(2)) SWIG_fail
;
43914 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
43915 if (SWIG_arg_fail(3)) SWIG_fail
;
43918 arg4
= (int)(SWIG_As_int(obj3
));
43919 if (SWIG_arg_fail(4)) SWIG_fail
;
43922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43923 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
43925 wxPyEndAllowThreads(__tstate
);
43926 if (PyErr_Occurred()) SWIG_fail
;
43928 Py_INCREF(Py_None
); resultobj
= Py_None
;
43935 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43936 PyObject
*resultobj
;
43937 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43939 PyObject
* obj0
= 0 ;
43940 PyObject
* obj1
= 0 ;
43941 char *kwnames
[] = {
43942 (char *) "self",(char *) "val", NULL
43945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
43946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43947 if (SWIG_arg_fail(1)) SWIG_fail
;
43949 arg2
= (int)(SWIG_As_int(obj1
));
43950 if (SWIG_arg_fail(2)) SWIG_fail
;
43953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43954 (arg1
)->Absolute(arg2
);
43956 wxPyEndAllowThreads(__tstate
);
43957 if (PyErr_Occurred()) SWIG_fail
;
43959 Py_INCREF(Py_None
); resultobj
= Py_None
;
43966 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43967 PyObject
*resultobj
;
43968 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43969 PyObject
* obj0
= 0 ;
43970 char *kwnames
[] = {
43971 (char *) "self", NULL
43974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
43975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43976 if (SWIG_arg_fail(1)) SWIG_fail
;
43978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43979 (arg1
)->Unconstrained();
43981 wxPyEndAllowThreads(__tstate
);
43982 if (PyErr_Occurred()) SWIG_fail
;
43984 Py_INCREF(Py_None
); resultobj
= Py_None
;
43991 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43992 PyObject
*resultobj
;
43993 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43994 PyObject
* obj0
= 0 ;
43995 char *kwnames
[] = {
43996 (char *) "self", NULL
43999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44001 if (SWIG_arg_fail(1)) SWIG_fail
;
44003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44006 wxPyEndAllowThreads(__tstate
);
44007 if (PyErr_Occurred()) SWIG_fail
;
44009 Py_INCREF(Py_None
); resultobj
= Py_None
;
44016 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44017 PyObject
*resultobj
;
44018 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44020 PyObject
* obj0
= 0 ;
44021 char *kwnames
[] = {
44022 (char *) "self", NULL
44025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44027 if (SWIG_arg_fail(1)) SWIG_fail
;
44029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44030 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44032 wxPyEndAllowThreads(__tstate
);
44033 if (PyErr_Occurred()) SWIG_fail
;
44036 resultobj
= wxPyMake_wxObject(result
, 0);
44044 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44045 PyObject
*resultobj
;
44046 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44048 PyObject
* obj0
= 0 ;
44049 char *kwnames
[] = {
44050 (char *) "self", NULL
44053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44055 if (SWIG_arg_fail(1)) SWIG_fail
;
44057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44058 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44060 wxPyEndAllowThreads(__tstate
);
44061 if (PyErr_Occurred()) SWIG_fail
;
44063 resultobj
= SWIG_From_int((result
));
44070 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44071 PyObject
*resultobj
;
44072 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44074 PyObject
* obj0
= 0 ;
44075 PyObject
* obj1
= 0 ;
44076 char *kwnames
[] = {
44077 (char *) "self",(char *) "which", NULL
44080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44082 if (SWIG_arg_fail(1)) SWIG_fail
;
44084 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44085 if (SWIG_arg_fail(2)) SWIG_fail
;
44088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44089 (arg1
)->SetEdge((wxEdge
)arg2
);
44091 wxPyEndAllowThreads(__tstate
);
44092 if (PyErr_Occurred()) SWIG_fail
;
44094 Py_INCREF(Py_None
); resultobj
= Py_None
;
44101 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44102 PyObject
*resultobj
;
44103 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44105 PyObject
* obj0
= 0 ;
44106 PyObject
* obj1
= 0 ;
44107 char *kwnames
[] = {
44108 (char *) "self",(char *) "v", NULL
44111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44113 if (SWIG_arg_fail(1)) SWIG_fail
;
44115 arg2
= (int)(SWIG_As_int(obj1
));
44116 if (SWIG_arg_fail(2)) SWIG_fail
;
44119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44120 (arg1
)->SetValue(arg2
);
44122 wxPyEndAllowThreads(__tstate
);
44123 if (PyErr_Occurred()) SWIG_fail
;
44125 Py_INCREF(Py_None
); resultobj
= Py_None
;
44132 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44133 PyObject
*resultobj
;
44134 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44136 PyObject
* obj0
= 0 ;
44137 char *kwnames
[] = {
44138 (char *) "self", NULL
44141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44143 if (SWIG_arg_fail(1)) SWIG_fail
;
44145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44146 result
= (int)(arg1
)->GetMargin();
44148 wxPyEndAllowThreads(__tstate
);
44149 if (PyErr_Occurred()) SWIG_fail
;
44152 resultobj
= SWIG_From_int((int)(result
));
44160 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44161 PyObject
*resultobj
;
44162 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44164 PyObject
* obj0
= 0 ;
44165 PyObject
* obj1
= 0 ;
44166 char *kwnames
[] = {
44167 (char *) "self",(char *) "m", NULL
44170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44172 if (SWIG_arg_fail(1)) SWIG_fail
;
44174 arg2
= (int)(SWIG_As_int(obj1
));
44175 if (SWIG_arg_fail(2)) SWIG_fail
;
44178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44179 (arg1
)->SetMargin(arg2
);
44181 wxPyEndAllowThreads(__tstate
);
44182 if (PyErr_Occurred()) SWIG_fail
;
44184 Py_INCREF(Py_None
); resultobj
= Py_None
;
44191 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44192 PyObject
*resultobj
;
44193 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44195 PyObject
* obj0
= 0 ;
44196 char *kwnames
[] = {
44197 (char *) "self", NULL
44200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44202 if (SWIG_arg_fail(1)) SWIG_fail
;
44204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44205 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44207 wxPyEndAllowThreads(__tstate
);
44208 if (PyErr_Occurred()) SWIG_fail
;
44211 resultobj
= SWIG_From_int((int)(result
));
44219 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44220 PyObject
*resultobj
;
44221 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44223 PyObject
* obj0
= 0 ;
44224 char *kwnames
[] = {
44225 (char *) "self", NULL
44228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44230 if (SWIG_arg_fail(1)) SWIG_fail
;
44232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44233 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44235 wxPyEndAllowThreads(__tstate
);
44236 if (PyErr_Occurred()) SWIG_fail
;
44239 resultobj
= SWIG_From_int((int)(result
));
44247 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44248 PyObject
*resultobj
;
44249 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44251 PyObject
* obj0
= 0 ;
44252 char *kwnames
[] = {
44253 (char *) "self", NULL
44256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44258 if (SWIG_arg_fail(1)) SWIG_fail
;
44260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44261 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44263 wxPyEndAllowThreads(__tstate
);
44264 if (PyErr_Occurred()) SWIG_fail
;
44267 resultobj
= SWIG_From_int((int)(result
));
44275 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44276 PyObject
*resultobj
;
44277 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44279 PyObject
* obj0
= 0 ;
44280 char *kwnames
[] = {
44281 (char *) "self", NULL
44284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44285 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44286 if (SWIG_arg_fail(1)) SWIG_fail
;
44288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44289 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44291 wxPyEndAllowThreads(__tstate
);
44292 if (PyErr_Occurred()) SWIG_fail
;
44295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44303 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44304 PyObject
*resultobj
;
44305 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44307 PyObject
* obj0
= 0 ;
44308 PyObject
* obj1
= 0 ;
44309 char *kwnames
[] = {
44310 (char *) "self",(char *) "d", NULL
44313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44315 if (SWIG_arg_fail(1)) SWIG_fail
;
44317 arg2
= (bool)(SWIG_As_bool(obj1
));
44318 if (SWIG_arg_fail(2)) SWIG_fail
;
44321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44322 (arg1
)->SetDone(arg2
);
44324 wxPyEndAllowThreads(__tstate
);
44325 if (PyErr_Occurred()) SWIG_fail
;
44327 Py_INCREF(Py_None
); resultobj
= Py_None
;
44334 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44335 PyObject
*resultobj
;
44336 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44337 wxRelationship result
;
44338 PyObject
* obj0
= 0 ;
44339 char *kwnames
[] = {
44340 (char *) "self", NULL
44343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44345 if (SWIG_arg_fail(1)) SWIG_fail
;
44347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44348 result
= (wxRelationship
)(arg1
)->GetRelationship();
44350 wxPyEndAllowThreads(__tstate
);
44351 if (PyErr_Occurred()) SWIG_fail
;
44353 resultobj
= SWIG_From_int((result
));
44360 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44361 PyObject
*resultobj
;
44362 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44363 wxRelationship arg2
;
44364 PyObject
* obj0
= 0 ;
44365 PyObject
* obj1
= 0 ;
44366 char *kwnames
[] = {
44367 (char *) "self",(char *) "r", NULL
44370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44372 if (SWIG_arg_fail(1)) SWIG_fail
;
44374 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44375 if (SWIG_arg_fail(2)) SWIG_fail
;
44378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44379 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44381 wxPyEndAllowThreads(__tstate
);
44382 if (PyErr_Occurred()) SWIG_fail
;
44384 Py_INCREF(Py_None
); resultobj
= Py_None
;
44391 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44392 PyObject
*resultobj
;
44393 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44394 wxWindow
*arg2
= (wxWindow
*) 0 ;
44396 PyObject
* obj0
= 0 ;
44397 PyObject
* obj1
= 0 ;
44398 char *kwnames
[] = {
44399 (char *) "self",(char *) "otherW", NULL
44402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44403 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44404 if (SWIG_arg_fail(1)) SWIG_fail
;
44405 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44406 if (SWIG_arg_fail(2)) SWIG_fail
;
44408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44409 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44411 wxPyEndAllowThreads(__tstate
);
44412 if (PyErr_Occurred()) SWIG_fail
;
44415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44423 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44424 PyObject
*resultobj
;
44425 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44426 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44427 wxWindow
*arg3
= (wxWindow
*) 0 ;
44429 PyObject
* obj0
= 0 ;
44430 PyObject
* obj1
= 0 ;
44431 PyObject
* obj2
= 0 ;
44432 char *kwnames
[] = {
44433 (char *) "self",(char *) "constraints",(char *) "win", NULL
44436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44438 if (SWIG_arg_fail(1)) SWIG_fail
;
44439 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44440 if (SWIG_arg_fail(2)) SWIG_fail
;
44441 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44442 if (SWIG_arg_fail(3)) SWIG_fail
;
44444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44445 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44447 wxPyEndAllowThreads(__tstate
);
44448 if (PyErr_Occurred()) SWIG_fail
;
44451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44459 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44460 PyObject
*resultobj
;
44461 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44463 wxWindow
*arg3
= (wxWindow
*) 0 ;
44464 wxWindow
*arg4
= (wxWindow
*) 0 ;
44466 PyObject
* obj0
= 0 ;
44467 PyObject
* obj1
= 0 ;
44468 PyObject
* obj2
= 0 ;
44469 PyObject
* obj3
= 0 ;
44470 char *kwnames
[] = {
44471 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44476 if (SWIG_arg_fail(1)) SWIG_fail
;
44478 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44479 if (SWIG_arg_fail(2)) SWIG_fail
;
44481 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44482 if (SWIG_arg_fail(3)) SWIG_fail
;
44483 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44484 if (SWIG_arg_fail(4)) SWIG_fail
;
44486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44487 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44489 wxPyEndAllowThreads(__tstate
);
44490 if (PyErr_Occurred()) SWIG_fail
;
44493 resultobj
= SWIG_From_int((int)(result
));
44501 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44504 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44506 return Py_BuildValue((char *)"");
44508 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44509 PyObject
*resultobj
;
44510 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44511 wxIndividualLayoutConstraint
*result
;
44512 PyObject
* obj0
= 0 ;
44513 char *kwnames
[] = {
44514 (char *) "self", NULL
44517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44519 if (SWIG_arg_fail(1)) SWIG_fail
;
44520 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44529 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44530 PyObject
*resultobj
;
44531 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44532 wxIndividualLayoutConstraint
*result
;
44533 PyObject
* obj0
= 0 ;
44534 char *kwnames
[] = {
44535 (char *) "self", NULL
44538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44540 if (SWIG_arg_fail(1)) SWIG_fail
;
44541 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44550 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44551 PyObject
*resultobj
;
44552 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44553 wxIndividualLayoutConstraint
*result
;
44554 PyObject
* obj0
= 0 ;
44555 char *kwnames
[] = {
44556 (char *) "self", NULL
44559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44561 if (SWIG_arg_fail(1)) SWIG_fail
;
44562 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44571 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44572 PyObject
*resultobj
;
44573 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44574 wxIndividualLayoutConstraint
*result
;
44575 PyObject
* obj0
= 0 ;
44576 char *kwnames
[] = {
44577 (char *) "self", NULL
44580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44582 if (SWIG_arg_fail(1)) SWIG_fail
;
44583 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44592 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44593 PyObject
*resultobj
;
44594 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44595 wxIndividualLayoutConstraint
*result
;
44596 PyObject
* obj0
= 0 ;
44597 char *kwnames
[] = {
44598 (char *) "self", NULL
44601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44603 if (SWIG_arg_fail(1)) SWIG_fail
;
44604 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44613 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44614 PyObject
*resultobj
;
44615 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44616 wxIndividualLayoutConstraint
*result
;
44617 PyObject
* obj0
= 0 ;
44618 char *kwnames
[] = {
44619 (char *) "self", NULL
44622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44624 if (SWIG_arg_fail(1)) SWIG_fail
;
44625 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44634 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44635 PyObject
*resultobj
;
44636 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44637 wxIndividualLayoutConstraint
*result
;
44638 PyObject
* obj0
= 0 ;
44639 char *kwnames
[] = {
44640 (char *) "self", NULL
44643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44645 if (SWIG_arg_fail(1)) SWIG_fail
;
44646 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44655 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44656 PyObject
*resultobj
;
44657 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44658 wxIndividualLayoutConstraint
*result
;
44659 PyObject
* obj0
= 0 ;
44660 char *kwnames
[] = {
44661 (char *) "self", NULL
44664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44666 if (SWIG_arg_fail(1)) SWIG_fail
;
44667 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44676 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44677 PyObject
*resultobj
;
44678 wxLayoutConstraints
*result
;
44679 char *kwnames
[] = {
44683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44686 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44688 wxPyEndAllowThreads(__tstate
);
44689 if (PyErr_Occurred()) SWIG_fail
;
44691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44698 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44699 PyObject
*resultobj
;
44700 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44701 wxWindow
*arg2
= (wxWindow
*) 0 ;
44702 int *arg3
= (int *) 0 ;
44706 PyObject
* obj0
= 0 ;
44707 PyObject
* obj1
= 0 ;
44708 char *kwnames
[] = {
44709 (char *) "self",(char *) "win", NULL
44712 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
44713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
44714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44715 if (SWIG_arg_fail(1)) SWIG_fail
;
44716 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44717 if (SWIG_arg_fail(2)) SWIG_fail
;
44719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44720 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
44722 wxPyEndAllowThreads(__tstate
);
44723 if (PyErr_Occurred()) SWIG_fail
;
44726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44728 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
44729 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
44736 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44737 PyObject
*resultobj
;
44738 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44740 PyObject
* obj0
= 0 ;
44741 char *kwnames
[] = {
44742 (char *) "self", NULL
44745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
44746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44747 if (SWIG_arg_fail(1)) SWIG_fail
;
44749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44750 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
44752 wxPyEndAllowThreads(__tstate
);
44753 if (PyErr_Occurred()) SWIG_fail
;
44756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44764 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
44766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44767 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
44769 return Py_BuildValue((char *)"");
44771 static PyMethodDef SwigMethods
[] = {
44772 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
44773 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
44774 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44775 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44776 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
44777 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44778 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44779 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44780 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44781 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44782 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44783 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44784 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44785 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44786 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44787 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44788 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44789 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44790 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44791 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44792 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44793 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44794 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44795 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44796 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44797 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
44798 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44799 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44800 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44801 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44802 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44803 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44804 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44805 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44806 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44807 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44808 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44809 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44810 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
44811 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44812 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44813 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44814 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44815 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44816 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44817 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44818 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44819 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44820 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44821 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44822 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44823 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44824 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44825 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
44826 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44827 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44828 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44829 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44830 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44831 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44832 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44833 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44834 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44835 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44836 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44837 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44838 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44839 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44840 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44841 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44842 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44843 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44844 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44845 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44846 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44847 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44848 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44849 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44850 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44851 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44852 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44853 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44854 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44855 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44856 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44857 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44858 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44859 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44860 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44861 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44862 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44863 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44864 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44865 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44866 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44867 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44868 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44869 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44870 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44871 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44872 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44873 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44874 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44875 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44876 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44877 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44878 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
44879 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44880 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44881 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44882 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44883 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44884 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44885 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44886 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44887 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44888 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44889 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44890 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44891 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44892 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44893 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44894 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44895 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44896 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44897 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44898 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44899 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44900 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44901 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44902 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44903 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44904 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44905 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44906 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
44907 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44908 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44909 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44910 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44911 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44912 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44913 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44914 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44915 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44916 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44917 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44918 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44919 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44920 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44921 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44922 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44923 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44924 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44925 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
44926 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44927 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
44928 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44929 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44930 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44931 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44932 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44933 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44934 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44935 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
44936 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44937 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44938 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44939 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44940 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44941 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44942 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44943 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44944 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44945 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44946 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44947 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44948 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
44949 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44950 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44951 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44952 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44953 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44954 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44955 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44956 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44957 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44958 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44959 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44960 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
44961 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44962 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44963 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44964 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
44965 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44966 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44967 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44968 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44969 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44970 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
44971 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44972 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44973 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44974 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44975 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44976 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44977 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44978 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44979 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44980 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
44981 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44982 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44983 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44984 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44985 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44986 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44987 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44988 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44989 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44990 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
44991 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44992 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44993 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44994 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
44995 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44996 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44997 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44998 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
44999 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45000 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45001 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45002 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45003 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45004 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45005 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45006 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45007 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45008 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45009 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45010 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45011 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45012 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45013 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45014 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45015 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45016 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45017 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45018 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45019 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45020 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45021 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45022 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45023 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45024 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45025 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45026 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45027 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45028 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45029 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45030 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45031 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45032 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45033 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45034 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45035 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45036 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45037 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45038 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45039 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45040 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45041 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45042 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45043 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45044 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45045 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45046 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45047 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45048 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45049 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45050 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45051 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45052 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45053 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45054 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45055 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45056 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45057 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45058 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45059 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45060 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45061 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45062 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45063 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45064 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45065 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45066 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45069 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45070 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45072 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45074 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45076 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45078 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45080 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45082 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45084 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45086 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45088 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45090 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45092 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45094 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45103 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45108 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45118 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45126 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45129 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45132 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45144 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45149 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45155 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45161 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45172 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45200 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45219 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45221 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45224 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45229 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45230 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45231 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45242 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45254 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45258 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45264 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45267 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45274 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45277 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45283 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45284 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45285 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45287 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45288 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45290 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45294 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45297 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45300 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45302 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45307 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45315 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45319 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45322 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45324 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45328 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45345 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45347 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45350 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45352 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45356 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45360 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45367 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45369 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45371 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45373 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45374 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45375 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45377 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45379 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45381 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45383 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45385 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45387 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45388 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45389 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45391 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45393 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45398 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45402 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45405 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45447 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45467 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45474 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45478 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45488 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45580 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45604 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45658 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45698 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
45712 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
45715 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
45770 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
45797 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
45841 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
45849 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
45868 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
45869 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
45906 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
45936 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
45939 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
45943 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
45946 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
45956 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
45968 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
45980 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
45990 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46000 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46011 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46014 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46021 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46022 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46023 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46024 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46025 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46030 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46057 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46069 { NULL
, NULL
, 0, NULL
}
46073 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46075 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46076 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46078 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46079 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46081 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46082 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46084 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46085 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46087 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46088 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46090 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46091 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46093 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46094 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46096 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46097 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46099 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46100 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46102 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46103 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46105 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46108 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46109 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46111 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46112 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46114 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46115 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46117 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46118 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46120 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46121 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46123 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46124 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46126 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46129 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46130 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46132 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46133 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46135 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46136 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46138 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46139 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46141 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46142 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46144 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46145 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46147 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46148 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46150 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46151 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46153 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46154 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46156 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46157 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46159 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46160 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46162 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46163 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46165 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46166 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46168 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46169 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46171 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46172 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46174 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46175 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46177 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46178 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46180 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46181 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46183 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46184 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46186 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46187 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46189 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46190 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46192 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46193 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46195 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46196 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46198 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46199 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46201 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46202 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46204 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46205 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46207 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46208 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46210 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46211 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46213 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46214 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46216 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46217 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46219 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46220 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46222 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46223 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46225 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46226 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46228 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46229 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46231 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46232 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46234 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46237 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46238 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46240 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46241 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46243 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46244 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46246 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46247 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46249 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46250 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46252 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46253 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46255 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46256 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46258 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46259 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46261 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46262 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46264 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46265 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46267 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46268 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46270 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46271 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46273 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46274 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46276 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46277 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46279 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46280 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46282 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46283 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46285 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46286 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46288 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46289 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46291 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46292 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46294 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46295 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46297 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46298 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46300 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46301 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46303 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46304 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46306 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46307 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46309 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46310 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46312 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46313 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46315 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46316 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46318 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46319 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46321 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46322 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46324 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46327 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46328 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46330 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46331 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46333 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46334 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46336 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46337 return (void *)((wxObject
*) ((wxSizer
*) x
));
46339 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46340 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46342 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46343 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46345 static void *_p_wxEventTo_p_wxObject(void *x
) {
46346 return (void *)((wxObject
*) ((wxEvent
*) x
));
46348 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46349 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46351 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46352 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46354 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46355 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46357 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46358 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46360 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46361 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46363 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46364 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46366 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46367 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46369 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46370 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46372 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46373 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46375 static void *_p_wxControlTo_p_wxObject(void *x
) {
46376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46378 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46379 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46381 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46382 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46384 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46385 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46387 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46388 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46390 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46393 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46394 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46396 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46397 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46399 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46400 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46402 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46403 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46405 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46406 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46408 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46409 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46411 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46412 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46414 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46415 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46417 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46418 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46420 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46421 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46423 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46424 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46426 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46429 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46432 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46435 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46438 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46439 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46441 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46442 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46444 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46445 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46447 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46448 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46450 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46451 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46453 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46454 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46456 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46457 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46459 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46460 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46462 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46463 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46465 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46466 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46468 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46469 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46471 static void *_p_wxImageTo_p_wxObject(void *x
) {
46472 return (void *)((wxObject
*) ((wxImage
*) x
));
46474 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46475 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46477 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46480 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46481 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46483 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46484 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46486 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46487 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46489 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46490 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46492 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46495 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46496 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46498 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46501 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46502 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46504 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46505 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46507 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46508 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46510 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46511 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46513 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46514 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46516 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46519 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46520 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46522 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46523 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46525 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46526 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46528 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46531 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46534 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46537 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46538 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46540 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46541 return (void *)((wxWindow
*) ((wxControl
*) x
));
46543 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46544 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46546 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46547 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46549 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46550 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46552 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46553 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46555 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46556 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46558 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46559 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46561 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46562 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46564 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46565 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46567 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46568 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46570 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46571 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46573 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46574 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46576 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46577 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46579 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}};
46580 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}};
46581 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}};
46582 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}};
46583 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}};
46584 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}};
46585 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}};
46586 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}};
46587 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}};
46588 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}};
46589 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}};
46590 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}};
46591 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}};
46592 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46593 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}};
46594 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}};
46595 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}};
46596 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}};
46597 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}};
46598 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}};
46599 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}};
46600 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}};
46601 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}};
46602 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}};
46603 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}};
46604 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}};
46605 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}};
46606 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}};
46607 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}};
46608 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}};
46609 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}};
46610 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}};
46611 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}};
46612 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}};
46613 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}};
46614 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}};
46615 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}};
46616 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}};
46617 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}};
46618 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}};
46619 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}};
46620 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}};
46621 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}};
46622 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}};
46623 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}};
46624 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}};
46625 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}};
46626 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}};
46627 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}};
46628 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}};
46629 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}};
46630 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}};
46631 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}};
46632 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}};
46633 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}};
46634 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}};
46635 static swig_type_info _swigt__p_wxDateEvent
[] = {{"_p_wxDateEvent", 0, "wxDateEvent *", 0, 0, 0, 0},{"_p_wxDateEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46636 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}};
46637 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}};
46638 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}};
46639 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}};
46640 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}};
46641 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}};
46642 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}};
46643 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}};
46644 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}};
46645 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}};
46646 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}};
46647 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}};
46648 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}};
46649 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}};
46650 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}};
46651 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}};
46652 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}};
46653 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}};
46654 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}};
46655 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}};
46656 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}};
46657 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}};
46658 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}};
46659 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}};
46660 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}};
46661 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}};
46662 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}};
46663 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}};
46664 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}};
46665 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}};
46666 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}};
46667 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}};
46668 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}};
46669 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}};
46670 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}};
46671 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}};
46672 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}};
46673 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46674 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}};
46675 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}};
46676 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}};
46677 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}};
46678 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}};
46679 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}};
46680 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}};
46681 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}};
46682 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}};
46683 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}};
46684 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}};
46685 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}};
46686 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}};
46687 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}};
46688 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}};
46689 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}};
46690 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}};
46691 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}};
46692 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}};
46693 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}};
46694 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}};
46695 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46696 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}};
46697 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}};
46698 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}};
46699 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}};
46700 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}};
46701 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}};
46702 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}};
46703 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}};
46704 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}};
46705 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}};
46707 static swig_type_info
*swig_types_initial
[] = {
46708 _swigt__p_wxLayoutConstraints
,
46709 _swigt__p_wxRealPoint
,
46710 _swigt__p_wxSizerItem
,
46711 _swigt__p_wxGBSizerItem
,
46712 _swigt__p_wxScrollEvent
,
46713 _swigt__p_wxEventLoop
,
46714 _swigt__p_wxIndividualLayoutConstraint
,
46716 _swigt__p_wxBoxSizer
,
46717 _swigt__p_wxStaticBoxSizer
,
46718 _swigt__p_wxGridBagSizer
,
46719 _swigt__p_wxAcceleratorEntry
,
46720 _swigt__p_wxUpdateUIEvent
,
46723 _swigt__p_wxGridSizer
,
46724 _swigt__p_wxFlexGridSizer
,
46725 _swigt__p_wxInitDialogEvent
,
46726 _swigt__p_wxItemContainer
,
46727 _swigt__p_wxNcPaintEvent
,
46728 _swigt__p_wxPaintEvent
,
46729 _swigt__p_wxSysColourChangedEvent
,
46730 _swigt__p_wxMouseCaptureChangedEvent
,
46731 _swigt__p_wxDisplayChangedEvent
,
46732 _swigt__p_wxPaletteChangedEvent
,
46733 _swigt__p_wxControl
,
46735 _swigt__p_wxMenuBarBase
,
46736 _swigt__p_wxSetCursorEvent
,
46737 _swigt__p_wxFSFile
,
46740 _swigt__std__ptrdiff_t
,
46741 _swigt__p_wxRegion
,
46742 _swigt__p_wxPoint2D
,
46746 _swigt__p_wxPySizer
,
46747 _swigt__p_wxVisualAttributes
,
46748 _swigt__p_wxNotifyEvent
,
46749 _swigt__p_wxPyEvent
,
46750 _swigt__p_wxPropagationDisabler
,
46751 _swigt__p_form_ops_t
,
46752 _swigt__p_wxAppTraits
,
46753 _swigt__p_wxArrayString
,
46754 _swigt__p_wxShowEvent
,
46755 _swigt__p_wxToolTip
,
46756 _swigt__p_wxMoveEvent
,
46757 _swigt__p_wxSizeEvent
,
46758 _swigt__p_wxActivateEvent
,
46759 _swigt__p_wxIconizeEvent
,
46760 _swigt__p_wxMaximizeEvent
,
46761 _swigt__p_wxQueryNewPaletteEvent
,
46762 _swigt__p_wxWindowCreateEvent
,
46763 _swigt__p_wxIdleEvent
,
46764 _swigt__p_wxDateEvent
,
46765 _swigt__p_wxMenuItem
,
46766 _swigt__p_wxStaticBox
,
46768 _swigt__p_wxDuplexMode
,
46769 _swigt__p_wxTIFFHandler
,
46770 _swigt__p_wxXPMHandler
,
46771 _swigt__p_wxPNMHandler
,
46772 _swigt__p_wxJPEGHandler
,
46773 _swigt__p_wxPCXHandler
,
46774 _swigt__p_wxGIFHandler
,
46775 _swigt__p_wxPNGHandler
,
46776 _swigt__p_wxANIHandler
,
46777 _swigt__p_wxMemoryFSHandler
,
46778 _swigt__p_wxZipFSHandler
,
46779 _swigt__p_wxInternetFSHandler
,
46780 _swigt__p_wxPyFileSystemHandler
,
46781 _swigt__p_wxEvtHandler
,
46782 _swigt__p_wxCURHandler
,
46783 _swigt__p_wxICOHandler
,
46784 _swigt__p_wxBMPHandler
,
46785 _swigt__p_wxImageHandler
,
46786 _swigt__p_wxFileSystemHandler
,
46788 _swigt__p_wxButton
,
46789 _swigt__p_wxGBSpan
,
46790 _swigt__p_wxPropagateOnce
,
46791 _swigt__p_wxAcceleratorTable
,
46792 _swigt__p_wxStdDialogButtonSizer
,
46794 _swigt__p_wxGBPosition
,
46797 _swigt__p_wxScrollWinEvent
,
46798 _swigt__p_wxPaperSize
,
46799 _swigt__p_wxImageHistogram
,
46801 _swigt__p_wxCursor
,
46802 _swigt__p_wxObject
,
46803 _swigt__p_wxInputStream
,
46804 _swigt__p_wxOutputStream
,
46805 _swigt__p_wxPyInputStream
,
46806 _swigt__p_wxDateTime
,
46807 _swigt__p_wxKeyEvent
,
46808 _swigt__p_wxNavigationKeyEvent
,
46809 _swigt__p_wxWindowDestroyEvent
,
46810 _swigt__p_unsigned_long
,
46811 _swigt__p_wxWindow
,
46812 _swigt__p_wxMenuBar
,
46813 _swigt__p_wxFileSystem
,
46814 _swigt__p_wxBitmap
,
46815 _swigt__unsigned_int
,
46816 _swigt__p_unsigned_int
,
46817 _swigt__p_wxMenuEvent
,
46818 _swigt__p_wxContextMenuEvent
,
46819 _swigt__p_unsigned_char
,
46820 _swigt__p_wxEraseEvent
,
46821 _swigt__p_wxMouseEvent
,
46822 _swigt__p_wxCloseEvent
,
46824 _swigt__p_wxCommandEvent
,
46825 _swigt__p_wxPyCommandEvent
,
46826 _swigt__p_wxPyDropTarget
,
46827 _swigt__p_wxQuantize
,
46828 _swigt__p_wxChildFocusEvent
,
46829 _swigt__p_wxFocusEvent
,
46830 _swigt__p_wxDropFilesEvent
,
46831 _swigt__p_wxControlWithItems
,
46832 _swigt__p_wxColour
,
46833 _swigt__p_wxValidator
,
46834 _swigt__p_wxPyValidator
,
46839 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
46841 static swig_const_info swig_const_table
[] = {
46842 {0, 0, 0, 0.0, 0, 0}};
46853 /* Python-specific SWIG API */
46854 #define SWIG_newvarlink() SWIG_Python_newvarlink()
46855 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
46856 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
46858 /* -----------------------------------------------------------------------------
46859 * global variable support code.
46860 * ----------------------------------------------------------------------------- */
46862 typedef struct swig_globalvar
{
46863 char *name
; /* Name of global variable */
46864 PyObject
*(*get_attr
)(); /* Return the current value */
46865 int (*set_attr
)(PyObject
*); /* Set the value */
46866 struct swig_globalvar
*next
;
46869 typedef struct swig_varlinkobject
{
46871 swig_globalvar
*vars
;
46872 } swig_varlinkobject
;
46875 swig_varlink_repr(swig_varlinkobject
*v
) {
46877 return PyString_FromString("<Swig global variables>");
46881 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
46882 swig_globalvar
*var
;
46884 fprintf(fp
,"Swig global variables { ");
46885 for (var
= v
->vars
; var
; var
=var
->next
) {
46886 fprintf(fp
,"%s", var
->name
);
46887 if (var
->next
) fprintf(fp
,", ");
46889 fprintf(fp
," }\n");
46894 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
46895 swig_globalvar
*var
= v
->vars
;
46897 if (strcmp(var
->name
,n
) == 0) {
46898 return (*var
->get_attr
)();
46902 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46907 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
46908 swig_globalvar
*var
= v
->vars
;
46910 if (strcmp(var
->name
,n
) == 0) {
46911 return (*var
->set_attr
)(p
);
46915 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
46919 static PyTypeObject varlinktype
= {
46920 PyObject_HEAD_INIT(0)
46921 0, /* Number of items in variable part (ob_size) */
46922 (char *)"swigvarlink", /* Type name (tp_name) */
46923 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
46924 0, /* Itemsize (tp_itemsize) */
46925 0, /* Deallocator (tp_dealloc) */
46926 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
46927 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
46928 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
46929 0, /* tp_compare */
46930 (reprfunc
) swig_varlink_repr
, /* tp_repr */
46931 0, /* tp_as_number */
46932 0, /* tp_as_sequence */
46933 0, /* tp_as_mapping */
46937 0, /* tp_getattro */
46938 0, /* tp_setattro */
46939 0, /* tp_as_buffer */
46942 #if PY_VERSION_HEX >= 0x02000000
46943 0, /* tp_traverse */
46946 #if PY_VERSION_HEX >= 0x02010000
46947 0, /* tp_richcompare */
46948 0, /* tp_weaklistoffset */
46950 #if PY_VERSION_HEX >= 0x02020000
46951 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
46953 #if PY_VERSION_HEX >= 0x02030000
46956 #ifdef COUNT_ALLOCS
46957 0,0,0,0 /* tp_alloc -> tp_next */
46961 /* Create a variable linking object for use later */
46963 SWIG_Python_newvarlink(void) {
46964 swig_varlinkobject
*result
= 0;
46965 result
= PyMem_NEW(swig_varlinkobject
,1);
46966 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
46967 result
->ob_type
= &varlinktype
;
46969 result
->ob_refcnt
= 0;
46970 Py_XINCREF((PyObject
*) result
);
46971 return ((PyObject
*) result
);
46975 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
46976 swig_varlinkobject
*v
;
46977 swig_globalvar
*gv
;
46978 v
= (swig_varlinkobject
*) p
;
46979 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
46980 gv
->name
= (char *) malloc(strlen(name
)+1);
46981 strcpy(gv
->name
,name
);
46982 gv
->get_attr
= get_attr
;
46983 gv
->set_attr
= set_attr
;
46984 gv
->next
= v
->vars
;
46988 /* -----------------------------------------------------------------------------
46989 * constants/methods manipulation
46990 * ----------------------------------------------------------------------------- */
46992 /* Install Constants */
46994 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
46997 for (i
= 0; constants
[i
].type
; i
++) {
46998 switch(constants
[i
].type
) {
47000 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47002 case SWIG_PY_FLOAT
:
47003 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47005 case SWIG_PY_STRING
:
47006 if (constants
[i
].pvalue
) {
47007 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47009 Py_INCREF(Py_None
);
47013 case SWIG_PY_POINTER
:
47014 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47016 case SWIG_PY_BINARY
:
47017 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47024 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47030 /* -----------------------------------------------------------------------------*/
47031 /* Fix SwigMethods to carry the callback ptrs when needed */
47032 /* -----------------------------------------------------------------------------*/
47035 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47036 swig_const_info
*const_table
,
47037 swig_type_info
**types
,
47038 swig_type_info
**types_initial
) {
47040 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47041 char *c
= methods
[i
].ml_doc
;
47042 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47044 swig_const_info
*ci
= 0;
47045 char *name
= c
+ 10;
47046 for (j
= 0; const_table
[j
].type
; j
++) {
47047 if (strncmp(const_table
[j
].name
, name
,
47048 strlen(const_table
[j
].name
)) == 0) {
47049 ci
= &(const_table
[j
]);
47054 size_t shift
= (ci
->ptype
) - types
;
47055 swig_type_info
*ty
= types_initial
[shift
];
47056 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47057 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47058 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47060 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47061 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47063 strncpy(buff
, "swig_ptr: ", 10);
47065 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47066 methods
[i
].ml_doc
= ndoc
;
47072 /* -----------------------------------------------------------------------------*
47073 * Initialize type list
47074 * -----------------------------------------------------------------------------*/
47076 #if PY_MAJOR_VERSION < 2
47077 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47078 is copied out of Python/modsupport.c in python version 2.3.4 */
47080 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47083 if (!PyModule_Check(m
)) {
47084 PyErr_SetString(PyExc_TypeError
,
47085 "PyModule_AddObject() needs module as first arg");
47089 PyErr_SetString(PyExc_TypeError
,
47090 "PyModule_AddObject() needs non-NULL value");
47094 dict
= PyModule_GetDict(m
);
47095 if (dict
== NULL
) {
47096 /* Internal error -- modules must have a dict! */
47097 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47098 PyModule_GetName(m
));
47101 if (PyDict_SetItemString(dict
, name
, o
))
47108 static swig_type_info
**
47109 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47110 static PyMethodDef swig_empty_runtime_method_table
[] = {
47112 NULL
, NULL
, 0, NULL
47116 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47117 swig_empty_runtime_method_table
);
47118 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47119 if (pointer
&& module) {
47120 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47122 return type_list_handle
;
47125 static swig_type_info
**
47126 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47127 swig_type_info
**type_pointer
;
47129 /* first check if module already created */
47130 type_pointer
= SWIG_Python_GetTypeListHandle();
47131 if (type_pointer
) {
47132 return type_pointer
;
47134 /* create a new module and variable */
47135 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47143 /* -----------------------------------------------------------------------------*
47144 * Partial Init method
47145 * -----------------------------------------------------------------------------*/
47147 #ifdef SWIG_LINK_RUNTIME
47151 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47157 SWIGEXPORT(void) SWIG_init(void) {
47158 static PyObject
*SWIG_globals
= 0;
47159 static int typeinit
= 0;
47162 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47164 /* Fix SwigMethods to carry the callback ptrs when needed */
47165 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47167 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47168 d
= PyModule_GetDict(m
);
47171 #ifdef SWIG_LINK_RUNTIME
47172 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47174 # ifndef SWIG_STATIC_RUNTIME
47175 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47178 for (i
= 0; swig_types_initial
[i
]; i
++) {
47179 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47183 SWIG_InstallConstants(d
,swig_const_table
);
47186 #ifndef wxPyUSE_EXPORT
47187 // Make our API structure a CObject so other modules can import it
47188 // from this module.
47189 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47190 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47195 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47198 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47201 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47204 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47207 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47210 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47213 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47216 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47219 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47222 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47225 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47228 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47231 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47234 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47237 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47240 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47243 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47246 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47249 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47252 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47255 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47258 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47261 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47264 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47267 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47270 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47273 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47276 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47279 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47282 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47285 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47288 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47291 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47294 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47297 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47300 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47303 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47306 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47309 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47312 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47315 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47318 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47321 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47324 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47327 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47330 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47333 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47336 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47339 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47342 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47345 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47348 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47351 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47354 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47357 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47360 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47363 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47366 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47369 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47372 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47375 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47378 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47381 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47384 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47387 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47390 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47393 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47396 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47399 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47402 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47405 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47408 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47411 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47414 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47417 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47420 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47423 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47426 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47429 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47432 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47435 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47438 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47441 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47444 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47447 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47450 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47453 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47456 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47459 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47462 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47465 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47468 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47471 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47474 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47477 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47480 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47483 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47486 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47489 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47492 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47495 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47498 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47501 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47504 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47507 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47510 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47513 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47516 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47519 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47522 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47525 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47528 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47531 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47534 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47537 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47540 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47543 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47546 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47549 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47552 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47555 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47558 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47561 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47564 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47567 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47570 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47573 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47576 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47579 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47582 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47585 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47588 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47591 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47594 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47597 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47600 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47603 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47606 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47609 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47612 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47615 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47618 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47621 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47624 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47627 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47630 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47633 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47636 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47639 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47642 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47645 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47648 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47651 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47654 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47657 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47660 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47663 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47666 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47669 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47672 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47675 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47678 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47681 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47684 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47687 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47690 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47693 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47696 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47699 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
47702 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
47705 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
47708 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
47711 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
47714 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
47717 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
47720 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
47723 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
47726 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
47729 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
47732 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
47735 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
47738 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
47741 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
47744 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
47747 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
47750 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
47753 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
47756 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
47759 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
47762 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
47765 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
47768 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
47771 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
47774 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
47777 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
47780 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
47783 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
47786 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
47789 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
47792 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
47795 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
47798 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
47801 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
47804 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
47807 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
47810 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
47813 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
47816 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
47819 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
47822 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
47825 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
47828 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
47831 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
47834 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
47837 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
47840 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
47843 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
47846 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
47849 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
47852 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
47855 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
47858 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
47861 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
47864 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
47867 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
47870 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
47873 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
47876 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
47879 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
47882 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
47885 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
47888 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
47891 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
47894 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
47897 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
47900 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
47903 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
47906 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
47909 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
47912 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
47915 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
47918 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
47921 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
47924 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
47927 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
47930 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
47933 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
47936 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
47939 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
47942 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
47945 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
47948 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
47951 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
47954 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
47957 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
47960 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
47963 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
47966 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
47969 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
47972 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
47975 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
47978 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
47981 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
47984 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
47987 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
47990 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
47993 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
47996 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
47999 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48002 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48005 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48008 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48011 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48014 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48017 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48020 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48023 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48026 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48029 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48032 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48035 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48038 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48041 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48044 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48047 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48050 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48053 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48056 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48059 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48062 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48065 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48068 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48071 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48074 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48077 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48080 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48083 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48086 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48089 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48092 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48095 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48098 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48101 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48104 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48107 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48110 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48113 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48116 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48119 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48122 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48125 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48128 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48131 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48134 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48137 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48140 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48143 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48146 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48149 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48152 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48155 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48158 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48161 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48164 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48167 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48170 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48173 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48176 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48179 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48182 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48185 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48188 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48191 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48194 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48197 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48200 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48203 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48206 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48209 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48212 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48215 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48218 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48221 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48224 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48227 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48230 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48233 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48236 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48239 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48242 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48245 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48248 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48251 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48254 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48257 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48260 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48263 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48266 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48269 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48272 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48275 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48278 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48281 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48284 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48287 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48290 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48293 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48296 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48299 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48302 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48305 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48308 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48311 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48314 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48317 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48320 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48323 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48326 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48329 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48332 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48335 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48338 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48341 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48344 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48347 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48350 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48353 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48356 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48359 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48362 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48365 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48368 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48371 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48374 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48377 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48380 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48383 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48386 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48389 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48392 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48395 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48398 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48401 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48404 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48407 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48410 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48413 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48416 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48419 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48422 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48425 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48428 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48431 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48434 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48437 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48440 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48443 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48446 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48449 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48452 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48455 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48458 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48461 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48464 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48467 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48470 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48473 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48476 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48479 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48482 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48485 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48488 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48491 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48494 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48497 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48500 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48503 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48506 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48509 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48512 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48515 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48518 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48521 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48524 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48527 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48530 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48533 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48536 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48539 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48542 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48545 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48548 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48551 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48554 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48557 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48560 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48563 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48566 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48569 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48572 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48575 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48578 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48581 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48584 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48587 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48590 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48593 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48596 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48599 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48602 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48605 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48608 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48611 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48614 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48617 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48620 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48623 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48626 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48629 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48632 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48635 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48638 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48641 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48644 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48647 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48650 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48653 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48656 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48659 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48662 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48665 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48668 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48671 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48674 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48677 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48680 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48683 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48686 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48689 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48692 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48695 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48698 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
48701 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
48704 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
48707 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
48710 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
48713 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
48716 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
48719 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
48722 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
48725 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
48728 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
48731 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
48734 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
48737 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
48740 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
48743 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
48746 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
48749 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
48752 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
48755 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
48758 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
48761 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
48764 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
48767 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
48770 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
48773 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
48776 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
48779 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
48782 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
48785 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
48788 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
48791 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
48794 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
48797 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
48799 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
48800 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
48802 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
48805 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
48808 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
48811 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
48814 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
48817 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
48820 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
48823 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
48826 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
48829 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
48832 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
48835 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
48838 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
48841 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
48844 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
48847 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
48850 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
48853 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
48856 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
48859 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
48862 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
48865 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
48868 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
48871 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
48874 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
48877 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
48880 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
48883 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
48886 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
48889 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
48892 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
48895 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
48898 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
48901 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
48904 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
48907 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
48910 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
48913 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
48916 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
48919 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
48922 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
48925 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
48928 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
48931 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
48934 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
48937 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
48940 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
48943 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
48946 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
48949 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
48952 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
48954 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
48955 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
48957 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
48960 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
48963 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
48966 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
48969 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
48971 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
48972 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
48973 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
48974 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
48975 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
48976 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
48977 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
48978 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
48979 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
48980 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
48982 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
48985 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
48987 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
48988 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
48989 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
48990 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
48991 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
48992 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
48994 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
48997 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49000 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49003 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49006 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49009 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49012 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49015 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49018 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49021 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49024 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49027 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49030 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49033 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49036 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49039 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49041 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49042 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49043 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49044 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49045 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49046 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49047 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49048 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49049 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49050 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49051 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49052 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49053 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49054 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49055 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49056 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49057 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49058 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49059 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49060 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49061 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49062 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49063 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49064 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49065 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49066 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49067 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49068 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49069 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49070 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49071 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49072 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49073 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49074 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49075 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49076 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49077 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49078 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49079 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49080 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49081 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49082 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49083 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49084 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49085 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49086 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49087 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49088 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49089 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49090 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49091 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49092 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49093 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49094 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49095 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49096 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49097 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49098 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49099 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49100 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49101 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49102 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49103 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49104 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49105 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49106 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49107 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49108 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49109 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49110 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49111 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49112 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49113 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49114 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49115 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49116 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49117 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49118 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49119 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49120 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49121 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49122 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49123 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49124 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49125 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49126 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49127 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49128 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49129 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49130 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49131 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49132 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49133 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49134 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49135 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49136 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49137 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49138 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49139 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49140 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49141 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49142 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49143 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49144 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49145 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49146 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49147 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49148 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49150 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49151 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49152 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49153 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49154 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49156 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49159 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49162 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49165 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49168 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49171 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49174 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49177 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49180 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49183 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49186 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49189 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49192 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49194 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49196 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49199 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49202 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49205 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49208 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49211 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49213 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49214 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49216 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49219 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49222 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49225 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49228 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49230 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49231 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49233 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49236 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49239 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49241 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49243 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49246 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49249 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49252 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49255 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49258 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49261 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49264 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49267 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49270 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49273 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49276 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49279 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49282 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49285 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49288 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49291 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49294 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49297 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49300 // Initialize threading, some globals and such
49304 // Although these are defined in __version__ they need to be here too so
49305 // that an assert can be done to ensure that the wxPython and the wxWindows
49307 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49308 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49309 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));