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
,
1652 wxPyCBInputStream_copy
,
1655 wxPySwigInstance_Check
,
1664 #if !WXWIN_COMPATIBILITY_2_4
1665 #define wxHIDE_READONLY 0
1669 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1670 #define SWIG_From_int PyInt_FromLong
1675 enum wxHotkeyModifier
1683 #define wxEVT_HOTKEY 9999
1686 static const wxString
wxPyEmptyString(wxEmptyString
);
1687 static wxString
wxObject_GetClassName(wxObject
*self
){
1688 return self
->GetClassInfo()->GetClassName();
1690 static void wxObject_Destroy(wxObject
*self
){
1695 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1703 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1706 if (value
< min_value
) {
1708 PyErr_Format(PyExc_OverflowError
,
1709 "value %ld is less than '%s' minimum %ld",
1710 value
, errmsg
, min_value
);
1713 } else if (value
> max_value
) {
1715 PyErr_Format(PyExc_OverflowError
,
1716 "value %ld is greater than '%s' maximum %ld",
1717 value
, errmsg
, max_value
);
1726 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1728 if (PyNumber_Check(obj
)) {
1729 if (val
) *val
= PyInt_AsLong(obj
);
1733 SWIG_type_error("number", obj
);
1739 #if INT_MAX != LONG_MAX
1741 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1743 const char* errmsg
= val
? "int" : (char*)0;
1745 if (SWIG_AsVal_long(obj
, &v
)) {
1746 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1747 if (val
) *val
= (int)(v
);
1756 SWIG_type_error(errmsg
, obj
);
1762 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1764 return SWIG_AsVal_long(obj
,(long*)val
);
1770 SWIG_As_int(PyObject
* obj
)
1773 if (!SWIG_AsVal_int(obj
, &v
)) {
1775 this is needed to make valgrind/purify happier.
1777 memset((void*)&v
, 0, sizeof(int));
1784 SWIG_Check_int(PyObject
* obj
)
1786 return SWIG_AsVal_int(obj
, (int*)0);
1789 static PyObject
*wxSize_Get(wxSize
*self
){
1790 bool blocked
= wxPyBeginBlockThreads();
1791 PyObject
* tup
= PyTuple_New(2);
1792 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1793 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1794 wxPyEndBlockThreads(blocked
);
1799 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1801 if (PyNumber_Check(obj
)) {
1802 if (val
) *val
= PyFloat_AsDouble(obj
);
1806 SWIG_type_error("number", obj
);
1812 SWIGINTERNSHORT
double
1813 SWIG_As_double(PyObject
* obj
)
1816 if (!SWIG_AsVal_double(obj
, &v
)) {
1818 this is needed to make valgrind/purify happier.
1820 memset((void*)&v
, 0, sizeof(double));
1827 SWIG_Check_double(PyObject
* obj
)
1829 return SWIG_AsVal_double(obj
, (double*)0);
1833 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1834 #define SWIG_From_double PyFloat_FromDouble
1837 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1841 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1842 bool blocked
= wxPyBeginBlockThreads();
1843 PyObject
* tup
= PyTuple_New(2);
1844 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1845 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1846 wxPyEndBlockThreads(blocked
);
1850 SWIGINTERNSHORT
long
1851 SWIG_As_long(PyObject
* obj
)
1854 if (!SWIG_AsVal_long(obj
, &v
)) {
1856 this is needed to make valgrind/purify happier.
1858 memset((void*)&v
, 0, sizeof(long));
1865 SWIG_Check_long(PyObject
* obj
)
1867 return SWIG_AsVal_long(obj
, (long*)0);
1870 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1874 static PyObject
*wxPoint_Get(wxPoint
*self
){
1875 bool blocked
= wxPyBeginBlockThreads();
1876 PyObject
* tup
= PyTuple_New(2);
1877 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1878 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1879 wxPyEndBlockThreads(blocked
);
1882 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1885 self
->width
= width
;
1886 self
->height
= height
;
1888 static PyObject
*wxRect_Get(wxRect
*self
){
1889 bool blocked
= wxPyBeginBlockThreads();
1890 PyObject
* tup
= PyTuple_New(4);
1891 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1892 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1893 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1894 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1895 wxPyEndBlockThreads(blocked
);
1899 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1902 wxRect
dest(0,0,0,0);
1905 reg1
.Intersect(reg2
);
1906 dest
= reg1
.GetBox();
1908 if (dest
!= wxRect(0,0,0,0)) {
1909 bool blocked
= wxPyBeginBlockThreads();
1910 wxRect
* newRect
= new wxRect(dest
);
1911 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1912 wxPyEndBlockThreads(blocked
);
1920 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1926 } else if (target
== Py_None
) {
1930 if (!PyTuple_Check(target
)) {
1932 target
= PyTuple_New(1);
1933 PyTuple_SetItem(target
, 0, o2
);
1935 o3
= PyTuple_New(1);
1936 PyTuple_SetItem(o3
, 0, o
);
1939 target
= PySequence_Concat(o2
, o3
);
1947 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1951 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1952 bool blocked
= wxPyBeginBlockThreads();
1953 PyObject
* tup
= PyTuple_New(2);
1954 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1955 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1956 wxPyEndBlockThreads(blocked
);
1960 #include "wx/wxPython/pyistream.h"
1962 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1963 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1965 return new wxPyInputStream(wxis
);
1970 SWIGINTERNSHORT PyObject
*
1971 SWIG_From_char(char c
)
1973 return PyString_FromStringAndSize(&c
,1);
1977 SWIGINTERNSHORT PyObject
*
1978 SWIG_From_unsigned_SS_long(unsigned long value
)
1980 return (value
> LONG_MAX
) ?
1981 PyLong_FromUnsignedLong(value
)
1982 : PyInt_FromLong((long)(value
));
1986 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1988 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1990 static swig_type_info
* pchar_info
= 0;
1992 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1993 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1994 if (cptr
) *cptr
= vptr
;
1995 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
1999 if (PyString_Check(obj
)) {
2001 *cptr
= PyString_AS_STRING(obj
);
2003 *psize
= PyString_GET_SIZE(obj
) + 1;
2010 SWIG_type_error("char *", obj
);
2017 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2019 char* cptr
; size_t csize
;
2020 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2023 char x[5] = "hello";
2025 ie, assing the array using an extra '0' char.
2027 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2028 if (csize
<= size
) {
2030 if (csize
) memcpy(val
, cptr
, csize
);
2031 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2037 PyErr_Format(PyExc_TypeError
,
2038 "a char array of maximum size %lu is expected",
2039 (unsigned long) size
);
2046 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2048 const char* errmsg
= val
? "char" : (char*)0;
2050 if (SWIG_AsVal_long(obj
, &v
)) {
2051 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2052 if (val
) *val
= (char)(v
);
2059 return SWIG_AsCharArray(obj
, val
, 1);
2064 SWIGINTERNSHORT
char
2065 SWIG_As_char(PyObject
* obj
)
2068 if (!SWIG_AsVal_char(obj
, &v
)) {
2070 this is needed to make valgrind/purify happier.
2072 memset((void*)&v
, 0, sizeof(char));
2079 SWIG_Check_char(PyObject
* obj
)
2081 return SWIG_AsVal_char(obj
, (char*)0);
2085 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2086 #define SWIG_From_long PyInt_FromLong
2089 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2090 // We use only strings for the streams, not unicode
2091 PyObject
* str
= PyObject_Str(obj
);
2093 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2096 self
->Write(PyString_AS_STRING(str
),
2097 PyString_GET_SIZE(str
));
2101 #include "wx/wxPython/pyistream.h"
2104 class wxPyFileSystemHandler
: public wxFileSystemHandler
2107 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2109 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2110 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2111 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2112 DEC_PYCALLBACK_STRING__pure(FindNext
);
2114 wxString
GetProtocol(const wxString
& location
) {
2115 return wxFileSystemHandler::GetProtocol(location
);
2118 wxString
GetLeftLocation(const wxString
& location
) {
2119 return wxFileSystemHandler::GetLeftLocation(location
);
2122 wxString
GetAnchor(const wxString
& location
) {
2123 return wxFileSystemHandler::GetAnchor(location
);
2126 wxString
GetRightLocation(const wxString
& location
) {
2127 return wxFileSystemHandler::GetRightLocation(location
);
2130 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2131 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2138 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2139 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2140 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2141 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2145 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2147 if (obj
== Py_True
) {
2148 if (val
) *val
= true;
2151 if (obj
== Py_False
) {
2152 if (val
) *val
= false;
2156 if (SWIG_AsVal_int(obj
, &res
)) {
2157 if (val
) *val
= res
? true : false;
2163 SWIG_type_error("bool", obj
);
2169 SWIGINTERNSHORT
bool
2170 SWIG_As_bool(PyObject
* obj
)
2173 if (!SWIG_AsVal_bool(obj
, &v
)) {
2175 this is needed to make valgrind/purify happier.
2177 memset((void*)&v
, 0, sizeof(bool));
2184 SWIG_Check_bool(PyObject
* obj
)
2186 return SWIG_AsVal_bool(obj
, (bool*)0);
2189 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2190 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2191 return fname
.GetFullPath();
2194 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2197 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2200 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2201 const wxBitmap
& bitmap
,
2203 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2206 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2208 if (! PyString_Check(data
)) {
2209 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2210 "Expected string object"));
2214 bool blocked
= wxPyBeginBlockThreads();
2215 void* ptr
= (void*)PyString_AsString(data
);
2216 size_t size
= PyString_Size(data
);
2217 wxPyEndBlockThreads(blocked
);
2219 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2223 #include "wx/wxPython/pyistream.h"
2227 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2230 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2231 SWIG_type_error("unsigned number", obj
);
2234 *val
= (unsigned long)v
;
2240 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2241 unsigned long max_value
,
2244 if (value
> max_value
) {
2246 PyErr_Format(PyExc_OverflowError
,
2247 "value %lu is greater than '%s' minimum %lu",
2248 value
, errmsg
, max_value
);
2257 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2259 const char* errmsg
= val
? "unsigned char" : (char*)0;
2261 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2262 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2263 if (val
) *val
= (unsigned char)(v
);
2272 SWIG_type_error(errmsg
, obj
);
2278 SWIGINTERNSHORT
unsigned char
2279 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2282 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2284 this is needed to make valgrind/purify happier.
2286 memset((void*)&v
, 0, sizeof(unsigned char));
2293 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2295 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2299 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2300 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2304 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2305 if (width
> 0 && height
> 0)
2306 return new wxImage(width
, height
, clear
);
2310 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2311 return new wxImage(bitmap
.ConvertToImage());
2313 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
2314 // Copy the source data so the wxImage can clean it up later
2315 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
2320 memcpy(copy
, data
, width
*height
*3);
2321 return new wxImage(width
, height
, copy
, false);
2323 static wxImage
*new_wxImage(int width
,int height
,unsigned char *data
,unsigned char *alpha
){
2324 // Copy the source data so the wxImage can clean it up later
2325 unsigned char* dcopy
= (unsigned char*)malloc(width
*height
*3);
2326 if (dcopy
== NULL
) {
2330 memcpy(dcopy
, data
, width
*height
*3);
2331 unsigned char* acopy
= (unsigned char*)malloc(width
*height
);
2332 if (acopy
== NULL
) {
2336 memcpy(acopy
, alpha
, width
*height
);
2338 return new wxImage(width
, height
, dcopy
, acopy
, false);
2340 static wxSize
wxImage_GetSize(wxImage
*self
){
2341 wxSize
size(self
->GetWidth(), self
->GetHeight());
2344 static PyObject
*wxImage_GetData(wxImage
*self
){
2345 unsigned char* data
= self
->GetData();
2346 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2348 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2351 static void wxImage_SetData(wxImage
*self
,PyObject
*data
){
2352 unsigned char* dataPtr
;
2354 if (! PyString_Check(data
)) {
2355 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2356 "Expected string object"));
2360 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
2361 dataPtr
= (unsigned char*) malloc(len
);
2362 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2363 self
->SetData(dataPtr
);
2364 // wxImage takes ownership of dataPtr...
2366 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2367 unsigned char* data
= self
->GetData();
2368 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2370 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2373 static void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
2374 unsigned char* buffer
;
2377 bool blocked
= wxPyBeginBlockThreads();
2378 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2381 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
2382 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2385 self
->SetData(buffer
);
2387 wxPyEndBlockThreads(blocked
);
2389 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2390 unsigned char* data
= self
->GetAlpha();
2394 int len
= self
->GetWidth() * self
->GetHeight();
2396 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2400 static void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
2401 unsigned char* dataPtr
;
2403 if (! PyString_Check(data
)) {
2404 PyErr_SetString(PyExc_TypeError
, "Expected string object");
2408 size_t len
= self
->GetWidth() * self
->GetHeight();
2409 dataPtr
= (unsigned char*) malloc(len
);
2410 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
2411 self
->SetAlpha(dataPtr
);
2412 // wxImage takes ownership of dataPtr...
2414 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2415 unsigned char* data
= self
->GetAlpha();
2416 int len
= self
->GetWidth() * self
->GetHeight();
2418 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2421 static void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
2422 unsigned char* buffer
;
2425 bool blocked
= wxPyBeginBlockThreads();
2426 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
2429 if (size
!= self
->GetWidth() * self
->GetHeight()) {
2430 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
2433 self
->SetAlpha(buffer
);
2435 wxPyEndBlockThreads(blocked
);
2438 SWIGINTERNSHORT
unsigned long
2439 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2442 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2444 this is needed to make valgrind/purify happier.
2446 memset((void*)&v
, 0, sizeof(unsigned long));
2453 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2455 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2458 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2459 wxBitmap
bitmap(*self
, depth
);
2462 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
2463 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2464 wxBitmap
bitmap( mono
, 1 );
2467 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2468 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2469 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2470 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2471 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2472 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2473 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2474 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2475 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2476 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2477 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2478 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2479 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2480 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2481 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2483 #include <wx/quantize.h>
2485 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2486 return wxQuantize::Quantize(src
, dest
,
2489 NULL
, // eightBitData
2492 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2493 if (PyCallable_Check(func
)) {
2494 self
->Connect(id
, lastId
, eventType
,
2495 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2496 new wxPyCallback(func
));
2498 else if (func
== Py_None
) {
2499 self
->Disconnect(id
, lastId
, eventType
,
2500 (wxObjectEventFunction
)
2501 &wxPyCallback::EventThunker
);
2505 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2508 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2509 return self
->Disconnect(id
, lastId
, eventType
,
2510 (wxObjectEventFunction
)
2511 &wxPyCallback::EventThunker
);
2513 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2514 if (_self
&& _self
!= Py_None
) {
2515 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2518 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2520 self
->SetClientObject(NULL
); // This will delete it too
2525 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2527 return self
->GetUnicodeKey();
2533 #if UINT_MAX < LONG_MAX
2534 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2535 #define SWIG_From_unsigned_SS_int SWIG_From_long
2538 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2539 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2544 #if UINT_MAX != ULONG_MAX
2546 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2548 const char* errmsg
= val
? "unsigned int" : (char*)0;
2550 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2551 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2552 if (val
) *val
= (unsigned int)(v
);
2559 SWIG_type_error(errmsg
, obj
);
2564 SWIGINTERNSHORT
unsigned int
2565 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2567 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2572 SWIGINTERNSHORT
unsigned int
2573 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2576 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2578 this is needed to make valgrind/purify happier.
2580 memset((void*)&v
, 0, sizeof(unsigned int));
2587 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2589 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2592 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2593 self
->m_size
= size
;
2595 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2596 int count
= self
->GetNumberOfFiles();
2597 wxString
* files
= self
->GetFiles();
2598 PyObject
* list
= PyList_New(count
);
2601 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2605 for (int i
=0; i
<count
; i
++) {
2606 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2612 static wxPyApp
*new_wxPyApp(){
2613 wxPythonApp
= new wxPyApp();
2616 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2618 void wxApp_CleanUp() {
2623 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2627 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2629 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2634 SWIG_type_error("char *", obj
);
2640 SWIGINTERN PyObject
*
2641 SWIG_FromCharPtr(const char* cptr
)
2644 size_t size
= strlen(cptr
);
2645 if (size
> INT_MAX
) {
2646 return SWIG_NewPointerObj((char*)(cptr
),
2647 SWIG_TypeQuery("char *"), 0);
2650 return PyString_FromStringAndSize(cptr
, size
);
2652 return PyString_FromString(cptr
);
2663 // A dummy class that raises an exception if used...
2667 wxEventLoop() { wxPyRaiseNotImplemented(); }
2668 int Run() { return 0; }
2669 void Exit(int rc
= 0) {}
2670 bool Pending() const { return false; }
2671 bool Dispatch() { return false; }
2672 bool IsRunning() const { return false; }
2673 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2674 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2679 #include <wx/evtloop.h>
2685 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2686 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2687 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2688 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2689 wxWindowList
& list
= self
->GetChildren();
2690 return wxPy_ConvertList(&list
);
2692 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2694 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2699 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2706 static long wxWindow_GetHandle(wxWindow
*self
){
2707 return wxPyGetWinHandle(self
);
2709 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2710 self
->AssociateHandle((WXWidget
)handle
);
2713 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2714 return wxWindow::FindWindowById(id
, parent
);
2717 wxWindow
* wxFindWindowByName( const wxString
& name
,
2718 const wxWindow
*parent
= NULL
) {
2719 return wxWindow::FindWindowByName(name
, parent
);
2722 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2723 const wxWindow
*parent
= NULL
) {
2724 return wxWindow::FindWindowByLabel(label
, parent
);
2729 #include <wx/msw/private.h> // to get wxGetWindowId
2733 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2735 WXHWND hWnd
= (WXHWND
)_hWnd
;
2736 long id
= wxGetWindowId(hWnd
);
2737 wxWindow
* win
= new wxWindow
;
2738 parent
->AddChild(win
);
2739 win
->SetEventHandler(win
);
2742 win
->SubclassWin(hWnd
);
2743 win
->AdoptAttributesFromHWND();
2744 win
->SetupColours();
2747 wxPyRaiseNotImplemented();
2753 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2754 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2755 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2757 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2759 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2760 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2761 wxMenuItemList
& list
= self
->GetMenuItems();
2762 return wxPy_ConvertList(&list
);
2764 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2765 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2766 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2767 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2768 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2769 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2770 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2771 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2772 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2773 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2774 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2775 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2776 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2777 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2778 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2779 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2780 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2782 wxPyClientData
* data
= new wxPyClientData(clientData
);
2783 return self
->Append(item
, data
);
2785 return self
->Append(item
);
2787 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2789 wxPyClientData
* data
= new wxPyClientData(clientData
);
2790 return self
->Insert(item
, pos
, data
);
2792 return self
->Insert(item
, pos
);
2794 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2795 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2797 Py_INCREF(data
->m_obj
);
2804 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2805 wxPyClientData
* data
= new wxPyClientData(clientData
);
2806 self
->SetClientObject(n
, data
);
2810 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2811 wxPyUserData
* data
= NULL
;
2813 bool blocked
= wxPyBeginBlockThreads();
2814 data
= new wxPyUserData(userData
);
2815 wxPyEndBlockThreads(blocked
);
2817 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2819 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2820 wxPyUserData
* data
= NULL
;
2822 bool blocked
= wxPyBeginBlockThreads();
2823 data
= new wxPyUserData(userData
);
2824 wxPyEndBlockThreads(blocked
);
2826 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2828 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2829 wxPyUserData
* data
= NULL
;
2831 bool blocked
= wxPyBeginBlockThreads();
2832 data
= new wxPyUserData(userData
);
2833 wxPyEndBlockThreads(blocked
);
2835 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2840 SWIG_CheckDoubleInRange(double value
, double min_value
,
2841 double max_value
, const char* errmsg
)
2843 if (value
< min_value
) {
2845 PyErr_Format(PyExc_OverflowError
,
2846 "value %g is less than %s minimum %g",
2847 value
, errmsg
, min_value
);
2850 } else if (value
> max_value
) {
2852 PyErr_Format(PyExc_OverflowError
,
2853 "value %g is greater than %s maximum %g",
2854 value
, errmsg
, max_value
);
2863 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2865 const char* errmsg
= val
? "float" : (char*)0;
2867 if (SWIG_AsVal_double(obj
, &v
)) {
2868 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2869 if (val
) *val
= (float)(v
);
2878 SWIG_type_error(errmsg
, obj
);
2884 SWIGINTERNSHORT
float
2885 SWIG_As_float(PyObject
* obj
)
2888 if (!SWIG_AsVal_float(obj
, &v
)) {
2890 this is needed to make valgrind/purify happier.
2892 memset((void*)&v
, 0, sizeof(float));
2899 SWIG_Check_float(PyObject
* obj
)
2901 return SWIG_AsVal_float(obj
, (float*)0);
2905 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2906 #define SWIG_From_float PyFloat_FromDouble
2909 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2910 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2912 Py_INCREF(data
->m_obj
);
2920 // Figure out the type of the sizer item
2922 struct wxPySizerItemInfo
{
2924 : window(NULL
), sizer(NULL
), gotSize(false),
2925 size(wxDefaultSize
), gotPos(false), pos(-1)
2936 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2938 wxPySizerItemInfo info
;
2940 wxSize
* sizePtr
= &size
;
2942 // Find out what the type of the item is
2944 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2949 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2953 // try wxSize or (w,h)
2954 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2955 info
.size
= *sizePtr
;
2956 info
.gotSize
= true;
2960 if (checkIdx
&& PyInt_Check(item
)) {
2961 info
.pos
= PyInt_AsLong(item
);
2967 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2968 // no expected type, figure out what kind of error message to generate
2969 if ( !checkSize
&& !checkIdx
)
2970 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2971 else if ( checkSize
&& !checkIdx
)
2972 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
2973 else if ( !checkSize
&& checkIdx
)
2974 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
2976 // can this one happen?
2977 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
2983 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
2984 if (!self
->GetClientObject())
2985 self
->SetClientObject(new wxPyOORClientData(_self
));
2987 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
2989 wxPyUserData
* data
= NULL
;
2990 bool blocked
= wxPyBeginBlockThreads();
2991 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
2992 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
2993 data
= new wxPyUserData(userData
);
2994 wxPyEndBlockThreads(blocked
);
2996 // Now call the real Add method if a valid item type was found
2998 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
2999 else if ( info
.sizer
)
3000 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3001 else if (info
.gotSize
)
3002 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3003 proportion
, flag
, border
, data
);
3007 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3009 wxPyUserData
* data
= NULL
;
3010 bool blocked
= wxPyBeginBlockThreads();
3011 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3012 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3013 data
= new wxPyUserData(userData
);
3014 wxPyEndBlockThreads(blocked
);
3016 // Now call the real Insert method if a valid item type was found
3018 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3019 else if ( info
.sizer
)
3020 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3021 else if (info
.gotSize
)
3022 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3023 proportion
, flag
, border
, data
);
3027 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3029 wxPyUserData
* data
= NULL
;
3030 bool blocked
= wxPyBeginBlockThreads();
3031 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3032 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3033 data
= new wxPyUserData(userData
);
3034 wxPyEndBlockThreads(blocked
);
3036 // Now call the real Prepend method if a valid item type was found
3038 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3039 else if ( info
.sizer
)
3040 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3041 else if (info
.gotSize
)
3042 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3043 proportion
, flag
, border
, data
);
3047 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3048 bool blocked
= wxPyBeginBlockThreads();
3049 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3050 wxPyEndBlockThreads(blocked
);
3052 return self
->Remove(info
.window
);
3053 else if ( info
.sizer
)
3054 return self
->Remove(info
.sizer
);
3055 else if ( info
.gotPos
)
3056 return self
->Remove(info
.pos
);
3060 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3061 bool blocked
= wxPyBeginBlockThreads();
3062 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3063 wxPyEndBlockThreads(blocked
);
3065 return self
->Detach(info
.window
);
3066 else if ( info
.sizer
)
3067 return self
->Detach(info
.sizer
);
3068 else if ( info
.gotPos
)
3069 return self
->Detach(info
.pos
);
3073 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3074 bool blocked
= wxPyBeginBlockThreads();
3075 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3076 wxPyEndBlockThreads(blocked
);
3078 return self
->GetItem(info
.window
);
3079 else if ( info
.sizer
)
3080 return self
->GetItem(info
.sizer
);
3081 else if ( info
.gotPos
)
3082 return self
->GetItem(info
.pos
);
3086 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3087 bool blocked
= wxPyBeginBlockThreads();
3088 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3089 wxPyEndBlockThreads(blocked
);
3091 self
->SetItemMinSize(info
.window
, size
);
3092 else if ( info
.sizer
)
3093 self
->SetItemMinSize(info
.sizer
, size
);
3094 else if ( info
.gotPos
)
3095 self
->SetItemMinSize(info
.pos
, size
);
3097 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3098 wxSizerItemList
& list
= self
->GetChildren();
3099 return wxPy_ConvertList(&list
);
3101 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3102 bool blocked
= wxPyBeginBlockThreads();
3103 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3104 wxPyEndBlockThreads(blocked
);
3106 return self
->Show(info
.window
, show
, recursive
);
3107 else if ( info
.sizer
)
3108 return self
->Show(info
.sizer
, show
, recursive
);
3109 else if ( info
.gotPos
)
3110 return self
->Show(info
.pos
, show
);
3114 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3115 bool blocked
= wxPyBeginBlockThreads();
3116 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3117 wxPyEndBlockThreads(blocked
);
3119 return self
->IsShown(info
.window
);
3120 else if ( info
.sizer
)
3121 return self
->IsShown(info
.sizer
);
3122 else if ( info
.gotPos
)
3123 return self
->IsShown(info
.pos
);
3129 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3130 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3131 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3136 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3138 if (source
== Py_None
) {
3139 **obj
= wxGBPosition(-1,-1);
3142 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3145 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3147 if (source
== Py_None
) {
3148 **obj
= wxGBSpan(-1,-1);
3151 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3155 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3159 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3160 bool blocked
= wxPyBeginBlockThreads();
3161 PyObject
* tup
= PyTuple_New(2);
3162 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3163 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3164 wxPyEndBlockThreads(blocked
);
3167 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3168 self
->SetRowspan(rowspan
);
3169 self
->SetColspan(colspan
);
3171 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3172 bool blocked
= wxPyBeginBlockThreads();
3173 PyObject
* tup
= PyTuple_New(2);
3174 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3175 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3176 wxPyEndBlockThreads(blocked
);
3179 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3180 wxPyUserData
* data
= NULL
;
3182 bool blocked
= wxPyBeginBlockThreads();
3183 data
= new wxPyUserData(userData
);
3184 wxPyEndBlockThreads(blocked
);
3186 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3188 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3189 wxPyUserData
* data
= NULL
;
3191 bool blocked
= wxPyBeginBlockThreads();
3192 data
= new wxPyUserData(userData
);
3193 wxPyEndBlockThreads(blocked
);
3195 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3197 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3198 wxPyUserData
* data
= NULL
;
3200 bool blocked
= wxPyBeginBlockThreads();
3201 data
= new wxPyUserData(userData
);
3202 wxPyEndBlockThreads(blocked
);
3204 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3206 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3208 self
->GetEndPos(row
, col
);
3209 return wxGBPosition(row
, col
);
3211 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3213 wxPyUserData
* data
= NULL
;
3214 bool blocked
= wxPyBeginBlockThreads();
3215 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3216 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3217 data
= new wxPyUserData(userData
);
3218 wxPyEndBlockThreads(blocked
);
3220 // Now call the real Add method if a valid item type was found
3222 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3223 else if ( info
.sizer
)
3224 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3225 else if (info
.gotSize
)
3226 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3227 pos
, span
, flag
, border
, data
);
3235 static int _wrap_EmptyString_set(PyObject
*) {
3236 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3241 static PyObject
*_wrap_EmptyString_get(void) {
3246 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3248 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3255 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
*resultobj
;
3257 wxObject
*arg1
= (wxObject
*) 0 ;
3259 PyObject
* obj0
= 0 ;
3261 (char *) "self", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3266 if (SWIG_arg_fail(1)) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 result
= wxObject_GetClassName(arg1
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3287 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3289 wxObject
*arg1
= (wxObject
*) 0 ;
3290 PyObject
* obj0
= 0 ;
3292 (char *) "self", NULL
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3297 if (SWIG_arg_fail(1)) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 wxObject_Destroy(arg1
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 Py_INCREF(Py_None
); resultobj
= Py_None
;
3312 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3315 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3317 return Py_BuildValue((char *)"");
3319 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
*resultobj
;
3321 wxSize
*arg1
= (wxSize
*) 0 ;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3326 (char *) "self",(char *) "x", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3331 if (SWIG_arg_fail(1)) SWIG_fail
;
3333 arg2
= (int)(SWIG_As_int(obj1
));
3334 if (SWIG_arg_fail(2)) SWIG_fail
;
3336 if (arg1
) (arg1
)->x
= arg2
;
3338 Py_INCREF(Py_None
); resultobj
= Py_None
;
3345 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxSize
*arg1
= (wxSize
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3351 (char *) "self", NULL
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3356 if (SWIG_arg_fail(1)) SWIG_fail
;
3357 result
= (int) ((arg1
)->x
);
3360 resultobj
= SWIG_From_int((int)(result
));
3368 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxSize
*arg1
= (wxSize
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3375 (char *) "self",(char *) "y", NULL
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3380 if (SWIG_arg_fail(1)) SWIG_fail
;
3382 arg2
= (int)(SWIG_As_int(obj1
));
3383 if (SWIG_arg_fail(2)) SWIG_fail
;
3385 if (arg1
) (arg1
)->y
= arg2
;
3387 Py_INCREF(Py_None
); resultobj
= Py_None
;
3394 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxSize
*arg1
= (wxSize
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3400 (char *) "self", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3405 if (SWIG_arg_fail(1)) SWIG_fail
;
3406 result
= (int) ((arg1
)->y
);
3409 resultobj
= SWIG_From_int((int)(result
));
3417 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 int arg1
= (int) 0 ;
3420 int arg2
= (int) 0 ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3425 (char *) "w",(char *) "h", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 arg1
= (int)(SWIG_As_int(obj0
));
3432 if (SWIG_arg_fail(1)) SWIG_fail
;
3437 arg2
= (int)(SWIG_As_int(obj1
));
3438 if (SWIG_arg_fail(2)) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3455 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxSize
*arg1
= (wxSize
*) 0 ;
3458 PyObject
* obj0
= 0 ;
3460 (char *) "self", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3465 if (SWIG_arg_fail(1)) SWIG_fail
;
3467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 wxPyEndAllowThreads(__tstate
);
3471 if (PyErr_Occurred()) SWIG_fail
;
3473 Py_INCREF(Py_None
); resultobj
= Py_None
;
3480 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3482 wxSize
*arg1
= (wxSize
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3487 PyObject
* obj1
= 0 ;
3489 (char *) "self",(char *) "sz", NULL
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3494 if (SWIG_arg_fail(1)) SWIG_fail
;
3497 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3515 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxSize
*arg1
= (wxSize
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3524 (char *) "self",(char *) "sz", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3529 if (SWIG_arg_fail(1)) SWIG_fail
;
3532 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3550 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxSize
*arg1
= (wxSize
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3557 PyObject
* obj1
= 0 ;
3559 (char *) "self",(char *) "sz", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3564 if (SWIG_arg_fail(1)) SWIG_fail
;
3567 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3578 resultptr
= new wxSize((wxSize
&)(result
));
3579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3587 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxSize
*arg1
= (wxSize
*) 0 ;
3593 PyObject
* obj0
= 0 ;
3594 PyObject
* obj1
= 0 ;
3596 (char *) "self",(char *) "sz", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3601 if (SWIG_arg_fail(1)) SWIG_fail
;
3604 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3615 resultptr
= new wxSize((wxSize
&)(result
));
3616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3624 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxSize
*arg1
= (wxSize
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3630 PyObject
* obj1
= 0 ;
3632 (char *) "self",(char *) "sz", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3637 if (SWIG_arg_fail(1)) SWIG_fail
;
3640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 (arg1
)->IncTo((wxSize
const &)*arg2
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxSize
*arg1
= (wxSize
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3664 (char *) "self",(char *) "sz", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3669 if (SWIG_arg_fail(1)) SWIG_fail
;
3672 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 (arg1
)->DecTo((wxSize
const &)*arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxSize
*arg1
= (wxSize
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3695 PyObject
* obj2
= 0 ;
3697 (char *) "self",(char *) "w",(char *) "h", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3702 if (SWIG_arg_fail(1)) SWIG_fail
;
3704 arg2
= (int)(SWIG_As_int(obj1
));
3705 if (SWIG_arg_fail(2)) SWIG_fail
;
3708 arg3
= (int)(SWIG_As_int(obj2
));
3709 if (SWIG_arg_fail(3)) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 (arg1
)->Set(arg2
,arg3
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 Py_INCREF(Py_None
); resultobj
= Py_None
;
3725 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3727 wxSize
*arg1
= (wxSize
*) 0 ;
3729 PyObject
* obj0
= 0 ;
3730 PyObject
* obj1
= 0 ;
3732 (char *) "self",(char *) "w", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3737 if (SWIG_arg_fail(1)) SWIG_fail
;
3739 arg2
= (int)(SWIG_As_int(obj1
));
3740 if (SWIG_arg_fail(2)) SWIG_fail
;
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3744 (arg1
)->SetWidth(arg2
);
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 Py_INCREF(Py_None
); resultobj
= Py_None
;
3756 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxSize
*arg1
= (wxSize
*) 0 ;
3760 PyObject
* obj0
= 0 ;
3761 PyObject
* obj1
= 0 ;
3763 (char *) "self",(char *) "h", NULL
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3768 if (SWIG_arg_fail(1)) SWIG_fail
;
3770 arg2
= (int)(SWIG_As_int(obj1
));
3771 if (SWIG_arg_fail(2)) SWIG_fail
;
3774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3775 (arg1
)->SetHeight(arg2
);
3777 wxPyEndAllowThreads(__tstate
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3780 Py_INCREF(Py_None
); resultobj
= Py_None
;
3787 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
*resultobj
;
3789 wxSize
*arg1
= (wxSize
*) 0 ;
3791 PyObject
* obj0
= 0 ;
3793 (char *) "self", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
3797 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3798 if (SWIG_arg_fail(1)) SWIG_fail
;
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3801 result
= (int)((wxSize
const *)arg1
)->GetWidth();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_From_int((int)(result
));
3815 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxSize
*arg1
= (wxSize
*) 0 ;
3819 PyObject
* obj0
= 0 ;
3821 (char *) "self", NULL
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
3825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3826 if (SWIG_arg_fail(1)) SWIG_fail
;
3828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3829 result
= (int)((wxSize
const *)arg1
)->GetHeight();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_From_int((int)(result
));
3843 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxSize
*arg1
= (wxSize
*) 0 ;
3847 PyObject
* obj0
= 0 ;
3849 (char *) "self", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3854 if (SWIG_arg_fail(1)) SWIG_fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3871 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxSize
*arg1
= (wxSize
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3879 (char *) "self",(char *) "size", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3884 if (SWIG_arg_fail(1)) SWIG_fail
;
3887 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxSize
*arg1
= (wxSize
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3909 (char *) "self", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3914 if (SWIG_arg_fail(1)) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (PyObject
*)wxSize_Get(arg1
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3929 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3932 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3934 return Py_BuildValue((char *)"");
3936 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3943 (char *) "self",(char *) "x", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3948 if (SWIG_arg_fail(1)) SWIG_fail
;
3950 arg2
= (double)(SWIG_As_double(obj1
));
3951 if (SWIG_arg_fail(2)) SWIG_fail
;
3953 if (arg1
) (arg1
)->x
= arg2
;
3955 Py_INCREF(Py_None
); resultobj
= Py_None
;
3962 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
*resultobj
;
3964 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3966 PyObject
* obj0
= 0 ;
3968 (char *) "self", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
3972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3973 if (SWIG_arg_fail(1)) SWIG_fail
;
3974 result
= (double) ((arg1
)->x
);
3977 resultobj
= SWIG_From_double((double)(result
));
3985 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3992 (char *) "self",(char *) "y", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3997 if (SWIG_arg_fail(1)) SWIG_fail
;
3999 arg2
= (double)(SWIG_As_double(obj1
));
4000 if (SWIG_arg_fail(2)) SWIG_fail
;
4002 if (arg1
) (arg1
)->y
= arg2
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4011 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4017 (char *) "self", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4022 if (SWIG_arg_fail(1)) SWIG_fail
;
4023 result
= (double) ((arg1
)->y
);
4026 resultobj
= SWIG_From_double((double)(result
));
4034 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 double arg1
= (double) 0.0 ;
4037 double arg2
= (double) 0.0 ;
4038 wxRealPoint
*result
;
4039 PyObject
* obj0
= 0 ;
4040 PyObject
* obj1
= 0 ;
4042 (char *) "x",(char *) "y", NULL
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4048 arg1
= (double)(SWIG_As_double(obj0
));
4049 if (SWIG_arg_fail(1)) SWIG_fail
;
4054 arg2
= (double)(SWIG_As_double(obj1
));
4055 if (SWIG_arg_fail(2)) SWIG_fail
;
4059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4060 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4062 wxPyEndAllowThreads(__tstate
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4072 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
*resultobj
;
4074 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4075 PyObject
* obj0
= 0 ;
4077 (char *) "self", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4082 if (SWIG_arg_fail(1)) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 Py_INCREF(Py_None
); resultobj
= Py_None
;
4097 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4100 wxRealPoint
*arg2
= 0 ;
4103 PyObject
* obj0
= 0 ;
4104 PyObject
* obj1
= 0 ;
4106 (char *) "self",(char *) "pt", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4111 if (SWIG_arg_fail(1)) SWIG_fail
;
4114 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4132 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4135 wxRealPoint
*arg2
= 0 ;
4138 PyObject
* obj0
= 0 ;
4139 PyObject
* obj1
= 0 ;
4141 (char *) "self",(char *) "pt", NULL
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4146 if (SWIG_arg_fail(1)) SWIG_fail
;
4149 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4167 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4170 wxRealPoint
*arg2
= 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4176 (char *) "self",(char *) "pt", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4181 if (SWIG_arg_fail(1)) SWIG_fail
;
4184 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4194 wxRealPoint
* resultptr
;
4195 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4204 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4207 wxRealPoint
*arg2
= 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4213 (char *) "self",(char *) "pt", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4218 if (SWIG_arg_fail(1)) SWIG_fail
;
4221 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4231 wxRealPoint
* resultptr
;
4232 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4241 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4248 PyObject
* obj2
= 0 ;
4250 (char *) "self",(char *) "x",(char *) "y", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4255 if (SWIG_arg_fail(1)) SWIG_fail
;
4257 arg2
= (double)(SWIG_As_double(obj1
));
4258 if (SWIG_arg_fail(2)) SWIG_fail
;
4261 arg3
= (double)(SWIG_As_double(obj2
));
4262 if (SWIG_arg_fail(3)) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 wxRealPoint_Set(arg1
,arg2
,arg3
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 Py_INCREF(Py_None
); resultobj
= Py_None
;
4278 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4282 PyObject
* obj0
= 0 ;
4284 (char *) "self", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4289 if (SWIG_arg_fail(1)) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4304 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4307 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4309 return Py_BuildValue((char *)"");
4311 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxPoint
*arg1
= (wxPoint
*) 0 ;
4315 PyObject
* obj0
= 0 ;
4316 PyObject
* obj1
= 0 ;
4318 (char *) "self",(char *) "x", NULL
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4323 if (SWIG_arg_fail(1)) SWIG_fail
;
4325 arg2
= (int)(SWIG_As_int(obj1
));
4326 if (SWIG_arg_fail(2)) SWIG_fail
;
4328 if (arg1
) (arg1
)->x
= arg2
;
4330 Py_INCREF(Py_None
); resultobj
= Py_None
;
4337 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxPoint
*arg1
= (wxPoint
*) 0 ;
4341 PyObject
* obj0
= 0 ;
4343 (char *) "self", NULL
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4348 if (SWIG_arg_fail(1)) SWIG_fail
;
4349 result
= (int) ((arg1
)->x
);
4352 resultobj
= SWIG_From_int((int)(result
));
4360 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
;
4362 wxPoint
*arg1
= (wxPoint
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4367 (char *) "self",(char *) "y", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4371 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4372 if (SWIG_arg_fail(1)) SWIG_fail
;
4374 arg2
= (int)(SWIG_As_int(obj1
));
4375 if (SWIG_arg_fail(2)) SWIG_fail
;
4377 if (arg1
) (arg1
)->y
= arg2
;
4379 Py_INCREF(Py_None
); resultobj
= Py_None
;
4386 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxPoint
*arg1
= (wxPoint
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4392 (char *) "self", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4397 if (SWIG_arg_fail(1)) SWIG_fail
;
4398 result
= (int) ((arg1
)->y
);
4401 resultobj
= SWIG_From_int((int)(result
));
4409 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 int arg1
= (int) 0 ;
4412 int arg2
= (int) 0 ;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4417 (char *) "x",(char *) "y", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4423 arg1
= (int)(SWIG_As_int(obj0
));
4424 if (SWIG_arg_fail(1)) SWIG_fail
;
4429 arg2
= (int)(SWIG_As_int(obj1
));
4430 if (SWIG_arg_fail(2)) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4447 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4449 wxPoint
*arg1
= (wxPoint
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4452 (char *) "self", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4457 if (SWIG_arg_fail(1)) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 Py_INCREF(Py_None
); resultobj
= Py_None
;
4472 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxPoint
*arg1
= (wxPoint
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4481 (char *) "self",(char *) "pt", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4486 if (SWIG_arg_fail(1)) SWIG_fail
;
4489 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4507 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxPoint
*arg1
= (wxPoint
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4516 (char *) "self",(char *) "pt", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4520 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4521 if (SWIG_arg_fail(1)) SWIG_fail
;
4524 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4542 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxPoint
*arg1
= (wxPoint
*) 0 ;
4548 PyObject
* obj0
= 0 ;
4549 PyObject
* obj1
= 0 ;
4551 (char *) "self",(char *) "pt", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4556 if (SWIG_arg_fail(1)) SWIG_fail
;
4559 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4569 wxPoint
* resultptr
;
4570 resultptr
= new wxPoint((wxPoint
&)(result
));
4571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4579 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxPoint
*arg1
= (wxPoint
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4588 (char *) "self",(char *) "pt", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4593 if (SWIG_arg_fail(1)) SWIG_fail
;
4596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4606 wxPoint
* resultptr
;
4607 resultptr
= new wxPoint((wxPoint
&)(result
));
4608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4616 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxPoint
*arg1
= (wxPoint
*) 0 ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4625 (char *) "self",(char *) "pt", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4629 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4630 if (SWIG_arg_fail(1)) SWIG_fail
;
4633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4639 result
= (wxPoint
*) &_result_ref
;
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4652 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4654 wxPoint
*arg1
= (wxPoint
*) 0 ;
4658 PyObject
* obj0
= 0 ;
4659 PyObject
* obj1
= 0 ;
4661 (char *) "self",(char *) "pt", NULL
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4666 if (SWIG_arg_fail(1)) SWIG_fail
;
4669 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4675 result
= (wxPoint
*) &_result_ref
;
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4688 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxPoint
*arg1
= (wxPoint
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4695 PyObject
* obj2
= 0 ;
4697 (char *) "self",(char *) "x",(char *) "y", NULL
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4702 if (SWIG_arg_fail(1)) SWIG_fail
;
4704 arg2
= (long)(SWIG_As_long(obj1
));
4705 if (SWIG_arg_fail(2)) SWIG_fail
;
4708 arg3
= (long)(SWIG_As_long(obj2
));
4709 if (SWIG_arg_fail(3)) SWIG_fail
;
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 wxPoint_Set(arg1
,arg2
,arg3
);
4715 wxPyEndAllowThreads(__tstate
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4718 Py_INCREF(Py_None
); resultobj
= Py_None
;
4725 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
*resultobj
;
4727 wxPoint
*arg1
= (wxPoint
*) 0 ;
4729 PyObject
* obj0
= 0 ;
4731 (char *) "self", NULL
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4736 if (SWIG_arg_fail(1)) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= (PyObject
*)wxPoint_Get(arg1
);
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4751 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4754 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4756 return Py_BuildValue((char *)"");
4758 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 int arg1
= (int) 0 ;
4761 int arg2
= (int) 0 ;
4762 int arg3
= (int) 0 ;
4763 int arg4
= (int) 0 ;
4765 PyObject
* obj0
= 0 ;
4766 PyObject
* obj1
= 0 ;
4767 PyObject
* obj2
= 0 ;
4768 PyObject
* obj3
= 0 ;
4770 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4776 arg1
= (int)(SWIG_As_int(obj0
));
4777 if (SWIG_arg_fail(1)) SWIG_fail
;
4782 arg2
= (int)(SWIG_As_int(obj1
));
4783 if (SWIG_arg_fail(2)) SWIG_fail
;
4788 arg3
= (int)(SWIG_As_int(obj2
));
4789 if (SWIG_arg_fail(3)) SWIG_fail
;
4794 arg4
= (int)(SWIG_As_int(obj3
));
4795 if (SWIG_arg_fail(4)) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4802 wxPyEndAllowThreads(__tstate
);
4803 if (PyErr_Occurred()) SWIG_fail
;
4805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4812 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
*resultobj
;
4819 PyObject
* obj0
= 0 ;
4820 PyObject
* obj1
= 0 ;
4822 (char *) "topLeft",(char *) "bottomRight", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4828 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4848 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4855 PyObject
* obj0
= 0 ;
4856 PyObject
* obj1
= 0 ;
4858 (char *) "pos",(char *) "size", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4864 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4868 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4884 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4889 PyObject
* obj0
= 0 ;
4891 (char *) "size", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4897 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4913 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
;
4915 wxRect
*arg1
= (wxRect
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4918 (char *) "self", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4923 if (SWIG_arg_fail(1)) SWIG_fail
;
4925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 Py_INCREF(Py_None
); resultobj
= Py_None
;
4938 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4939 PyObject
*resultobj
;
4940 wxRect
*arg1
= (wxRect
*) 0 ;
4942 PyObject
* obj0
= 0 ;
4944 (char *) "self", NULL
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4949 if (SWIG_arg_fail(1)) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (int)((wxRect
const *)arg1
)->GetX();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= SWIG_From_int((int)(result
));
4966 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxRect
*arg1
= (wxRect
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4973 (char *) "self",(char *) "x", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
4977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4978 if (SWIG_arg_fail(1)) SWIG_fail
;
4980 arg2
= (int)(SWIG_As_int(obj1
));
4981 if (SWIG_arg_fail(2)) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 Py_INCREF(Py_None
); resultobj
= Py_None
;
4997 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxRect
*arg1
= (wxRect
*) 0 ;
5001 PyObject
* obj0
= 0 ;
5003 (char *) "self", NULL
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5008 if (SWIG_arg_fail(1)) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (int)(arg1
)->GetY();
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= SWIG_From_int((int)(result
));
5025 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxRect
*arg1
= (wxRect
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5032 (char *) "self",(char *) "y", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5037 if (SWIG_arg_fail(1)) SWIG_fail
;
5039 arg2
= (int)(SWIG_As_int(obj1
));
5040 if (SWIG_arg_fail(2)) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 Py_INCREF(Py_None
); resultobj
= Py_None
;
5056 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxRect
*arg1
= (wxRect
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5062 (char *) "self", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5067 if (SWIG_arg_fail(1)) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= SWIG_From_int((int)(result
));
5084 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxRect
*arg1
= (wxRect
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5091 (char *) "self",(char *) "w", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5095 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5096 if (SWIG_arg_fail(1)) SWIG_fail
;
5098 arg2
= (int)(SWIG_As_int(obj1
));
5099 if (SWIG_arg_fail(2)) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 (arg1
)->SetWidth(arg2
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 Py_INCREF(Py_None
); resultobj
= Py_None
;
5115 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxRect
*arg1
= (wxRect
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5121 (char *) "self", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5125 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5126 if (SWIG_arg_fail(1)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5129 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5131 wxPyEndAllowThreads(__tstate
);
5132 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_From_int((int)(result
));
5143 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxRect
*arg1
= (wxRect
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5150 (char *) "self",(char *) "h", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5155 if (SWIG_arg_fail(1)) SWIG_fail
;
5157 arg2
= (int)(SWIG_As_int(obj1
));
5158 if (SWIG_arg_fail(2)) SWIG_fail
;
5161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5162 (arg1
)->SetHeight(arg2
);
5164 wxPyEndAllowThreads(__tstate
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5167 Py_INCREF(Py_None
); resultobj
= Py_None
;
5174 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxRect
*arg1
= (wxRect
*) 0 ;
5178 PyObject
* obj0
= 0 ;
5180 (char *) "self", NULL
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5185 if (SWIG_arg_fail(1)) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 result
= ((wxRect
const *)arg1
)->GetPosition();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5194 wxPoint
* resultptr
;
5195 resultptr
= new wxPoint((wxPoint
&)(result
));
5196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5204 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxRect
*arg1
= (wxRect
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5212 (char *) "self",(char *) "p", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5217 if (SWIG_arg_fail(1)) SWIG_fail
;
5220 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5224 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5226 wxPyEndAllowThreads(__tstate
);
5227 if (PyErr_Occurred()) SWIG_fail
;
5229 Py_INCREF(Py_None
); resultobj
= Py_None
;
5236 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
;
5238 wxRect
*arg1
= (wxRect
*) 0 ;
5240 PyObject
* obj0
= 0 ;
5242 (char *) "self", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5247 if (SWIG_arg_fail(1)) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= ((wxRect
const *)arg1
)->GetSize();
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5257 resultptr
= new wxSize((wxSize
&)(result
));
5258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5266 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxRect
*arg1
= (wxRect
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5272 PyObject
* obj1
= 0 ;
5274 (char *) "self",(char *) "s", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5279 if (SWIG_arg_fail(1)) SWIG_fail
;
5282 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5286 (arg1
)->SetSize((wxSize
const &)*arg2
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 Py_INCREF(Py_None
); resultobj
= Py_None
;
5298 static PyObject
*_wrap_Rect_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxRect
*arg1
= (wxRect
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5304 (char *) "self", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_IsEmpty",kwnames
,&obj0
)) goto fail
;
5308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5309 if (SWIG_arg_fail(1)) SWIG_fail
;
5311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5312 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5314 wxPyEndAllowThreads(__tstate
);
5315 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5326 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxRect
*arg1
= (wxRect
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5332 (char *) "self", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5337 if (SWIG_arg_fail(1)) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5346 wxPoint
* resultptr
;
5347 resultptr
= new wxPoint((wxPoint
&)(result
));
5348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5356 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5357 PyObject
*resultobj
;
5358 wxRect
*arg1
= (wxRect
*) 0 ;
5361 PyObject
* obj0
= 0 ;
5362 PyObject
* obj1
= 0 ;
5364 (char *) "self",(char *) "p", NULL
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5369 if (SWIG_arg_fail(1)) SWIG_fail
;
5372 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 Py_INCREF(Py_None
); resultobj
= Py_None
;
5388 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
*resultobj
;
5390 wxRect
*arg1
= (wxRect
*) 0 ;
5392 PyObject
* obj0
= 0 ;
5394 (char *) "self", NULL
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5399 if (SWIG_arg_fail(1)) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5408 wxPoint
* resultptr
;
5409 resultptr
= new wxPoint((wxPoint
&)(result
));
5410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5418 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxRect
*arg1
= (wxRect
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5426 (char *) "self",(char *) "p", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5431 if (SWIG_arg_fail(1)) SWIG_fail
;
5434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 Py_INCREF(Py_None
); resultobj
= Py_None
;
5450 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxRect
*arg1
= (wxRect
*) 0 ;
5454 PyObject
* obj0
= 0 ;
5456 (char *) "self", NULL
5459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
5460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5461 if (SWIG_arg_fail(1)) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (int)((wxRect
const *)arg1
)->GetLeft();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= SWIG_From_int((int)(result
));
5478 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxRect
*arg1
= (wxRect
*) 0 ;
5482 PyObject
* obj0
= 0 ;
5484 (char *) "self", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
5488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5489 if (SWIG_arg_fail(1)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (int)((wxRect
const *)arg1
)->GetTop();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_From_int((int)(result
));
5506 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 wxRect
*arg1
= (wxRect
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5512 (char *) "self", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
5516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5517 if (SWIG_arg_fail(1)) SWIG_fail
;
5519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5520 result
= (int)((wxRect
const *)arg1
)->GetBottom();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= SWIG_From_int((int)(result
));
5534 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxRect
*arg1
= (wxRect
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "self", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (int)((wxRect
const *)arg1
)->GetRight();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_From_int((int)(result
));
5562 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxRect
*arg1
= (wxRect
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5569 (char *) "self",(char *) "left", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5573 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5574 if (SWIG_arg_fail(1)) SWIG_fail
;
5576 arg2
= (int)(SWIG_As_int(obj1
));
5577 if (SWIG_arg_fail(2)) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->SetLeft(arg2
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxRect
*arg1
= (wxRect
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "right", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5605 if (SWIG_arg_fail(1)) SWIG_fail
;
5607 arg2
= (int)(SWIG_As_int(obj1
));
5608 if (SWIG_arg_fail(2)) SWIG_fail
;
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 (arg1
)->SetRight(arg2
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5617 Py_INCREF(Py_None
); resultobj
= Py_None
;
5624 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 wxRect
*arg1
= (wxRect
*) 0 ;
5628 PyObject
* obj0
= 0 ;
5629 PyObject
* obj1
= 0 ;
5631 (char *) "self",(char *) "top", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5636 if (SWIG_arg_fail(1)) SWIG_fail
;
5638 arg2
= (int)(SWIG_As_int(obj1
));
5639 if (SWIG_arg_fail(2)) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 (arg1
)->SetTop(arg2
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 Py_INCREF(Py_None
); resultobj
= Py_None
;
5655 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxRect
*arg1
= (wxRect
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5662 (char *) "self",(char *) "bottom", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5667 if (SWIG_arg_fail(1)) SWIG_fail
;
5669 arg2
= (int)(SWIG_As_int(obj1
));
5670 if (SWIG_arg_fail(2)) SWIG_fail
;
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 (arg1
)->SetBottom(arg2
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 Py_INCREF(Py_None
); resultobj
= Py_None
;
5686 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxRect
*arg1
= (wxRect
*) 0 ;
5692 PyObject
* obj0
= 0 ;
5693 PyObject
* obj1
= 0 ;
5694 PyObject
* obj2
= 0 ;
5696 (char *) "self",(char *) "dx",(char *) "dy", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5701 if (SWIG_arg_fail(1)) SWIG_fail
;
5703 arg2
= (int)(SWIG_As_int(obj1
));
5704 if (SWIG_arg_fail(2)) SWIG_fail
;
5707 arg3
= (int)(SWIG_As_int(obj2
));
5708 if (SWIG_arg_fail(3)) SWIG_fail
;
5711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5714 result
= (wxRect
*) &_result_ref
;
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5727 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
*resultobj
;
5729 wxRect
*arg1
= (wxRect
*) 0 ;
5733 PyObject
* obj0
= 0 ;
5734 PyObject
* obj1
= 0 ;
5735 PyObject
* obj2
= 0 ;
5737 (char *) "self",(char *) "dx",(char *) "dy", NULL
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5742 if (SWIG_arg_fail(1)) SWIG_fail
;
5744 arg2
= (int)(SWIG_As_int(obj1
));
5745 if (SWIG_arg_fail(2)) SWIG_fail
;
5748 arg3
= (int)(SWIG_As_int(obj2
));
5749 if (SWIG_arg_fail(3)) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5755 result
= (wxRect
*) &_result_ref
;
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5768 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxRect
*arg1
= (wxRect
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 PyObject
* obj2
= 0 ;
5777 (char *) "self",(char *) "dx",(char *) "dy", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5782 if (SWIG_arg_fail(1)) SWIG_fail
;
5784 arg2
= (int)(SWIG_As_int(obj1
));
5785 if (SWIG_arg_fail(2)) SWIG_fail
;
5788 arg3
= (int)(SWIG_As_int(obj2
));
5789 if (SWIG_arg_fail(3)) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 (arg1
)->Offset(arg2
,arg3
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxRect
*arg1
= (wxRect
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5813 (char *) "self",(char *) "pt", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5818 if (SWIG_arg_fail(1)) SWIG_fail
;
5821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 (arg1
)->Offset((wxPoint
const &)*arg2
);
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 Py_INCREF(Py_None
); resultobj
= Py_None
;
5837 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxRect
*arg1
= (wxRect
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5846 (char *) "self",(char *) "rect", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5851 if (SWIG_arg_fail(1)) SWIG_fail
;
5854 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5858 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5865 resultptr
= new wxRect((wxRect
&)(result
));
5866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5874 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxRect
*arg1
= (wxRect
*) 0 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5883 (char *) "self",(char *) "rect", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5888 if (SWIG_arg_fail(1)) SWIG_fail
;
5891 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5902 resultptr
= new wxRect((wxRect
&)(result
));
5903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5911 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
;
5913 wxRect
*arg1
= (wxRect
*) 0 ;
5917 PyObject
* obj0
= 0 ;
5918 PyObject
* obj1
= 0 ;
5920 (char *) "self",(char *) "rect", NULL
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5925 if (SWIG_arg_fail(1)) SWIG_fail
;
5928 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5939 resultptr
= new wxRect((wxRect
&)(result
));
5940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5948 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxRect
*arg1
= (wxRect
*) 0 ;
5954 PyObject
* obj0
= 0 ;
5955 PyObject
* obj1
= 0 ;
5957 (char *) "self",(char *) "rect", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5962 if (SWIG_arg_fail(1)) SWIG_fail
;
5965 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5971 result
= (wxRect
*) &_result_ref
;
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
5984 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxRect
*arg1
= (wxRect
*) 0 ;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5993 (char *) "self",(char *) "rect", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5998 if (SWIG_arg_fail(1)) SWIG_fail
;
6001 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6019 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxRect
*arg1
= (wxRect
*) 0 ;
6025 PyObject
* obj0
= 0 ;
6026 PyObject
* obj1
= 0 ;
6028 (char *) "self",(char *) "rect", NULL
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6033 if (SWIG_arg_fail(1)) SWIG_fail
;
6036 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6042 wxPyEndAllowThreads(__tstate
);
6043 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6054 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
;
6056 wxRect
*arg1
= (wxRect
*) 0 ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 PyObject
* obj2
= 0 ;
6064 (char *) "self",(char *) "x",(char *) "y", NULL
6067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6069 if (SWIG_arg_fail(1)) SWIG_fail
;
6071 arg2
= (int)(SWIG_As_int(obj1
));
6072 if (SWIG_arg_fail(2)) SWIG_fail
;
6075 arg3
= (int)(SWIG_As_int(obj2
));
6076 if (SWIG_arg_fail(3)) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6094 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxRect
*arg1
= (wxRect
*) 0 ;
6100 PyObject
* obj0
= 0 ;
6101 PyObject
* obj1
= 0 ;
6103 (char *) "self",(char *) "pt", NULL
6106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6108 if (SWIG_arg_fail(1)) SWIG_fail
;
6111 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6129 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6130 PyObject
*resultobj
;
6131 wxRect
*arg1
= (wxRect
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6136 PyObject
* obj1
= 0 ;
6138 (char *) "self",(char *) "rect", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6143 if (SWIG_arg_fail(1)) SWIG_fail
;
6146 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6150 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6152 wxPyEndAllowThreads(__tstate
);
6153 if (PyErr_Occurred()) SWIG_fail
;
6156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6164 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
*resultobj
;
6166 wxRect
*arg1
= (wxRect
*) 0 ;
6168 PyObject
* obj0
= 0 ;
6169 PyObject
* obj1
= 0 ;
6171 (char *) "self",(char *) "x", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6176 if (SWIG_arg_fail(1)) SWIG_fail
;
6178 arg2
= (int)(SWIG_As_int(obj1
));
6179 if (SWIG_arg_fail(2)) SWIG_fail
;
6181 if (arg1
) (arg1
)->x
= arg2
;
6183 Py_INCREF(Py_None
); resultobj
= Py_None
;
6190 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxRect
*arg1
= (wxRect
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "self", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6201 if (SWIG_arg_fail(1)) SWIG_fail
;
6202 result
= (int) ((arg1
)->x
);
6205 resultobj
= SWIG_From_int((int)(result
));
6213 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxRect
*arg1
= (wxRect
*) 0 ;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6220 (char *) "self",(char *) "y", NULL
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6225 if (SWIG_arg_fail(1)) SWIG_fail
;
6227 arg2
= (int)(SWIG_As_int(obj1
));
6228 if (SWIG_arg_fail(2)) SWIG_fail
;
6230 if (arg1
) (arg1
)->y
= arg2
;
6232 Py_INCREF(Py_None
); resultobj
= Py_None
;
6239 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxRect
*arg1
= (wxRect
*) 0 ;
6243 PyObject
* obj0
= 0 ;
6245 (char *) "self", NULL
6248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6250 if (SWIG_arg_fail(1)) SWIG_fail
;
6251 result
= (int) ((arg1
)->y
);
6254 resultobj
= SWIG_From_int((int)(result
));
6262 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6263 PyObject
*resultobj
;
6264 wxRect
*arg1
= (wxRect
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6269 (char *) "self",(char *) "width", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6274 if (SWIG_arg_fail(1)) SWIG_fail
;
6276 arg2
= (int)(SWIG_As_int(obj1
));
6277 if (SWIG_arg_fail(2)) SWIG_fail
;
6279 if (arg1
) (arg1
)->width
= arg2
;
6281 Py_INCREF(Py_None
); resultobj
= Py_None
;
6288 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
;
6290 wxRect
*arg1
= (wxRect
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6294 (char *) "self", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6299 if (SWIG_arg_fail(1)) SWIG_fail
;
6300 result
= (int) ((arg1
)->width
);
6303 resultobj
= SWIG_From_int((int)(result
));
6311 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
;
6313 wxRect
*arg1
= (wxRect
*) 0 ;
6315 PyObject
* obj0
= 0 ;
6316 PyObject
* obj1
= 0 ;
6318 (char *) "self",(char *) "height", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6323 if (SWIG_arg_fail(1)) SWIG_fail
;
6325 arg2
= (int)(SWIG_As_int(obj1
));
6326 if (SWIG_arg_fail(2)) SWIG_fail
;
6328 if (arg1
) (arg1
)->height
= arg2
;
6330 Py_INCREF(Py_None
); resultobj
= Py_None
;
6337 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxRect
*arg1
= (wxRect
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6343 (char *) "self", NULL
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6348 if (SWIG_arg_fail(1)) SWIG_fail
;
6349 result
= (int) ((arg1
)->height
);
6352 resultobj
= SWIG_From_int((int)(result
));
6360 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxRect
*arg1
= (wxRect
*) 0 ;
6363 int arg2
= (int) 0 ;
6364 int arg3
= (int) 0 ;
6365 int arg4
= (int) 0 ;
6366 int arg5
= (int) 0 ;
6367 PyObject
* obj0
= 0 ;
6368 PyObject
* obj1
= 0 ;
6369 PyObject
* obj2
= 0 ;
6370 PyObject
* obj3
= 0 ;
6371 PyObject
* obj4
= 0 ;
6373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6378 if (SWIG_arg_fail(1)) SWIG_fail
;
6381 arg2
= (int)(SWIG_As_int(obj1
));
6382 if (SWIG_arg_fail(2)) SWIG_fail
;
6387 arg3
= (int)(SWIG_As_int(obj2
));
6388 if (SWIG_arg_fail(3)) SWIG_fail
;
6393 arg4
= (int)(SWIG_As_int(obj3
));
6394 if (SWIG_arg_fail(4)) SWIG_fail
;
6399 arg5
= (int)(SWIG_As_int(obj4
));
6400 if (SWIG_arg_fail(5)) SWIG_fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 Py_INCREF(Py_None
); resultobj
= Py_None
;
6417 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxRect
*arg1
= (wxRect
*) 0 ;
6421 PyObject
* obj0
= 0 ;
6423 (char *) "self", NULL
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6428 if (SWIG_arg_fail(1)) SWIG_fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 result
= (PyObject
*)wxRect_Get(arg1
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6443 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6445 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6446 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6448 return Py_BuildValue((char *)"");
6450 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
;
6452 wxRect
*arg1
= (wxRect
*) 0 ;
6453 wxRect
*arg2
= (wxRect
*) 0 ;
6455 PyObject
* obj0
= 0 ;
6456 PyObject
* obj1
= 0 ;
6458 (char *) "r1",(char *) "r2", NULL
6461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6463 if (SWIG_arg_fail(1)) SWIG_fail
;
6464 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6465 if (SWIG_arg_fail(2)) SWIG_fail
;
6467 if (!wxPyCheckForApp()) SWIG_fail
;
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6481 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
;
6483 double arg1
= (double) 0.0 ;
6484 double arg2
= (double) 0.0 ;
6486 PyObject
* obj0
= 0 ;
6487 PyObject
* obj1
= 0 ;
6489 (char *) "x",(char *) "y", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6495 arg1
= (double)(SWIG_As_double(obj0
));
6496 if (SWIG_arg_fail(1)) SWIG_fail
;
6501 arg2
= (double)(SWIG_As_double(obj1
));
6502 if (SWIG_arg_fail(2)) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6519 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxPoint2D
*arg1
= 0 ;
6524 PyObject
* obj0
= 0 ;
6529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6532 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
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_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6553 PyObject
* obj0
= 0 ;
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6561 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6577 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6578 PyObject
*resultobj
;
6579 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6580 int *arg2
= (int *) 0 ;
6581 int *arg3
= (int *) 0 ;
6586 PyObject
* obj0
= 0 ;
6588 (char *) "self", NULL
6591 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6592 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6595 if (SWIG_arg_fail(1)) SWIG_fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6605 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6606 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6607 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6614 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
;
6616 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6617 int *arg2
= (int *) 0 ;
6618 int *arg3
= (int *) 0 ;
6623 PyObject
* obj0
= 0 ;
6625 (char *) "self", NULL
6628 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6629 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6632 if (SWIG_arg_fail(1)) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6641 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6642 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6643 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6644 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6651 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6655 PyObject
* obj0
= 0 ;
6657 (char *) "self", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
6661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6662 if (SWIG_arg_fail(1)) SWIG_fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= SWIG_From_double((double)(result
));
6679 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6685 (char *) "self", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_From_double((double)(result
));
6707 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6711 PyObject
* obj0
= 0 ;
6712 PyObject
* obj1
= 0 ;
6714 (char *) "self",(char *) "length", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6719 if (SWIG_arg_fail(1)) SWIG_fail
;
6721 arg2
= (double)(SWIG_As_double(obj1
));
6722 if (SWIG_arg_fail(2)) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 (arg1
)->SetVectorLength(arg2
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 Py_INCREF(Py_None
); resultobj
= Py_None
;
6738 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6745 (char *) "self",(char *) "degrees", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6750 if (SWIG_arg_fail(1)) SWIG_fail
;
6752 arg2
= (double)(SWIG_As_double(obj1
));
6753 if (SWIG_arg_fail(2)) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 (arg1
)->SetVectorAngle(arg2
);
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 Py_INCREF(Py_None
); resultobj
= Py_None
;
6769 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6771 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6772 wxPoint2D
*arg2
= 0 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6778 (char *) "self",(char *) "pt", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6783 if (SWIG_arg_fail(1)) SWIG_fail
;
6786 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6790 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6792 wxPyEndAllowThreads(__tstate
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= SWIG_From_double((double)(result
));
6804 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6807 wxPoint2D
*arg2
= 0 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6813 (char *) "self",(char *) "pt", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6818 if (SWIG_arg_fail(1)) SWIG_fail
;
6821 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= SWIG_From_double((double)(result
));
6839 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6842 wxPoint2D
*arg2
= 0 ;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6848 (char *) "self",(char *) "vec", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6853 if (SWIG_arg_fail(1)) SWIG_fail
;
6856 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6866 resultobj
= SWIG_From_double((double)(result
));
6874 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6875 PyObject
*resultobj
;
6876 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6877 wxPoint2D
*arg2
= 0 ;
6880 PyObject
* obj0
= 0 ;
6881 PyObject
* obj1
= 0 ;
6883 (char *) "self",(char *) "vec", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6888 if (SWIG_arg_fail(1)) SWIG_fail
;
6891 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6895 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6901 resultobj
= SWIG_From_double((double)(result
));
6909 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6915 (char *) "self", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6920 if (SWIG_arg_fail(1)) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (arg1
)->operator -();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 wxPoint2D
* resultptr
;
6930 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6939 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6942 wxPoint2D
*arg2
= 0 ;
6945 PyObject
* obj0
= 0 ;
6946 PyObject
* obj1
= 0 ;
6948 (char *) "self",(char *) "pt", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6953 if (SWIG_arg_fail(1)) SWIG_fail
;
6956 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6962 result
= (wxPoint2D
*) &_result_ref
;
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6975 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6978 wxPoint2D
*arg2
= 0 ;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6984 (char *) "self",(char *) "pt", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
6988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6989 if (SWIG_arg_fail(1)) SWIG_fail
;
6992 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
6998 result
= (wxPoint2D
*) &_result_ref
;
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7011 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7014 wxPoint2D
*arg2
= 0 ;
7017 PyObject
* obj0
= 0 ;
7018 PyObject
* obj1
= 0 ;
7020 (char *) "self",(char *) "pt", NULL
7023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7025 if (SWIG_arg_fail(1)) SWIG_fail
;
7028 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7034 result
= (wxPoint2D
*) &_result_ref
;
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7047 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7050 wxPoint2D
*arg2
= 0 ;
7053 PyObject
* obj0
= 0 ;
7054 PyObject
* obj1
= 0 ;
7056 (char *) "self",(char *) "pt", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7061 if (SWIG_arg_fail(1)) SWIG_fail
;
7064 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7070 result
= (wxPoint2D
*) &_result_ref
;
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7083 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7086 wxPoint2D
*arg2
= 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7092 (char *) "self",(char *) "pt", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7097 if (SWIG_arg_fail(1)) SWIG_fail
;
7100 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7106 wxPyEndAllowThreads(__tstate
);
7107 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7118 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7121 wxPoint2D
*arg2
= 0 ;
7124 PyObject
* obj0
= 0 ;
7125 PyObject
* obj1
= 0 ;
7127 (char *) "self",(char *) "pt", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7132 if (SWIG_arg_fail(1)) SWIG_fail
;
7135 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7153 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7160 (char *) "self",(char *) "m_x", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7165 if (SWIG_arg_fail(1)) SWIG_fail
;
7167 arg2
= (double)(SWIG_As_double(obj1
));
7168 if (SWIG_arg_fail(2)) SWIG_fail
;
7170 if (arg1
) (arg1
)->m_x
= arg2
;
7172 Py_INCREF(Py_None
); resultobj
= Py_None
;
7179 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7180 PyObject
*resultobj
;
7181 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7183 PyObject
* obj0
= 0 ;
7185 (char *) "self", NULL
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7190 if (SWIG_arg_fail(1)) SWIG_fail
;
7191 result
= (double) ((arg1
)->m_x
);
7194 resultobj
= SWIG_From_double((double)(result
));
7202 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7204 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7206 PyObject
* obj0
= 0 ;
7207 PyObject
* obj1
= 0 ;
7209 (char *) "self",(char *) "m_y", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7214 if (SWIG_arg_fail(1)) SWIG_fail
;
7216 arg2
= (double)(SWIG_As_double(obj1
));
7217 if (SWIG_arg_fail(2)) SWIG_fail
;
7219 if (arg1
) (arg1
)->m_y
= arg2
;
7221 Py_INCREF(Py_None
); resultobj
= Py_None
;
7228 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7234 (char *) "self", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7239 if (SWIG_arg_fail(1)) SWIG_fail
;
7240 result
= (double) ((arg1
)->m_y
);
7243 resultobj
= SWIG_From_double((double)(result
));
7251 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7254 double arg2
= (double) 0 ;
7255 double arg3
= (double) 0 ;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7258 PyObject
* obj2
= 0 ;
7260 (char *) "self",(char *) "x",(char *) "y", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7265 if (SWIG_arg_fail(1)) SWIG_fail
;
7268 arg2
= (double)(SWIG_As_double(obj1
));
7269 if (SWIG_arg_fail(2)) SWIG_fail
;
7274 arg3
= (double)(SWIG_As_double(obj2
));
7275 if (SWIG_arg_fail(3)) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 wxPoint2D_Set(arg1
,arg2
,arg3
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 Py_INCREF(Py_None
); resultobj
= Py_None
;
7292 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7298 (char *) "self", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7303 if (SWIG_arg_fail(1)) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7318 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7320 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7321 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7323 return Py_BuildValue((char *)"");
7325 static int _wrap_DefaultPosition_set(PyObject
*) {
7326 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7331 static PyObject
*_wrap_DefaultPosition_get(void) {
7334 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7339 static int _wrap_DefaultSize_set(PyObject
*) {
7340 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7345 static PyObject
*_wrap_DefaultSize_get(void) {
7348 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7353 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 PyObject
*arg1
= (PyObject
*) 0 ;
7356 wxPyInputStream
*result
;
7357 PyObject
* obj0
= 0 ;
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7378 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7379 PyObject
*resultobj
;
7380 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7381 PyObject
* obj0
= 0 ;
7383 (char *) "self", NULL
7386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7388 if (SWIG_arg_fail(1)) SWIG_fail
;
7390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 wxPyEndAllowThreads(__tstate
);
7394 if (PyErr_Occurred()) SWIG_fail
;
7396 Py_INCREF(Py_None
); resultobj
= Py_None
;
7403 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7405 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7408 (char *) "self", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7413 if (SWIG_arg_fail(1)) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 Py_INCREF(Py_None
); resultobj
= Py_None
;
7428 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7431 PyObject
* obj0
= 0 ;
7433 (char *) "self", NULL
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7438 if (SWIG_arg_fail(1)) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "self", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7464 if (SWIG_arg_fail(1)) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 result
= (bool)(arg1
)->eof();
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7481 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7484 int arg2
= (int) -1 ;
7486 PyObject
* obj0
= 0 ;
7487 PyObject
* obj1
= 0 ;
7489 (char *) "self",(char *) "size", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7494 if (SWIG_arg_fail(1)) SWIG_fail
;
7497 arg2
= (int)(SWIG_As_int(obj1
));
7498 if (SWIG_arg_fail(2)) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 result
= (PyObject
*)(arg1
)->read(arg2
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7515 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7516 PyObject
*resultobj
;
7517 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7518 int arg2
= (int) -1 ;
7520 PyObject
* obj0
= 0 ;
7521 PyObject
* obj1
= 0 ;
7523 (char *) "self",(char *) "size", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7528 if (SWIG_arg_fail(1)) SWIG_fail
;
7531 arg2
= (int)(SWIG_As_int(obj1
));
7532 if (SWIG_arg_fail(2)) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (PyObject
*)(arg1
)->readline(arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7549 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7552 int arg2
= (int) -1 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7557 (char *) "self",(char *) "sizehint", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7562 if (SWIG_arg_fail(1)) SWIG_fail
;
7565 arg2
= (int)(SWIG_As_int(obj1
));
7566 if (SWIG_arg_fail(2)) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7583 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7587 int arg3
= (int) 0 ;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7590 PyObject
* obj2
= 0 ;
7592 (char *) "self",(char *) "offset",(char *) "whence", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7597 if (SWIG_arg_fail(1)) SWIG_fail
;
7599 arg2
= (int)(SWIG_As_int(obj1
));
7600 if (SWIG_arg_fail(2)) SWIG_fail
;
7604 arg3
= (int)(SWIG_As_int(obj2
));
7605 if (SWIG_arg_fail(3)) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 (arg1
)->seek(arg2
,arg3
);
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 Py_INCREF(Py_None
); resultobj
= Py_None
;
7622 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7626 PyObject
* obj0
= 0 ;
7628 (char *) "self", NULL
7631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
7632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7633 if (SWIG_arg_fail(1)) SWIG_fail
;
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (int)(arg1
)->tell();
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_From_int((int)(result
));
7650 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7651 PyObject
*resultobj
;
7652 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7656 (char *) "self", NULL
7659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
7660 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7661 if (SWIG_arg_fail(1)) SWIG_fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (char)(arg1
)->Peek();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_From_char((char)(result
));
7678 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7682 PyObject
* obj0
= 0 ;
7684 (char *) "self", NULL
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
7688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7689 if (SWIG_arg_fail(1)) SWIG_fail
;
7691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7692 result
= (char)(arg1
)->GetC();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= SWIG_From_char((char)(result
));
7706 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
*resultobj
;
7708 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
7716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7717 if (SWIG_arg_fail(1)) SWIG_fail
;
7719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7720 result
= (size_t)(arg1
)->LastRead();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7734 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7738 PyObject
* obj0
= 0 ;
7740 (char *) "self", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
7744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (bool)(arg1
)->CanRead();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7762 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7768 (char *) "self", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7773 if (SWIG_arg_fail(1)) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 result
= (bool)(arg1
)->Eof();
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7790 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7798 (char *) "self",(char *) "c", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7803 if (SWIG_arg_fail(1)) SWIG_fail
;
7805 arg2
= (char)(SWIG_As_char(obj1
));
7806 if (SWIG_arg_fail(2)) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (bool)(arg1
)->Ungetch(arg2
);
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7824 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7828 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7830 PyObject
* obj0
= 0 ;
7831 PyObject
* obj1
= 0 ;
7832 PyObject
* obj2
= 0 ;
7834 (char *) "self",(char *) "pos",(char *) "mode", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7839 if (SWIG_arg_fail(1)) SWIG_fail
;
7841 arg2
= (long)(SWIG_As_long(obj1
));
7842 if (SWIG_arg_fail(2)) SWIG_fail
;
7846 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7847 if (SWIG_arg_fail(3)) SWIG_fail
;
7851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7854 wxPyEndAllowThreads(__tstate
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_From_long((long)(result
));
7866 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
;
7868 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7870 PyObject
* obj0
= 0 ;
7872 (char *) "self", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7877 if (SWIG_arg_fail(1)) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (long)(arg1
)->TellI();
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= SWIG_From_long((long)(result
));
7894 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7897 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7899 return Py_BuildValue((char *)"");
7901 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7904 PyObject
*arg2
= (PyObject
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7906 PyObject
* obj1
= 0 ;
7908 (char *) "self",(char *) "obj", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7913 if (SWIG_arg_fail(1)) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 wxOutputStream_write(arg1
,arg2
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 Py_INCREF(Py_None
); resultobj
= Py_None
;
7929 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7932 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7934 return Py_BuildValue((char *)"");
7936 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7939 wxString
*arg2
= 0 ;
7940 wxString
*arg3
= 0 ;
7941 wxString
*arg4
= 0 ;
7944 wxPyInputStream
*temp1
;
7945 bool temp2
= false ;
7946 bool temp3
= false ;
7947 bool temp4
= false ;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj1
= 0 ;
7950 PyObject
* obj2
= 0 ;
7951 PyObject
* obj3
= 0 ;
7952 PyObject
* obj4
= 0 ;
7954 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7959 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7960 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7962 PyErr_Clear(); // clear the failure of the wxPyConvert above
7963 arg1
= wxPyCBInputStream_create(obj0
, true);
7965 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7971 arg2
= wxString_in_helper(obj1
);
7972 if (arg2
== NULL
) SWIG_fail
;
7976 arg3
= wxString_in_helper(obj2
);
7977 if (arg3
== NULL
) SWIG_fail
;
7981 arg4
= wxString_in_helper(obj3
);
7982 if (arg4
== NULL
) SWIG_fail
;
7987 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
7988 if (SWIG_arg_fail(5)) SWIG_fail
;
7990 SWIG_null_ref("wxDateTime");
7992 if (SWIG_arg_fail(5)) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= wxPyMake_wxObject(result
, 1);
8035 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8038 PyObject
* obj0
= 0 ;
8040 (char *) "self", NULL
8043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8045 if (SWIG_arg_fail(1)) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 Py_INCREF(Py_None
); resultobj
= Py_None
;
8060 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8063 wxInputStream
*result
;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8071 if (SWIG_arg_fail(1)) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (wxInputStream
*)(arg1
)->GetStream();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8080 wxPyInputStream
* _ptr
= NULL
;
8083 _ptr
= new wxPyInputStream(result
);
8085 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8093 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "self", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8104 if (SWIG_arg_fail(1)) SWIG_fail
;
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8109 result
= (wxString
*) &_result_ref
;
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8128 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8134 (char *) "self", NULL
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8139 if (SWIG_arg_fail(1)) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 wxString
const &_result_ref
= (arg1
)->GetLocation();
8144 result
= (wxString
*) &_result_ref
;
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8154 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8163 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8167 PyObject
* obj0
= 0 ;
8169 (char *) "self", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8174 if (SWIG_arg_fail(1)) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8179 result
= (wxString
*) &_result_ref
;
8182 wxPyEndAllowThreads(__tstate
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8187 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8189 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8198 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8202 PyObject
* obj0
= 0 ;
8204 (char *) "self", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8209 if (SWIG_arg_fail(1)) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (arg1
)->GetModificationTime();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8218 wxDateTime
* resultptr
;
8219 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8228 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8231 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8233 return Py_BuildValue((char *)"");
8235 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8238 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8240 return Py_BuildValue((char *)"");
8242 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
;
8244 wxPyFileSystemHandler
*result
;
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8264 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8267 PyObject
*arg2
= (PyObject
*) 0 ;
8268 PyObject
*arg3
= (PyObject
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 PyObject
* obj2
= 0 ;
8273 (char *) "self",(char *) "self",(char *) "_class", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8278 if (SWIG_arg_fail(1)) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 Py_INCREF(Py_None
); resultobj
= Py_None
;
8295 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8298 wxString
*arg2
= 0 ;
8300 bool temp2
= false ;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8304 (char *) "self",(char *) "location", NULL
8307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8309 if (SWIG_arg_fail(1)) SWIG_fail
;
8311 arg2
= wxString_in_helper(obj1
);
8312 if (arg2
== NULL
) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8339 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8342 wxFileSystem
*arg2
= 0 ;
8343 wxString
*arg3
= 0 ;
8345 bool temp3
= false ;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8348 PyObject
* obj2
= 0 ;
8350 (char *) "self",(char *) "fs",(char *) "location", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8355 if (SWIG_arg_fail(1)) SWIG_fail
;
8357 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8358 if (SWIG_arg_fail(2)) SWIG_fail
;
8360 SWIG_null_ref("wxFileSystem");
8362 if (SWIG_arg_fail(2)) SWIG_fail
;
8365 arg3
= wxString_in_helper(obj2
);
8366 if (arg3
== NULL
) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= wxPyMake_wxObject(result
, 1);
8393 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8396 wxString
*arg2
= 0 ;
8397 int arg3
= (int) 0 ;
8399 bool temp2
= false ;
8400 PyObject
* obj0
= 0 ;
8401 PyObject
* obj1
= 0 ;
8402 PyObject
* obj2
= 0 ;
8404 (char *) "self",(char *) "spec",(char *) "flags", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8409 if (SWIG_arg_fail(1)) SWIG_fail
;
8411 arg2
= wxString_in_helper(obj1
);
8412 if (arg2
== NULL
) SWIG_fail
;
8417 arg3
= (int)(SWIG_As_int(obj2
));
8418 if (SWIG_arg_fail(3)) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8449 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8453 PyObject
* obj0
= 0 ;
8455 (char *) "self", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8459 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8460 if (SWIG_arg_fail(1)) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (arg1
)->FindNext();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8481 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8484 wxString
*arg2
= 0 ;
8486 bool temp2
= false ;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8490 (char *) "self",(char *) "location", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8495 if (SWIG_arg_fail(1)) SWIG_fail
;
8497 arg2
= wxString_in_helper(obj1
);
8498 if (arg2
== NULL
) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8510 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8512 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8529 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8532 wxString
*arg2
= 0 ;
8534 bool temp2
= false ;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8538 (char *) "self",(char *) "location", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8543 if (SWIG_arg_fail(1)) SWIG_fail
;
8545 arg2
= wxString_in_helper(obj1
);
8546 if (arg2
== NULL
) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8558 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8560 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8577 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8580 wxString
*arg2
= 0 ;
8582 bool temp2
= false ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8586 (char *) "self",(char *) "location", NULL
8589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8591 if (SWIG_arg_fail(1)) SWIG_fail
;
8593 arg2
= wxString_in_helper(obj1
);
8594 if (arg2
== NULL
) SWIG_fail
;
8598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8599 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8601 wxPyEndAllowThreads(__tstate
);
8602 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8625 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8628 wxString
*arg2
= 0 ;
8630 bool temp2
= false ;
8631 PyObject
* obj0
= 0 ;
8632 PyObject
* obj1
= 0 ;
8634 (char *) "self",(char *) "location", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8639 if (SWIG_arg_fail(1)) SWIG_fail
;
8641 arg2
= wxString_in_helper(obj1
);
8642 if (arg2
== NULL
) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8673 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8676 wxString
*arg2
= 0 ;
8678 bool temp2
= false ;
8679 PyObject
* obj0
= 0 ;
8680 PyObject
* obj1
= 0 ;
8682 (char *) "self",(char *) "location", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8687 if (SWIG_arg_fail(1)) SWIG_fail
;
8689 arg2
= wxString_in_helper(obj1
);
8690 if (arg2
== NULL
) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8721 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8724 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8726 return Py_BuildValue((char *)"");
8728 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxFileSystem
*result
;
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (wxFileSystem
*)new wxFileSystem();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= wxPyMake_wxObject(result
, 1);
8752 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8753 PyObject
*resultobj
;
8754 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8755 PyObject
* obj0
= 0 ;
8757 (char *) "self", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8762 if (SWIG_arg_fail(1)) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 wxPyEndAllowThreads(__tstate
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 Py_INCREF(Py_None
); resultobj
= Py_None
;
8777 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8780 wxString
*arg2
= 0 ;
8781 bool arg3
= (bool) false ;
8782 bool temp2
= false ;
8783 PyObject
* obj0
= 0 ;
8784 PyObject
* obj1
= 0 ;
8785 PyObject
* obj2
= 0 ;
8787 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8792 if (SWIG_arg_fail(1)) SWIG_fail
;
8794 arg2
= wxString_in_helper(obj1
);
8795 if (arg2
== NULL
) SWIG_fail
;
8800 arg3
= (bool)(SWIG_As_bool(obj2
));
8801 if (SWIG_arg_fail(3)) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 Py_INCREF(Py_None
); resultobj
= Py_None
;
8826 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "self", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8837 if (SWIG_arg_fail(1)) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 result
= (arg1
)->GetPath();
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8858 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8861 wxString
*arg2
= 0 ;
8863 bool temp2
= false ;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8867 (char *) "self",(char *) "location", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8872 if (SWIG_arg_fail(1)) SWIG_fail
;
8874 arg2
= wxString_in_helper(obj1
);
8875 if (arg2
== NULL
) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= wxPyMake_wxObject(result
, 1);
8902 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
;
8904 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8905 wxString
*arg2
= 0 ;
8906 int arg3
= (int) 0 ;
8908 bool temp2
= false ;
8909 PyObject
* obj0
= 0 ;
8910 PyObject
* obj1
= 0 ;
8911 PyObject
* obj2
= 0 ;
8913 (char *) "self",(char *) "spec",(char *) "flags", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8918 if (SWIG_arg_fail(1)) SWIG_fail
;
8920 arg2
= wxString_in_helper(obj1
);
8921 if (arg2
== NULL
) SWIG_fail
;
8926 arg3
= (int)(SWIG_As_int(obj2
));
8927 if (SWIG_arg_fail(3)) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8958 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8959 PyObject
*resultobj
;
8960 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8962 PyObject
* obj0
= 0 ;
8964 (char *) "self", NULL
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8968 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8969 if (SWIG_arg_fail(1)) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 result
= (arg1
)->FindNext();
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8990 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8992 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
8993 PyObject
* obj0
= 0 ;
8995 (char *) "handler", NULL
8998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
8999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9000 if (SWIG_arg_fail(1)) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 wxFileSystem::AddHandler(arg1
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 Py_INCREF(Py_None
); resultobj
= Py_None
;
9015 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 wxFileSystem::CleanUpHandlers();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxString
*arg1
= 0 ;
9040 bool temp1
= false ;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "filename", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9048 arg1
= wxString_in_helper(obj0
);
9049 if (arg1
== NULL
) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9080 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxString
*arg1
= 0 ;
9084 bool temp1
= false ;
9085 PyObject
* obj0
= 0 ;
9087 (char *) "url", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9092 arg1
= wxString_in_helper(obj0
);
9093 if (arg1
== NULL
) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9124 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9127 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9129 return Py_BuildValue((char *)"");
9131 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
*resultobj
;
9133 wxInternetFSHandler
*result
;
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9153 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9156 wxString
*arg2
= 0 ;
9158 bool temp2
= false ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9162 (char *) "self",(char *) "location", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9167 if (SWIG_arg_fail(1)) SWIG_fail
;
9169 arg2
= wxString_in_helper(obj1
);
9170 if (arg2
== NULL
) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9197 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9200 wxFileSystem
*arg2
= 0 ;
9201 wxString
*arg3
= 0 ;
9203 bool temp3
= false ;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9208 (char *) "self",(char *) "fs",(char *) "location", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9213 if (SWIG_arg_fail(1)) SWIG_fail
;
9215 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9216 if (SWIG_arg_fail(2)) SWIG_fail
;
9218 SWIG_null_ref("wxFileSystem");
9220 if (SWIG_arg_fail(2)) SWIG_fail
;
9223 arg3
= wxString_in_helper(obj2
);
9224 if (arg3
== NULL
) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= wxPyMake_wxObject(result
, 1);
9251 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9254 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9256 return Py_BuildValue((char *)"");
9258 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9259 PyObject
*resultobj
;
9260 wxZipFSHandler
*result
;
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9280 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9283 wxString
*arg2
= 0 ;
9285 bool temp2
= false ;
9286 PyObject
* obj0
= 0 ;
9287 PyObject
* obj1
= 0 ;
9289 (char *) "self",(char *) "location", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9294 if (SWIG_arg_fail(1)) SWIG_fail
;
9296 arg2
= wxString_in_helper(obj1
);
9297 if (arg2
== NULL
) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9324 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9327 wxFileSystem
*arg2
= 0 ;
9328 wxString
*arg3
= 0 ;
9330 bool temp3
= false ;
9331 PyObject
* obj0
= 0 ;
9332 PyObject
* obj1
= 0 ;
9333 PyObject
* obj2
= 0 ;
9335 (char *) "self",(char *) "fs",(char *) "location", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9340 if (SWIG_arg_fail(1)) SWIG_fail
;
9342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9343 if (SWIG_arg_fail(2)) SWIG_fail
;
9345 SWIG_null_ref("wxFileSystem");
9347 if (SWIG_arg_fail(2)) SWIG_fail
;
9350 arg3
= wxString_in_helper(obj2
);
9351 if (arg3
== NULL
) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= wxPyMake_wxObject(result
, 1);
9378 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9381 wxString
*arg2
= 0 ;
9382 int arg3
= (int) 0 ;
9384 bool temp2
= false ;
9385 PyObject
* obj0
= 0 ;
9386 PyObject
* obj1
= 0 ;
9387 PyObject
* obj2
= 0 ;
9389 (char *) "self",(char *) "spec",(char *) "flags", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9394 if (SWIG_arg_fail(1)) SWIG_fail
;
9396 arg2
= wxString_in_helper(obj1
);
9397 if (arg2
== NULL
) SWIG_fail
;
9402 arg3
= (int)(SWIG_As_int(obj2
));
9403 if (SWIG_arg_fail(3)) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9434 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9445 if (SWIG_arg_fail(1)) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= (arg1
)->FindNext();
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9466 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9469 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9471 return Py_BuildValue((char *)"");
9473 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 wxString
*arg1
= 0 ;
9478 bool temp1
= false ;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9481 PyObject
* obj2
= 0 ;
9483 (char *) "filename",(char *) "image",(char *) "type", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9488 arg1
= wxString_in_helper(obj0
);
9489 if (arg1
== NULL
) SWIG_fail
;
9493 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9494 if (SWIG_arg_fail(2)) SWIG_fail
;
9496 SWIG_null_ref("wxImage");
9498 if (SWIG_arg_fail(2)) SWIG_fail
;
9501 arg3
= (long)(SWIG_As_long(obj2
));
9502 if (SWIG_arg_fail(3)) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 Py_INCREF(Py_None
); resultobj
= Py_None
;
9526 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxString
*arg1
= 0 ;
9529 wxBitmap
*arg2
= 0 ;
9531 bool temp1
= false ;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9534 PyObject
* obj2
= 0 ;
9536 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9541 arg1
= wxString_in_helper(obj0
);
9542 if (arg1
== NULL
) SWIG_fail
;
9546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9547 if (SWIG_arg_fail(2)) SWIG_fail
;
9549 SWIG_null_ref("wxBitmap");
9551 if (SWIG_arg_fail(2)) SWIG_fail
;
9554 arg3
= (long)(SWIG_As_long(obj2
));
9555 if (SWIG_arg_fail(3)) SWIG_fail
;
9558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9559 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9561 wxPyEndAllowThreads(__tstate
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9564 Py_INCREF(Py_None
); resultobj
= Py_None
;
9579 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
*resultobj
;
9581 wxString
*arg1
= 0 ;
9582 PyObject
*arg2
= (PyObject
*) 0 ;
9583 bool temp1
= false ;
9584 PyObject
* obj0
= 0 ;
9585 PyObject
* obj1
= 0 ;
9587 (char *) "filename",(char *) "data", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9592 arg1
= wxString_in_helper(obj0
);
9593 if (arg1
== NULL
) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 Py_INCREF(Py_None
); resultobj
= Py_None
;
9619 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxMemoryFSHandler
*result
;
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9629 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9641 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxString
*arg1
= 0 ;
9644 bool temp1
= false ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "filename", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9652 arg1
= wxString_in_helper(obj0
);
9653 if (arg1
== NULL
) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 Py_INCREF(Py_None
); resultobj
= Py_None
;
9678 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9681 wxString
*arg2
= 0 ;
9683 bool temp2
= false ;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9687 (char *) "self",(char *) "location", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9692 if (SWIG_arg_fail(1)) SWIG_fail
;
9694 arg2
= wxString_in_helper(obj1
);
9695 if (arg2
== NULL
) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9722 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9725 wxFileSystem
*arg2
= 0 ;
9726 wxString
*arg3
= 0 ;
9728 bool temp3
= false ;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9731 PyObject
* obj2
= 0 ;
9733 (char *) "self",(char *) "fs",(char *) "location", NULL
9736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9738 if (SWIG_arg_fail(1)) SWIG_fail
;
9740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9741 if (SWIG_arg_fail(2)) SWIG_fail
;
9743 SWIG_null_ref("wxFileSystem");
9745 if (SWIG_arg_fail(2)) SWIG_fail
;
9748 arg3
= wxString_in_helper(obj2
);
9749 if (arg3
== NULL
) SWIG_fail
;
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= wxPyMake_wxObject(result
, 1);
9776 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9779 wxString
*arg2
= 0 ;
9780 int arg3
= (int) 0 ;
9782 bool temp2
= false ;
9783 PyObject
* obj0
= 0 ;
9784 PyObject
* obj1
= 0 ;
9785 PyObject
* obj2
= 0 ;
9787 (char *) "self",(char *) "spec",(char *) "flags", NULL
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9792 if (SWIG_arg_fail(1)) SWIG_fail
;
9794 arg2
= wxString_in_helper(obj1
);
9795 if (arg2
== NULL
) SWIG_fail
;
9800 arg3
= (int)(SWIG_As_int(obj2
));
9801 if (SWIG_arg_fail(3)) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9832 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
;
9834 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9838 (char *) "self", NULL
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9843 if (SWIG_arg_fail(1)) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (arg1
)->FindNext();
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9864 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9867 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9869 return Py_BuildValue((char *)"");
9871 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9877 (char *) "self", NULL
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9882 if (SWIG_arg_fail(1)) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (arg1
)->GetName();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9903 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9909 (char *) "self", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9914 if (SWIG_arg_fail(1)) SWIG_fail
;
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= (arg1
)->GetExtension();
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9935 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9939 PyObject
* obj0
= 0 ;
9941 (char *) "self", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
9945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9946 if (SWIG_arg_fail(1)) SWIG_fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 result
= (long)(arg1
)->GetType();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 resultobj
= SWIG_From_long((long)(result
));
9963 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
9973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9974 if (SWIG_arg_fail(1)) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (arg1
)->GetMimeType();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9995 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9998 wxString
*arg2
= 0 ;
10000 bool temp2
= false ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self",(char *) "name", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10009 if (SWIG_arg_fail(1)) SWIG_fail
;
10011 arg2
= wxString_in_helper(obj1
);
10012 if (arg2
== NULL
) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10039 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10042 wxString
*arg2
= 0 ;
10043 bool temp2
= false ;
10044 PyObject
* obj0
= 0 ;
10045 PyObject
* obj1
= 0 ;
10046 char *kwnames
[] = {
10047 (char *) "self",(char *) "name", NULL
10050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10052 if (SWIG_arg_fail(1)) SWIG_fail
;
10054 arg2
= wxString_in_helper(obj1
);
10055 if (arg2
== NULL
) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 (arg1
)->SetName((wxString
const &)*arg2
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 Py_INCREF(Py_None
); resultobj
= Py_None
;
10080 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10083 wxString
*arg2
= 0 ;
10084 bool temp2
= false ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self",(char *) "extension", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10093 if (SWIG_arg_fail(1)) SWIG_fail
;
10095 arg2
= wxString_in_helper(obj1
);
10096 if (arg2
== NULL
) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 (arg1
)->SetExtension((wxString
const &)*arg2
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 Py_INCREF(Py_None
); resultobj
= Py_None
;
10121 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10125 PyObject
* obj0
= 0 ;
10126 PyObject
* obj1
= 0 ;
10127 char *kwnames
[] = {
10128 (char *) "self",(char *) "type", NULL
10131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10133 if (SWIG_arg_fail(1)) SWIG_fail
;
10135 arg2
= (long)(SWIG_As_long(obj1
));
10136 if (SWIG_arg_fail(2)) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 (arg1
)->SetType(arg2
);
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 Py_INCREF(Py_None
); resultobj
= Py_None
;
10152 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10155 wxString
*arg2
= 0 ;
10156 bool temp2
= false ;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self",(char *) "mimetype", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10165 if (SWIG_arg_fail(1)) SWIG_fail
;
10167 arg2
= wxString_in_helper(obj1
);
10168 if (arg2
== NULL
) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 Py_INCREF(Py_None
); resultobj
= Py_None
;
10193 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10196 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10198 return Py_BuildValue((char *)"");
10200 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxImageHistogram
*result
;
10203 char *kwnames
[] = {
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10210 result
= (wxImageHistogram
*)new wxImageHistogram();
10212 wxPyEndAllowThreads(__tstate
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10222 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 unsigned char arg1
;
10225 unsigned char arg2
;
10226 unsigned char arg3
;
10227 unsigned long result
;
10228 PyObject
* obj0
= 0 ;
10229 PyObject
* obj1
= 0 ;
10230 PyObject
* obj2
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "r",(char *) "g",(char *) "b", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10237 arg1
= (unsigned char)(SWIG_As_unsigned_SS_char(obj0
));
10238 if (SWIG_arg_fail(1)) SWIG_fail
;
10241 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10242 if (SWIG_arg_fail(2)) SWIG_fail
;
10245 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10246 if (SWIG_arg_fail(3)) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10256 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10264 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10265 PyObject
*resultobj
;
10266 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10267 unsigned char *arg2
= (unsigned char *) 0 ;
10268 unsigned char *arg3
= (unsigned char *) 0 ;
10269 unsigned char *arg4
= (unsigned char *) 0 ;
10270 unsigned char arg5
= (unsigned char) 1 ;
10271 unsigned char arg6
= (unsigned char) 0 ;
10272 unsigned char arg7
= (unsigned char) 0 ;
10274 unsigned char temp2
;
10276 unsigned char temp3
;
10278 unsigned char temp4
;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 PyObject
* obj2
= 0 ;
10283 PyObject
* obj3
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10288 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10289 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10290 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10293 if (SWIG_arg_fail(1)) SWIG_fail
;
10296 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
10297 if (SWIG_arg_fail(5)) SWIG_fail
;
10302 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
10303 if (SWIG_arg_fail(6)) SWIG_fail
;
10308 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
10309 if (SWIG_arg_fail(7)) SWIG_fail
;
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10322 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10323 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10324 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10325 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10326 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10327 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10334 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10337 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10339 return Py_BuildValue((char *)"");
10341 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxString
*arg1
= 0 ;
10344 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10345 int arg3
= (int) -1 ;
10347 bool temp1
= false ;
10348 PyObject
* obj0
= 0 ;
10349 PyObject
* obj1
= 0 ;
10350 PyObject
* obj2
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "name",(char *) "type",(char *) "index", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10357 arg1
= wxString_in_helper(obj0
);
10358 if (arg1
== NULL
) SWIG_fail
;
10363 arg2
= (long)(SWIG_As_long(obj1
));
10364 if (SWIG_arg_fail(2)) SWIG_fail
;
10369 arg3
= (int)(SWIG_As_int(obj2
));
10370 if (SWIG_arg_fail(3)) SWIG_fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10395 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxImage
*arg1
= (wxImage
*) 0 ;
10398 PyObject
* obj0
= 0 ;
10399 char *kwnames
[] = {
10400 (char *) "self", NULL
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10405 if (SWIG_arg_fail(1)) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 Py_INCREF(Py_None
); resultobj
= Py_None
;
10420 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxString
*arg1
= 0 ;
10423 wxString
*arg2
= 0 ;
10424 int arg3
= (int) -1 ;
10426 bool temp1
= false ;
10427 bool temp2
= false ;
10428 PyObject
* obj0
= 0 ;
10429 PyObject
* obj1
= 0 ;
10430 PyObject
* obj2
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10437 arg1
= wxString_in_helper(obj0
);
10438 if (arg1
== NULL
) SWIG_fail
;
10442 arg2
= wxString_in_helper(obj1
);
10443 if (arg2
== NULL
) SWIG_fail
;
10448 arg3
= (int)(SWIG_As_int(obj2
));
10449 if (SWIG_arg_fail(3)) SWIG_fail
;
10453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10454 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10482 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxInputStream
*arg1
= 0 ;
10485 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10486 int arg3
= (int) -1 ;
10488 wxPyInputStream
*temp1
;
10490 PyObject
* obj0
= 0 ;
10491 PyObject
* obj1
= 0 ;
10492 PyObject
* obj2
= 0 ;
10493 char *kwnames
[] = {
10494 (char *) "stream",(char *) "type",(char *) "index", NULL
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10499 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10500 arg1
= temp1
->m_wxis
;
10503 PyErr_Clear(); // clear the failure of the wxPyConvert above
10504 arg1
= wxPyCBInputStream_create(obj0
, false);
10505 if (arg1
== NULL
) {
10506 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10514 arg2
= (long)(SWIG_As_long(obj1
));
10515 if (SWIG_arg_fail(2)) SWIG_fail
;
10520 arg3
= (int)(SWIG_As_int(obj2
));
10521 if (SWIG_arg_fail(3)) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10533 if (created1
) delete arg1
;
10538 if (created1
) delete arg1
;
10544 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxInputStream
*arg1
= 0 ;
10547 wxString
*arg2
= 0 ;
10548 int arg3
= (int) -1 ;
10550 wxPyInputStream
*temp1
;
10552 bool temp2
= false ;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 PyObject
* obj2
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10562 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10563 arg1
= temp1
->m_wxis
;
10566 PyErr_Clear(); // clear the failure of the wxPyConvert above
10567 arg1
= wxPyCBInputStream_create(obj0
, false);
10568 if (arg1
== NULL
) {
10569 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10576 arg2
= wxString_in_helper(obj1
);
10577 if (arg2
== NULL
) SWIG_fail
;
10582 arg3
= (int)(SWIG_As_int(obj2
));
10583 if (SWIG_arg_fail(3)) SWIG_fail
;
10587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10588 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10590 wxPyEndAllowThreads(__tstate
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10595 if (created1
) delete arg1
;
10604 if (created1
) delete arg1
;
10614 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
;
10616 int arg1
= (int) 0 ;
10617 int arg2
= (int) 0 ;
10618 bool arg3
= (bool) true ;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 PyObject
* obj2
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "width",(char *) "height",(char *) "clear", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10630 arg1
= (int)(SWIG_As_int(obj0
));
10631 if (SWIG_arg_fail(1)) SWIG_fail
;
10636 arg2
= (int)(SWIG_As_int(obj1
));
10637 if (SWIG_arg_fail(2)) SWIG_fail
;
10642 arg3
= (bool)(SWIG_As_bool(obj2
));
10643 if (SWIG_arg_fail(3)) SWIG_fail
;
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10660 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
;
10662 wxBitmap
*arg1
= 0 ;
10664 PyObject
* obj0
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "bitmap", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10671 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10672 if (SWIG_arg_fail(1)) SWIG_fail
;
10673 if (arg1
== NULL
) {
10674 SWIG_null_ref("wxBitmap");
10676 if (SWIG_arg_fail(1)) SWIG_fail
;
10679 if (!wxPyCheckForApp()) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10693 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10697 unsigned char *arg3
= (unsigned char *) 0 ;
10699 PyObject
* obj0
= 0 ;
10700 PyObject
* obj1
= 0 ;
10701 PyObject
* obj2
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "width",(char *) "height",(char *) "data", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10708 arg1
= (int)(SWIG_As_int(obj0
));
10709 if (SWIG_arg_fail(1)) SWIG_fail
;
10712 arg2
= (int)(SWIG_As_int(obj1
));
10713 if (SWIG_arg_fail(2)) SWIG_fail
;
10715 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10716 if (SWIG_arg_fail(3)) SWIG_fail
;
10718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10719 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10731 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10735 unsigned char *arg3
= (unsigned char *) 0 ;
10736 unsigned char *arg4
= (unsigned char *) 0 ;
10738 PyObject
* obj0
= 0 ;
10739 PyObject
* obj1
= 0 ;
10740 PyObject
* obj2
= 0 ;
10741 PyObject
* obj3
= 0 ;
10742 char *kwnames
[] = {
10743 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10748 arg1
= (int)(SWIG_As_int(obj0
));
10749 if (SWIG_arg_fail(1)) SWIG_fail
;
10752 arg2
= (int)(SWIG_As_int(obj1
));
10753 if (SWIG_arg_fail(2)) SWIG_fail
;
10755 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10756 if (SWIG_arg_fail(3)) SWIG_fail
;
10757 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_unsigned_char
, SWIG_POINTER_EXCEPTION
| 0);
10758 if (SWIG_arg_fail(4)) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10773 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxImage
*arg1
= (wxImage
*) 0 ;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 PyObject
* obj2
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "width",(char *) "height", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10787 if (SWIG_arg_fail(1)) SWIG_fail
;
10789 arg2
= (int)(SWIG_As_int(obj1
));
10790 if (SWIG_arg_fail(2)) SWIG_fail
;
10793 arg3
= (int)(SWIG_As_int(obj2
));
10794 if (SWIG_arg_fail(3)) SWIG_fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 (arg1
)->Create(arg2
,arg3
);
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 Py_INCREF(Py_None
); resultobj
= Py_None
;
10810 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
;
10812 wxImage
*arg1
= (wxImage
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10820 if (SWIG_arg_fail(1)) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 Py_INCREF(Py_None
); resultobj
= Py_None
;
10835 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxImage
*arg1
= (wxImage
*) 0 ;
10840 SwigValueWrapper
<wxImage
> result
;
10841 PyObject
* obj0
= 0 ;
10842 PyObject
* obj1
= 0 ;
10843 PyObject
* obj2
= 0 ;
10844 char *kwnames
[] = {
10845 (char *) "self",(char *) "width",(char *) "height", NULL
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10850 if (SWIG_arg_fail(1)) SWIG_fail
;
10852 arg2
= (int)(SWIG_As_int(obj1
));
10853 if (SWIG_arg_fail(2)) SWIG_fail
;
10856 arg3
= (int)(SWIG_As_int(obj2
));
10857 if (SWIG_arg_fail(3)) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (arg1
)->Scale(arg2
,arg3
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10867 wxImage
* resultptr
;
10868 resultptr
= new wxImage((wxImage
&)(result
));
10869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10877 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxImage
*arg1
= (wxImage
*) 0 ;
10882 SwigValueWrapper
<wxImage
> result
;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 PyObject
* obj2
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10891 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10892 if (SWIG_arg_fail(1)) SWIG_fail
;
10894 arg2
= (int)(SWIG_As_int(obj1
));
10895 if (SWIG_arg_fail(2)) SWIG_fail
;
10898 arg3
= (int)(SWIG_As_int(obj2
));
10899 if (SWIG_arg_fail(3)) SWIG_fail
;
10902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
10905 wxPyEndAllowThreads(__tstate
);
10906 if (PyErr_Occurred()) SWIG_fail
;
10909 wxImage
* resultptr
;
10910 resultptr
= new wxImage((wxImage
&)(result
));
10911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10919 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxImage
*arg1
= (wxImage
*) 0 ;
10925 PyObject
* obj0
= 0 ;
10926 PyObject
* obj1
= 0 ;
10927 PyObject
* obj2
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self",(char *) "width",(char *) "height", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10934 if (SWIG_arg_fail(1)) SWIG_fail
;
10936 arg2
= (int)(SWIG_As_int(obj1
));
10937 if (SWIG_arg_fail(2)) SWIG_fail
;
10940 arg3
= (int)(SWIG_As_int(obj2
));
10941 if (SWIG_arg_fail(3)) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
10947 result
= (wxImage
*) &_result_ref
;
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
10960 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxImage
*arg1
= (wxImage
*) 0 ;
10964 wxPoint
*arg3
= 0 ;
10965 int arg4
= (int) -1 ;
10966 int arg5
= (int) -1 ;
10967 int arg6
= (int) -1 ;
10971 PyObject
* obj0
= 0 ;
10972 PyObject
* obj1
= 0 ;
10973 PyObject
* obj2
= 0 ;
10974 PyObject
* obj3
= 0 ;
10975 PyObject
* obj4
= 0 ;
10976 PyObject
* obj5
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10983 if (SWIG_arg_fail(1)) SWIG_fail
;
10986 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10990 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10994 arg4
= (int)(SWIG_As_int(obj3
));
10995 if (SWIG_arg_fail(4)) SWIG_fail
;
11000 arg5
= (int)(SWIG_As_int(obj4
));
11001 if (SWIG_arg_fail(5)) SWIG_fail
;
11006 arg6
= (int)(SWIG_As_int(obj5
));
11007 if (SWIG_arg_fail(6)) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11014 result
= (wxImage
*) &_result_ref
;
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11027 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxImage
*arg1
= (wxImage
*) 0 ;
11032 unsigned char arg4
;
11033 unsigned char arg5
;
11034 unsigned char arg6
;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 PyObject
* obj2
= 0 ;
11038 PyObject
* obj3
= 0 ;
11039 PyObject
* obj4
= 0 ;
11040 PyObject
* obj5
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11047 if (SWIG_arg_fail(1)) SWIG_fail
;
11049 arg2
= (int)(SWIG_As_int(obj1
));
11050 if (SWIG_arg_fail(2)) SWIG_fail
;
11053 arg3
= (int)(SWIG_As_int(obj2
));
11054 if (SWIG_arg_fail(3)) SWIG_fail
;
11057 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11058 if (SWIG_arg_fail(4)) SWIG_fail
;
11061 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11062 if (SWIG_arg_fail(5)) SWIG_fail
;
11065 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
11066 if (SWIG_arg_fail(6)) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 Py_INCREF(Py_None
); resultobj
= Py_None
;
11082 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxImage
*arg1
= (wxImage
*) 0 ;
11086 unsigned char arg3
;
11087 unsigned char arg4
;
11088 unsigned char arg5
;
11090 PyObject
* obj0
= 0 ;
11091 PyObject
* obj1
= 0 ;
11092 PyObject
* obj2
= 0 ;
11093 PyObject
* obj3
= 0 ;
11094 PyObject
* obj4
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11101 if (SWIG_arg_fail(1)) SWIG_fail
;
11104 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11107 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11108 if (SWIG_arg_fail(3)) SWIG_fail
;
11111 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11112 if (SWIG_arg_fail(4)) SWIG_fail
;
11115 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
11116 if (SWIG_arg_fail(5)) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 Py_INCREF(Py_None
); resultobj
= Py_None
;
11132 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
;
11134 wxImage
*arg1
= (wxImage
*) 0 ;
11137 unsigned char result
;
11138 PyObject
* obj0
= 0 ;
11139 PyObject
* obj1
= 0 ;
11140 PyObject
* obj2
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self",(char *) "x",(char *) "y", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11147 if (SWIG_arg_fail(1)) SWIG_fail
;
11149 arg2
= (int)(SWIG_As_int(obj1
));
11150 if (SWIG_arg_fail(2)) SWIG_fail
;
11153 arg3
= (int)(SWIG_As_int(obj2
));
11154 if (SWIG_arg_fail(3)) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11172 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxImage
*arg1
= (wxImage
*) 0 ;
11177 unsigned char result
;
11178 PyObject
* obj0
= 0 ;
11179 PyObject
* obj1
= 0 ;
11180 PyObject
* obj2
= 0 ;
11181 char *kwnames
[] = {
11182 (char *) "self",(char *) "x",(char *) "y", NULL
11185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11187 if (SWIG_arg_fail(1)) SWIG_fail
;
11189 arg2
= (int)(SWIG_As_int(obj1
));
11190 if (SWIG_arg_fail(2)) SWIG_fail
;
11193 arg3
= (int)(SWIG_As_int(obj2
));
11194 if (SWIG_arg_fail(3)) SWIG_fail
;
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
11200 wxPyEndAllowThreads(__tstate
);
11201 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11212 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxImage
*arg1
= (wxImage
*) 0 ;
11217 unsigned char result
;
11218 PyObject
* obj0
= 0 ;
11219 PyObject
* obj1
= 0 ;
11220 PyObject
* obj2
= 0 ;
11221 char *kwnames
[] = {
11222 (char *) "self",(char *) "x",(char *) "y", NULL
11225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11226 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11227 if (SWIG_arg_fail(1)) SWIG_fail
;
11229 arg2
= (int)(SWIG_As_int(obj1
));
11230 if (SWIG_arg_fail(2)) SWIG_fail
;
11233 arg3
= (int)(SWIG_As_int(obj2
));
11234 if (SWIG_arg_fail(3)) SWIG_fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11252 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxImage
*arg1
= (wxImage
*) 0 ;
11257 unsigned char arg4
;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 PyObject
* obj2
= 0 ;
11261 PyObject
* obj3
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11268 if (SWIG_arg_fail(1)) SWIG_fail
;
11270 arg2
= (int)(SWIG_As_int(obj1
));
11271 if (SWIG_arg_fail(2)) SWIG_fail
;
11274 arg3
= (int)(SWIG_As_int(obj2
));
11275 if (SWIG_arg_fail(3)) SWIG_fail
;
11278 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11279 if (SWIG_arg_fail(4)) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 Py_INCREF(Py_None
); resultobj
= Py_None
;
11295 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11296 PyObject
*resultobj
;
11297 wxImage
*arg1
= (wxImage
*) 0 ;
11300 unsigned char result
;
11301 PyObject
* obj0
= 0 ;
11302 PyObject
* obj1
= 0 ;
11303 PyObject
* obj2
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self",(char *) "x",(char *) "y", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11310 if (SWIG_arg_fail(1)) SWIG_fail
;
11312 arg2
= (int)(SWIG_As_int(obj1
));
11313 if (SWIG_arg_fail(2)) SWIG_fail
;
11316 arg3
= (int)(SWIG_As_int(obj2
));
11317 if (SWIG_arg_fail(3)) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11335 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxImage
*arg1
= (wxImage
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11346 if (SWIG_arg_fail(1)) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (bool)(arg1
)->HasAlpha();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11363 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxImage
*arg1
= (wxImage
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail
;
11375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11376 (arg1
)->InitAlpha();
11378 wxPyEndAllowThreads(__tstate
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11381 Py_INCREF(Py_None
); resultobj
= Py_None
;
11388 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxImage
*arg1
= (wxImage
*) 0 ;
11391 byte
*arg2
= (byte
*) 0 ;
11392 byte
*arg3
= (byte
*) 0 ;
11393 byte
*arg4
= (byte
*) 0 ;
11394 byte arg5
= (byte
) 0 ;
11395 byte arg6
= (byte
) 0 ;
11396 byte arg7
= (byte
) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 PyObject
* obj1
= 0 ;
11406 PyObject
* obj2
= 0 ;
11407 PyObject
* obj3
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11412 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11413 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11414 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11417 if (SWIG_arg_fail(1)) SWIG_fail
;
11420 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11421 if (SWIG_arg_fail(5)) SWIG_fail
;
11426 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11427 if (SWIG_arg_fail(6)) SWIG_fail
;
11432 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11433 if (SWIG_arg_fail(7)) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11446 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11447 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11448 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11449 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11450 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11451 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11458 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11459 PyObject
*resultobj
;
11460 wxImage
*arg1
= (wxImage
*) 0 ;
11461 byte arg2
= (byte
) 128 ;
11463 PyObject
* obj0
= 0 ;
11464 PyObject
* obj1
= 0 ;
11465 char *kwnames
[] = {
11466 (char *) "self",(char *) "threshold", NULL
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11471 if (SWIG_arg_fail(1)) SWIG_fail
;
11474 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11475 if (SWIG_arg_fail(2)) SWIG_fail
;
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11482 wxPyEndAllowThreads(__tstate
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11494 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxImage
*arg1
= (wxImage
*) 0 ;
11497 unsigned char arg2
;
11498 unsigned char arg3
;
11499 unsigned char arg4
;
11501 PyObject
* obj0
= 0 ;
11502 PyObject
* obj1
= 0 ;
11503 PyObject
* obj2
= 0 ;
11504 PyObject
* obj3
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11511 if (SWIG_arg_fail(1)) SWIG_fail
;
11513 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
11514 if (SWIG_arg_fail(2)) SWIG_fail
;
11517 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
11518 if (SWIG_arg_fail(3)) SWIG_fail
;
11521 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
11522 if (SWIG_arg_fail(4)) SWIG_fail
;
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11540 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11541 PyObject
*resultobj
;
11542 wxImage
*arg1
= (wxImage
*) 0 ;
11543 wxImage
*arg2
= 0 ;
11548 PyObject
* obj0
= 0 ;
11549 PyObject
* obj1
= 0 ;
11550 PyObject
* obj2
= 0 ;
11551 PyObject
* obj3
= 0 ;
11552 PyObject
* obj4
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11559 if (SWIG_arg_fail(1)) SWIG_fail
;
11561 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11562 if (SWIG_arg_fail(2)) SWIG_fail
;
11563 if (arg2
== NULL
) {
11564 SWIG_null_ref("wxImage");
11566 if (SWIG_arg_fail(2)) SWIG_fail
;
11569 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11570 if (SWIG_arg_fail(3)) SWIG_fail
;
11573 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11574 if (SWIG_arg_fail(4)) SWIG_fail
;
11577 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11578 if (SWIG_arg_fail(5)) SWIG_fail
;
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11596 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxString
*arg1
= 0 ;
11600 bool temp1
= false ;
11601 PyObject
* obj0
= 0 ;
11602 char *kwnames
[] = {
11603 (char *) "name", NULL
11606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11608 arg1
= wxString_in_helper(obj0
);
11609 if (arg1
== NULL
) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11636 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxString
*arg1
= 0 ;
11639 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11641 bool temp1
= false ;
11642 PyObject
* obj0
= 0 ;
11643 PyObject
* obj1
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "name",(char *) "type", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11650 arg1
= wxString_in_helper(obj0
);
11651 if (arg1
== NULL
) SWIG_fail
;
11656 arg2
= (long)(SWIG_As_long(obj1
));
11657 if (SWIG_arg_fail(2)) SWIG_fail
;
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= SWIG_From_int((int)(result
));
11684 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxImage
*arg1
= (wxImage
*) 0 ;
11687 wxString
*arg2
= 0 ;
11688 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11689 int arg4
= (int) -1 ;
11691 bool temp2
= false ;
11692 PyObject
* obj0
= 0 ;
11693 PyObject
* obj1
= 0 ;
11694 PyObject
* obj2
= 0 ;
11695 PyObject
* obj3
= 0 ;
11696 char *kwnames
[] = {
11697 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11702 if (SWIG_arg_fail(1)) SWIG_fail
;
11704 arg2
= wxString_in_helper(obj1
);
11705 if (arg2
== NULL
) SWIG_fail
;
11710 arg3
= (long)(SWIG_As_long(obj2
));
11711 if (SWIG_arg_fail(3)) SWIG_fail
;
11716 arg4
= (int)(SWIG_As_int(obj3
));
11717 if (SWIG_arg_fail(4)) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11744 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
;
11746 wxImage
*arg1
= (wxImage
*) 0 ;
11747 wxString
*arg2
= 0 ;
11748 wxString
*arg3
= 0 ;
11749 int arg4
= (int) -1 ;
11751 bool temp2
= false ;
11752 bool temp3
= false ;
11753 PyObject
* obj0
= 0 ;
11754 PyObject
* obj1
= 0 ;
11755 PyObject
* obj2
= 0 ;
11756 PyObject
* obj3
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11763 if (SWIG_arg_fail(1)) SWIG_fail
;
11765 arg2
= wxString_in_helper(obj1
);
11766 if (arg2
== NULL
) SWIG_fail
;
11770 arg3
= wxString_in_helper(obj2
);
11771 if (arg3
== NULL
) SWIG_fail
;
11776 arg4
= (int)(SWIG_As_int(obj3
));
11777 if (SWIG_arg_fail(4)) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11812 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxImage
*arg1
= (wxImage
*) 0 ;
11815 wxString
*arg2
= 0 ;
11818 bool temp2
= false ;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 PyObject
* obj2
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self",(char *) "name",(char *) "type", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11828 if (SWIG_arg_fail(1)) SWIG_fail
;
11830 arg2
= wxString_in_helper(obj1
);
11831 if (arg2
== NULL
) SWIG_fail
;
11835 arg3
= (int)(SWIG_As_int(obj2
));
11836 if (SWIG_arg_fail(3)) SWIG_fail
;
11839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11840 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11862 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
;
11864 wxImage
*arg1
= (wxImage
*) 0 ;
11865 wxString
*arg2
= 0 ;
11866 wxString
*arg3
= 0 ;
11868 bool temp2
= false ;
11869 bool temp3
= false ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 PyObject
* obj2
= 0 ;
11873 char *kwnames
[] = {
11874 (char *) "self",(char *) "name",(char *) "mimetype", NULL
11877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11879 if (SWIG_arg_fail(1)) SWIG_fail
;
11881 arg2
= wxString_in_helper(obj1
);
11882 if (arg2
== NULL
) SWIG_fail
;
11886 arg3
= wxString_in_helper(obj2
);
11887 if (arg3
== NULL
) SWIG_fail
;
11891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11892 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11922 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxInputStream
*arg1
= 0 ;
11926 wxPyInputStream
*temp1
;
11928 PyObject
* obj0
= 0 ;
11929 char *kwnames
[] = {
11930 (char *) "stream", NULL
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
11935 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
11936 arg1
= temp1
->m_wxis
;
11939 PyErr_Clear(); // clear the failure of the wxPyConvert above
11940 arg1
= wxPyCBInputStream_create(obj0
, false);
11941 if (arg1
== NULL
) {
11942 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= (bool)wxImage::CanRead(*arg1
);
11952 wxPyEndAllowThreads(__tstate
);
11953 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11959 if (created1
) delete arg1
;
11964 if (created1
) delete arg1
;
11970 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxImage
*arg1
= (wxImage
*) 0 ;
11973 wxInputStream
*arg2
= 0 ;
11974 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11975 int arg4
= (int) -1 ;
11977 wxPyInputStream
*temp2
;
11979 PyObject
* obj0
= 0 ;
11980 PyObject
* obj1
= 0 ;
11981 PyObject
* obj2
= 0 ;
11982 PyObject
* obj3
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11988 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11989 if (SWIG_arg_fail(1)) SWIG_fail
;
11991 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11992 arg2
= temp2
->m_wxis
;
11995 PyErr_Clear(); // clear the failure of the wxPyConvert above
11996 arg2
= wxPyCBInputStream_create(obj1
, false);
11997 if (arg2
== NULL
) {
11998 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12006 arg3
= (long)(SWIG_As_long(obj2
));
12007 if (SWIG_arg_fail(3)) SWIG_fail
;
12012 arg4
= (int)(SWIG_As_int(obj3
));
12013 if (SWIG_arg_fail(4)) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12027 if (created2
) delete arg2
;
12032 if (created2
) delete arg2
;
12038 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxImage
*arg1
= (wxImage
*) 0 ;
12041 wxInputStream
*arg2
= 0 ;
12042 wxString
*arg3
= 0 ;
12043 int arg4
= (int) -1 ;
12045 wxPyInputStream
*temp2
;
12047 bool temp3
= false ;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 PyObject
* obj2
= 0 ;
12051 PyObject
* obj3
= 0 ;
12052 char *kwnames
[] = {
12053 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12058 if (SWIG_arg_fail(1)) SWIG_fail
;
12060 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12061 arg2
= temp2
->m_wxis
;
12064 PyErr_Clear(); // clear the failure of the wxPyConvert above
12065 arg2
= wxPyCBInputStream_create(obj1
, false);
12066 if (arg2
== NULL
) {
12067 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12074 arg3
= wxString_in_helper(obj2
);
12075 if (arg3
== NULL
) SWIG_fail
;
12080 arg4
= (int)(SWIG_As_int(obj3
));
12081 if (SWIG_arg_fail(4)) SWIG_fail
;
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12095 if (created2
) delete arg2
;
12104 if (created2
) delete arg2
;
12114 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxImage
*arg1
= (wxImage
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12125 if (SWIG_arg_fail(1)) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (bool)(arg1
)->Ok();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12142 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxImage
*arg1
= (wxImage
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12153 if (SWIG_arg_fail(1)) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (int)(arg1
)->GetWidth();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12162 resultobj
= SWIG_From_int((int)(result
));
12170 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxImage
*arg1
= (wxImage
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12181 if (SWIG_arg_fail(1)) SWIG_fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (int)(arg1
)->GetHeight();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= SWIG_From_int((int)(result
));
12198 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12199 PyObject
*resultobj
;
12200 wxImage
*arg1
= (wxImage
*) 0 ;
12202 PyObject
* obj0
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12209 if (SWIG_arg_fail(1)) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 result
= wxImage_GetSize(arg1
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12218 wxSize
* resultptr
;
12219 resultptr
= new wxSize((wxSize
&)(result
));
12220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12228 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
;
12230 wxImage
*arg1
= (wxImage
*) 0 ;
12232 SwigValueWrapper
<wxImage
> result
;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self",(char *) "rect", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12242 if (SWIG_arg_fail(1)) SWIG_fail
;
12245 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12255 wxImage
* resultptr
;
12256 resultptr
= new wxImage((wxImage
&)(result
));
12257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12265 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxImage
*arg1
= (wxImage
*) 0 ;
12269 wxPoint
*arg3
= 0 ;
12270 int arg4
= (int) -1 ;
12271 int arg5
= (int) -1 ;
12272 int arg6
= (int) -1 ;
12273 SwigValueWrapper
<wxImage
> result
;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 PyObject
* obj2
= 0 ;
12279 PyObject
* obj3
= 0 ;
12280 PyObject
* obj4
= 0 ;
12281 PyObject
* obj5
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12288 if (SWIG_arg_fail(1)) SWIG_fail
;
12291 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12295 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12299 arg4
= (int)(SWIG_As_int(obj3
));
12300 if (SWIG_arg_fail(4)) SWIG_fail
;
12305 arg5
= (int)(SWIG_As_int(obj4
));
12306 if (SWIG_arg_fail(5)) SWIG_fail
;
12311 arg6
= (int)(SWIG_As_int(obj5
));
12312 if (SWIG_arg_fail(6)) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12323 wxImage
* resultptr
;
12324 resultptr
= new wxImage((wxImage
&)(result
));
12325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12333 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxImage
*arg1
= (wxImage
*) 0 ;
12336 SwigValueWrapper
<wxImage
> result
;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12344 if (SWIG_arg_fail(1)) SWIG_fail
;
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 result
= (arg1
)->Copy();
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12353 wxImage
* resultptr
;
12354 resultptr
= new wxImage((wxImage
&)(result
));
12355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12363 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12364 PyObject
*resultobj
;
12365 wxImage
*arg1
= (wxImage
*) 0 ;
12366 wxImage
*arg2
= 0 ;
12369 PyObject
* obj0
= 0 ;
12370 PyObject
* obj1
= 0 ;
12371 PyObject
* obj2
= 0 ;
12372 PyObject
* obj3
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12379 if (SWIG_arg_fail(1)) SWIG_fail
;
12381 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12382 if (SWIG_arg_fail(2)) SWIG_fail
;
12383 if (arg2
== NULL
) {
12384 SWIG_null_ref("wxImage");
12386 if (SWIG_arg_fail(2)) SWIG_fail
;
12389 arg3
= (int)(SWIG_As_int(obj2
));
12390 if (SWIG_arg_fail(3)) SWIG_fail
;
12393 arg4
= (int)(SWIG_As_int(obj3
));
12394 if (SWIG_arg_fail(4)) SWIG_fail
;
12397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12403 Py_INCREF(Py_None
); resultobj
= Py_None
;
12410 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12411 PyObject
*resultobj
;
12412 wxImage
*arg1
= (wxImage
*) 0 ;
12414 PyObject
* obj0
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "self", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12421 if (SWIG_arg_fail(1)) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (PyObject
*)wxImage_GetData(arg1
);
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= result
;
12436 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxImage
*arg1
= (wxImage
*) 0 ;
12439 PyObject
*arg2
= (PyObject
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 PyObject
* obj1
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self",(char *) "data", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12448 if (SWIG_arg_fail(1)) SWIG_fail
;
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 wxImage_SetData(arg1
,arg2
);
12454 wxPyEndAllowThreads(__tstate
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 Py_INCREF(Py_None
); resultobj
= Py_None
;
12464 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxImage
*arg1
= (wxImage
*) 0 ;
12468 PyObject
* obj0
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "self", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12475 if (SWIG_arg_fail(1)) SWIG_fail
;
12477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12478 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12480 wxPyEndAllowThreads(__tstate
);
12481 if (PyErr_Occurred()) SWIG_fail
;
12483 resultobj
= result
;
12490 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxImage
*arg1
= (wxImage
*) 0 ;
12493 PyObject
*arg2
= (PyObject
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 PyObject
* obj1
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self",(char *) "data", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12502 if (SWIG_arg_fail(1)) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 wxImage_SetDataBuffer(arg1
,arg2
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 Py_INCREF(Py_None
); resultobj
= Py_None
;
12518 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
;
12520 wxImage
*arg1
= (wxImage
*) 0 ;
12522 PyObject
* obj0
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12529 if (SWIG_arg_fail(1)) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= result
;
12544 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxImage
*arg1
= (wxImage
*) 0 ;
12547 PyObject
*arg2
= (PyObject
*) 0 ;
12548 PyObject
* obj0
= 0 ;
12549 PyObject
* obj1
= 0 ;
12550 char *kwnames
[] = {
12551 (char *) "self",(char *) "data", NULL
12554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12556 if (SWIG_arg_fail(1)) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 wxImage_SetAlphaData(arg1
,arg2
);
12562 wxPyEndAllowThreads(__tstate
);
12563 if (PyErr_Occurred()) SWIG_fail
;
12565 Py_INCREF(Py_None
); resultobj
= Py_None
;
12572 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12573 PyObject
*resultobj
;
12574 wxImage
*arg1
= (wxImage
*) 0 ;
12576 PyObject
* obj0
= 0 ;
12577 char *kwnames
[] = {
12578 (char *) "self", NULL
12581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12583 if (SWIG_arg_fail(1)) SWIG_fail
;
12585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12586 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12591 resultobj
= result
;
12598 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxImage
*arg1
= (wxImage
*) 0 ;
12601 PyObject
*arg2
= (PyObject
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 PyObject
* obj1
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self",(char *) "data", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12610 if (SWIG_arg_fail(1)) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 wxImage_SetAlphaBuffer(arg1
,arg2
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 Py_INCREF(Py_None
); resultobj
= Py_None
;
12626 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12627 PyObject
*resultobj
;
12628 wxImage
*arg1
= (wxImage
*) 0 ;
12629 unsigned char arg2
;
12630 unsigned char arg3
;
12631 unsigned char arg4
;
12632 PyObject
* obj0
= 0 ;
12633 PyObject
* obj1
= 0 ;
12634 PyObject
* obj2
= 0 ;
12635 PyObject
* obj3
= 0 ;
12636 char *kwnames
[] = {
12637 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12642 if (SWIG_arg_fail(1)) SWIG_fail
;
12644 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
12645 if (SWIG_arg_fail(2)) SWIG_fail
;
12648 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
12649 if (SWIG_arg_fail(3)) SWIG_fail
;
12652 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
12653 if (SWIG_arg_fail(4)) SWIG_fail
;
12656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12657 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 Py_INCREF(Py_None
); resultobj
= Py_None
;
12669 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxImage
*arg1
= (wxImage
*) 0 ;
12672 unsigned char *arg2
= (unsigned char *) 0 ;
12673 unsigned char *arg3
= (unsigned char *) 0 ;
12674 unsigned char *arg4
= (unsigned char *) 0 ;
12675 unsigned char temp2
;
12677 unsigned char temp3
;
12679 unsigned char temp4
;
12681 PyObject
* obj0
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self", NULL
12686 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12687 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12688 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12691 if (SWIG_arg_fail(1)) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 Py_INCREF(Py_None
); resultobj
= Py_None
;
12700 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12701 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12702 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12703 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12704 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12705 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12712 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxImage
*arg1
= (wxImage
*) 0 ;
12715 unsigned char result
;
12716 PyObject
* obj0
= 0 ;
12717 char *kwnames
[] = {
12718 (char *) "self", NULL
12721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12723 if (SWIG_arg_fail(1)) SWIG_fail
;
12725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12726 result
= (unsigned char)(arg1
)->GetMaskRed();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12740 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12741 PyObject
*resultobj
;
12742 wxImage
*arg1
= (wxImage
*) 0 ;
12743 unsigned char result
;
12744 PyObject
* obj0
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "self", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12751 if (SWIG_arg_fail(1)) SWIG_fail
;
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 result
= (unsigned char)(arg1
)->GetMaskGreen();
12756 wxPyEndAllowThreads(__tstate
);
12757 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12768 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxImage
*arg1
= (wxImage
*) 0 ;
12771 unsigned char result
;
12772 PyObject
* obj0
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12779 if (SWIG_arg_fail(1)) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (unsigned char)(arg1
)->GetMaskBlue();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12796 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxImage
*arg1
= (wxImage
*) 0 ;
12799 bool arg2
= (bool) true ;
12800 PyObject
* obj0
= 0 ;
12801 PyObject
* obj1
= 0 ;
12802 char *kwnames
[] = {
12803 (char *) "self",(char *) "mask", NULL
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
12807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12808 if (SWIG_arg_fail(1)) SWIG_fail
;
12811 arg2
= (bool)(SWIG_As_bool(obj1
));
12812 if (SWIG_arg_fail(2)) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 (arg1
)->SetMask(arg2
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 Py_INCREF(Py_None
); resultobj
= Py_None
;
12829 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12830 PyObject
*resultobj
;
12831 wxImage
*arg1
= (wxImage
*) 0 ;
12833 PyObject
* obj0
= 0 ;
12834 char *kwnames
[] = {
12835 (char *) "self", NULL
12838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
12839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12840 if (SWIG_arg_fail(1)) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 result
= (bool)(arg1
)->HasMask();
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12857 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
;
12859 wxImage
*arg1
= (wxImage
*) 0 ;
12861 wxPoint
*arg3
= 0 ;
12862 bool arg4
= (bool) true ;
12863 wxPoint
*arg5
= (wxPoint
*) NULL
;
12864 SwigValueWrapper
<wxImage
> result
;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 PyObject
* obj2
= 0 ;
12869 PyObject
* obj3
= 0 ;
12870 PyObject
* obj4
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12877 if (SWIG_arg_fail(1)) SWIG_fail
;
12879 arg2
= (double)(SWIG_As_double(obj1
));
12880 if (SWIG_arg_fail(2)) SWIG_fail
;
12884 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12888 arg4
= (bool)(SWIG_As_bool(obj3
));
12889 if (SWIG_arg_fail(4)) SWIG_fail
;
12893 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
12894 if (SWIG_arg_fail(5)) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12904 wxImage
* resultptr
;
12905 resultptr
= new wxImage((wxImage
&)(result
));
12906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12914 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxImage
*arg1
= (wxImage
*) 0 ;
12917 bool arg2
= (bool) true ;
12918 SwigValueWrapper
<wxImage
> result
;
12919 PyObject
* obj0
= 0 ;
12920 PyObject
* obj1
= 0 ;
12921 char *kwnames
[] = {
12922 (char *) "self",(char *) "clockwise", NULL
12925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
12926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12927 if (SWIG_arg_fail(1)) SWIG_fail
;
12930 arg2
= (bool)(SWIG_As_bool(obj1
));
12931 if (SWIG_arg_fail(2)) SWIG_fail
;
12935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12936 result
= (arg1
)->Rotate90(arg2
);
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12942 wxImage
* resultptr
;
12943 resultptr
= new wxImage((wxImage
&)(result
));
12944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12952 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxImage
*arg1
= (wxImage
*) 0 ;
12955 bool arg2
= (bool) true ;
12956 SwigValueWrapper
<wxImage
> result
;
12957 PyObject
* obj0
= 0 ;
12958 PyObject
* obj1
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self",(char *) "horizontally", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
12964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12965 if (SWIG_arg_fail(1)) SWIG_fail
;
12968 arg2
= (bool)(SWIG_As_bool(obj1
));
12969 if (SWIG_arg_fail(2)) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (arg1
)->Mirror(arg2
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12980 wxImage
* resultptr
;
12981 resultptr
= new wxImage((wxImage
&)(result
));
12982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12990 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxImage
*arg1
= (wxImage
*) 0 ;
12993 unsigned char arg2
;
12994 unsigned char arg3
;
12995 unsigned char arg4
;
12996 unsigned char arg5
;
12997 unsigned char arg6
;
12998 unsigned char arg7
;
12999 PyObject
* obj0
= 0 ;
13000 PyObject
* obj1
= 0 ;
13001 PyObject
* obj2
= 0 ;
13002 PyObject
* obj3
= 0 ;
13003 PyObject
* obj4
= 0 ;
13004 PyObject
* obj5
= 0 ;
13005 PyObject
* obj6
= 0 ;
13006 char *kwnames
[] = {
13007 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13012 if (SWIG_arg_fail(1)) SWIG_fail
;
13014 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13015 if (SWIG_arg_fail(2)) SWIG_fail
;
13018 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13019 if (SWIG_arg_fail(3)) SWIG_fail
;
13022 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13023 if (SWIG_arg_fail(4)) SWIG_fail
;
13026 arg5
= (unsigned char)(SWIG_As_unsigned_SS_char(obj4
));
13027 if (SWIG_arg_fail(5)) SWIG_fail
;
13030 arg6
= (unsigned char)(SWIG_As_unsigned_SS_char(obj5
));
13031 if (SWIG_arg_fail(6)) SWIG_fail
;
13034 arg7
= (unsigned char)(SWIG_As_unsigned_SS_char(obj6
));
13035 if (SWIG_arg_fail(7)) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 Py_INCREF(Py_None
); resultobj
= Py_None
;
13051 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxImage
*arg1
= (wxImage
*) 0 ;
13054 unsigned char arg2
;
13055 unsigned char arg3
;
13056 unsigned char arg4
;
13057 SwigValueWrapper
<wxImage
> result
;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 PyObject
* obj2
= 0 ;
13061 PyObject
* obj3
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13068 if (SWIG_arg_fail(1)) SWIG_fail
;
13070 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13071 if (SWIG_arg_fail(2)) SWIG_fail
;
13074 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13075 if (SWIG_arg_fail(3)) SWIG_fail
;
13078 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13079 if (SWIG_arg_fail(4)) SWIG_fail
;
13082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13083 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13089 wxImage
* resultptr
;
13090 resultptr
= new wxImage((wxImage
&)(result
));
13091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13099 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxImage
*arg1
= (wxImage
*) 0 ;
13102 wxString
*arg2
= 0 ;
13103 wxString
*arg3
= 0 ;
13104 bool temp2
= false ;
13105 bool temp3
= false ;
13106 PyObject
* obj0
= 0 ;
13107 PyObject
* obj1
= 0 ;
13108 PyObject
* obj2
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self",(char *) "name",(char *) "value", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13115 if (SWIG_arg_fail(1)) SWIG_fail
;
13117 arg2
= wxString_in_helper(obj1
);
13118 if (arg2
== NULL
) SWIG_fail
;
13122 arg3
= wxString_in_helper(obj2
);
13123 if (arg3
== NULL
) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 Py_INCREF(Py_None
); resultobj
= Py_None
;
13156 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13157 PyObject
*resultobj
;
13158 wxImage
*arg1
= (wxImage
*) 0 ;
13159 wxString
*arg2
= 0 ;
13161 bool temp2
= false ;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 PyObject
* obj2
= 0 ;
13165 char *kwnames
[] = {
13166 (char *) "self",(char *) "name",(char *) "value", NULL
13169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13171 if (SWIG_arg_fail(1)) SWIG_fail
;
13173 arg2
= wxString_in_helper(obj1
);
13174 if (arg2
== NULL
) SWIG_fail
;
13178 arg3
= (int)(SWIG_As_int(obj2
));
13179 if (SWIG_arg_fail(3)) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 Py_INCREF(Py_None
); resultobj
= Py_None
;
13203 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxImage
*arg1
= (wxImage
*) 0 ;
13206 wxString
*arg2
= 0 ;
13208 bool temp2
= false ;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "name", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13217 if (SWIG_arg_fail(1)) SWIG_fail
;
13219 arg2
= wxString_in_helper(obj1
);
13220 if (arg2
== NULL
) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13251 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxImage
*arg1
= (wxImage
*) 0 ;
13254 wxString
*arg2
= 0 ;
13256 bool temp2
= false ;
13257 PyObject
* obj0
= 0 ;
13258 PyObject
* obj1
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self",(char *) "name", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13265 if (SWIG_arg_fail(1)) SWIG_fail
;
13267 arg2
= wxString_in_helper(obj1
);
13268 if (arg2
== NULL
) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_From_int((int)(result
));
13295 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxImage
*arg1
= (wxImage
*) 0 ;
13298 wxString
*arg2
= 0 ;
13300 bool temp2
= false ;
13301 PyObject
* obj0
= 0 ;
13302 PyObject
* obj1
= 0 ;
13303 char *kwnames
[] = {
13304 (char *) "self",(char *) "name", NULL
13307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13309 if (SWIG_arg_fail(1)) SWIG_fail
;
13311 arg2
= wxString_in_helper(obj1
);
13312 if (arg2
== NULL
) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13319 wxPyEndAllowThreads(__tstate
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13339 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxImage
*arg1
= (wxImage
*) 0 ;
13342 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13343 unsigned long result
;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self",(char *) "stopafter", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13352 if (SWIG_arg_fail(1)) SWIG_fail
;
13355 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13356 if (SWIG_arg_fail(2)) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13375 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxImage
*arg1
= (wxImage
*) 0 ;
13378 wxImageHistogram
*arg2
= 0 ;
13379 unsigned long result
;
13380 PyObject
* obj0
= 0 ;
13381 PyObject
* obj1
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self",(char *) "h", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13388 if (SWIG_arg_fail(1)) SWIG_fail
;
13390 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13391 if (SWIG_arg_fail(2)) SWIG_fail
;
13392 if (arg2
== NULL
) {
13393 SWIG_null_ref("wxImageHistogram");
13395 if (SWIG_arg_fail(2)) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13413 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "handler", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13423 if (SWIG_arg_fail(1)) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 wxImage::AddHandler(arg1
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 Py_INCREF(Py_None
); resultobj
= Py_None
;
13438 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13441 PyObject
* obj0
= 0 ;
13442 char *kwnames
[] = {
13443 (char *) "handler", NULL
13446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13448 if (SWIG_arg_fail(1)) SWIG_fail
;
13450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13451 wxImage::InsertHandler(arg1
);
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13456 Py_INCREF(Py_None
); resultobj
= Py_None
;
13463 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13464 PyObject
*resultobj
;
13465 wxString
*arg1
= 0 ;
13467 bool temp1
= false ;
13468 PyObject
* obj0
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "name", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13475 arg1
= wxString_in_helper(obj0
);
13476 if (arg1
== NULL
) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13503 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13506 char *kwnames
[] = {
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= wxImage::GetImageExtWildcard();
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13531 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxImage
*arg1
= (wxImage
*) 0 ;
13534 int arg2
= (int) -1 ;
13536 PyObject
* obj0
= 0 ;
13537 PyObject
* obj1
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "self",(char *) "depth", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13544 if (SWIG_arg_fail(1)) SWIG_fail
;
13547 arg2
= (int)(SWIG_As_int(obj1
));
13548 if (SWIG_arg_fail(2)) SWIG_fail
;
13552 if (!wxPyCheckForApp()) SWIG_fail
;
13553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13554 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13556 wxPyEndAllowThreads(__tstate
);
13557 if (PyErr_Occurred()) SWIG_fail
;
13560 wxBitmap
* resultptr
;
13561 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13570 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxImage
*arg1
= (wxImage
*) 0 ;
13573 unsigned char arg2
;
13574 unsigned char arg3
;
13575 unsigned char arg4
;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 PyObject
* obj2
= 0 ;
13580 PyObject
* obj3
= 0 ;
13581 char *kwnames
[] = {
13582 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13587 if (SWIG_arg_fail(1)) SWIG_fail
;
13589 arg2
= (unsigned char)(SWIG_As_unsigned_SS_char(obj1
));
13590 if (SWIG_arg_fail(2)) SWIG_fail
;
13593 arg3
= (unsigned char)(SWIG_As_unsigned_SS_char(obj2
));
13594 if (SWIG_arg_fail(3)) SWIG_fail
;
13597 arg4
= (unsigned char)(SWIG_As_unsigned_SS_char(obj3
));
13598 if (SWIG_arg_fail(4)) SWIG_fail
;
13601 if (!wxPyCheckForApp()) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 wxBitmap
* resultptr
;
13610 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13619 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13622 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13624 return Py_BuildValue((char *)"");
13626 static int _wrap_NullImage_set(PyObject
*) {
13627 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13632 static PyObject
*_wrap_NullImage_get(void) {
13635 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13640 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13641 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13646 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13651 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13653 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13660 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13661 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13666 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13671 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13673 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13680 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13681 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13686 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13691 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13693 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13700 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13701 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13706 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13711 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13713 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13720 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13721 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13726 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13731 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13733 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13740 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13741 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13746 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13751 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13753 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13760 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13761 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13766 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13771 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13773 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13780 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13781 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
13786 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
13791 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13793 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
13800 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
13801 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
13806 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
13811 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13813 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
13820 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
13821 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
13826 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
13831 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13833 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
13840 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
13841 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
13846 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
13851 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13853 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
13860 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
13861 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
13866 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
13871 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13873 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
13880 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
13881 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
13886 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
13891 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13893 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
13900 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
13901 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
13906 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
13911 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13913 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
13920 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
13921 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
13926 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
13931 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13933 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
13940 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxBMPHandler
*result
;
13943 char *kwnames
[] = {
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (wxBMPHandler
*)new wxBMPHandler();
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
13962 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
13964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13965 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
13967 return Py_BuildValue((char *)"");
13969 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13970 PyObject
*resultobj
;
13971 wxICOHandler
*result
;
13972 char *kwnames
[] = {
13976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= (wxICOHandler
*)new wxICOHandler();
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
13991 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
13993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13994 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
13996 return Py_BuildValue((char *)"");
13998 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxCURHandler
*result
;
14001 char *kwnames
[] = {
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14008 result
= (wxCURHandler
*)new wxCURHandler();
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14020 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14023 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14025 return Py_BuildValue((char *)"");
14027 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14028 PyObject
*resultobj
;
14029 wxANIHandler
*result
;
14030 char *kwnames
[] = {
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (wxANIHandler
*)new wxANIHandler();
14039 wxPyEndAllowThreads(__tstate
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14049 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14052 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14054 return Py_BuildValue((char *)"");
14056 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxPNGHandler
*result
;
14059 char *kwnames
[] = {
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (wxPNGHandler
*)new wxPNGHandler();
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14078 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14081 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14083 return Py_BuildValue((char *)"");
14085 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14086 PyObject
*resultobj
;
14087 wxGIFHandler
*result
;
14088 char *kwnames
[] = {
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (wxGIFHandler
*)new wxGIFHandler();
14097 wxPyEndAllowThreads(__tstate
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14107 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14110 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14112 return Py_BuildValue((char *)"");
14114 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxPCXHandler
*result
;
14117 char *kwnames
[] = {
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 result
= (wxPCXHandler
*)new wxPCXHandler();
14126 wxPyEndAllowThreads(__tstate
);
14127 if (PyErr_Occurred()) SWIG_fail
;
14129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14136 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14139 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14141 return Py_BuildValue((char *)"");
14143 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
;
14145 wxJPEGHandler
*result
;
14146 char *kwnames
[] = {
14150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14153 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14155 wxPyEndAllowThreads(__tstate
);
14156 if (PyErr_Occurred()) SWIG_fail
;
14158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14165 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14168 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14170 return Py_BuildValue((char *)"");
14172 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxPNMHandler
*result
;
14175 char *kwnames
[] = {
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (wxPNMHandler
*)new wxPNMHandler();
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14194 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14197 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14199 return Py_BuildValue((char *)"");
14201 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxXPMHandler
*result
;
14204 char *kwnames
[] = {
14208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (wxXPMHandler
*)new wxXPMHandler();
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14223 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14226 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14228 return Py_BuildValue((char *)"");
14230 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxTIFFHandler
*result
;
14233 char *kwnames
[] = {
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14252 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14255 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14257 return Py_BuildValue((char *)"");
14259 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxImage
*arg1
= 0 ;
14262 wxImage
*arg2
= 0 ;
14263 int arg3
= (int) 236 ;
14264 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14266 PyObject
* obj0
= 0 ;
14267 PyObject
* obj1
= 0 ;
14268 PyObject
* obj2
= 0 ;
14269 PyObject
* obj3
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14277 if (SWIG_arg_fail(1)) SWIG_fail
;
14278 if (arg1
== NULL
) {
14279 SWIG_null_ref("wxImage");
14281 if (SWIG_arg_fail(1)) SWIG_fail
;
14284 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14285 if (SWIG_arg_fail(2)) SWIG_fail
;
14286 if (arg2
== NULL
) {
14287 SWIG_null_ref("wxImage");
14289 if (SWIG_arg_fail(2)) SWIG_fail
;
14293 arg3
= (int)(SWIG_As_int(obj2
));
14294 if (SWIG_arg_fail(3)) SWIG_fail
;
14299 arg4
= (int)(SWIG_As_int(obj3
));
14300 if (SWIG_arg_fail(4)) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14319 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14322 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14324 return Py_BuildValue((char *)"");
14326 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14327 PyObject
*resultobj
;
14328 wxEvtHandler
*result
;
14329 char *kwnames
[] = {
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (wxEvtHandler
*)new wxEvtHandler();
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14348 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
;
14350 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14351 wxEvtHandler
*result
;
14352 PyObject
* obj0
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14359 if (SWIG_arg_fail(1)) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= wxPyMake_wxObject(result
, 0);
14376 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14379 wxEvtHandler
*result
;
14380 PyObject
* obj0
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "self", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
14386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14387 if (SWIG_arg_fail(1)) SWIG_fail
;
14389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14390 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14392 wxPyEndAllowThreads(__tstate
);
14393 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= wxPyMake_wxObject(result
, 0);
14404 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14407 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self",(char *) "handler", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14416 if (SWIG_arg_fail(1)) SWIG_fail
;
14417 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14418 if (SWIG_arg_fail(2)) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 (arg1
)->SetNextHandler(arg2
);
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 Py_INCREF(Py_None
); resultobj
= Py_None
;
14433 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14436 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self",(char *) "handler", NULL
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14445 if (SWIG_arg_fail(1)) SWIG_fail
;
14446 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14447 if (SWIG_arg_fail(2)) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 (arg1
)->SetPreviousHandler(arg2
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 Py_INCREF(Py_None
); resultobj
= Py_None
;
14462 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14473 if (SWIG_arg_fail(1)) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14490 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 PyObject
* obj1
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self",(char *) "enabled", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14502 if (SWIG_arg_fail(1)) SWIG_fail
;
14504 arg2
= (bool)(SWIG_As_bool(obj1
));
14505 if (SWIG_arg_fail(2)) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 (arg1
)->SetEvtHandlerEnabled(arg2
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 Py_INCREF(Py_None
); resultobj
= Py_None
;
14521 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
;
14523 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14524 wxEvent
*arg2
= 0 ;
14526 PyObject
* obj0
= 0 ;
14527 PyObject
* obj1
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "self",(char *) "event", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14534 if (SWIG_arg_fail(1)) SWIG_fail
;
14536 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14537 if (SWIG_arg_fail(2)) SWIG_fail
;
14538 if (arg2
== NULL
) {
14539 SWIG_null_ref("wxEvent");
14541 if (SWIG_arg_fail(2)) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14559 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14562 wxEvent
*arg2
= 0 ;
14563 PyObject
* obj0
= 0 ;
14564 PyObject
* obj1
= 0 ;
14565 char *kwnames
[] = {
14566 (char *) "self",(char *) "event", NULL
14569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14571 if (SWIG_arg_fail(1)) SWIG_fail
;
14573 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14574 if (SWIG_arg_fail(2)) SWIG_fail
;
14575 if (arg2
== NULL
) {
14576 SWIG_null_ref("wxEvent");
14578 if (SWIG_arg_fail(2)) SWIG_fail
;
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 (arg1
)->AddPendingEvent(*arg2
);
14584 wxPyEndAllowThreads(__tstate
);
14585 if (PyErr_Occurred()) SWIG_fail
;
14587 Py_INCREF(Py_None
); resultobj
= Py_None
;
14594 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14597 PyObject
* obj0
= 0 ;
14598 char *kwnames
[] = {
14599 (char *) "self", NULL
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14604 if (SWIG_arg_fail(1)) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 (arg1
)->ProcessPendingEvents();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 Py_INCREF(Py_None
); resultobj
= Py_None
;
14619 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14625 PyObject
*arg5
= (PyObject
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 PyObject
* obj2
= 0 ;
14629 PyObject
* obj3
= 0 ;
14630 PyObject
* obj4
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14637 if (SWIG_arg_fail(1)) SWIG_fail
;
14639 arg2
= (int)(SWIG_As_int(obj1
));
14640 if (SWIG_arg_fail(2)) SWIG_fail
;
14643 arg3
= (int)(SWIG_As_int(obj2
));
14644 if (SWIG_arg_fail(3)) SWIG_fail
;
14647 arg4
= (int)(SWIG_As_int(obj3
));
14648 if (SWIG_arg_fail(4)) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 Py_INCREF(Py_None
); resultobj
= Py_None
;
14665 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14669 int arg3
= (int) -1 ;
14670 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14672 PyObject
* obj0
= 0 ;
14673 PyObject
* obj1
= 0 ;
14674 PyObject
* obj2
= 0 ;
14675 PyObject
* obj3
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14682 if (SWIG_arg_fail(1)) SWIG_fail
;
14684 arg2
= (int)(SWIG_As_int(obj1
));
14685 if (SWIG_arg_fail(2)) SWIG_fail
;
14689 arg3
= (int)(SWIG_As_int(obj2
));
14690 if (SWIG_arg_fail(3)) SWIG_fail
;
14695 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14696 if (SWIG_arg_fail(4)) SWIG_fail
;
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14703 wxPyEndAllowThreads(__tstate
);
14704 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14715 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14718 PyObject
*arg2
= (PyObject
*) 0 ;
14719 bool arg3
= (bool) true ;
14720 PyObject
* obj0
= 0 ;
14721 PyObject
* obj1
= 0 ;
14722 PyObject
* obj2
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self",(char *) "_self",(char *) "incref", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14729 if (SWIG_arg_fail(1)) SWIG_fail
;
14733 arg3
= (bool)(SWIG_As_bool(obj2
));
14734 if (SWIG_arg_fail(3)) SWIG_fail
;
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14744 Py_INCREF(Py_None
); resultobj
= Py_None
;
14751 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14754 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14756 return Py_BuildValue((char *)"");
14758 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxEventType result
;
14761 char *kwnames
[] = {
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 result
= (wxEventType
)wxNewEventType();
14770 wxPyEndAllowThreads(__tstate
);
14771 if (PyErr_Occurred()) SWIG_fail
;
14774 resultobj
= SWIG_From_int((int)(result
));
14782 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxEvent
*arg1
= (wxEvent
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
14791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14792 if (SWIG_arg_fail(1)) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 Py_INCREF(Py_None
); resultobj
= Py_None
;
14807 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxEvent
*arg1
= (wxEvent
*) 0 ;
14811 PyObject
* obj0
= 0 ;
14812 PyObject
* obj1
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self",(char *) "typ", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
14818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14819 if (SWIG_arg_fail(1)) SWIG_fail
;
14821 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
14822 if (SWIG_arg_fail(2)) SWIG_fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 (arg1
)->SetEventType(arg2
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14831 Py_INCREF(Py_None
); resultobj
= Py_None
;
14838 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxEvent
*arg1
= (wxEvent
*) 0 ;
14841 wxEventType result
;
14842 PyObject
* obj0
= 0 ;
14843 char *kwnames
[] = {
14844 (char *) "self", NULL
14847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
14848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14849 if (SWIG_arg_fail(1)) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= SWIG_From_int((int)(result
));
14866 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxEvent
*arg1
= (wxEvent
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
14876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14877 if (SWIG_arg_fail(1)) SWIG_fail
;
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= wxPyMake_wxObject(result
, 0);
14894 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxEvent
*arg1
= (wxEvent
*) 0 ;
14897 wxObject
*arg2
= (wxObject
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 PyObject
* obj1
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self",(char *) "obj", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
14905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14906 if (SWIG_arg_fail(1)) SWIG_fail
;
14907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
14908 if (SWIG_arg_fail(2)) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 (arg1
)->SetEventObject(arg2
);
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 Py_INCREF(Py_None
); resultobj
= Py_None
;
14923 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxEvent
*arg1
= (wxEvent
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
14933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14934 if (SWIG_arg_fail(1)) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= SWIG_From_long((long)(result
));
14951 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxEvent
*arg1
= (wxEvent
*) 0 ;
14954 long arg2
= (long) 0 ;
14955 PyObject
* obj0
= 0 ;
14956 PyObject
* obj1
= 0 ;
14957 char *kwnames
[] = {
14958 (char *) "self",(char *) "ts", NULL
14961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
14962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14963 if (SWIG_arg_fail(1)) SWIG_fail
;
14966 arg2
= (long)(SWIG_As_long(obj1
));
14967 if (SWIG_arg_fail(2)) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14972 (arg1
)->SetTimestamp(arg2
);
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 Py_INCREF(Py_None
); resultobj
= Py_None
;
14984 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14985 PyObject
*resultobj
;
14986 wxEvent
*arg1
= (wxEvent
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
14994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14995 if (SWIG_arg_fail(1)) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (int)((wxEvent
const *)arg1
)->GetId();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_From_int((int)(result
));
15012 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxEvent
*arg1
= (wxEvent
*) 0 ;
15016 PyObject
* obj0
= 0 ;
15017 PyObject
* obj1
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self",(char *) "Id", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15024 if (SWIG_arg_fail(1)) SWIG_fail
;
15026 arg2
= (int)(SWIG_As_int(obj1
));
15027 if (SWIG_arg_fail(2)) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 (arg1
)->SetId(arg2
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 Py_INCREF(Py_None
); resultobj
= Py_None
;
15043 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxEvent
*arg1
= (wxEvent
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "self", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15054 if (SWIG_arg_fail(1)) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15071 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15072 PyObject
*resultobj
;
15073 wxEvent
*arg1
= (wxEvent
*) 0 ;
15074 bool arg2
= (bool) true ;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "self",(char *) "skip", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15083 if (SWIG_arg_fail(1)) SWIG_fail
;
15086 arg2
= (bool)(SWIG_As_bool(obj1
));
15087 if (SWIG_arg_fail(2)) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 (arg1
)->Skip(arg2
);
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 Py_INCREF(Py_None
); resultobj
= Py_None
;
15104 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxEvent
*arg1
= (wxEvent
*) 0 ;
15108 PyObject
* obj0
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "self", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15115 if (SWIG_arg_fail(1)) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15132 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
;
15134 wxEvent
*arg1
= (wxEvent
*) 0 ;
15136 PyObject
* obj0
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15143 if (SWIG_arg_fail(1)) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15160 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
;
15162 wxEvent
*arg1
= (wxEvent
*) 0 ;
15164 PyObject
* obj0
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15171 if (SWIG_arg_fail(1)) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (int)(arg1
)->StopPropagation();
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15180 resultobj
= SWIG_From_int((int)(result
));
15188 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxEvent
*arg1
= (wxEvent
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 PyObject
* obj1
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "self",(char *) "propagationLevel", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15200 if (SWIG_arg_fail(1)) SWIG_fail
;
15202 arg2
= (int)(SWIG_As_int(obj1
));
15203 if (SWIG_arg_fail(2)) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 (arg1
)->ResumePropagation(arg2
);
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 Py_INCREF(Py_None
); resultobj
= Py_None
;
15219 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxEvent
*arg1
= (wxEvent
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15230 if (SWIG_arg_fail(1)) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (wxEvent
*)(arg1
)->Clone();
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15245 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15248 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15250 return Py_BuildValue((char *)"");
15252 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxEvent
*arg1
= 0 ;
15255 wxPropagationDisabler
*result
;
15256 PyObject
* obj0
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "event", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15263 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15264 if (SWIG_arg_fail(1)) SWIG_fail
;
15265 if (arg1
== NULL
) {
15266 SWIG_null_ref("wxEvent");
15268 if (SWIG_arg_fail(1)) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15284 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15287 PyObject
* obj0
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15294 if (SWIG_arg_fail(1)) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 Py_INCREF(Py_None
); resultobj
= Py_None
;
15309 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15312 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15314 return Py_BuildValue((char *)"");
15316 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxEvent
*arg1
= 0 ;
15319 wxPropagateOnce
*result
;
15320 PyObject
* obj0
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "event", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15328 if (SWIG_arg_fail(1)) SWIG_fail
;
15329 if (arg1
== NULL
) {
15330 SWIG_null_ref("wxEvent");
15332 if (SWIG_arg_fail(1)) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15348 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15358 if (SWIG_arg_fail(1)) SWIG_fail
;
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 wxPyEndAllowThreads(__tstate
);
15364 if (PyErr_Occurred()) SWIG_fail
;
15366 Py_INCREF(Py_None
); resultobj
= Py_None
;
15373 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15376 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15378 return Py_BuildValue((char *)"");
15380 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15383 int arg2
= (int) 0 ;
15384 wxCommandEvent
*result
;
15385 PyObject
* obj0
= 0 ;
15386 PyObject
* obj1
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "commandType",(char *) "winid", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15394 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15395 if (SWIG_arg_fail(1)) SWIG_fail
;
15400 arg2
= (int)(SWIG_As_int(obj1
));
15401 if (SWIG_arg_fail(2)) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15418 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15422 PyObject
* obj0
= 0 ;
15423 char *kwnames
[] = {
15424 (char *) "self", NULL
15427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15429 if (SWIG_arg_fail(1)) SWIG_fail
;
15431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15432 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= SWIG_From_int((int)(result
));
15446 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
;
15448 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15449 wxString
*arg2
= 0 ;
15450 bool temp2
= false ;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self",(char *) "s", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
15458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15459 if (SWIG_arg_fail(1)) SWIG_fail
;
15461 arg2
= wxString_in_helper(obj1
);
15462 if (arg2
== NULL
) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 (arg1
)->SetString((wxString
const &)*arg2
);
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15472 Py_INCREF(Py_None
); resultobj
= Py_None
;
15487 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15488 PyObject
*resultobj
;
15489 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15491 PyObject
* obj0
= 0 ;
15492 char *kwnames
[] = {
15493 (char *) "self", NULL
15496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15498 if (SWIG_arg_fail(1)) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15519 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15530 if (SWIG_arg_fail(1)) SWIG_fail
;
15532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15533 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15535 wxPyEndAllowThreads(__tstate
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15547 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15558 if (SWIG_arg_fail(1)) SWIG_fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15575 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
;
15577 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 PyObject
* obj1
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self",(char *) "extraLong", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15587 if (SWIG_arg_fail(1)) SWIG_fail
;
15589 arg2
= (long)(SWIG_As_long(obj1
));
15590 if (SWIG_arg_fail(2)) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 (arg1
)->SetExtraLong(arg2
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 Py_INCREF(Py_None
); resultobj
= Py_None
;
15606 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15617 if (SWIG_arg_fail(1)) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_From_long((long)(result
));
15634 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15635 PyObject
*resultobj
;
15636 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self",(char *) "i", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15646 if (SWIG_arg_fail(1)) SWIG_fail
;
15648 arg2
= (int)(SWIG_As_int(obj1
));
15649 if (SWIG_arg_fail(2)) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 (arg1
)->SetInt(arg2
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15676 if (SWIG_arg_fail(1)) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= SWIG_From_long((long)(result
));
15693 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15694 PyObject
*resultobj
;
15695 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15697 PyObject
* obj0
= 0 ;
15698 char *kwnames
[] = {
15699 (char *) "self", NULL
15702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15704 if (SWIG_arg_fail(1)) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15719 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15722 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15724 return Py_BuildValue((char *)"");
15726 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15727 PyObject
*resultobj
;
15728 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15729 int arg2
= (int) 0 ;
15730 wxNotifyEvent
*result
;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "commandType",(char *) "winid", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15740 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15741 if (SWIG_arg_fail(1)) SWIG_fail
;
15746 arg2
= (int)(SWIG_As_int(obj1
));
15747 if (SWIG_arg_fail(2)) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15764 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15767 PyObject
* obj0
= 0 ;
15768 char *kwnames
[] = {
15769 (char *) "self", NULL
15772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15773 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15774 if (SWIG_arg_fail(1)) SWIG_fail
;
15776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15779 wxPyEndAllowThreads(__tstate
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15782 Py_INCREF(Py_None
); resultobj
= Py_None
;
15789 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
15798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15799 if (SWIG_arg_fail(1)) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 Py_INCREF(Py_None
); resultobj
= Py_None
;
15814 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15818 PyObject
* obj0
= 0 ;
15819 char *kwnames
[] = {
15820 (char *) "self", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
15824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15825 if (SWIG_arg_fail(1)) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 result
= (bool)(arg1
)->IsAllowed();
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15842 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
15844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15845 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
15847 return Py_BuildValue((char *)"");
15849 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15852 int arg2
= (int) 0 ;
15853 int arg3
= (int) 0 ;
15854 int arg4
= (int) 0 ;
15855 wxScrollEvent
*result
;
15856 PyObject
* obj0
= 0 ;
15857 PyObject
* obj1
= 0 ;
15858 PyObject
* obj2
= 0 ;
15859 PyObject
* obj3
= 0 ;
15860 char *kwnames
[] = {
15861 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
15864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15867 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15868 if (SWIG_arg_fail(1)) SWIG_fail
;
15873 arg2
= (int)(SWIG_As_int(obj1
));
15874 if (SWIG_arg_fail(2)) SWIG_fail
;
15879 arg3
= (int)(SWIG_As_int(obj2
));
15880 if (SWIG_arg_fail(3)) SWIG_fail
;
15885 arg4
= (int)(SWIG_As_int(obj3
));
15886 if (SWIG_arg_fail(4)) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
15903 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15907 PyObject
* obj0
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
15913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15914 if (SWIG_arg_fail(1)) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
15919 wxPyEndAllowThreads(__tstate
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 resultobj
= SWIG_From_int((int)(result
));
15931 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15933 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15935 PyObject
* obj0
= 0 ;
15936 char *kwnames
[] = {
15937 (char *) "self", NULL
15940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15942 if (SWIG_arg_fail(1)) SWIG_fail
;
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
15947 wxPyEndAllowThreads(__tstate
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= SWIG_From_int((int)(result
));
15959 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15961 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15963 PyObject
* obj0
= 0 ;
15964 PyObject
* obj1
= 0 ;
15965 char *kwnames
[] = {
15966 (char *) "self",(char *) "orient", NULL
15969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
15970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
15971 if (SWIG_arg_fail(1)) SWIG_fail
;
15973 arg2
= (int)(SWIG_As_int(obj1
));
15974 if (SWIG_arg_fail(2)) SWIG_fail
;
15977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15978 (arg1
)->SetOrientation(arg2
);
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 Py_INCREF(Py_None
); resultobj
= Py_None
;
15990 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
15994 PyObject
* obj0
= 0 ;
15995 PyObject
* obj1
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "self",(char *) "pos", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16002 if (SWIG_arg_fail(1)) SWIG_fail
;
16004 arg2
= (int)(SWIG_As_int(obj1
));
16005 if (SWIG_arg_fail(2)) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 (arg1
)->SetPosition(arg2
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 Py_INCREF(Py_None
); resultobj
= Py_None
;
16021 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16024 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16026 return Py_BuildValue((char *)"");
16028 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16031 int arg2
= (int) 0 ;
16032 int arg3
= (int) 0 ;
16033 wxScrollWinEvent
*result
;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 PyObject
* obj2
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16044 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16045 if (SWIG_arg_fail(1)) SWIG_fail
;
16050 arg2
= (int)(SWIG_As_int(obj1
));
16051 if (SWIG_arg_fail(2)) SWIG_fail
;
16056 arg3
= (int)(SWIG_As_int(obj2
));
16057 if (SWIG_arg_fail(3)) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16074 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
;
16076 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16078 PyObject
* obj0
= 0 ;
16079 char *kwnames
[] = {
16080 (char *) "self", NULL
16083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16085 if (SWIG_arg_fail(1)) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16094 resultobj
= SWIG_From_int((int)(result
));
16102 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16106 PyObject
* obj0
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16113 if (SWIG_arg_fail(1)) SWIG_fail
;
16115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16116 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16118 wxPyEndAllowThreads(__tstate
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16122 resultobj
= SWIG_From_int((int)(result
));
16130 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16134 PyObject
* obj0
= 0 ;
16135 PyObject
* obj1
= 0 ;
16136 char *kwnames
[] = {
16137 (char *) "self",(char *) "orient", NULL
16140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16142 if (SWIG_arg_fail(1)) SWIG_fail
;
16144 arg2
= (int)(SWIG_As_int(obj1
));
16145 if (SWIG_arg_fail(2)) SWIG_fail
;
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 (arg1
)->SetOrientation(arg2
);
16151 wxPyEndAllowThreads(__tstate
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16154 Py_INCREF(Py_None
); resultobj
= Py_None
;
16161 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16162 PyObject
*resultobj
;
16163 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16165 PyObject
* obj0
= 0 ;
16166 PyObject
* obj1
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self",(char *) "pos", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16173 if (SWIG_arg_fail(1)) SWIG_fail
;
16175 arg2
= (int)(SWIG_As_int(obj1
));
16176 if (SWIG_arg_fail(2)) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 (arg1
)->SetPosition(arg2
);
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16185 Py_INCREF(Py_None
); resultobj
= Py_None
;
16192 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16195 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16197 return Py_BuildValue((char *)"");
16199 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16202 wxMouseEvent
*result
;
16203 PyObject
* obj0
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "mouseType", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16211 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16212 if (SWIG_arg_fail(1)) SWIG_fail
;
16216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16217 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16219 wxPyEndAllowThreads(__tstate
);
16220 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= wxPyMake_wxObject(result
, 1);
16231 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 char *kwnames
[] = {
16237 (char *) "self", NULL
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16242 if (SWIG_arg_fail(1)) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16259 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16262 int arg2
= (int) wxMOUSE_BTN_ANY
;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self",(char *) "but", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16272 if (SWIG_arg_fail(1)) SWIG_fail
;
16275 arg2
= (int)(SWIG_As_int(obj1
));
16276 if (SWIG_arg_fail(2)) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16295 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16298 int arg2
= (int) wxMOUSE_BTN_ANY
;
16300 PyObject
* obj0
= 0 ;
16301 PyObject
* obj1
= 0 ;
16302 char *kwnames
[] = {
16303 (char *) "self",(char *) "but", NULL
16306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16308 if (SWIG_arg_fail(1)) SWIG_fail
;
16311 arg2
= (int)(SWIG_As_int(obj1
));
16312 if (SWIG_arg_fail(2)) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16331 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16334 int arg2
= (int) wxMOUSE_BTN_ANY
;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "but", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16344 if (SWIG_arg_fail(1)) SWIG_fail
;
16347 arg2
= (int)(SWIG_As_int(obj1
));
16348 if (SWIG_arg_fail(2)) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self",(char *) "but", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16379 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16380 if (SWIG_arg_fail(1)) SWIG_fail
;
16382 arg2
= (int)(SWIG_As_int(obj1
));
16383 if (SWIG_arg_fail(2)) SWIG_fail
;
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16401 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 char *kwnames
[] = {
16409 (char *) "self",(char *) "but", NULL
16412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16414 if (SWIG_arg_fail(1)) SWIG_fail
;
16416 arg2
= (int)(SWIG_As_int(obj1
));
16417 if (SWIG_arg_fail(2)) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16435 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16446 if (SWIG_arg_fail(1)) SWIG_fail
;
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= SWIG_From_int((int)(result
));
16463 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16474 if (SWIG_arg_fail(1)) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16491 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16502 if (SWIG_arg_fail(1)) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16519 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16523 PyObject
* obj0
= 0 ;
16524 char *kwnames
[] = {
16525 (char *) "self", NULL
16528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16530 if (SWIG_arg_fail(1)) SWIG_fail
;
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16535 wxPyEndAllowThreads(__tstate
);
16536 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16547 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16558 if (SWIG_arg_fail(1)) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16575 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16586 if (SWIG_arg_fail(1)) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16603 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16613 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16614 if (SWIG_arg_fail(1)) SWIG_fail
;
16616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16617 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16619 wxPyEndAllowThreads(__tstate
);
16620 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16631 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16642 if (SWIG_arg_fail(1)) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16659 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16661 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "self", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16670 if (SWIG_arg_fail(1)) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16687 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16691 PyObject
* obj0
= 0 ;
16692 char *kwnames
[] = {
16693 (char *) "self", NULL
16696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16698 if (SWIG_arg_fail(1)) SWIG_fail
;
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16715 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16716 PyObject
*resultobj
;
16717 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 char *kwnames
[] = {
16721 (char *) "self", NULL
16724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16726 if (SWIG_arg_fail(1)) SWIG_fail
;
16728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16729 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16731 wxPyEndAllowThreads(__tstate
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16743 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16754 if (SWIG_arg_fail(1)) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16771 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16775 PyObject
* obj0
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16782 if (SWIG_arg_fail(1)) SWIG_fail
;
16784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16785 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
16787 wxPyEndAllowThreads(__tstate
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16799 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
16809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16810 if (SWIG_arg_fail(1)) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16827 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16831 PyObject
* obj0
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "self", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
16837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16838 if (SWIG_arg_fail(1)) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16855 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
16865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16866 if (SWIG_arg_fail(1)) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (bool)(arg1
)->LeftIsDown();
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16883 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16885 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 char *kwnames
[] = {
16889 (char *) "self", NULL
16892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
16893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16894 if (SWIG_arg_fail(1)) SWIG_fail
;
16896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 result
= (bool)(arg1
)->MiddleIsDown();
16899 wxPyEndAllowThreads(__tstate
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16911 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
16921 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16922 if (SWIG_arg_fail(1)) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (bool)(arg1
)->RightIsDown();
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16939 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16940 PyObject
*resultobj
;
16941 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16943 PyObject
* obj0
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
16949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16950 if (SWIG_arg_fail(1)) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16967 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
16977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16978 if (SWIG_arg_fail(1)) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16995 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
;
16997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16999 PyObject
* obj0
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17006 if (SWIG_arg_fail(1)) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17023 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17033 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17034 if (SWIG_arg_fail(1)) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17051 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17055 PyObject
* obj0
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "self", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17062 if (SWIG_arg_fail(1)) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (arg1
)->GetPosition();
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 wxPoint
* resultptr
;
17072 resultptr
= new wxPoint((wxPoint
&)(result
));
17073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17081 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17084 long *arg2
= (long *) 0 ;
17085 long *arg3
= (long *) 0 ;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self", NULL
17095 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17096 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17099 if (SWIG_arg_fail(1)) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 (arg1
)->GetPosition(arg2
,arg3
);
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 Py_INCREF(Py_None
); resultobj
= Py_None
;
17108 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17109 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17110 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17111 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17118 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
;
17120 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17123 PyObject
* obj0
= 0 ;
17124 PyObject
* obj1
= 0 ;
17125 char *kwnames
[] = {
17126 (char *) "self",(char *) "dc", NULL
17129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17131 if (SWIG_arg_fail(1)) SWIG_fail
;
17133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17134 if (SWIG_arg_fail(2)) SWIG_fail
;
17135 if (arg2
== NULL
) {
17136 SWIG_null_ref("wxDC");
17138 if (SWIG_arg_fail(2)) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 wxPoint
* resultptr
;
17149 resultptr
= new wxPoint((wxPoint
&)(result
));
17150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17158 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17159 PyObject
*resultobj
;
17160 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17162 PyObject
* obj0
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17169 if (SWIG_arg_fail(1)) SWIG_fail
;
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17178 resultobj
= SWIG_From_int((int)(result
));
17186 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17190 PyObject
* obj0
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17197 if (SWIG_arg_fail(1)) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_From_int((int)(result
));
17214 static PyObject
*_wrap_MouseEvent_GetWheelRotation(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_GetWheelRotation",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
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= SWIG_From_int((int)(result
));
17242 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17243 PyObject
*resultobj
;
17244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17246 PyObject
* obj0
= 0 ;
17247 char *kwnames
[] = {
17248 (char *) "self", NULL
17251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17253 if (SWIG_arg_fail(1)) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 resultobj
= SWIG_From_int((int)(result
));
17270 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17271 PyObject
*resultobj
;
17272 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17274 PyObject
* obj0
= 0 ;
17275 char *kwnames
[] = {
17276 (char *) "self", NULL
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17281 if (SWIG_arg_fail(1)) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= SWIG_From_int((int)(result
));
17298 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17302 PyObject
* obj0
= 0 ;
17303 char *kwnames
[] = {
17304 (char *) "self", NULL
17307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17309 if (SWIG_arg_fail(1)) SWIG_fail
;
17311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17312 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17314 wxPyEndAllowThreads(__tstate
);
17315 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17326 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 PyObject
* obj1
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "self",(char *) "m_x", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17338 if (SWIG_arg_fail(1)) SWIG_fail
;
17340 arg2
= (int)(SWIG_As_int(obj1
));
17341 if (SWIG_arg_fail(2)) SWIG_fail
;
17343 if (arg1
) (arg1
)->m_x
= arg2
;
17345 Py_INCREF(Py_None
); resultobj
= Py_None
;
17352 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17353 PyObject
*resultobj
;
17354 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17356 PyObject
* obj0
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "self", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17363 if (SWIG_arg_fail(1)) SWIG_fail
;
17364 result
= (int) ((arg1
)->m_x
);
17367 resultobj
= SWIG_From_int((int)(result
));
17375 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self",(char *) "m_y", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17386 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17387 if (SWIG_arg_fail(1)) SWIG_fail
;
17389 arg2
= (int)(SWIG_As_int(obj1
));
17390 if (SWIG_arg_fail(2)) SWIG_fail
;
17392 if (arg1
) (arg1
)->m_y
= arg2
;
17394 Py_INCREF(Py_None
); resultobj
= Py_None
;
17401 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17405 PyObject
* obj0
= 0 ;
17406 char *kwnames
[] = {
17407 (char *) "self", NULL
17410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17412 if (SWIG_arg_fail(1)) SWIG_fail
;
17413 result
= (int) ((arg1
)->m_y
);
17416 resultobj
= SWIG_From_int((int)(result
));
17424 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17425 PyObject
*resultobj
;
17426 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 char *kwnames
[] = {
17431 (char *) "self",(char *) "m_leftDown", NULL
17434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17436 if (SWIG_arg_fail(1)) SWIG_fail
;
17438 arg2
= (bool)(SWIG_As_bool(obj1
));
17439 if (SWIG_arg_fail(2)) SWIG_fail
;
17441 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17443 Py_INCREF(Py_None
); resultobj
= Py_None
;
17450 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
;
17452 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17454 PyObject
* obj0
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17461 if (SWIG_arg_fail(1)) SWIG_fail
;
17462 result
= (bool) ((arg1
)->m_leftDown
);
17465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17473 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 PyObject
* obj1
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self",(char *) "m_middleDown", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17485 if (SWIG_arg_fail(1)) SWIG_fail
;
17487 arg2
= (bool)(SWIG_As_bool(obj1
));
17488 if (SWIG_arg_fail(2)) SWIG_fail
;
17490 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17492 Py_INCREF(Py_None
); resultobj
= Py_None
;
17499 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17510 if (SWIG_arg_fail(1)) SWIG_fail
;
17511 result
= (bool) ((arg1
)->m_middleDown
);
17514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17522 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
;
17524 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17526 PyObject
* obj0
= 0 ;
17527 PyObject
* obj1
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self",(char *) "m_rightDown", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17534 if (SWIG_arg_fail(1)) SWIG_fail
;
17536 arg2
= (bool)(SWIG_As_bool(obj1
));
17537 if (SWIG_arg_fail(2)) SWIG_fail
;
17539 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17541 Py_INCREF(Py_None
); resultobj
= Py_None
;
17548 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
;
17550 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17552 PyObject
* obj0
= 0 ;
17553 char *kwnames
[] = {
17554 (char *) "self", NULL
17557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17559 if (SWIG_arg_fail(1)) SWIG_fail
;
17560 result
= (bool) ((arg1
)->m_rightDown
);
17563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17571 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17572 PyObject
*resultobj
;
17573 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 PyObject
* obj1
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self",(char *) "m_controlDown", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail
;
17585 arg2
= (bool)(SWIG_As_bool(obj1
));
17586 if (SWIG_arg_fail(2)) SWIG_fail
;
17588 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17590 Py_INCREF(Py_None
); resultobj
= Py_None
;
17597 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17607 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17608 if (SWIG_arg_fail(1)) SWIG_fail
;
17609 result
= (bool) ((arg1
)->m_controlDown
);
17612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17620 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
;
17622 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17624 PyObject
* obj0
= 0 ;
17625 PyObject
* obj1
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self",(char *) "m_shiftDown", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17631 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17632 if (SWIG_arg_fail(1)) SWIG_fail
;
17634 arg2
= (bool)(SWIG_As_bool(obj1
));
17635 if (SWIG_arg_fail(2)) SWIG_fail
;
17637 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17639 Py_INCREF(Py_None
); resultobj
= Py_None
;
17646 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17647 PyObject
*resultobj
;
17648 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17650 PyObject
* obj0
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17656 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17657 if (SWIG_arg_fail(1)) SWIG_fail
;
17658 result
= (bool) ((arg1
)->m_shiftDown
);
17661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17669 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self",(char *) "m_altDown", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17680 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17681 if (SWIG_arg_fail(1)) SWIG_fail
;
17683 arg2
= (bool)(SWIG_As_bool(obj1
));
17684 if (SWIG_arg_fail(2)) SWIG_fail
;
17686 if (arg1
) (arg1
)->m_altDown
= arg2
;
17688 Py_INCREF(Py_None
); resultobj
= Py_None
;
17695 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "self", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17706 if (SWIG_arg_fail(1)) SWIG_fail
;
17707 result
= (bool) ((arg1
)->m_altDown
);
17710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17718 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 PyObject
* obj1
= 0 ;
17724 char *kwnames
[] = {
17725 (char *) "self",(char *) "m_metaDown", NULL
17728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17730 if (SWIG_arg_fail(1)) SWIG_fail
;
17732 arg2
= (bool)(SWIG_As_bool(obj1
));
17733 if (SWIG_arg_fail(2)) SWIG_fail
;
17735 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17737 Py_INCREF(Py_None
); resultobj
= Py_None
;
17744 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17748 PyObject
* obj0
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17755 if (SWIG_arg_fail(1)) SWIG_fail
;
17756 result
= (bool) ((arg1
)->m_metaDown
);
17759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17767 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17771 PyObject
* obj0
= 0 ;
17772 PyObject
* obj1
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self",(char *) "m_wheelRotation", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17779 if (SWIG_arg_fail(1)) SWIG_fail
;
17781 arg2
= (int)(SWIG_As_int(obj1
));
17782 if (SWIG_arg_fail(2)) SWIG_fail
;
17784 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
17786 Py_INCREF(Py_None
); resultobj
= Py_None
;
17793 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17797 PyObject
* obj0
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
17803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17804 if (SWIG_arg_fail(1)) SWIG_fail
;
17805 result
= (int) ((arg1
)->m_wheelRotation
);
17808 resultobj
= SWIG_From_int((int)(result
));
17816 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "self",(char *) "m_wheelDelta", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17828 if (SWIG_arg_fail(1)) SWIG_fail
;
17830 arg2
= (int)(SWIG_As_int(obj1
));
17831 if (SWIG_arg_fail(2)) SWIG_fail
;
17833 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
17835 Py_INCREF(Py_None
); resultobj
= Py_None
;
17842 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17843 PyObject
*resultobj
;
17844 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17846 PyObject
* obj0
= 0 ;
17847 char *kwnames
[] = {
17848 (char *) "self", NULL
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
17852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17853 if (SWIG_arg_fail(1)) SWIG_fail
;
17854 result
= (int) ((arg1
)->m_wheelDelta
);
17857 resultobj
= SWIG_From_int((int)(result
));
17865 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 char *kwnames
[] = {
17872 (char *) "self",(char *) "m_linesPerAction", NULL
17875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17877 if (SWIG_arg_fail(1)) SWIG_fail
;
17879 arg2
= (int)(SWIG_As_int(obj1
));
17880 if (SWIG_arg_fail(2)) SWIG_fail
;
17882 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
17884 Py_INCREF(Py_None
); resultobj
= Py_None
;
17891 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
17901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17902 if (SWIG_arg_fail(1)) SWIG_fail
;
17903 result
= (int) ((arg1
)->m_linesPerAction
);
17906 resultobj
= SWIG_From_int((int)(result
));
17914 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
17916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17917 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
17919 return Py_BuildValue((char *)"");
17921 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 int arg1
= (int) 0 ;
17924 int arg2
= (int) 0 ;
17925 wxSetCursorEvent
*result
;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 char *kwnames
[] = {
17929 (char *) "x",(char *) "y", NULL
17932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17935 arg1
= (int)(SWIG_As_int(obj0
));
17936 if (SWIG_arg_fail(1)) SWIG_fail
;
17941 arg2
= (int)(SWIG_As_int(obj1
));
17942 if (SWIG_arg_fail(2)) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
17959 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17963 PyObject
* obj0
= 0 ;
17964 char *kwnames
[] = {
17965 (char *) "self", NULL
17968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
17969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17970 if (SWIG_arg_fail(1)) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
17975 wxPyEndAllowThreads(__tstate
);
17976 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_From_int((int)(result
));
17987 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
17991 PyObject
* obj0
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
17997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
17998 if (SWIG_arg_fail(1)) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= SWIG_From_int((int)(result
));
18015 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18018 wxCursor
*arg2
= 0 ;
18019 PyObject
* obj0
= 0 ;
18020 PyObject
* obj1
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self",(char *) "cursor", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18027 if (SWIG_arg_fail(1)) SWIG_fail
;
18029 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18030 if (SWIG_arg_fail(2)) SWIG_fail
;
18031 if (arg2
== NULL
) {
18032 SWIG_null_ref("wxCursor");
18034 if (SWIG_arg_fail(2)) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 Py_INCREF(Py_None
); resultobj
= Py_None
;
18050 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18061 if (SWIG_arg_fail(1)) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18066 result
= (wxCursor
*) &_result_ref
;
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18073 wxCursor
* resultptr
= new wxCursor(*result
);
18074 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18082 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18086 PyObject
* obj0
= 0 ;
18087 char *kwnames
[] = {
18088 (char *) "self", NULL
18091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18093 if (SWIG_arg_fail(1)) SWIG_fail
;
18095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18096 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18098 wxPyEndAllowThreads(__tstate
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18110 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18113 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18115 return Py_BuildValue((char *)"");
18117 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18120 wxKeyEvent
*result
;
18121 PyObject
* obj0
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "keyType", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18129 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18130 if (SWIG_arg_fail(1)) SWIG_fail
;
18134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18135 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18137 wxPyEndAllowThreads(__tstate
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18147 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18148 PyObject
*resultobj
;
18149 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 char *kwnames
[] = {
18153 (char *) "self", NULL
18156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18158 if (SWIG_arg_fail(1)) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18175 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18177 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18179 PyObject
* obj0
= 0 ;
18180 char *kwnames
[] = {
18181 (char *) "self", NULL
18184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18186 if (SWIG_arg_fail(1)) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18203 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
;
18205 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18207 PyObject
* obj0
= 0 ;
18208 char *kwnames
[] = {
18209 (char *) "self", NULL
18212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18214 if (SWIG_arg_fail(1)) SWIG_fail
;
18216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18231 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "self", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18242 if (SWIG_arg_fail(1)) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18259 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18263 PyObject
* obj0
= 0 ;
18264 char *kwnames
[] = {
18265 (char *) "self", NULL
18268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18270 if (SWIG_arg_fail(1)) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18275 wxPyEndAllowThreads(__tstate
);
18276 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18287 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18291 PyObject
* obj0
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18298 if (SWIG_arg_fail(1)) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18315 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18316 PyObject
*resultobj
;
18317 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= SWIG_From_int((int)(result
));
18343 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18344 PyObject
*resultobj
;
18345 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18347 PyObject
* obj0
= 0 ;
18348 char *kwnames
[] = {
18349 (char *) "self", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18354 if (SWIG_arg_fail(1)) SWIG_fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18363 resultobj
= SWIG_From_int((int)(result
));
18371 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18374 unsigned int result
;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18382 if (SWIG_arg_fail(1)) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18391 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18399 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18402 unsigned int result
;
18403 PyObject
* obj0
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18410 if (SWIG_arg_fail(1)) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18427 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18438 if (SWIG_arg_fail(1)) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (arg1
)->GetPosition();
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18447 wxPoint
* resultptr
;
18448 resultptr
= new wxPoint((wxPoint
&)(result
));
18449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18457 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18460 long *arg2
= (long *) 0 ;
18461 long *arg3
= (long *) 0 ;
18466 PyObject
* obj0
= 0 ;
18467 char *kwnames
[] = {
18468 (char *) "self", NULL
18471 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18472 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18475 if (SWIG_arg_fail(1)) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 (arg1
)->GetPosition(arg2
,arg3
);
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 Py_INCREF(Py_None
); resultobj
= Py_None
;
18484 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18485 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18486 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18487 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18494 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18498 PyObject
* obj0
= 0 ;
18499 char *kwnames
[] = {
18500 (char *) "self", NULL
18503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18505 if (SWIG_arg_fail(1)) SWIG_fail
;
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18508 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18514 resultobj
= SWIG_From_int((int)(result
));
18522 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
;
18524 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18526 PyObject
* obj0
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18533 if (SWIG_arg_fail(1)) SWIG_fail
;
18535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18536 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18542 resultobj
= SWIG_From_int((int)(result
));
18550 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self",(char *) "m_x", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18562 if (SWIG_arg_fail(1)) SWIG_fail
;
18564 arg2
= (int)(SWIG_As_int(obj1
));
18565 if (SWIG_arg_fail(2)) SWIG_fail
;
18567 if (arg1
) (arg1
)->m_x
= arg2
;
18569 Py_INCREF(Py_None
); resultobj
= Py_None
;
18576 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18580 PyObject
* obj0
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18587 if (SWIG_arg_fail(1)) SWIG_fail
;
18588 result
= (int) ((arg1
)->m_x
);
18591 resultobj
= SWIG_From_int((int)(result
));
18599 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj1
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self",(char *) "m_y", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18611 if (SWIG_arg_fail(1)) SWIG_fail
;
18613 arg2
= (int)(SWIG_As_int(obj1
));
18614 if (SWIG_arg_fail(2)) SWIG_fail
;
18616 if (arg1
) (arg1
)->m_y
= arg2
;
18618 Py_INCREF(Py_None
); resultobj
= Py_None
;
18625 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 char *kwnames
[] = {
18631 (char *) "self", NULL
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18636 if (SWIG_arg_fail(1)) SWIG_fail
;
18637 result
= (int) ((arg1
)->m_y
);
18640 resultobj
= SWIG_From_int((int)(result
));
18648 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
;
18650 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 PyObject
* obj1
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self",(char *) "m_keyCode", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18660 if (SWIG_arg_fail(1)) SWIG_fail
;
18662 arg2
= (long)(SWIG_As_long(obj1
));
18663 if (SWIG_arg_fail(2)) SWIG_fail
;
18665 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18667 Py_INCREF(Py_None
); resultobj
= Py_None
;
18674 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18685 if (SWIG_arg_fail(1)) SWIG_fail
;
18686 result
= (long) ((arg1
)->m_keyCode
);
18689 resultobj
= SWIG_From_long((long)(result
));
18697 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self",(char *) "m_controlDown", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18708 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18709 if (SWIG_arg_fail(1)) SWIG_fail
;
18711 arg2
= (bool)(SWIG_As_bool(obj1
));
18712 if (SWIG_arg_fail(2)) SWIG_fail
;
18714 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18716 Py_INCREF(Py_None
); resultobj
= Py_None
;
18723 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18727 PyObject
* obj0
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "self", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18734 if (SWIG_arg_fail(1)) SWIG_fail
;
18735 result
= (bool) ((arg1
)->m_controlDown
);
18738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18746 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 PyObject
* obj1
= 0 ;
18752 char *kwnames
[] = {
18753 (char *) "self",(char *) "m_shiftDown", NULL
18756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18758 if (SWIG_arg_fail(1)) SWIG_fail
;
18760 arg2
= (bool)(SWIG_As_bool(obj1
));
18761 if (SWIG_arg_fail(2)) SWIG_fail
;
18763 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18765 Py_INCREF(Py_None
); resultobj
= Py_None
;
18772 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18776 PyObject
* obj0
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18783 if (SWIG_arg_fail(1)) SWIG_fail
;
18784 result
= (bool) ((arg1
)->m_shiftDown
);
18787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18795 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 PyObject
* obj1
= 0 ;
18801 char *kwnames
[] = {
18802 (char *) "self",(char *) "m_altDown", NULL
18805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18807 if (SWIG_arg_fail(1)) SWIG_fail
;
18809 arg2
= (bool)(SWIG_As_bool(obj1
));
18810 if (SWIG_arg_fail(2)) SWIG_fail
;
18812 if (arg1
) (arg1
)->m_altDown
= arg2
;
18814 Py_INCREF(Py_None
); resultobj
= Py_None
;
18821 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
;
18823 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18825 PyObject
* obj0
= 0 ;
18826 char *kwnames
[] = {
18827 (char *) "self", NULL
18830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
18831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18832 if (SWIG_arg_fail(1)) SWIG_fail
;
18833 result
= (bool) ((arg1
)->m_altDown
);
18836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18844 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18848 PyObject
* obj0
= 0 ;
18849 PyObject
* obj1
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self",(char *) "m_metaDown", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18856 if (SWIG_arg_fail(1)) SWIG_fail
;
18858 arg2
= (bool)(SWIG_As_bool(obj1
));
18859 if (SWIG_arg_fail(2)) SWIG_fail
;
18861 if (arg1
) (arg1
)->m_metaDown
= arg2
;
18863 Py_INCREF(Py_None
); resultobj
= Py_None
;
18870 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
;
18872 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18874 PyObject
* obj0
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
18880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18881 if (SWIG_arg_fail(1)) SWIG_fail
;
18882 result
= (bool) ((arg1
)->m_metaDown
);
18885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18893 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 char *kwnames
[] = {
18900 (char *) "self",(char *) "m_scanCode", NULL
18903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18905 if (SWIG_arg_fail(1)) SWIG_fail
;
18907 arg2
= (bool)(SWIG_As_bool(obj1
));
18908 if (SWIG_arg_fail(2)) SWIG_fail
;
18910 if (arg1
) (arg1
)->m_scanCode
= arg2
;
18912 Py_INCREF(Py_None
); resultobj
= Py_None
;
18919 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
;
18921 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18923 PyObject
* obj0
= 0 ;
18924 char *kwnames
[] = {
18925 (char *) "self", NULL
18928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
18929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18930 if (SWIG_arg_fail(1)) SWIG_fail
;
18931 result
= (bool) ((arg1
)->m_scanCode
);
18934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18942 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18945 unsigned int arg2
;
18946 PyObject
* obj0
= 0 ;
18947 PyObject
* obj1
= 0 ;
18948 char *kwnames
[] = {
18949 (char *) "self",(char *) "m_rawCode", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18954 if (SWIG_arg_fail(1)) SWIG_fail
;
18956 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
18957 if (SWIG_arg_fail(2)) SWIG_fail
;
18959 if (arg1
) (arg1
)->m_rawCode
= arg2
;
18961 Py_INCREF(Py_None
); resultobj
= Py_None
;
18968 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18971 unsigned int result
;
18972 PyObject
* obj0
= 0 ;
18973 char *kwnames
[] = {
18974 (char *) "self", NULL
18977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
18978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18979 if (SWIG_arg_fail(1)) SWIG_fail
;
18980 result
= (unsigned int) ((arg1
)->m_rawCode
);
18983 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18991 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
;
18993 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18994 unsigned int arg2
;
18995 PyObject
* obj0
= 0 ;
18996 PyObject
* obj1
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self",(char *) "m_rawFlags", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19003 if (SWIG_arg_fail(1)) SWIG_fail
;
19005 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19006 if (SWIG_arg_fail(2)) SWIG_fail
;
19008 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19010 Py_INCREF(Py_None
); resultobj
= Py_None
;
19017 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19018 PyObject
*resultobj
;
19019 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19020 unsigned int result
;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19028 if (SWIG_arg_fail(1)) SWIG_fail
;
19029 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19032 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19040 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19043 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19045 return Py_BuildValue((char *)"");
19047 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19050 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19051 int arg2
= (int) 0 ;
19052 wxSizeEvent
*result
;
19054 PyObject
* obj0
= 0 ;
19055 PyObject
* obj1
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "sz",(char *) "winid", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19064 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19069 arg2
= (int)(SWIG_As_int(obj1
));
19070 if (SWIG_arg_fail(2)) SWIG_fail
;
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19087 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19089 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19091 PyObject
* obj0
= 0 ;
19092 char *kwnames
[] = {
19093 (char *) "self", NULL
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19098 if (SWIG_arg_fail(1)) SWIG_fail
;
19100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19103 wxPyEndAllowThreads(__tstate
);
19104 if (PyErr_Occurred()) SWIG_fail
;
19107 wxSize
* resultptr
;
19108 resultptr
= new wxSize((wxSize
&)(result
));
19109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19117 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
;
19119 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19121 PyObject
* obj0
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "self", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19128 if (SWIG_arg_fail(1)) SWIG_fail
;
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19137 wxRect
* resultptr
;
19138 resultptr
= new wxRect((wxRect
&)(result
));
19139 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19147 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self",(char *) "rect", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19159 if (SWIG_arg_fail(1)) SWIG_fail
;
19162 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19163 if (SWIG_arg_fail(2)) SWIG_fail
;
19164 if (argp
== NULL
) {
19165 SWIG_null_ref("wxRect");
19167 if (SWIG_arg_fail(2)) SWIG_fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 (arg1
)->SetRect(arg2
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 Py_INCREF(Py_None
); resultobj
= Py_None
;
19184 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19185 PyObject
*resultobj
;
19186 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self",(char *) "size", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19196 if (SWIG_arg_fail(1)) SWIG_fail
;
19199 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19200 if (SWIG_arg_fail(2)) SWIG_fail
;
19201 if (argp
== NULL
) {
19202 SWIG_null_ref("wxSize");
19204 if (SWIG_arg_fail(2)) SWIG_fail
;
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 wxSizeEvent_SetSize(arg1
,arg2
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 Py_INCREF(Py_None
); resultobj
= Py_None
;
19221 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
;
19223 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19224 wxSize
*arg2
= (wxSize
*) 0 ;
19225 PyObject
* obj0
= 0 ;
19226 PyObject
* obj1
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self",(char *) "m_size", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19233 if (SWIG_arg_fail(1)) SWIG_fail
;
19234 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19235 if (SWIG_arg_fail(2)) SWIG_fail
;
19236 if (arg1
) (arg1
)->m_size
= *arg2
;
19238 Py_INCREF(Py_None
); resultobj
= Py_None
;
19245 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19249 PyObject
* obj0
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19256 if (SWIG_arg_fail(1)) SWIG_fail
;
19257 result
= (wxSize
*)& ((arg1
)->m_size
);
19259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19266 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19267 PyObject
*resultobj
;
19268 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19269 wxRect
*arg2
= (wxRect
*) 0 ;
19270 PyObject
* obj0
= 0 ;
19271 PyObject
* obj1
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "self",(char *) "m_rect", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19278 if (SWIG_arg_fail(1)) SWIG_fail
;
19279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19280 if (SWIG_arg_fail(2)) SWIG_fail
;
19281 if (arg1
) (arg1
)->m_rect
= *arg2
;
19283 Py_INCREF(Py_None
); resultobj
= Py_None
;
19290 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19294 PyObject
* obj0
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19301 if (SWIG_arg_fail(1)) SWIG_fail
;
19302 result
= (wxRect
*)& ((arg1
)->m_rect
);
19304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19311 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19314 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19316 return Py_BuildValue((char *)"");
19318 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19321 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19322 int arg2
= (int) 0 ;
19323 wxMoveEvent
*result
;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "pos",(char *) "winid", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19335 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19340 arg2
= (int)(SWIG_As_int(obj1
));
19341 if (SWIG_arg_fail(2)) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19346 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19358 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19362 PyObject
* obj0
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19369 if (SWIG_arg_fail(1)) SWIG_fail
;
19371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19374 wxPyEndAllowThreads(__tstate
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19378 wxPoint
* resultptr
;
19379 resultptr
= new wxPoint((wxPoint
&)(result
));
19380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19388 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19392 PyObject
* obj0
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19399 if (SWIG_arg_fail(1)) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19408 wxRect
* resultptr
;
19409 resultptr
= new wxRect((wxRect
&)(result
));
19410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19418 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self",(char *) "rect", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19431 if (SWIG_arg_fail(1)) SWIG_fail
;
19434 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19438 (arg1
)->SetRect((wxRect
const &)*arg2
);
19440 wxPyEndAllowThreads(__tstate
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 Py_INCREF(Py_None
); resultobj
= Py_None
;
19450 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
;
19452 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19453 wxPoint
*arg2
= 0 ;
19455 PyObject
* obj0
= 0 ;
19456 PyObject
* obj1
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self",(char *) "pos", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19462 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19463 if (SWIG_arg_fail(1)) SWIG_fail
;
19466 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 Py_INCREF(Py_None
); resultobj
= Py_None
;
19482 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19485 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19487 return Py_BuildValue((char *)"");
19489 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 int arg1
= (int) 0 ;
19492 wxPaintEvent
*result
;
19493 PyObject
* obj0
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "Id", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19501 arg1
= (int)(SWIG_As_int(obj0
));
19502 if (SWIG_arg_fail(1)) SWIG_fail
;
19506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19507 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19519 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19522 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19524 return Py_BuildValue((char *)"");
19526 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
;
19528 int arg1
= (int) 0 ;
19529 wxNcPaintEvent
*result
;
19530 PyObject
* obj0
= 0 ;
19531 char *kwnames
[] = {
19532 (char *) "winid", NULL
19535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19538 arg1
= (int)(SWIG_As_int(obj0
));
19539 if (SWIG_arg_fail(1)) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19556 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19559 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19561 return Py_BuildValue((char *)"");
19563 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 int arg1
= (int) 0 ;
19566 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
19567 wxEraseEvent
*result
;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "Id",(char *) "dc", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19577 arg1
= (int)(SWIG_As_int(obj0
));
19578 if (SWIG_arg_fail(1)) SWIG_fail
;
19582 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19583 if (SWIG_arg_fail(2)) SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19599 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19610 if (SWIG_arg_fail(1)) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19619 resultobj
= wxPyMake_wxObject(result
, 0);
19627 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19630 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19632 return Py_BuildValue((char *)"");
19634 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19637 int arg2
= (int) 0 ;
19638 wxFocusEvent
*result
;
19639 PyObject
* obj0
= 0 ;
19640 PyObject
* obj1
= 0 ;
19641 char *kwnames
[] = {
19642 (char *) "type",(char *) "winid", NULL
19645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19648 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19649 if (SWIG_arg_fail(1)) SWIG_fail
;
19654 arg2
= (int)(SWIG_As_int(obj1
));
19655 if (SWIG_arg_fail(2)) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19672 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19683 if (SWIG_arg_fail(1)) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= wxPyMake_wxObject(result
, 0);
19700 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19703 wxWindow
*arg2
= (wxWindow
*) 0 ;
19704 PyObject
* obj0
= 0 ;
19705 PyObject
* obj1
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self",(char *) "win", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19712 if (SWIG_arg_fail(1)) SWIG_fail
;
19713 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19714 if (SWIG_arg_fail(2)) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 (arg1
)->SetWindow(arg2
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 Py_INCREF(Py_None
); resultobj
= Py_None
;
19729 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19732 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19734 return Py_BuildValue((char *)"");
19736 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19737 PyObject
*resultobj
;
19738 wxWindow
*arg1
= (wxWindow
*) NULL
;
19739 wxChildFocusEvent
*result
;
19740 PyObject
* obj0
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "win", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19748 if (SWIG_arg_fail(1)) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19764 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
;
19766 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19775 if (SWIG_arg_fail(1)) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= wxPyMake_wxObject(result
, 0);
19792 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19795 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
19797 return Py_BuildValue((char *)"");
19799 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19802 bool arg2
= (bool) true ;
19803 int arg3
= (int) 0 ;
19804 wxActivateEvent
*result
;
19805 PyObject
* obj0
= 0 ;
19806 PyObject
* obj1
= 0 ;
19807 PyObject
* obj2
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "type",(char *) "active",(char *) "Id", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19815 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19816 if (SWIG_arg_fail(1)) SWIG_fail
;
19821 arg2
= (bool)(SWIG_As_bool(obj1
));
19822 if (SWIG_arg_fail(2)) SWIG_fail
;
19827 arg3
= (int)(SWIG_As_int(obj2
));
19828 if (SWIG_arg_fail(3)) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
19845 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
19855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
19856 if (SWIG_arg_fail(1)) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19873 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
19875 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19876 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
19878 return Py_BuildValue((char *)"");
19880 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 int arg1
= (int) 0 ;
19883 wxInitDialogEvent
*result
;
19884 PyObject
* obj0
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "Id", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
19892 arg1
= (int)(SWIG_As_int(obj0
));
19893 if (SWIG_arg_fail(1)) SWIG_fail
;
19897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
19910 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
19912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19913 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
19915 return Py_BuildValue((char *)"");
19917 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
;
19919 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19920 int arg2
= (int) 0 ;
19921 wxMenu
*arg3
= (wxMenu
*) NULL
;
19922 wxMenuEvent
*result
;
19923 PyObject
* obj0
= 0 ;
19924 PyObject
* obj1
= 0 ;
19925 PyObject
* obj2
= 0 ;
19926 char *kwnames
[] = {
19927 (char *) "type",(char *) "winid",(char *) "menu", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19933 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19934 if (SWIG_arg_fail(1)) SWIG_fail
;
19939 arg2
= (int)(SWIG_As_int(obj1
));
19940 if (SWIG_arg_fail(2)) SWIG_fail
;
19944 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
19945 if (SWIG_arg_fail(3)) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
19961 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
19971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
19972 if (SWIG_arg_fail(1)) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= SWIG_From_int((int)(result
));
19989 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
19999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20000 if (SWIG_arg_fail(1)) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20017 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20028 if (SWIG_arg_fail(1)) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= wxPyMake_wxObject(result
, 0);
20045 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20048 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20050 return Py_BuildValue((char *)"");
20052 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20055 int arg2
= (int) 0 ;
20056 wxCloseEvent
*result
;
20057 PyObject
* obj0
= 0 ;
20058 PyObject
* obj1
= 0 ;
20059 char *kwnames
[] = {
20060 (char *) "type",(char *) "winid", NULL
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20066 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20067 if (SWIG_arg_fail(1)) SWIG_fail
;
20072 arg2
= (int)(SWIG_As_int(obj1
));
20073 if (SWIG_arg_fail(2)) SWIG_fail
;
20077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20078 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20080 wxPyEndAllowThreads(__tstate
);
20081 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20090 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20091 PyObject
*resultobj
;
20092 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self",(char *) "logOff", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20101 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20102 if (SWIG_arg_fail(1)) SWIG_fail
;
20104 arg2
= (bool)(SWIG_As_bool(obj1
));
20105 if (SWIG_arg_fail(2)) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 (arg1
)->SetLoggingOff(arg2
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20114 Py_INCREF(Py_None
); resultobj
= Py_None
;
20121 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20125 PyObject
* obj0
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "self", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20132 if (SWIG_arg_fail(1)) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20149 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20150 PyObject
*resultobj
;
20151 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20152 bool arg2
= (bool) true ;
20153 PyObject
* obj0
= 0 ;
20154 PyObject
* obj1
= 0 ;
20155 char *kwnames
[] = {
20156 (char *) "self",(char *) "veto", NULL
20159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20161 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 (arg1
)->Veto(arg2
);
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 Py_INCREF(Py_None
); resultobj
= Py_None
;
20182 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20188 char *kwnames
[] = {
20189 (char *) "self",(char *) "canVeto", NULL
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20194 if (SWIG_arg_fail(1)) SWIG_fail
;
20196 arg2
= (bool)(SWIG_As_bool(obj1
));
20197 if (SWIG_arg_fail(2)) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 (arg1
)->SetCanVeto(arg2
);
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20206 Py_INCREF(Py_None
); resultobj
= Py_None
;
20213 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
;
20215 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20217 PyObject
* obj0
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20224 if (SWIG_arg_fail(1)) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20241 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20245 PyObject
* obj0
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20252 if (SWIG_arg_fail(1)) SWIG_fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20269 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20272 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20274 return Py_BuildValue((char *)"");
20276 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 int arg1
= (int) 0 ;
20279 bool arg2
= (bool) false ;
20280 wxShowEvent
*result
;
20281 PyObject
* obj0
= 0 ;
20282 PyObject
* obj1
= 0 ;
20283 char *kwnames
[] = {
20284 (char *) "winid",(char *) "show", NULL
20287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20290 arg1
= (int)(SWIG_As_int(obj0
));
20291 if (SWIG_arg_fail(1)) SWIG_fail
;
20296 arg2
= (bool)(SWIG_As_bool(obj1
));
20297 if (SWIG_arg_fail(2)) SWIG_fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20314 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20316 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20318 PyObject
* obj0
= 0 ;
20319 PyObject
* obj1
= 0 ;
20320 char *kwnames
[] = {
20321 (char *) "self",(char *) "show", NULL
20324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20325 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20326 if (SWIG_arg_fail(1)) SWIG_fail
;
20328 arg2
= (bool)(SWIG_As_bool(obj1
));
20329 if (SWIG_arg_fail(2)) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 (arg1
)->SetShow(arg2
);
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 Py_INCREF(Py_None
); resultobj
= Py_None
;
20345 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "self", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20356 if (SWIG_arg_fail(1)) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20373 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20376 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20378 return Py_BuildValue((char *)"");
20380 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 int arg1
= (int) 0 ;
20383 bool arg2
= (bool) true ;
20384 wxIconizeEvent
*result
;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "id",(char *) "iconized", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20394 arg1
= (int)(SWIG_As_int(obj0
));
20395 if (SWIG_arg_fail(1)) SWIG_fail
;
20400 arg2
= (bool)(SWIG_As_bool(obj1
));
20401 if (SWIG_arg_fail(2)) SWIG_fail
;
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20418 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20422 PyObject
* obj0
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "self", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20429 if (SWIG_arg_fail(1)) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)(arg1
)->Iconized();
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20446 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20449 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20451 return Py_BuildValue((char *)"");
20453 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20454 PyObject
*resultobj
;
20455 int arg1
= (int) 0 ;
20456 wxMaximizeEvent
*result
;
20457 PyObject
* obj0
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "id", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20465 arg1
= (int)(SWIG_As_int(obj0
));
20466 if (SWIG_arg_fail(1)) SWIG_fail
;
20470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20471 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20473 wxPyEndAllowThreads(__tstate
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20483 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20486 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20488 return Py_BuildValue((char *)"");
20490 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20494 PyObject
* obj0
= 0 ;
20495 char *kwnames
[] = {
20496 (char *) "self", NULL
20499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20501 if (SWIG_arg_fail(1)) SWIG_fail
;
20503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20504 result
= (arg1
)->GetPosition();
20506 wxPyEndAllowThreads(__tstate
);
20507 if (PyErr_Occurred()) SWIG_fail
;
20510 wxPoint
* resultptr
;
20511 resultptr
= new wxPoint((wxPoint
&)(result
));
20512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20520 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 char *kwnames
[] = {
20526 (char *) "self", NULL
20529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20531 if (SWIG_arg_fail(1)) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (int)(arg1
)->GetNumberOfFiles();
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_From_int((int)(result
));
20548 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20549 PyObject
*resultobj
;
20550 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20559 if (SWIG_arg_fail(1)) SWIG_fail
;
20561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20562 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= result
;
20574 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20577 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20579 return Py_BuildValue((char *)"");
20581 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 int arg1
= (int) 0 ;
20584 wxUpdateUIEvent
*result
;
20585 PyObject
* obj0
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "commandId", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20593 arg1
= (int)(SWIG_As_int(obj0
));
20594 if (SWIG_arg_fail(1)) SWIG_fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20611 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20639 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20650 if (SWIG_arg_fail(1)) SWIG_fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20667 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20668 PyObject
*resultobj
;
20669 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20671 PyObject
* obj0
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20678 if (SWIG_arg_fail(1)) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20699 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20710 if (SWIG_arg_fail(1)) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20727 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
;
20729 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20731 PyObject
* obj0
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "self", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20738 if (SWIG_arg_fail(1)) SWIG_fail
;
20740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20741 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20743 wxPyEndAllowThreads(__tstate
);
20744 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20755 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "self", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20766 if (SWIG_arg_fail(1)) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20783 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self",(char *) "check", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
20794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20795 if (SWIG_arg_fail(1)) SWIG_fail
;
20797 arg2
= (bool)(SWIG_As_bool(obj1
));
20798 if (SWIG_arg_fail(2)) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 (arg1
)->Check(arg2
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 Py_INCREF(Py_None
); resultobj
= Py_None
;
20814 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 PyObject
* obj1
= 0 ;
20820 char *kwnames
[] = {
20821 (char *) "self",(char *) "enable", NULL
20824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20826 if (SWIG_arg_fail(1)) SWIG_fail
;
20828 arg2
= (bool)(SWIG_As_bool(obj1
));
20829 if (SWIG_arg_fail(2)) SWIG_fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 (arg1
)->Enable(arg2
);
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 Py_INCREF(Py_None
); resultobj
= Py_None
;
20845 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
;
20847 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20848 wxString
*arg2
= 0 ;
20849 bool temp2
= false ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self",(char *) "text", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
20857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20858 if (SWIG_arg_fail(1)) SWIG_fail
;
20860 arg2
= wxString_in_helper(obj1
);
20861 if (arg2
== NULL
) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 (arg1
)->SetText((wxString
const &)*arg2
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 Py_INCREF(Py_None
); resultobj
= Py_None
;
20886 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20889 PyObject
* obj0
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "updateInterval", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
20896 arg1
= (long)(SWIG_As_long(obj0
));
20897 if (SWIG_arg_fail(1)) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 wxUpdateUIEvent::SetUpdateInterval(arg1
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 Py_INCREF(Py_None
); resultobj
= Py_None
;
20913 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20916 char *kwnames
[] = {
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20929 resultobj
= SWIG_From_long((long)(result
));
20937 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20938 PyObject
*resultobj
;
20939 wxWindow
*arg1
= (wxWindow
*) 0 ;
20941 PyObject
* obj0
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "win", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
20947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20948 if (SWIG_arg_fail(1)) SWIG_fail
;
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20965 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 char *kwnames
[] = {
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 wxUpdateUIEvent::ResetUpdateTime();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxUpdateUIMode arg1
;
20989 PyObject
* obj0
= 0 ;
20990 char *kwnames
[] = {
20991 (char *) "mode", NULL
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
20996 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
20997 if (SWIG_arg_fail(1)) SWIG_fail
;
21000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21001 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 Py_INCREF(Py_None
); resultobj
= Py_None
;
21013 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 wxUpdateUIMode result
;
21016 char *kwnames
[] = {
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= SWIG_From_int((result
));
21035 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21038 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21040 return Py_BuildValue((char *)"");
21042 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxSysColourChangedEvent
*result
;
21045 char *kwnames
[] = {
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21064 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21067 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21069 return Py_BuildValue((char *)"");
21071 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
;
21073 int arg1
= (int) 0 ;
21074 wxWindow
*arg2
= (wxWindow
*) NULL
;
21075 wxMouseCaptureChangedEvent
*result
;
21076 PyObject
* obj0
= 0 ;
21077 PyObject
* obj1
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "winid",(char *) "gainedCapture", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21085 arg1
= (int)(SWIG_As_int(obj0
));
21086 if (SWIG_arg_fail(1)) SWIG_fail
;
21090 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21091 if (SWIG_arg_fail(2)) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21107 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21111 PyObject
* obj0
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21118 if (SWIG_arg_fail(1)) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= wxPyMake_wxObject(result
, 0);
21135 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21138 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21140 return Py_BuildValue((char *)"");
21142 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 wxDisplayChangedEvent
*result
;
21145 char *kwnames
[] = {
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21164 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21167 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21169 return Py_BuildValue((char *)"");
21171 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 int arg1
= (int) 0 ;
21174 wxPaletteChangedEvent
*result
;
21175 PyObject
* obj0
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "id", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21183 arg1
= (int)(SWIG_As_int(obj0
));
21184 if (SWIG_arg_fail(1)) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21201 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21202 PyObject
*resultobj
;
21203 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21204 wxWindow
*arg2
= (wxWindow
*) 0 ;
21205 PyObject
* obj0
= 0 ;
21206 PyObject
* obj1
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "self",(char *) "win", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21213 if (SWIG_arg_fail(1)) SWIG_fail
;
21214 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21215 if (SWIG_arg_fail(2)) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 (arg1
)->SetChangedWindow(arg2
);
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 Py_INCREF(Py_None
); resultobj
= Py_None
;
21230 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21234 PyObject
* obj0
= 0 ;
21235 char *kwnames
[] = {
21236 (char *) "self", NULL
21239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21241 if (SWIG_arg_fail(1)) SWIG_fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= wxPyMake_wxObject(result
, 0);
21258 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21261 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21263 return Py_BuildValue((char *)"");
21265 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 int arg1
= (int) 0 ;
21268 wxQueryNewPaletteEvent
*result
;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "winid", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21277 arg1
= (int)(SWIG_As_int(obj0
));
21278 if (SWIG_arg_fail(1)) SWIG_fail
;
21282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21283 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21295 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21299 PyObject
* obj0
= 0 ;
21300 PyObject
* obj1
= 0 ;
21301 char *kwnames
[] = {
21302 (char *) "self",(char *) "realized", NULL
21305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21307 if (SWIG_arg_fail(1)) SWIG_fail
;
21309 arg2
= (bool)(SWIG_As_bool(obj1
));
21310 if (SWIG_arg_fail(2)) SWIG_fail
;
21313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21314 (arg1
)->SetPaletteRealized(arg2
);
21316 wxPyEndAllowThreads(__tstate
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 Py_INCREF(Py_None
); resultobj
= Py_None
;
21326 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21328 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21330 PyObject
* obj0
= 0 ;
21331 char *kwnames
[] = {
21332 (char *) "self", NULL
21335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21337 if (SWIG_arg_fail(1)) SWIG_fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21354 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21357 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21359 return Py_BuildValue((char *)"");
21361 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxNavigationKeyEvent
*result
;
21364 char *kwnames
[] = {
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21383 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21387 PyObject
* obj0
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "self", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21394 if (SWIG_arg_fail(1)) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21411 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21415 PyObject
* obj0
= 0 ;
21416 PyObject
* obj1
= 0 ;
21417 char *kwnames
[] = {
21418 (char *) "self",(char *) "forward", NULL
21421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21422 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21423 if (SWIG_arg_fail(1)) SWIG_fail
;
21425 arg2
= (bool)(SWIG_As_bool(obj1
));
21426 if (SWIG_arg_fail(2)) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 (arg1
)->SetDirection(arg2
);
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 Py_INCREF(Py_None
); resultobj
= Py_None
;
21442 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21446 PyObject
* obj0
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21453 if (SWIG_arg_fail(1)) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21470 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "self",(char *) "ischange", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21482 if (SWIG_arg_fail(1)) SWIG_fail
;
21484 arg2
= (bool)(SWIG_As_bool(obj1
));
21485 if (SWIG_arg_fail(2)) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 (arg1
)->SetWindowChange(arg2
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 Py_INCREF(Py_None
); resultobj
= Py_None
;
21501 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21505 PyObject
* obj0
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21512 if (SWIG_arg_fail(1)) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21529 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21533 PyObject
* obj0
= 0 ;
21534 PyObject
* obj1
= 0 ;
21535 char *kwnames
[] = {
21536 (char *) "self",(char *) "bIs", NULL
21539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21541 if (SWIG_arg_fail(1)) SWIG_fail
;
21543 arg2
= (bool)(SWIG_As_bool(obj1
));
21544 if (SWIG_arg_fail(2)) SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 (arg1
)->SetFromTab(arg2
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 Py_INCREF(Py_None
); resultobj
= Py_None
;
21560 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21561 PyObject
*resultobj
;
21562 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self",(char *) "flags", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21572 if (SWIG_arg_fail(1)) SWIG_fail
;
21574 arg2
= (long)(SWIG_As_long(obj1
));
21575 if (SWIG_arg_fail(2)) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 (arg1
)->SetFlags(arg2
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 Py_INCREF(Py_None
); resultobj
= Py_None
;
21591 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21602 if (SWIG_arg_fail(1)) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= wxPyMake_wxObject(result
, 0);
21619 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21620 PyObject
*resultobj
;
21621 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21622 wxWindow
*arg2
= (wxWindow
*) 0 ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "win", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21631 if (SWIG_arg_fail(1)) SWIG_fail
;
21632 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21633 if (SWIG_arg_fail(2)) SWIG_fail
;
21635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21636 (arg1
)->SetCurrentFocus(arg2
);
21638 wxPyEndAllowThreads(__tstate
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 Py_INCREF(Py_None
); resultobj
= Py_None
;
21648 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21651 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21653 return Py_BuildValue((char *)"");
21655 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxWindow
*arg1
= (wxWindow
*) NULL
;
21658 wxWindowCreateEvent
*result
;
21659 PyObject
* obj0
= 0 ;
21660 char *kwnames
[] = {
21661 (char *) "win", NULL
21664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21667 if (SWIG_arg_fail(1)) SWIG_fail
;
21670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21671 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21673 wxPyEndAllowThreads(__tstate
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21683 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21687 PyObject
* obj0
= 0 ;
21688 char *kwnames
[] = {
21689 (char *) "self", NULL
21692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21694 if (SWIG_arg_fail(1)) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21703 resultobj
= wxPyMake_wxObject(result
, 0);
21711 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21714 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21716 return Py_BuildValue((char *)"");
21718 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxWindow
*arg1
= (wxWindow
*) NULL
;
21721 wxWindowDestroyEvent
*result
;
21722 PyObject
* obj0
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "win", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21730 if (SWIG_arg_fail(1)) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21746 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21757 if (SWIG_arg_fail(1)) SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= wxPyMake_wxObject(result
, 0);
21774 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21777 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21779 return Py_BuildValue((char *)"");
21781 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21784 int arg2
= (int) 0 ;
21785 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21786 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21787 wxContextMenuEvent
*result
;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21791 PyObject
* obj2
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "type",(char *) "winid",(char *) "pt", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21799 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
21800 if (SWIG_arg_fail(1)) SWIG_fail
;
21805 arg2
= (int)(SWIG_As_int(obj1
));
21806 if (SWIG_arg_fail(2)) SWIG_fail
;
21812 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
21829 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21833 PyObject
* obj0
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
21839 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21840 if (SWIG_arg_fail(1)) SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
21845 result
= (wxPoint
*) &_result_ref
;
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21858 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21860 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
21861 wxPoint
*arg2
= 0 ;
21863 PyObject
* obj0
= 0 ;
21864 PyObject
* obj1
= 0 ;
21865 char *kwnames
[] = {
21866 (char *) "self",(char *) "pos", NULL
21869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
21871 if (SWIG_arg_fail(1)) SWIG_fail
;
21874 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21878 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
21880 wxPyEndAllowThreads(__tstate
);
21881 if (PyErr_Occurred()) SWIG_fail
;
21883 Py_INCREF(Py_None
); resultobj
= Py_None
;
21890 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
21892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21893 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
21895 return Py_BuildValue((char *)"");
21897 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21898 PyObject
*resultobj
;
21899 wxIdleEvent
*result
;
21900 char *kwnames
[] = {
21904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= (wxIdleEvent
*)new wxIdleEvent();
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
21919 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21922 bool arg2
= (bool) true ;
21923 PyObject
* obj0
= 0 ;
21924 PyObject
* obj1
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "self",(char *) "needMore", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
21930 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21931 if (SWIG_arg_fail(1)) SWIG_fail
;
21934 arg2
= (bool)(SWIG_As_bool(obj1
));
21935 if (SWIG_arg_fail(2)) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 (arg1
)->RequestMore(arg2
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 Py_INCREF(Py_None
); resultobj
= Py_None
;
21952 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21953 PyObject
*resultobj
;
21954 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
21962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
21963 if (SWIG_arg_fail(1)) SWIG_fail
;
21965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21966 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
21968 wxPyEndAllowThreads(__tstate
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21980 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21983 PyObject
* obj0
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "mode", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21990 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
21991 if (SWIG_arg_fail(1)) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 Py_INCREF(Py_None
); resultobj
= Py_None
;
22007 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22010 char *kwnames
[] = {
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22017 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22019 wxPyEndAllowThreads(__tstate
);
22020 if (PyErr_Occurred()) SWIG_fail
;
22022 resultobj
= SWIG_From_int((result
));
22029 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22030 PyObject
*resultobj
;
22031 wxWindow
*arg1
= (wxWindow
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "win", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22040 if (SWIG_arg_fail(1)) SWIG_fail
;
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (bool)wxIdleEvent::CanSend(arg1
);
22045 wxPyEndAllowThreads(__tstate
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22057 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22060 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22062 return Py_BuildValue((char *)"");
22064 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 int arg1
= (int) 0 ;
22067 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22069 PyObject
* obj0
= 0 ;
22070 PyObject
* obj1
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "winid",(char *) "commandType", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22078 arg1
= (int)(SWIG_As_int(obj0
));
22079 if (SWIG_arg_fail(1)) SWIG_fail
;
22084 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22085 if (SWIG_arg_fail(2)) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22102 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22112 if (SWIG_arg_fail(1)) SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 Py_INCREF(Py_None
); resultobj
= Py_None
;
22127 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22130 PyObject
*arg2
= (PyObject
*) 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self",(char *) "self", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22139 if (SWIG_arg_fail(1)) SWIG_fail
;
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 (arg1
)->SetSelf(arg2
);
22145 wxPyEndAllowThreads(__tstate
);
22146 if (PyErr_Occurred()) SWIG_fail
;
22148 Py_INCREF(Py_None
); resultobj
= Py_None
;
22155 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22159 PyObject
* obj0
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22166 if (SWIG_arg_fail(1)) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 result
= (PyObject
*)(arg1
)->GetSelf();
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22174 resultobj
= result
;
22181 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22184 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22186 return Py_BuildValue((char *)"");
22188 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22191 int arg2
= (int) 0 ;
22192 wxPyCommandEvent
*result
;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "commandType",(char *) "id", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22202 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22203 if (SWIG_arg_fail(1)) SWIG_fail
;
22208 arg2
= (int)(SWIG_As_int(obj1
));
22209 if (SWIG_arg_fail(2)) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22226 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22229 PyObject
* obj0
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22236 if (SWIG_arg_fail(1)) SWIG_fail
;
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22241 wxPyEndAllowThreads(__tstate
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22244 Py_INCREF(Py_None
); resultobj
= Py_None
;
22251 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22254 PyObject
*arg2
= (PyObject
*) 0 ;
22255 PyObject
* obj0
= 0 ;
22256 PyObject
* obj1
= 0 ;
22257 char *kwnames
[] = {
22258 (char *) "self",(char *) "self", NULL
22261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22263 if (SWIG_arg_fail(1)) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 (arg1
)->SetSelf(arg2
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 Py_INCREF(Py_None
); resultobj
= Py_None
;
22279 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22283 PyObject
* obj0
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
22289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22290 if (SWIG_arg_fail(1)) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (PyObject
*)(arg1
)->GetSelf();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= result
;
22305 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22308 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22310 return Py_BuildValue((char *)"");
22312 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxWindow
*arg1
= (wxWindow
*) 0 ;
22315 wxDateTime
*arg2
= 0 ;
22317 wxDateEvent
*result
;
22318 PyObject
* obj0
= 0 ;
22319 PyObject
* obj1
= 0 ;
22320 PyObject
* obj2
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "win",(char *) "dt",(char *) "type", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22327 if (SWIG_arg_fail(1)) SWIG_fail
;
22329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22330 if (SWIG_arg_fail(2)) SWIG_fail
;
22331 if (arg2
== NULL
) {
22332 SWIG_null_ref("wxDateTime");
22334 if (SWIG_arg_fail(2)) SWIG_fail
;
22337 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22338 if (SWIG_arg_fail(3)) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22354 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22357 wxDateTime
*result
;
22358 PyObject
* obj0
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22365 if (SWIG_arg_fail(1)) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22370 result
= (wxDateTime
*) &_result_ref
;
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22383 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22386 wxDateTime
*arg2
= 0 ;
22387 PyObject
* obj0
= 0 ;
22388 PyObject
* obj1
= 0 ;
22389 char *kwnames
[] = {
22390 (char *) "self",(char *) "date", NULL
22393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22395 if (SWIG_arg_fail(1)) SWIG_fail
;
22397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22398 if (SWIG_arg_fail(2)) SWIG_fail
;
22399 if (arg2
== NULL
) {
22400 SWIG_null_ref("wxDateTime");
22402 if (SWIG_arg_fail(2)) SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22411 Py_INCREF(Py_None
); resultobj
= Py_None
;
22418 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22420 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22421 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22423 return Py_BuildValue((char *)"");
22425 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22428 char *kwnames
[] = {
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= (wxPyApp
*)new_wxPyApp();
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22447 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22450 PyObject
* obj0
= 0 ;
22451 char *kwnames
[] = {
22452 (char *) "self", NULL
22455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22457 if (SWIG_arg_fail(1)) SWIG_fail
;
22459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 wxPyEndAllowThreads(__tstate
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22465 Py_INCREF(Py_None
); resultobj
= Py_None
;
22472 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22473 PyObject
*resultobj
;
22474 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22475 PyObject
*arg2
= (PyObject
*) 0 ;
22476 PyObject
*arg3
= (PyObject
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 PyObject
* obj1
= 0 ;
22479 PyObject
* obj2
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self",(char *) "self",(char *) "_class", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22485 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22486 if (SWIG_arg_fail(1)) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 Py_INCREF(Py_None
); resultobj
= Py_None
;
22503 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22507 PyObject
* obj0
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22514 if (SWIG_arg_fail(1)) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22535 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22538 wxString
*arg2
= 0 ;
22539 bool temp2
= false ;
22540 PyObject
* obj0
= 0 ;
22541 PyObject
* obj1
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self",(char *) "name", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22548 if (SWIG_arg_fail(1)) SWIG_fail
;
22550 arg2
= wxString_in_helper(obj1
);
22551 if (arg2
== NULL
) SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 (arg1
)->SetAppName((wxString
const &)*arg2
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 Py_INCREF(Py_None
); resultobj
= Py_None
;
22576 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 char *kwnames
[] = {
22582 (char *) "self", NULL
22585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22586 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22587 if (SWIG_arg_fail(1)) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22608 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22611 wxString
*arg2
= 0 ;
22612 bool temp2
= false ;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self",(char *) "name", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22621 if (SWIG_arg_fail(1)) SWIG_fail
;
22623 arg2
= wxString_in_helper(obj1
);
22624 if (arg2
== NULL
) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 (arg1
)->SetClassName((wxString
const &)*arg2
);
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22634 Py_INCREF(Py_None
); resultobj
= Py_None
;
22649 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 char *kwnames
[] = {
22655 (char *) "self", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22660 if (SWIG_arg_fail(1)) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22665 result
= (wxString
*) &_result_ref
;
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22675 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22684 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22687 wxString
*arg2
= 0 ;
22688 bool temp2
= false ;
22689 PyObject
* obj0
= 0 ;
22690 PyObject
* obj1
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self",(char *) "name", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22697 if (SWIG_arg_fail(1)) SWIG_fail
;
22699 arg2
= wxString_in_helper(obj1
);
22700 if (arg2
== NULL
) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 Py_INCREF(Py_None
); resultobj
= Py_None
;
22725 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22728 wxAppTraits
*result
;
22729 PyObject
* obj0
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22736 if (SWIG_arg_fail(1)) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22751 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 char *kwnames
[] = {
22756 (char *) "self", NULL
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22761 if (SWIG_arg_fail(1)) SWIG_fail
;
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 (arg1
)->ProcessPendingEvents();
22766 wxPyEndAllowThreads(__tstate
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22769 Py_INCREF(Py_None
); resultobj
= Py_None
;
22776 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22777 PyObject
*resultobj
;
22778 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22779 bool arg2
= (bool) false ;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self",(char *) "onlyIfNeeded", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
22788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22789 if (SWIG_arg_fail(1)) SWIG_fail
;
22792 arg2
= (bool)(SWIG_As_bool(obj1
));
22793 if (SWIG_arg_fail(2)) SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 result
= (bool)(arg1
)->Yield(arg2
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22812 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
22821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22822 if (SWIG_arg_fail(1)) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 (arg1
)->WakeUpIdle();
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 Py_INCREF(Py_None
); resultobj
= Py_None
;
22837 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22840 char *kwnames
[] = {
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 result
= (bool)wxPyApp::IsMainLoopRunning();
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22861 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22865 PyObject
* obj0
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "self", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
22871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22872 if (SWIG_arg_fail(1)) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= (int)(arg1
)->MainLoop();
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= SWIG_From_int((int)(result
));
22889 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22890 PyObject
*resultobj
;
22891 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
22898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22899 if (SWIG_arg_fail(1)) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 Py_INCREF(Py_None
); resultobj
= Py_None
;
22914 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
;
22916 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22917 PyObject
* obj0
= 0 ;
22918 char *kwnames
[] = {
22919 (char *) "self", NULL
22922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
22923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22924 if (SWIG_arg_fail(1)) SWIG_fail
;
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 (arg1
)->ExitMainLoop();
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 Py_INCREF(Py_None
); resultobj
= Py_None
;
22939 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22940 PyObject
*resultobj
;
22941 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22943 PyObject
* obj0
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "self", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
22949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22950 if (SWIG_arg_fail(1)) SWIG_fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (bool)(arg1
)->Pending();
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22967 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
;
22969 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
22977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22978 if (SWIG_arg_fail(1)) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (bool)(arg1
)->Dispatch();
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22995 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22999 PyObject
* obj0
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23006 if (SWIG_arg_fail(1)) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (bool)(arg1
)->ProcessIdle();
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23023 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
;
23025 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23026 wxWindow
*arg2
= (wxWindow
*) 0 ;
23027 wxIdleEvent
*arg3
= 0 ;
23029 PyObject
* obj0
= 0 ;
23030 PyObject
* obj1
= 0 ;
23031 PyObject
* obj2
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "self",(char *) "win",(char *) "event", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23037 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23038 if (SWIG_arg_fail(1)) SWIG_fail
;
23039 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23040 if (SWIG_arg_fail(2)) SWIG_fail
;
23042 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23043 if (SWIG_arg_fail(3)) SWIG_fail
;
23044 if (arg3
== NULL
) {
23045 SWIG_null_ref("wxIdleEvent");
23047 if (SWIG_arg_fail(3)) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23065 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23069 PyObject
* obj0
= 0 ;
23070 char *kwnames
[] = {
23071 (char *) "self", NULL
23074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23076 if (SWIG_arg_fail(1)) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23093 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23096 wxWindow
*arg2
= (wxWindow
*) 0 ;
23097 PyObject
* obj0
= 0 ;
23098 PyObject
* obj1
= 0 ;
23099 char *kwnames
[] = {
23100 (char *) "self",(char *) "win", NULL
23103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23105 if (SWIG_arg_fail(1)) SWIG_fail
;
23106 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23107 if (SWIG_arg_fail(2)) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 (arg1
)->SetTopWindow(arg2
);
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23115 Py_INCREF(Py_None
); resultobj
= Py_None
;
23122 static PyObject
*_wrap_PyApp_GetTopWindow(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_GetTopWindow",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
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23142 resultobj
= wxPyMake_wxObject(result
, 0);
23150 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
;
23152 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23154 PyObject
* obj0
= 0 ;
23155 PyObject
* obj1
= 0 ;
23156 char *kwnames
[] = {
23157 (char *) "self",(char *) "flag", NULL
23160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23162 if (SWIG_arg_fail(1)) SWIG_fail
;
23164 arg2
= (bool)(SWIG_As_bool(obj1
));
23165 if (SWIG_arg_fail(2)) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23169 (arg1
)->SetExitOnFrameDelete(arg2
);
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 Py_INCREF(Py_None
); resultobj
= Py_None
;
23181 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
;
23183 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23185 PyObject
* obj0
= 0 ;
23186 char *kwnames
[] = {
23187 (char *) "self", NULL
23190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23192 if (SWIG_arg_fail(1)) SWIG_fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23209 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23210 PyObject
*resultobj
;
23211 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23213 PyObject
* obj0
= 0 ;
23214 PyObject
* obj1
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "self",(char *) "flag", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23221 if (SWIG_arg_fail(1)) SWIG_fail
;
23223 arg2
= (bool)(SWIG_As_bool(obj1
));
23224 if (SWIG_arg_fail(2)) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 (arg1
)->SetUseBestVisual(arg2
);
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 Py_INCREF(Py_None
); resultobj
= Py_None
;
23240 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23241 PyObject
*resultobj
;
23242 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23244 PyObject
* obj0
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23251 if (SWIG_arg_fail(1)) SWIG_fail
;
23253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23254 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23268 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23269 PyObject
*resultobj
;
23270 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "mode", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23280 if (SWIG_arg_fail(1)) SWIG_fail
;
23282 arg2
= (int)(SWIG_As_int(obj1
));
23283 if (SWIG_arg_fail(2)) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 (arg1
)->SetPrintMode(arg2
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 Py_INCREF(Py_None
); resultobj
= Py_None
;
23299 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23310 if (SWIG_arg_fail(1)) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= SWIG_From_int((int)(result
));
23327 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
;
23329 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self",(char *) "mode", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23339 if (SWIG_arg_fail(1)) SWIG_fail
;
23341 arg2
= (int)(SWIG_As_int(obj1
));
23342 if (SWIG_arg_fail(2)) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 (arg1
)->SetAssertMode(arg2
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23351 Py_INCREF(Py_None
); resultobj
= Py_None
;
23358 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23359 PyObject
*resultobj
;
23360 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23362 PyObject
* obj0
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23369 if (SWIG_arg_fail(1)) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (int)(arg1
)->GetAssertMode();
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_From_int((int)(result
));
23386 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
;
23389 char *kwnames
[] = {
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23410 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23413 char *kwnames
[] = {
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23420 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23422 wxPyEndAllowThreads(__tstate
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_From_long((long)(result
));
23434 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23435 PyObject
*resultobj
;
23437 char *kwnames
[] = {
23441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= SWIG_From_long((long)(result
));
23458 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23461 char *kwnames
[] = {
23465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (long)wxPyApp::GetMacExitMenuItemId();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23474 resultobj
= SWIG_From_long((long)(result
));
23482 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23483 PyObject
*resultobj
;
23485 char *kwnames
[] = {
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= wxPyApp::GetMacHelpMenuTitleName();
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23510 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23513 PyObject
* obj0
= 0 ;
23514 char *kwnames
[] = {
23515 (char *) "val", NULL
23518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23520 arg1
= (bool)(SWIG_As_bool(obj0
));
23521 if (SWIG_arg_fail(1)) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 Py_INCREF(Py_None
); resultobj
= Py_None
;
23537 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23540 PyObject
* obj0
= 0 ;
23541 char *kwnames
[] = {
23542 (char *) "val", NULL
23545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23547 arg1
= (long)(SWIG_As_long(obj0
));
23548 if (SWIG_arg_fail(1)) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 wxPyApp::SetMacAboutMenuItemId(arg1
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 Py_INCREF(Py_None
); resultobj
= Py_None
;
23564 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
;
23567 PyObject
* obj0
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "val", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23574 arg1
= (long)(SWIG_As_long(obj0
));
23575 if (SWIG_arg_fail(1)) SWIG_fail
;
23578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23579 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 Py_INCREF(Py_None
); resultobj
= Py_None
;
23591 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
;
23594 PyObject
* obj0
= 0 ;
23595 char *kwnames
[] = {
23596 (char *) "val", NULL
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23601 arg1
= (long)(SWIG_As_long(obj0
));
23602 if (SWIG_arg_fail(1)) SWIG_fail
;
23605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23606 wxPyApp::SetMacExitMenuItemId(arg1
);
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 Py_INCREF(Py_None
); resultobj
= Py_None
;
23618 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 wxString
*arg1
= 0 ;
23621 bool temp1
= false ;
23622 PyObject
* obj0
= 0 ;
23623 char *kwnames
[] = {
23624 (char *) "val", NULL
23627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23629 arg1
= wxString_in_helper(obj0
);
23630 if (arg1
== NULL
) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 Py_INCREF(Py_None
); resultobj
= Py_None
;
23655 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23665 if (SWIG_arg_fail(1)) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 (arg1
)->_BootstrapApp();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 Py_INCREF(Py_None
); resultobj
= Py_None
;
23680 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23683 char *kwnames
[] = {
23687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (int)PyApp_GetComCtl32Version();
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23696 resultobj
= SWIG_From_int((int)(result
));
23704 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23707 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23709 return Py_BuildValue((char *)"");
23711 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23712 PyObject
*resultobj
;
23713 char *kwnames
[] = {
23717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 Py_INCREF(Py_None
); resultobj
= Py_None
;
23732 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23733 PyObject
*resultobj
;
23735 char *kwnames
[] = {
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (bool)wxYield();
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23756 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23759 char *kwnames
[] = {
23763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (bool)wxYieldIfNeeded();
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23780 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23782 wxWindow
*arg1
= (wxWindow
*) NULL
;
23783 bool arg2
= (bool) false ;
23785 PyObject
* obj0
= 0 ;
23786 PyObject
* obj1
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "win",(char *) "onlyIfNeeded", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
23793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23794 if (SWIG_arg_fail(1)) SWIG_fail
;
23798 arg2
= (bool)(SWIG_As_bool(obj1
));
23799 if (SWIG_arg_fail(2)) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 result
= (bool)wxSafeYield(arg1
,arg2
);
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23818 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 char *kwnames
[] = {
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
23826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 Py_INCREF(Py_None
); resultobj
= Py_None
;
23839 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
;
23841 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
23842 wxEvent
*arg2
= 0 ;
23843 PyObject
* obj0
= 0 ;
23844 PyObject
* obj1
= 0 ;
23845 char *kwnames
[] = {
23846 (char *) "dest",(char *) "event", NULL
23849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
23851 if (SWIG_arg_fail(1)) SWIG_fail
;
23853 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
23854 if (SWIG_arg_fail(2)) SWIG_fail
;
23855 if (arg2
== NULL
) {
23856 SWIG_null_ref("wxEvent");
23858 if (SWIG_arg_fail(2)) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 wxPostEvent(arg1
,*arg2
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 Py_INCREF(Py_None
); resultobj
= Py_None
;
23874 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
;
23876 char *kwnames
[] = {
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
23882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 Py_INCREF(Py_None
); resultobj
= Py_None
;
23895 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23896 PyObject
*resultobj
;
23898 char *kwnames
[] = {
23902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 result
= (wxPyApp
*)wxPyGetApp();
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= wxPyMake_wxObject(result
, 0);
23919 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 char *arg1
= (char *) 0 ;
23922 PyObject
* obj0
= 0 ;
23923 char *kwnames
[] = {
23924 (char *) "encoding", NULL
23927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
23928 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
23929 SWIG_arg_fail(1);SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 wxSetDefaultPyEncoding((char const *)arg1
);
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 Py_INCREF(Py_None
); resultobj
= Py_None
;
23945 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23948 char *kwnames
[] = {
23952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 result
= (char *)wxGetDefaultPyEncoding();
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= SWIG_FromCharPtr(result
);
23967 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxEventLoop
*result
;
23970 char *kwnames
[] = {
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 result
= (wxEventLoop
*)new wxEventLoop();
23979 wxPyEndAllowThreads(__tstate
);
23980 if (PyErr_Occurred()) SWIG_fail
;
23982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
23989 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23990 PyObject
*resultobj
;
23991 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
23992 PyObject
* obj0
= 0 ;
23993 char *kwnames
[] = {
23994 (char *) "self", NULL
23997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
23998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
23999 if (SWIG_arg_fail(1)) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 Py_INCREF(Py_None
); resultobj
= Py_None
;
24014 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
;
24016 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24025 if (SWIG_arg_fail(1)) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (int)(arg1
)->Run();
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24034 resultobj
= SWIG_From_int((int)(result
));
24042 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
;
24044 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24045 int arg2
= (int) 0 ;
24046 PyObject
* obj0
= 0 ;
24047 PyObject
* obj1
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self",(char *) "rc", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24054 if (SWIG_arg_fail(1)) SWIG_fail
;
24057 arg2
= (int)(SWIG_As_int(obj1
));
24058 if (SWIG_arg_fail(2)) SWIG_fail
;
24062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 (arg1
)->Exit(arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 Py_INCREF(Py_None
); resultobj
= Py_None
;
24075 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24079 PyObject
* obj0
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24086 if (SWIG_arg_fail(1)) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24103 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
;
24105 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24107 PyObject
* obj0
= 0 ;
24108 char *kwnames
[] = {
24109 (char *) "self", NULL
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24113 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24114 if (SWIG_arg_fail(1)) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (bool)(arg1
)->Dispatch();
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24131 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24135 PyObject
* obj0
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24142 if (SWIG_arg_fail(1)) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24159 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxEventLoop
*result
;
24162 char *kwnames
[] = {
24166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24181 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
;
24183 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "loop", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24191 if (SWIG_arg_fail(1)) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 wxEventLoop::SetActive(arg1
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 Py_INCREF(Py_None
); resultobj
= Py_None
;
24206 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24209 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24211 return Py_BuildValue((char *)"");
24213 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 int arg1
= (int) 0 ;
24216 int arg2
= (int) 0 ;
24217 int arg3
= (int) 0 ;
24218 wxAcceleratorEntry
*result
;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 PyObject
* obj2
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24229 arg1
= (int)(SWIG_As_int(obj0
));
24230 if (SWIG_arg_fail(1)) SWIG_fail
;
24235 arg2
= (int)(SWIG_As_int(obj1
));
24236 if (SWIG_arg_fail(2)) SWIG_fail
;
24241 arg3
= (int)(SWIG_As_int(obj2
));
24242 if (SWIG_arg_fail(3)) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24259 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24260 PyObject
*resultobj
;
24261 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24262 PyObject
* obj0
= 0 ;
24263 char *kwnames
[] = {
24264 (char *) "self", NULL
24267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24269 if (SWIG_arg_fail(1)) SWIG_fail
;
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 Py_INCREF(Py_None
); resultobj
= Py_None
;
24284 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
;
24286 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 PyObject
* obj2
= 0 ;
24293 PyObject
* obj3
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24300 if (SWIG_arg_fail(1)) SWIG_fail
;
24302 arg2
= (int)(SWIG_As_int(obj1
));
24303 if (SWIG_arg_fail(2)) SWIG_fail
;
24306 arg3
= (int)(SWIG_As_int(obj2
));
24307 if (SWIG_arg_fail(3)) SWIG_fail
;
24310 arg4
= (int)(SWIG_As_int(obj3
));
24311 if (SWIG_arg_fail(4)) SWIG_fail
;
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 (arg1
)->Set(arg2
,arg3
,arg4
);
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 Py_INCREF(Py_None
); resultobj
= Py_None
;
24327 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
;
24329 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24331 PyObject
* obj0
= 0 ;
24332 char *kwnames
[] = {
24333 (char *) "self", NULL
24336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24338 if (SWIG_arg_fail(1)) SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 result
= (int)(arg1
)->GetFlags();
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24347 resultobj
= SWIG_From_int((int)(result
));
24355 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24366 if (SWIG_arg_fail(1)) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 result
= (int)(arg1
)->GetKeyCode();
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24375 resultobj
= SWIG_From_int((int)(result
));
24383 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24384 PyObject
*resultobj
;
24385 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24387 PyObject
* obj0
= 0 ;
24388 char *kwnames
[] = {
24389 (char *) "self", NULL
24392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24393 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24394 if (SWIG_arg_fail(1)) SWIG_fail
;
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= (int)(arg1
)->GetCommand();
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24403 resultobj
= SWIG_From_int((int)(result
));
24411 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24414 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24416 return Py_BuildValue((char *)"");
24418 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
;
24421 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24422 wxAcceleratorTable
*result
;
24423 PyObject
* obj0
= 0 ;
24424 char *kwnames
[] = {
24428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24430 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24431 if (arg2
) arg1
= PyList_Size(obj0
);
24435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24436 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24454 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24457 PyObject
* obj0
= 0 ;
24458 char *kwnames
[] = {
24459 (char *) "self", NULL
24462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24464 if (SWIG_arg_fail(1)) SWIG_fail
;
24466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 wxPyEndAllowThreads(__tstate
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24472 Py_INCREF(Py_None
); resultobj
= Py_None
;
24479 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
;
24481 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24483 PyObject
* obj0
= 0 ;
24484 char *kwnames
[] = {
24485 (char *) "self", NULL
24488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24490 if (SWIG_arg_fail(1)) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24507 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24510 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24512 return Py_BuildValue((char *)"");
24514 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24515 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24520 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24523 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24528 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
;
24530 wxString
*arg1
= 0 ;
24531 wxAcceleratorEntry
*result
;
24532 bool temp1
= false ;
24533 PyObject
* obj0
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "label", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24540 arg1
= wxString_in_helper(obj0
);
24541 if (arg1
== NULL
) SWIG_fail
;
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24548 wxPyEndAllowThreads(__tstate
);
24549 if (PyErr_Occurred()) SWIG_fail
;
24551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24566 static int _wrap_PanelNameStr_set(PyObject
*) {
24567 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24572 static PyObject
*_wrap_PanelNameStr_get(void) {
24577 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24579 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24586 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxVisualAttributes
*result
;
24589 char *kwnames
[] = {
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24608 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
;
24610 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24618 if (SWIG_arg_fail(1)) SWIG_fail
;
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 delete_wxVisualAttributes(arg1
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 Py_INCREF(Py_None
); resultobj
= Py_None
;
24633 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24636 wxFont
*arg2
= (wxFont
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self",(char *) "font", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24645 if (SWIG_arg_fail(1)) SWIG_fail
;
24646 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24647 if (SWIG_arg_fail(2)) SWIG_fail
;
24648 if (arg1
) (arg1
)->font
= *arg2
;
24650 Py_INCREF(Py_None
); resultobj
= Py_None
;
24657 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24668 if (SWIG_arg_fail(1)) SWIG_fail
;
24669 result
= (wxFont
*)& ((arg1
)->font
);
24671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24678 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24681 wxColour
*arg2
= (wxColour
*) 0 ;
24682 PyObject
* obj0
= 0 ;
24683 PyObject
* obj1
= 0 ;
24684 char *kwnames
[] = {
24685 (char *) "self",(char *) "colFg", NULL
24688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24690 if (SWIG_arg_fail(1)) SWIG_fail
;
24691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24692 if (SWIG_arg_fail(2)) SWIG_fail
;
24693 if (arg1
) (arg1
)->colFg
= *arg2
;
24695 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 char *kwnames
[] = {
24708 (char *) "self", NULL
24711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24713 if (SWIG_arg_fail(1)) SWIG_fail
;
24714 result
= (wxColour
*)& ((arg1
)->colFg
);
24716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24723 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24724 PyObject
*resultobj
;
24725 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24726 wxColour
*arg2
= (wxColour
*) 0 ;
24727 PyObject
* obj0
= 0 ;
24728 PyObject
* obj1
= 0 ;
24729 char *kwnames
[] = {
24730 (char *) "self",(char *) "colBg", NULL
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24734 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24735 if (SWIG_arg_fail(1)) SWIG_fail
;
24736 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24737 if (SWIG_arg_fail(2)) SWIG_fail
;
24738 if (arg1
) (arg1
)->colBg
= *arg2
;
24740 Py_INCREF(Py_None
); resultobj
= Py_None
;
24747 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24751 PyObject
* obj0
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24758 if (SWIG_arg_fail(1)) SWIG_fail
;
24759 result
= (wxColour
*)& ((arg1
)->colBg
);
24761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24768 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24771 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24773 return Py_BuildValue((char *)"");
24775 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxWindow
*arg1
= (wxWindow
*) 0 ;
24778 int arg2
= (int) (int)-1 ;
24779 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24780 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24781 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24782 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24783 long arg5
= (long) 0 ;
24784 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
24785 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
24789 bool temp6
= false ;
24790 PyObject
* obj0
= 0 ;
24791 PyObject
* obj1
= 0 ;
24792 PyObject
* obj2
= 0 ;
24793 PyObject
* obj3
= 0 ;
24794 PyObject
* obj4
= 0 ;
24795 PyObject
* obj5
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
24801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24802 if (SWIG_arg_fail(1)) SWIG_fail
;
24805 arg2
= (int const)(SWIG_As_int(obj1
));
24806 if (SWIG_arg_fail(2)) SWIG_fail
;
24812 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24818 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24823 arg5
= (long)(SWIG_As_long(obj4
));
24824 if (SWIG_arg_fail(5)) SWIG_fail
;
24829 arg6
= wxString_in_helper(obj5
);
24830 if (arg6
== NULL
) SWIG_fail
;
24835 if (!wxPyCheckForApp()) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24857 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24860 char *kwnames
[] = {
24864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
24866 if (!wxPyCheckForApp()) SWIG_fail
;
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (wxWindow
*)new wxWindow();
24870 wxPyEndAllowThreads(__tstate
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
24880 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxWindow
*arg1
= (wxWindow
*) 0 ;
24883 wxWindow
*arg2
= (wxWindow
*) 0 ;
24884 int arg3
= (int) (int)-1 ;
24885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24889 long arg6
= (long) 0 ;
24890 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24891 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24895 bool temp7
= false ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 PyObject
* obj2
= 0 ;
24899 PyObject
* obj3
= 0 ;
24900 PyObject
* obj4
= 0 ;
24901 PyObject
* obj5
= 0 ;
24902 PyObject
* obj6
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24908 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24909 if (SWIG_arg_fail(1)) SWIG_fail
;
24910 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24911 if (SWIG_arg_fail(2)) SWIG_fail
;
24914 arg3
= (int const)(SWIG_As_int(obj2
));
24915 if (SWIG_arg_fail(3)) SWIG_fail
;
24921 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24927 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24932 arg6
= (long)(SWIG_As_long(obj5
));
24933 if (SWIG_arg_fail(6)) SWIG_fail
;
24938 arg7
= wxString_in_helper(obj6
);
24939 if (arg7
== NULL
) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24967 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
;
24969 wxWindow
*arg1
= (wxWindow
*) 0 ;
24970 bool arg2
= (bool) false ;
24972 PyObject
* obj0
= 0 ;
24973 PyObject
* obj1
= 0 ;
24974 char *kwnames
[] = {
24975 (char *) "self",(char *) "force", NULL
24978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
24979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24980 if (SWIG_arg_fail(1)) SWIG_fail
;
24983 arg2
= (bool)(SWIG_As_bool(obj1
));
24984 if (SWIG_arg_fail(2)) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (bool)(arg1
)->Close(arg2
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25003 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxWindow
*arg1
= (wxWindow
*) 0 ;
25007 PyObject
* obj0
= 0 ;
25008 char *kwnames
[] = {
25009 (char *) "self", NULL
25012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25014 if (SWIG_arg_fail(1)) SWIG_fail
;
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 result
= (bool)(arg1
)->Destroy();
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25031 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
;
25033 wxWindow
*arg1
= (wxWindow
*) 0 ;
25035 PyObject
* obj0
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "self", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25042 if (SWIG_arg_fail(1)) SWIG_fail
;
25044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 result
= (bool)(arg1
)->DestroyChildren();
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25059 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
;
25061 wxWindow
*arg1
= (wxWindow
*) 0 ;
25063 PyObject
* obj0
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25070 if (SWIG_arg_fail(1)) SWIG_fail
;
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25075 wxPyEndAllowThreads(__tstate
);
25076 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25087 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxWindow
*arg1
= (wxWindow
*) 0 ;
25090 wxString
*arg2
= 0 ;
25091 bool temp2
= false ;
25092 PyObject
* obj0
= 0 ;
25093 PyObject
* obj1
= 0 ;
25094 char *kwnames
[] = {
25095 (char *) "self",(char *) "title", NULL
25098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25100 if (SWIG_arg_fail(1)) SWIG_fail
;
25102 arg2
= wxString_in_helper(obj1
);
25103 if (arg2
== NULL
) SWIG_fail
;
25107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25108 (arg1
)->SetTitle((wxString
const &)*arg2
);
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 Py_INCREF(Py_None
); resultobj
= Py_None
;
25128 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25130 wxWindow
*arg1
= (wxWindow
*) 0 ;
25132 PyObject
* obj0
= 0 ;
25133 char *kwnames
[] = {
25134 (char *) "self", NULL
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25142 result
= ((wxWindow
const *)arg1
)->GetTitle();
25144 wxPyEndAllowThreads(__tstate
);
25145 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25160 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxWindow
*arg1
= (wxWindow
*) 0 ;
25163 wxString
*arg2
= 0 ;
25164 bool temp2
= false ;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self",(char *) "label", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25173 if (SWIG_arg_fail(1)) SWIG_fail
;
25175 arg2
= wxString_in_helper(obj1
);
25176 if (arg2
== NULL
) SWIG_fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 (arg1
)->SetLabel((wxString
const &)*arg2
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25186 Py_INCREF(Py_None
); resultobj
= Py_None
;
25201 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxWindow
*arg1
= (wxWindow
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25212 if (SWIG_arg_fail(1)) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= ((wxWindow
const *)arg1
)->GetLabel();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25233 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxWindow
*arg1
= (wxWindow
*) 0 ;
25236 wxString
*arg2
= 0 ;
25237 bool temp2
= false ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 char *kwnames
[] = {
25241 (char *) "self",(char *) "name", NULL
25244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25246 if (SWIG_arg_fail(1)) SWIG_fail
;
25248 arg2
= wxString_in_helper(obj1
);
25249 if (arg2
== NULL
) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 (arg1
)->SetName((wxString
const &)*arg2
);
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 Py_INCREF(Py_None
); resultobj
= Py_None
;
25274 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25275 PyObject
*resultobj
;
25276 wxWindow
*arg1
= (wxWindow
*) 0 ;
25278 PyObject
* obj0
= 0 ;
25279 char *kwnames
[] = {
25280 (char *) "self", NULL
25283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25285 if (SWIG_arg_fail(1)) SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 result
= ((wxWindow
const *)arg1
)->GetName();
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25295 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25297 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25306 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxWindow
*arg1
= (wxWindow
*) 0 ;
25309 wxWindowVariant arg2
;
25310 PyObject
* obj0
= 0 ;
25311 PyObject
* obj1
= 0 ;
25312 char *kwnames
[] = {
25313 (char *) "self",(char *) "variant", NULL
25316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25317 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25318 if (SWIG_arg_fail(1)) SWIG_fail
;
25320 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25321 if (SWIG_arg_fail(2)) SWIG_fail
;
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25330 Py_INCREF(Py_None
); resultobj
= Py_None
;
25337 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25338 PyObject
*resultobj
;
25339 wxWindow
*arg1
= (wxWindow
*) 0 ;
25340 wxWindowVariant result
;
25341 PyObject
* obj0
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25348 if (SWIG_arg_fail(1)) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25356 resultobj
= SWIG_From_int((result
));
25363 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
;
25365 wxWindow
*arg1
= (wxWindow
*) 0 ;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 char *kwnames
[] = {
25370 (char *) "self",(char *) "winid", NULL
25373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25375 if (SWIG_arg_fail(1)) SWIG_fail
;
25377 arg2
= (int)(SWIG_As_int(obj1
));
25378 if (SWIG_arg_fail(2)) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 (arg1
)->SetId(arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 Py_INCREF(Py_None
); resultobj
= Py_None
;
25394 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxWindow
*arg1
= (wxWindow
*) 0 ;
25398 PyObject
* obj0
= 0 ;
25399 char *kwnames
[] = {
25400 (char *) "self", NULL
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25405 if (SWIG_arg_fail(1)) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 result
= (int)((wxWindow
const *)arg1
)->GetId();
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_From_int((int)(result
));
25422 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25425 char *kwnames
[] = {
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= (int)wxWindow::NewControlId();
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= SWIG_From_int((int)(result
));
25446 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
;
25450 PyObject
* obj0
= 0 ;
25451 char *kwnames
[] = {
25452 (char *) "winid", NULL
25455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25457 arg1
= (int)(SWIG_As_int(obj0
));
25458 if (SWIG_arg_fail(1)) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (int)wxWindow::NextControlId(arg1
);
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_From_int((int)(result
));
25476 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25480 PyObject
* obj0
= 0 ;
25481 char *kwnames
[] = {
25482 (char *) "winid", NULL
25485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25487 arg1
= (int)(SWIG_As_int(obj0
));
25488 if (SWIG_arg_fail(1)) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= (int)wxWindow::PrevControlId(arg1
);
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= SWIG_From_int((int)(result
));
25506 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
;
25508 wxWindow
*arg1
= (wxWindow
*) 0 ;
25511 PyObject
* obj0
= 0 ;
25512 PyObject
* obj1
= 0 ;
25513 char *kwnames
[] = {
25514 (char *) "self",(char *) "size", NULL
25517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25519 if (SWIG_arg_fail(1)) SWIG_fail
;
25522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 (arg1
)->SetSize((wxSize
const &)*arg2
);
25528 wxPyEndAllowThreads(__tstate
);
25529 if (PyErr_Occurred()) SWIG_fail
;
25531 Py_INCREF(Py_None
); resultobj
= Py_None
;
25538 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25539 PyObject
*resultobj
;
25540 wxWindow
*arg1
= (wxWindow
*) 0 ;
25545 int arg6
= (int) wxSIZE_AUTO
;
25546 PyObject
* obj0
= 0 ;
25547 PyObject
* obj1
= 0 ;
25548 PyObject
* obj2
= 0 ;
25549 PyObject
* obj3
= 0 ;
25550 PyObject
* obj4
= 0 ;
25551 PyObject
* obj5
= 0 ;
25552 char *kwnames
[] = {
25553 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25558 if (SWIG_arg_fail(1)) SWIG_fail
;
25560 arg2
= (int)(SWIG_As_int(obj1
));
25561 if (SWIG_arg_fail(2)) SWIG_fail
;
25564 arg3
= (int)(SWIG_As_int(obj2
));
25565 if (SWIG_arg_fail(3)) SWIG_fail
;
25568 arg4
= (int)(SWIG_As_int(obj3
));
25569 if (SWIG_arg_fail(4)) SWIG_fail
;
25572 arg5
= (int)(SWIG_As_int(obj4
));
25573 if (SWIG_arg_fail(5)) SWIG_fail
;
25577 arg6
= (int)(SWIG_As_int(obj5
));
25578 if (SWIG_arg_fail(6)) SWIG_fail
;
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 Py_INCREF(Py_None
); resultobj
= Py_None
;
25595 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
;
25597 wxWindow
*arg1
= (wxWindow
*) 0 ;
25599 int arg3
= (int) wxSIZE_AUTO
;
25601 PyObject
* obj0
= 0 ;
25602 PyObject
* obj1
= 0 ;
25603 PyObject
* obj2
= 0 ;
25604 char *kwnames
[] = {
25605 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25610 if (SWIG_arg_fail(1)) SWIG_fail
;
25613 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25617 arg3
= (int)(SWIG_As_int(obj2
));
25618 if (SWIG_arg_fail(3)) SWIG_fail
;
25622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25623 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25625 wxPyEndAllowThreads(__tstate
);
25626 if (PyErr_Occurred()) SWIG_fail
;
25628 Py_INCREF(Py_None
); resultobj
= Py_None
;
25635 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25636 PyObject
*resultobj
;
25637 wxWindow
*arg1
= (wxWindow
*) 0 ;
25640 PyObject
* obj0
= 0 ;
25641 PyObject
* obj1
= 0 ;
25642 PyObject
* obj2
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self",(char *) "width",(char *) "height", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25649 if (SWIG_arg_fail(1)) SWIG_fail
;
25651 arg2
= (int)(SWIG_As_int(obj1
));
25652 if (SWIG_arg_fail(2)) SWIG_fail
;
25655 arg3
= (int)(SWIG_As_int(obj2
));
25656 if (SWIG_arg_fail(3)) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 (arg1
)->SetSize(arg2
,arg3
);
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 Py_INCREF(Py_None
); resultobj
= Py_None
;
25672 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxWindow
*arg1
= (wxWindow
*) 0 ;
25675 wxPoint
*arg2
= 0 ;
25676 int arg3
= (int) wxSIZE_USE_EXISTING
;
25678 PyObject
* obj0
= 0 ;
25679 PyObject
* obj1
= 0 ;
25680 PyObject
* obj2
= 0 ;
25681 char *kwnames
[] = {
25682 (char *) "self",(char *) "pt",(char *) "flags", NULL
25685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25687 if (SWIG_arg_fail(1)) SWIG_fail
;
25690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25694 arg3
= (int)(SWIG_As_int(obj2
));
25695 if (SWIG_arg_fail(3)) SWIG_fail
;
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25702 wxPyEndAllowThreads(__tstate
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25705 Py_INCREF(Py_None
); resultobj
= Py_None
;
25712 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25713 PyObject
*resultobj
;
25714 wxWindow
*arg1
= (wxWindow
*) 0 ;
25717 int arg4
= (int) wxSIZE_USE_EXISTING
;
25718 PyObject
* obj0
= 0 ;
25719 PyObject
* obj1
= 0 ;
25720 PyObject
* obj2
= 0 ;
25721 PyObject
* obj3
= 0 ;
25722 char *kwnames
[] = {
25723 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25728 if (SWIG_arg_fail(1)) SWIG_fail
;
25730 arg2
= (int)(SWIG_As_int(obj1
));
25731 if (SWIG_arg_fail(2)) SWIG_fail
;
25734 arg3
= (int)(SWIG_As_int(obj2
));
25735 if (SWIG_arg_fail(3)) SWIG_fail
;
25739 arg4
= (int)(SWIG_As_int(obj3
));
25740 if (SWIG_arg_fail(4)) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 (arg1
)->Move(arg2
,arg3
,arg4
);
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25750 Py_INCREF(Py_None
); resultobj
= Py_None
;
25757 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25758 PyObject
*resultobj
;
25759 wxWindow
*arg1
= (wxWindow
*) 0 ;
25760 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25761 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25763 PyObject
* obj0
= 0 ;
25764 PyObject
* obj1
= 0 ;
25765 char *kwnames
[] = {
25766 (char *) "self",(char *) "size", NULL
25769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25771 if (SWIG_arg_fail(1)) SWIG_fail
;
25775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 Py_INCREF(Py_None
); resultobj
= Py_None
;
25792 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxWindow
*arg1
= (wxWindow
*) 0 ;
25795 PyObject
* obj0
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
25801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25802 if (SWIG_arg_fail(1)) SWIG_fail
;
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 Py_INCREF(Py_None
); resultobj
= Py_None
;
25817 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
;
25819 wxWindow
*arg1
= (wxWindow
*) 0 ;
25820 PyObject
* obj0
= 0 ;
25821 char *kwnames
[] = {
25822 (char *) "self", NULL
25825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
25826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25827 if (SWIG_arg_fail(1)) SWIG_fail
;
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 wxPyEndAllowThreads(__tstate
);
25833 if (PyErr_Occurred()) SWIG_fail
;
25835 Py_INCREF(Py_None
); resultobj
= Py_None
;
25842 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
;
25844 wxWindow
*arg1
= (wxWindow
*) 0 ;
25847 PyObject
* obj0
= 0 ;
25848 PyObject
* obj1
= 0 ;
25849 char *kwnames
[] = {
25850 (char *) "self",(char *) "size", NULL
25853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25855 if (SWIG_arg_fail(1)) SWIG_fail
;
25858 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
25864 wxPyEndAllowThreads(__tstate
);
25865 if (PyErr_Occurred()) SWIG_fail
;
25867 Py_INCREF(Py_None
); resultobj
= Py_None
;
25874 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25875 PyObject
*resultobj
;
25876 wxWindow
*arg1
= (wxWindow
*) 0 ;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 PyObject
* obj2
= 0 ;
25882 char *kwnames
[] = {
25883 (char *) "self",(char *) "width",(char *) "height", NULL
25886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25888 if (SWIG_arg_fail(1)) SWIG_fail
;
25890 arg2
= (int)(SWIG_As_int(obj1
));
25891 if (SWIG_arg_fail(2)) SWIG_fail
;
25894 arg3
= (int)(SWIG_As_int(obj2
));
25895 if (SWIG_arg_fail(3)) SWIG_fail
;
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 (arg1
)->SetClientSize(arg2
,arg3
);
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25904 Py_INCREF(Py_None
); resultobj
= Py_None
;
25911 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxWindow
*arg1
= (wxWindow
*) 0 ;
25916 PyObject
* obj0
= 0 ;
25917 PyObject
* obj1
= 0 ;
25918 char *kwnames
[] = {
25919 (char *) "self",(char *) "rect", NULL
25922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25924 if (SWIG_arg_fail(1)) SWIG_fail
;
25927 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
25933 wxPyEndAllowThreads(__tstate
);
25934 if (PyErr_Occurred()) SWIG_fail
;
25936 Py_INCREF(Py_None
); resultobj
= Py_None
;
25943 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxWindow
*arg1
= (wxWindow
*) 0 ;
25947 PyObject
* obj0
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
25953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25954 if (SWIG_arg_fail(1)) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (arg1
)->GetPosition();
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25963 wxPoint
* resultptr
;
25964 resultptr
= new wxPoint((wxPoint
&)(result
));
25965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25973 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
;
25975 wxWindow
*arg1
= (wxWindow
*) 0 ;
25976 int *arg2
= (int *) 0 ;
25977 int *arg3
= (int *) 0 ;
25982 PyObject
* obj0
= 0 ;
25983 char *kwnames
[] = {
25984 (char *) "self", NULL
25987 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25988 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
25990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25991 if (SWIG_arg_fail(1)) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 (arg1
)->GetPosition(arg2
,arg3
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 Py_INCREF(Py_None
); resultobj
= Py_None
;
26000 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26001 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26002 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26003 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26010 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
;
26012 wxWindow
*arg1
= (wxWindow
*) 0 ;
26014 PyObject
* obj0
= 0 ;
26015 char *kwnames
[] = {
26016 (char *) "self", NULL
26019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26021 if (SWIG_arg_fail(1)) SWIG_fail
;
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 result
= ((wxWindow
const *)arg1
)->GetSize();
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26030 wxSize
* resultptr
;
26031 resultptr
= new wxSize((wxSize
&)(result
));
26032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26040 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxWindow
*arg1
= (wxWindow
*) 0 ;
26043 int *arg2
= (int *) 0 ;
26044 int *arg3
= (int *) 0 ;
26049 PyObject
* obj0
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self", NULL
26054 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26055 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26058 if (SWIG_arg_fail(1)) SWIG_fail
;
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26066 Py_INCREF(Py_None
); resultobj
= Py_None
;
26067 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26068 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26069 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26070 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26077 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26078 PyObject
*resultobj
;
26079 wxWindow
*arg1
= (wxWindow
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
26087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26088 if (SWIG_arg_fail(1)) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= ((wxWindow
const *)arg1
)->GetRect();
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26097 wxRect
* resultptr
;
26098 resultptr
= new wxRect((wxRect
&)(result
));
26099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26107 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26108 PyObject
*resultobj
;
26109 wxWindow
*arg1
= (wxWindow
*) 0 ;
26111 PyObject
* obj0
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26118 if (SWIG_arg_fail(1)) SWIG_fail
;
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26127 wxSize
* resultptr
;
26128 resultptr
= new wxSize((wxSize
&)(result
));
26129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26137 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxWindow
*arg1
= (wxWindow
*) 0 ;
26140 int *arg2
= (int *) 0 ;
26141 int *arg3
= (int *) 0 ;
26146 PyObject
* obj0
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self", NULL
26151 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26152 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26154 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26155 if (SWIG_arg_fail(1)) SWIG_fail
;
26157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26158 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26160 wxPyEndAllowThreads(__tstate
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 Py_INCREF(Py_None
); resultobj
= Py_None
;
26164 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26165 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26166 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26167 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26174 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxWindow
*arg1
= (wxWindow
*) 0 ;
26178 PyObject
* obj0
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26185 if (SWIG_arg_fail(1)) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26194 wxPoint
* resultptr
;
26195 resultptr
= new wxPoint((wxPoint
&)(result
));
26196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26204 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26205 PyObject
*resultobj
;
26206 wxWindow
*arg1
= (wxWindow
*) 0 ;
26208 PyObject
* obj0
= 0 ;
26209 char *kwnames
[] = {
26210 (char *) "self", NULL
26213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26215 if (SWIG_arg_fail(1)) SWIG_fail
;
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26220 wxPyEndAllowThreads(__tstate
);
26221 if (PyErr_Occurred()) SWIG_fail
;
26224 wxRect
* resultptr
;
26225 resultptr
= new wxRect((wxRect
&)(result
));
26226 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26234 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26235 PyObject
*resultobj
;
26236 wxWindow
*arg1
= (wxWindow
*) 0 ;
26238 PyObject
* obj0
= 0 ;
26239 char *kwnames
[] = {
26240 (char *) "self", NULL
26243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26245 if (SWIG_arg_fail(1)) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26254 wxSize
* resultptr
;
26255 resultptr
= new wxSize((wxSize
&)(result
));
26256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26264 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxWindow
*arg1
= (wxWindow
*) 0 ;
26267 int *arg2
= (int *) 0 ;
26268 int *arg3
= (int *) 0 ;
26273 PyObject
* obj0
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self", NULL
26278 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26279 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26282 if (SWIG_arg_fail(1)) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 Py_INCREF(Py_None
); resultobj
= Py_None
;
26291 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26292 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26293 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26294 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26301 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
;
26303 wxWindow
*arg1
= (wxWindow
*) 0 ;
26304 PyObject
* obj0
= 0 ;
26305 char *kwnames
[] = {
26306 (char *) "self", NULL
26309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26311 if (SWIG_arg_fail(1)) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 (arg1
)->InvalidateBestSize();
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 Py_INCREF(Py_None
); resultobj
= Py_None
;
26326 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxWindow
*arg1
= (wxWindow
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 char *kwnames
[] = {
26332 (char *) "self", NULL
26335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26337 if (SWIG_arg_fail(1)) SWIG_fail
;
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26346 wxSize
* resultptr
;
26347 resultptr
= new wxSize((wxSize
&)(result
));
26348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26356 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26357 PyObject
*resultobj
;
26358 wxWindow
*arg1
= (wxWindow
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 char *kwnames
[] = {
26362 (char *) "self", NULL
26365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26367 if (SWIG_arg_fail(1)) SWIG_fail
;
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26376 wxSize
* resultptr
;
26377 resultptr
= new wxSize((wxSize
&)(result
));
26378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26386 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
;
26388 wxWindow
*arg1
= (wxWindow
*) 0 ;
26389 int arg2
= (int) wxBOTH
;
26390 PyObject
* obj0
= 0 ;
26391 PyObject
* obj1
= 0 ;
26392 char *kwnames
[] = {
26393 (char *) "self",(char *) "direction", NULL
26396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26397 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26398 if (SWIG_arg_fail(1)) SWIG_fail
;
26401 arg2
= (int)(SWIG_As_int(obj1
));
26402 if (SWIG_arg_fail(2)) SWIG_fail
;
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 (arg1
)->Center(arg2
);
26409 wxPyEndAllowThreads(__tstate
);
26410 if (PyErr_Occurred()) SWIG_fail
;
26412 Py_INCREF(Py_None
); resultobj
= Py_None
;
26419 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26420 PyObject
*resultobj
;
26421 wxWindow
*arg1
= (wxWindow
*) 0 ;
26422 int arg2
= (int) wxBOTH
;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 char *kwnames
[] = {
26426 (char *) "self",(char *) "dir", NULL
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26431 if (SWIG_arg_fail(1)) SWIG_fail
;
26434 arg2
= (int)(SWIG_As_int(obj1
));
26435 if (SWIG_arg_fail(2)) SWIG_fail
;
26439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26440 (arg1
)->CenterOnScreen(arg2
);
26442 wxPyEndAllowThreads(__tstate
);
26443 if (PyErr_Occurred()) SWIG_fail
;
26445 Py_INCREF(Py_None
); resultobj
= Py_None
;
26452 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxWindow
*arg1
= (wxWindow
*) 0 ;
26455 int arg2
= (int) wxBOTH
;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self",(char *) "dir", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26464 if (SWIG_arg_fail(1)) SWIG_fail
;
26467 arg2
= (int)(SWIG_As_int(obj1
));
26468 if (SWIG_arg_fail(2)) SWIG_fail
;
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 (arg1
)->CenterOnParent(arg2
);
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26478 Py_INCREF(Py_None
); resultobj
= Py_None
;
26485 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26486 PyObject
*resultobj
;
26487 wxWindow
*arg1
= (wxWindow
*) 0 ;
26488 PyObject
* obj0
= 0 ;
26489 char *kwnames
[] = {
26490 (char *) "self", NULL
26493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26495 if (SWIG_arg_fail(1)) SWIG_fail
;
26497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 wxPyEndAllowThreads(__tstate
);
26501 if (PyErr_Occurred()) SWIG_fail
;
26503 Py_INCREF(Py_None
); resultobj
= Py_None
;
26510 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxWindow
*arg1
= (wxWindow
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 char *kwnames
[] = {
26515 (char *) "self", NULL
26518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26520 if (SWIG_arg_fail(1)) SWIG_fail
;
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26523 (arg1
)->FitInside();
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 Py_INCREF(Py_None
); resultobj
= Py_None
;
26535 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
;
26537 wxWindow
*arg1
= (wxWindow
*) 0 ;
26540 int arg4
= (int) -1 ;
26541 int arg5
= (int) -1 ;
26542 int arg6
= (int) -1 ;
26543 int arg7
= (int) -1 ;
26544 PyObject
* obj0
= 0 ;
26545 PyObject
* obj1
= 0 ;
26546 PyObject
* obj2
= 0 ;
26547 PyObject
* obj3
= 0 ;
26548 PyObject
* obj4
= 0 ;
26549 PyObject
* obj5
= 0 ;
26550 PyObject
* obj6
= 0 ;
26551 char *kwnames
[] = {
26552 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26557 if (SWIG_arg_fail(1)) SWIG_fail
;
26559 arg2
= (int)(SWIG_As_int(obj1
));
26560 if (SWIG_arg_fail(2)) SWIG_fail
;
26563 arg3
= (int)(SWIG_As_int(obj2
));
26564 if (SWIG_arg_fail(3)) SWIG_fail
;
26568 arg4
= (int)(SWIG_As_int(obj3
));
26569 if (SWIG_arg_fail(4)) SWIG_fail
;
26574 arg5
= (int)(SWIG_As_int(obj4
));
26575 if (SWIG_arg_fail(5)) SWIG_fail
;
26580 arg6
= (int)(SWIG_As_int(obj5
));
26581 if (SWIG_arg_fail(6)) SWIG_fail
;
26586 arg7
= (int)(SWIG_As_int(obj6
));
26587 if (SWIG_arg_fail(7)) SWIG_fail
;
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26592 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 Py_INCREF(Py_None
); resultobj
= Py_None
;
26604 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
;
26606 wxWindow
*arg1
= (wxWindow
*) 0 ;
26608 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26609 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26610 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26611 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 PyObject
* obj2
= 0 ;
26618 PyObject
* obj3
= 0 ;
26619 char *kwnames
[] = {
26620 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26625 if (SWIG_arg_fail(1)) SWIG_fail
;
26628 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26633 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26639 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 Py_INCREF(Py_None
); resultobj
= Py_None
;
26656 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxWindow
*arg1
= (wxWindow
*) 0 ;
26661 int arg4
= (int) -1 ;
26662 int arg5
= (int) -1 ;
26663 PyObject
* obj0
= 0 ;
26664 PyObject
* obj1
= 0 ;
26665 PyObject
* obj2
= 0 ;
26666 PyObject
* obj3
= 0 ;
26667 PyObject
* obj4
= 0 ;
26668 char *kwnames
[] = {
26669 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26674 if (SWIG_arg_fail(1)) SWIG_fail
;
26676 arg2
= (int)(SWIG_As_int(obj1
));
26677 if (SWIG_arg_fail(2)) SWIG_fail
;
26680 arg3
= (int)(SWIG_As_int(obj2
));
26681 if (SWIG_arg_fail(3)) SWIG_fail
;
26685 arg4
= (int)(SWIG_As_int(obj3
));
26686 if (SWIG_arg_fail(4)) SWIG_fail
;
26691 arg5
= (int)(SWIG_As_int(obj4
));
26692 if (SWIG_arg_fail(5)) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 Py_INCREF(Py_None
); resultobj
= Py_None
;
26709 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
;
26711 wxWindow
*arg1
= (wxWindow
*) 0 ;
26713 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26714 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 PyObject
* obj2
= 0 ;
26720 char *kwnames
[] = {
26721 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26726 if (SWIG_arg_fail(1)) SWIG_fail
;
26729 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26734 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26744 Py_INCREF(Py_None
); resultobj
= Py_None
;
26751 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26752 PyObject
*resultobj
;
26753 wxWindow
*arg1
= (wxWindow
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 char *kwnames
[] = {
26757 (char *) "self", NULL
26760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
26761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26762 if (SWIG_arg_fail(1)) SWIG_fail
;
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26771 wxSize
* resultptr
;
26772 resultptr
= new wxSize((wxSize
&)(result
));
26773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26781 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
;
26783 wxWindow
*arg1
= (wxWindow
*) 0 ;
26785 PyObject
* obj0
= 0 ;
26786 char *kwnames
[] = {
26787 (char *) "self", NULL
26790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
26791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26792 if (SWIG_arg_fail(1)) SWIG_fail
;
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 result
= ((wxWindow
const *)arg1
)->GetMinSize();
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26801 wxSize
* resultptr
;
26802 resultptr
= new wxSize((wxSize
&)(result
));
26803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26811 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26812 PyObject
*resultobj
;
26813 wxWindow
*arg1
= (wxWindow
*) 0 ;
26816 PyObject
* obj0
= 0 ;
26817 PyObject
* obj1
= 0 ;
26818 char *kwnames
[] = {
26819 (char *) "self",(char *) "minSize", NULL
26822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26824 if (SWIG_arg_fail(1)) SWIG_fail
;
26827 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 Py_INCREF(Py_None
); resultobj
= Py_None
;
26843 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
;
26845 wxWindow
*arg1
= (wxWindow
*) 0 ;
26848 PyObject
* obj0
= 0 ;
26849 PyObject
* obj1
= 0 ;
26850 char *kwnames
[] = {
26851 (char *) "self",(char *) "maxSize", NULL
26854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26856 if (SWIG_arg_fail(1)) SWIG_fail
;
26859 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 Py_INCREF(Py_None
); resultobj
= Py_None
;
26875 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
;
26877 wxWindow
*arg1
= (wxWindow
*) 0 ;
26879 PyObject
* obj0
= 0 ;
26880 char *kwnames
[] = {
26881 (char *) "self", NULL
26884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
26885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26886 if (SWIG_arg_fail(1)) SWIG_fail
;
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_From_int((int)(result
));
26903 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxWindow
*arg1
= (wxWindow
*) 0 ;
26907 PyObject
* obj0
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
26913 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26914 if (SWIG_arg_fail(1)) SWIG_fail
;
26916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26917 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
26919 wxPyEndAllowThreads(__tstate
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= SWIG_From_int((int)(result
));
26931 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26932 PyObject
*resultobj
;
26933 wxWindow
*arg1
= (wxWindow
*) 0 ;
26935 PyObject
* obj0
= 0 ;
26936 char *kwnames
[] = {
26937 (char *) "self", NULL
26940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
26941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26942 if (SWIG_arg_fail(1)) SWIG_fail
;
26944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26945 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
26947 wxPyEndAllowThreads(__tstate
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 resultobj
= SWIG_From_int((int)(result
));
26959 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
;
26961 wxWindow
*arg1
= (wxWindow
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 char *kwnames
[] = {
26965 (char *) "self", NULL
26968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
26969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26970 if (SWIG_arg_fail(1)) SWIG_fail
;
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26979 resultobj
= SWIG_From_int((int)(result
));
26987 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxWindow
*arg1
= (wxWindow
*) 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "size", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27000 if (SWIG_arg_fail(1)) SWIG_fail
;
27003 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27009 wxPyEndAllowThreads(__tstate
);
27010 if (PyErr_Occurred()) SWIG_fail
;
27012 Py_INCREF(Py_None
); resultobj
= Py_None
;
27019 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxWindow
*arg1
= (wxWindow
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 PyObject
* obj2
= 0 ;
27027 char *kwnames
[] = {
27028 (char *) "self",(char *) "w",(char *) "h", NULL
27031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27033 if (SWIG_arg_fail(1)) SWIG_fail
;
27035 arg2
= (int)(SWIG_As_int(obj1
));
27036 if (SWIG_arg_fail(2)) SWIG_fail
;
27039 arg3
= (int)(SWIG_As_int(obj2
));
27040 if (SWIG_arg_fail(3)) SWIG_fail
;
27043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 (arg1
)->SetVirtualSize(arg2
,arg3
);
27046 wxPyEndAllowThreads(__tstate
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 Py_INCREF(Py_None
); resultobj
= Py_None
;
27056 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27057 PyObject
*resultobj
;
27058 wxWindow
*arg1
= (wxWindow
*) 0 ;
27060 PyObject
* obj0
= 0 ;
27061 char *kwnames
[] = {
27062 (char *) "self", NULL
27065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27067 if (SWIG_arg_fail(1)) SWIG_fail
;
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27072 wxPyEndAllowThreads(__tstate
);
27073 if (PyErr_Occurred()) SWIG_fail
;
27076 wxSize
* resultptr
;
27077 resultptr
= new wxSize((wxSize
&)(result
));
27078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27086 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27087 PyObject
*resultobj
;
27088 wxWindow
*arg1
= (wxWindow
*) 0 ;
27089 int *arg2
= (int *) 0 ;
27090 int *arg3
= (int *) 0 ;
27095 PyObject
* obj0
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self", NULL
27100 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27101 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27103 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27104 if (SWIG_arg_fail(1)) SWIG_fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 Py_INCREF(Py_None
); resultobj
= Py_None
;
27113 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27114 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27115 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27116 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27123 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
;
27125 wxWindow
*arg1
= (wxWindow
*) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27134 if (SWIG_arg_fail(1)) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 wxSize
* resultptr
;
27144 resultptr
= new wxSize((wxSize
&)(result
));
27145 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27153 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
;
27155 wxWindow
*arg1
= (wxWindow
*) 0 ;
27156 bool arg2
= (bool) true ;
27158 PyObject
* obj0
= 0 ;
27159 PyObject
* obj1
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self",(char *) "show", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27165 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27166 if (SWIG_arg_fail(1)) SWIG_fail
;
27169 arg2
= (bool)(SWIG_As_bool(obj1
));
27170 if (SWIG_arg_fail(2)) SWIG_fail
;
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 result
= (bool)(arg1
)->Show(arg2
);
27177 wxPyEndAllowThreads(__tstate
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27189 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27190 PyObject
*resultobj
;
27191 wxWindow
*arg1
= (wxWindow
*) 0 ;
27193 PyObject
* obj0
= 0 ;
27194 char *kwnames
[] = {
27195 (char *) "self", NULL
27198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27200 if (SWIG_arg_fail(1)) SWIG_fail
;
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 result
= (bool)(arg1
)->Hide();
27205 wxPyEndAllowThreads(__tstate
);
27206 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27217 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
;
27219 wxWindow
*arg1
= (wxWindow
*) 0 ;
27220 bool arg2
= (bool) true ;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "enable", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27229 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27230 if (SWIG_arg_fail(1)) SWIG_fail
;
27233 arg2
= (bool)(SWIG_As_bool(obj1
));
27234 if (SWIG_arg_fail(2)) SWIG_fail
;
27238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27239 result
= (bool)(arg1
)->Enable(arg2
);
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27253 static PyObject
*_wrap_Window_Disable(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_Disable",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
= (bool)(arg1
)->Disable();
27269 wxPyEndAllowThreads(__tstate
);
27270 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27281 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxWindow
*arg1
= (wxWindow
*) 0 ;
27285 PyObject
* obj0
= 0 ;
27286 char *kwnames
[] = {
27287 (char *) "self", NULL
27290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27291 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27292 if (SWIG_arg_fail(1)) SWIG_fail
;
27294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27295 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27297 wxPyEndAllowThreads(__tstate
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27309 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27310 PyObject
*resultobj
;
27311 wxWindow
*arg1
= (wxWindow
*) 0 ;
27313 PyObject
* obj0
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27320 if (SWIG_arg_fail(1)) SWIG_fail
;
27322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27323 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27325 wxPyEndAllowThreads(__tstate
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27337 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27338 PyObject
*resultobj
;
27339 wxWindow
*arg1
= (wxWindow
*) 0 ;
27341 PyObject
* obj0
= 0 ;
27342 PyObject
* obj1
= 0 ;
27343 char *kwnames
[] = {
27344 (char *) "self",(char *) "style", NULL
27347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27349 if (SWIG_arg_fail(1)) SWIG_fail
;
27351 arg2
= (long)(SWIG_As_long(obj1
));
27352 if (SWIG_arg_fail(2)) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 (arg1
)->SetWindowStyleFlag(arg2
);
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 Py_INCREF(Py_None
); resultobj
= Py_None
;
27368 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxWindow
*arg1
= (wxWindow
*) 0 ;
27372 PyObject
* obj0
= 0 ;
27373 char *kwnames
[] = {
27374 (char *) "self", NULL
27377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27379 if (SWIG_arg_fail(1)) SWIG_fail
;
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= SWIG_From_long((long)(result
));
27396 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
;
27398 wxWindow
*arg1
= (wxWindow
*) 0 ;
27401 PyObject
* obj0
= 0 ;
27402 PyObject
* obj1
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self",(char *) "flag", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27409 if (SWIG_arg_fail(1)) SWIG_fail
;
27411 arg2
= (int)(SWIG_As_int(obj1
));
27412 if (SWIG_arg_fail(2)) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27430 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxWindow
*arg1
= (wxWindow
*) 0 ;
27434 PyObject
* obj0
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27441 if (SWIG_arg_fail(1)) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27458 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27460 wxWindow
*arg1
= (wxWindow
*) 0 ;
27462 PyObject
* obj0
= 0 ;
27463 PyObject
* obj1
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self",(char *) "exStyle", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27470 if (SWIG_arg_fail(1)) SWIG_fail
;
27472 arg2
= (long)(SWIG_As_long(obj1
));
27473 if (SWIG_arg_fail(2)) SWIG_fail
;
27476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27477 (arg1
)->SetExtraStyle(arg2
);
27479 wxPyEndAllowThreads(__tstate
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 Py_INCREF(Py_None
); resultobj
= Py_None
;
27489 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxWindow
*arg1
= (wxWindow
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 char *kwnames
[] = {
27495 (char *) "self", NULL
27498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27500 if (SWIG_arg_fail(1)) SWIG_fail
;
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27505 wxPyEndAllowThreads(__tstate
);
27506 if (PyErr_Occurred()) SWIG_fail
;
27509 resultobj
= SWIG_From_long((long)(result
));
27517 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxWindow
*arg1
= (wxWindow
*) 0 ;
27520 bool arg2
= (bool) true ;
27521 PyObject
* obj0
= 0 ;
27522 PyObject
* obj1
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self",(char *) "modal", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27529 if (SWIG_arg_fail(1)) SWIG_fail
;
27532 arg2
= (bool)(SWIG_As_bool(obj1
));
27533 if (SWIG_arg_fail(2)) SWIG_fail
;
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 (arg1
)->MakeModal(arg2
);
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 Py_INCREF(Py_None
); resultobj
= Py_None
;
27550 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27551 PyObject
*resultobj
;
27552 wxWindow
*arg1
= (wxWindow
*) 0 ;
27554 PyObject
* obj0
= 0 ;
27555 PyObject
* obj1
= 0 ;
27556 char *kwnames
[] = {
27557 (char *) "self",(char *) "enableTheme", NULL
27560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27562 if (SWIG_arg_fail(1)) SWIG_fail
;
27564 arg2
= (bool)(SWIG_As_bool(obj1
));
27565 if (SWIG_arg_fail(2)) SWIG_fail
;
27568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27569 (arg1
)->SetThemeEnabled(arg2
);
27571 wxPyEndAllowThreads(__tstate
);
27572 if (PyErr_Occurred()) SWIG_fail
;
27574 Py_INCREF(Py_None
); resultobj
= Py_None
;
27581 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxWindow
*arg1
= (wxWindow
*) 0 ;
27585 PyObject
* obj0
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27592 if (SWIG_arg_fail(1)) SWIG_fail
;
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27609 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27610 PyObject
*resultobj
;
27611 wxWindow
*arg1
= (wxWindow
*) 0 ;
27612 PyObject
* obj0
= 0 ;
27613 char *kwnames
[] = {
27614 (char *) "self", NULL
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27619 if (SWIG_arg_fail(1)) SWIG_fail
;
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27622 (arg1
)->SetFocus();
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27627 Py_INCREF(Py_None
); resultobj
= Py_None
;
27634 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27635 PyObject
*resultobj
;
27636 wxWindow
*arg1
= (wxWindow
*) 0 ;
27637 PyObject
* obj0
= 0 ;
27638 char *kwnames
[] = {
27639 (char *) "self", NULL
27642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27644 if (SWIG_arg_fail(1)) SWIG_fail
;
27646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27647 (arg1
)->SetFocusFromKbd();
27649 wxPyEndAllowThreads(__tstate
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27652 Py_INCREF(Py_None
); resultobj
= Py_None
;
27659 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27660 PyObject
*resultobj
;
27662 char *kwnames
[] = {
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27668 if (!wxPyCheckForApp()) SWIG_fail
;
27669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27670 result
= (wxWindow
*)wxWindow::FindFocus();
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27676 resultobj
= wxPyMake_wxObject(result
, 0);
27684 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
;
27686 wxWindow
*arg1
= (wxWindow
*) 0 ;
27688 PyObject
* obj0
= 0 ;
27689 char *kwnames
[] = {
27690 (char *) "self", NULL
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27695 if (SWIG_arg_fail(1)) SWIG_fail
;
27697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27698 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27712 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
;
27714 wxWindow
*arg1
= (wxWindow
*) 0 ;
27716 PyObject
* obj0
= 0 ;
27717 char *kwnames
[] = {
27718 (char *) "self", NULL
27721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27723 if (SWIG_arg_fail(1)) SWIG_fail
;
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27740 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
;
27742 wxWindow
*arg1
= (wxWindow
*) 0 ;
27744 PyObject
* obj0
= 0 ;
27745 char *kwnames
[] = {
27746 (char *) "self", NULL
27749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
27750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27751 if (SWIG_arg_fail(1)) SWIG_fail
;
27753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27754 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= wxPyMake_wxObject(result
, 0);
27768 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27769 PyObject
*resultobj
;
27770 wxWindow
*arg1
= (wxWindow
*) 0 ;
27771 wxWindow
*arg2
= (wxWindow
*) 0 ;
27773 PyObject
* obj0
= 0 ;
27774 PyObject
* obj1
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "self",(char *) "child", NULL
27779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27781 if (SWIG_arg_fail(1)) SWIG_fail
;
27782 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27783 if (SWIG_arg_fail(2)) SWIG_fail
;
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27786 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
27788 wxPyEndAllowThreads(__tstate
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27792 resultobj
= wxPyMake_wxObject(result
, 0);
27800 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27802 wxWindow
*arg1
= (wxWindow
*) 0 ;
27803 wxWindow
*arg2
= (wxWindow
*) 0 ;
27804 PyObject
* obj0
= 0 ;
27805 PyObject
* obj1
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "self",(char *) "win", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27812 if (SWIG_arg_fail(1)) SWIG_fail
;
27813 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27814 if (SWIG_arg_fail(2)) SWIG_fail
;
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 (arg1
)->SetTmpDefaultItem(arg2
);
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27822 Py_INCREF(Py_None
); resultobj
= Py_None
;
27829 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxWindow
*arg1
= (wxWindow
*) 0 ;
27832 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
27834 PyObject
* obj0
= 0 ;
27835 PyObject
* obj1
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self",(char *) "flags", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
27841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27842 if (SWIG_arg_fail(1)) SWIG_fail
;
27845 arg2
= (int)(SWIG_As_int(obj1
));
27846 if (SWIG_arg_fail(2)) SWIG_fail
;
27850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 result
= (bool)(arg1
)->Navigate(arg2
);
27853 wxPyEndAllowThreads(__tstate
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27865 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27866 PyObject
*resultobj
;
27867 wxWindow
*arg1
= (wxWindow
*) 0 ;
27868 wxWindow
*arg2
= (wxWindow
*) 0 ;
27869 PyObject
* obj0
= 0 ;
27870 PyObject
* obj1
= 0 ;
27871 char *kwnames
[] = {
27872 (char *) "self",(char *) "win", NULL
27875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27877 if (SWIG_arg_fail(1)) SWIG_fail
;
27878 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27879 if (SWIG_arg_fail(2)) SWIG_fail
;
27881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27882 (arg1
)->MoveAfterInTabOrder(arg2
);
27884 wxPyEndAllowThreads(__tstate
);
27885 if (PyErr_Occurred()) SWIG_fail
;
27887 Py_INCREF(Py_None
); resultobj
= Py_None
;
27894 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27895 PyObject
*resultobj
;
27896 wxWindow
*arg1
= (wxWindow
*) 0 ;
27897 wxWindow
*arg2
= (wxWindow
*) 0 ;
27898 PyObject
* obj0
= 0 ;
27899 PyObject
* obj1
= 0 ;
27900 char *kwnames
[] = {
27901 (char *) "self",(char *) "win", NULL
27904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
27905 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27906 if (SWIG_arg_fail(1)) SWIG_fail
;
27907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27908 if (SWIG_arg_fail(2)) SWIG_fail
;
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 (arg1
)->MoveBeforeInTabOrder(arg2
);
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 Py_INCREF(Py_None
); resultobj
= Py_None
;
27923 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27924 PyObject
*resultobj
;
27925 wxWindow
*arg1
= (wxWindow
*) 0 ;
27927 PyObject
* obj0
= 0 ;
27928 char *kwnames
[] = {
27929 (char *) "self", NULL
27932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
27933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27934 if (SWIG_arg_fail(1)) SWIG_fail
;
27936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27937 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= result
;
27949 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxWindow
*arg1
= (wxWindow
*) 0 ;
27953 PyObject
* obj0
= 0 ;
27954 char *kwnames
[] = {
27955 (char *) "self", NULL
27958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
27959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27960 if (SWIG_arg_fail(1)) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= wxPyMake_wxObject(result
, 0);
27977 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxWindow
*arg1
= (wxWindow
*) 0 ;
27981 PyObject
* obj0
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "self", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
27987 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27988 if (SWIG_arg_fail(1)) SWIG_fail
;
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= wxPyMake_wxObject(result
, 0);
28005 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28006 PyObject
*resultobj
;
28007 wxWindow
*arg1
= (wxWindow
*) 0 ;
28009 PyObject
* obj0
= 0 ;
28010 char *kwnames
[] = {
28011 (char *) "self", NULL
28014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28016 if (SWIG_arg_fail(1)) SWIG_fail
;
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28033 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
;
28035 wxWindow
*arg1
= (wxWindow
*) 0 ;
28036 wxWindow
*arg2
= (wxWindow
*) 0 ;
28038 PyObject
* obj0
= 0 ;
28039 PyObject
* obj1
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "self",(char *) "newParent", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28046 if (SWIG_arg_fail(1)) SWIG_fail
;
28047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28048 if (SWIG_arg_fail(2)) SWIG_fail
;
28050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28051 result
= (bool)(arg1
)->Reparent(arg2
);
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28065 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
;
28067 wxWindow
*arg1
= (wxWindow
*) 0 ;
28068 wxWindow
*arg2
= (wxWindow
*) 0 ;
28069 PyObject
* obj0
= 0 ;
28070 PyObject
* obj1
= 0 ;
28071 char *kwnames
[] = {
28072 (char *) "self",(char *) "child", NULL
28075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28077 if (SWIG_arg_fail(1)) SWIG_fail
;
28078 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28079 if (SWIG_arg_fail(2)) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 (arg1
)->AddChild(arg2
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 Py_INCREF(Py_None
); resultobj
= Py_None
;
28094 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
;
28096 wxWindow
*arg1
= (wxWindow
*) 0 ;
28097 wxWindow
*arg2
= (wxWindow
*) 0 ;
28098 PyObject
* obj0
= 0 ;
28099 PyObject
* obj1
= 0 ;
28100 char *kwnames
[] = {
28101 (char *) "self",(char *) "child", NULL
28104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28105 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28106 if (SWIG_arg_fail(1)) SWIG_fail
;
28107 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28108 if (SWIG_arg_fail(2)) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 (arg1
)->RemoveChild(arg2
);
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 Py_INCREF(Py_None
); resultobj
= Py_None
;
28123 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
;
28125 wxWindow
*arg1
= (wxWindow
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 PyObject
* obj1
= 0 ;
28130 char *kwnames
[] = {
28131 (char *) "self",(char *) "winid", NULL
28134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28136 if (SWIG_arg_fail(1)) SWIG_fail
;
28138 arg2
= (long)(SWIG_As_long(obj1
));
28139 if (SWIG_arg_fail(2)) SWIG_fail
;
28142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28145 wxPyEndAllowThreads(__tstate
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28149 resultobj
= wxPyMake_wxObject(result
, 0);
28157 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28158 PyObject
*resultobj
;
28159 wxWindow
*arg1
= (wxWindow
*) 0 ;
28160 wxString
*arg2
= 0 ;
28162 bool temp2
= false ;
28163 PyObject
* obj0
= 0 ;
28164 PyObject
* obj1
= 0 ;
28165 char *kwnames
[] = {
28166 (char *) "self",(char *) "name", NULL
28169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28171 if (SWIG_arg_fail(1)) SWIG_fail
;
28173 arg2
= wxString_in_helper(obj1
);
28174 if (arg2
== NULL
) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28185 resultobj
= wxPyMake_wxObject(result
, 0);
28201 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
;
28203 wxWindow
*arg1
= (wxWindow
*) 0 ;
28204 wxEvtHandler
*result
;
28205 PyObject
* obj0
= 0 ;
28206 char *kwnames
[] = {
28207 (char *) "self", NULL
28210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28212 if (SWIG_arg_fail(1)) SWIG_fail
;
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28217 wxPyEndAllowThreads(__tstate
);
28218 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= wxPyMake_wxObject(result
, 0);
28229 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28230 PyObject
*resultobj
;
28231 wxWindow
*arg1
= (wxWindow
*) 0 ;
28232 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28233 PyObject
* obj0
= 0 ;
28234 PyObject
* obj1
= 0 ;
28235 char *kwnames
[] = {
28236 (char *) "self",(char *) "handler", NULL
28239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28241 if (SWIG_arg_fail(1)) SWIG_fail
;
28242 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28243 if (SWIG_arg_fail(2)) SWIG_fail
;
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 (arg1
)->SetEventHandler(arg2
);
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28251 Py_INCREF(Py_None
); resultobj
= Py_None
;
28258 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
;
28260 wxWindow
*arg1
= (wxWindow
*) 0 ;
28261 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 char *kwnames
[] = {
28265 (char *) "self",(char *) "handler", NULL
28268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28270 if (SWIG_arg_fail(1)) SWIG_fail
;
28271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28272 if (SWIG_arg_fail(2)) SWIG_fail
;
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 (arg1
)->PushEventHandler(arg2
);
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28280 Py_INCREF(Py_None
); resultobj
= Py_None
;
28287 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
;
28289 wxWindow
*arg1
= (wxWindow
*) 0 ;
28290 bool arg2
= (bool) false ;
28291 wxEvtHandler
*result
;
28292 PyObject
* obj0
= 0 ;
28293 PyObject
* obj1
= 0 ;
28294 char *kwnames
[] = {
28295 (char *) "self",(char *) "deleteHandler", NULL
28298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28300 if (SWIG_arg_fail(1)) SWIG_fail
;
28303 arg2
= (bool)(SWIG_As_bool(obj1
));
28304 if (SWIG_arg_fail(2)) SWIG_fail
;
28308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28309 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28311 wxPyEndAllowThreads(__tstate
);
28312 if (PyErr_Occurred()) SWIG_fail
;
28315 resultobj
= wxPyMake_wxObject(result
, 0);
28323 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28324 PyObject
*resultobj
;
28325 wxWindow
*arg1
= (wxWindow
*) 0 ;
28326 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28328 PyObject
* obj0
= 0 ;
28329 PyObject
* obj1
= 0 ;
28330 char *kwnames
[] = {
28331 (char *) "self",(char *) "handler", NULL
28334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28335 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28336 if (SWIG_arg_fail(1)) SWIG_fail
;
28337 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28338 if (SWIG_arg_fail(2)) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28355 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28356 PyObject
*resultobj
;
28357 wxWindow
*arg1
= (wxWindow
*) 0 ;
28358 wxValidator
*arg2
= 0 ;
28359 PyObject
* obj0
= 0 ;
28360 PyObject
* obj1
= 0 ;
28361 char *kwnames
[] = {
28362 (char *) "self",(char *) "validator", NULL
28365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28366 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28367 if (SWIG_arg_fail(1)) SWIG_fail
;
28369 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28370 if (SWIG_arg_fail(2)) SWIG_fail
;
28371 if (arg2
== NULL
) {
28372 SWIG_null_ref("wxValidator");
28374 if (SWIG_arg_fail(2)) SWIG_fail
;
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 Py_INCREF(Py_None
); resultobj
= Py_None
;
28390 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 wxWindow
*arg1
= (wxWindow
*) 0 ;
28393 wxValidator
*result
;
28394 PyObject
* obj0
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28400 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28401 if (SWIG_arg_fail(1)) SWIG_fail
;
28403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28404 result
= (wxValidator
*)(arg1
)->GetValidator();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= wxPyMake_wxObject(result
, 0);
28418 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxWindow
*arg1
= (wxWindow
*) 0 ;
28422 PyObject
* obj0
= 0 ;
28423 char *kwnames
[] = {
28424 (char *) "self", NULL
28427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28429 if (SWIG_arg_fail(1)) SWIG_fail
;
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= (bool)(arg1
)->Validate();
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28446 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
;
28448 wxWindow
*arg1
= (wxWindow
*) 0 ;
28450 PyObject
* obj0
= 0 ;
28451 char *kwnames
[] = {
28452 (char *) "self", NULL
28455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28457 if (SWIG_arg_fail(1)) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 result
= (bool)(arg1
)->TransferDataToWindow();
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28474 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
;
28476 wxWindow
*arg1
= (wxWindow
*) 0 ;
28478 PyObject
* obj0
= 0 ;
28479 char *kwnames
[] = {
28480 (char *) "self", NULL
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28485 if (SWIG_arg_fail(1)) SWIG_fail
;
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 result
= (bool)(arg1
)->TransferDataFromWindow();
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28502 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
;
28504 wxWindow
*arg1
= (wxWindow
*) 0 ;
28505 PyObject
* obj0
= 0 ;
28506 char *kwnames
[] = {
28507 (char *) "self", NULL
28510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28511 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28512 if (SWIG_arg_fail(1)) SWIG_fail
;
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 (arg1
)->InitDialog();
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28520 Py_INCREF(Py_None
); resultobj
= Py_None
;
28527 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28528 PyObject
*resultobj
;
28529 wxWindow
*arg1
= (wxWindow
*) 0 ;
28530 wxAcceleratorTable
*arg2
= 0 ;
28531 PyObject
* obj0
= 0 ;
28532 PyObject
* obj1
= 0 ;
28533 char *kwnames
[] = {
28534 (char *) "self",(char *) "accel", NULL
28537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28539 if (SWIG_arg_fail(1)) SWIG_fail
;
28541 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28542 if (SWIG_arg_fail(2)) SWIG_fail
;
28543 if (arg2
== NULL
) {
28544 SWIG_null_ref("wxAcceleratorTable");
28546 if (SWIG_arg_fail(2)) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28555 Py_INCREF(Py_None
); resultobj
= Py_None
;
28562 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
;
28564 wxWindow
*arg1
= (wxWindow
*) 0 ;
28565 wxAcceleratorTable
*result
;
28566 PyObject
* obj0
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28573 if (SWIG_arg_fail(1)) SWIG_fail
;
28575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28576 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28578 wxPyEndAllowThreads(__tstate
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28588 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28589 PyObject
*resultobj
;
28590 wxWindow
*arg1
= (wxWindow
*) 0 ;
28595 PyObject
* obj0
= 0 ;
28596 PyObject
* obj1
= 0 ;
28597 PyObject
* obj2
= 0 ;
28598 PyObject
* obj3
= 0 ;
28599 char *kwnames
[] = {
28600 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28605 if (SWIG_arg_fail(1)) SWIG_fail
;
28607 arg2
= (int)(SWIG_As_int(obj1
));
28608 if (SWIG_arg_fail(2)) SWIG_fail
;
28611 arg3
= (int)(SWIG_As_int(obj2
));
28612 if (SWIG_arg_fail(3)) SWIG_fail
;
28615 arg4
= (int)(SWIG_As_int(obj3
));
28616 if (SWIG_arg_fail(4)) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28622 wxPyEndAllowThreads(__tstate
);
28623 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28634 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
;
28636 wxWindow
*arg1
= (wxWindow
*) 0 ;
28639 PyObject
* obj0
= 0 ;
28640 PyObject
* obj1
= 0 ;
28641 char *kwnames
[] = {
28642 (char *) "self",(char *) "hotkeyId", NULL
28645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28647 if (SWIG_arg_fail(1)) SWIG_fail
;
28649 arg2
= (int)(SWIG_As_int(obj1
));
28650 if (SWIG_arg_fail(2)) SWIG_fail
;
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28668 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28669 PyObject
*resultobj
;
28670 wxWindow
*arg1
= (wxWindow
*) 0 ;
28671 wxPoint
*arg2
= 0 ;
28674 PyObject
* obj0
= 0 ;
28675 PyObject
* obj1
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "self",(char *) "pt", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28681 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28682 if (SWIG_arg_fail(1)) SWIG_fail
;
28685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28689 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28691 wxPyEndAllowThreads(__tstate
);
28692 if (PyErr_Occurred()) SWIG_fail
;
28695 wxPoint
* resultptr
;
28696 resultptr
= new wxPoint((wxPoint
&)(result
));
28697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28705 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28706 PyObject
*resultobj
;
28707 wxWindow
*arg1
= (wxWindow
*) 0 ;
28711 PyObject
* obj0
= 0 ;
28712 PyObject
* obj1
= 0 ;
28713 char *kwnames
[] = {
28714 (char *) "self",(char *) "sz", NULL
28717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28719 if (SWIG_arg_fail(1)) SWIG_fail
;
28722 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28726 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28732 wxSize
* resultptr
;
28733 resultptr
= new wxSize((wxSize
&)(result
));
28734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28742 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28743 PyObject
*resultobj
;
28744 wxWindow
*arg1
= (wxWindow
*) 0 ;
28745 wxPoint
*arg2
= 0 ;
28748 PyObject
* obj0
= 0 ;
28749 PyObject
* obj1
= 0 ;
28750 char *kwnames
[] = {
28751 (char *) "self",(char *) "pt", NULL
28754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
28755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28756 if (SWIG_arg_fail(1)) SWIG_fail
;
28759 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28769 wxPoint
* resultptr
;
28770 resultptr
= new wxPoint((wxPoint
&)(result
));
28771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28779 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28780 PyObject
*resultobj
;
28781 wxWindow
*arg1
= (wxWindow
*) 0 ;
28785 PyObject
* obj0
= 0 ;
28786 PyObject
* obj1
= 0 ;
28787 char *kwnames
[] = {
28788 (char *) "self",(char *) "sz", NULL
28791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
28792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28793 if (SWIG_arg_fail(1)) SWIG_fail
;
28796 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28800 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28802 wxPyEndAllowThreads(__tstate
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28806 wxSize
* resultptr
;
28807 resultptr
= new wxSize((wxSize
&)(result
));
28808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28816 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
;
28818 wxWindow
*arg1
= (wxWindow
*) 0 ;
28819 wxPoint
*arg2
= 0 ;
28822 PyObject
* obj0
= 0 ;
28823 PyObject
* obj1
= 0 ;
28824 char *kwnames
[] = {
28825 (char *) "self",(char *) "pt", NULL
28828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28830 if (SWIG_arg_fail(1)) SWIG_fail
;
28833 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28843 wxPoint
* resultptr
;
28844 resultptr
= new wxPoint((wxPoint
&)(result
));
28845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28853 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28854 PyObject
*resultobj
;
28855 wxWindow
*arg1
= (wxWindow
*) 0 ;
28859 PyObject
* obj0
= 0 ;
28860 PyObject
* obj1
= 0 ;
28861 char *kwnames
[] = {
28862 (char *) "self",(char *) "sz", NULL
28865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
28866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28867 if (SWIG_arg_fail(1)) SWIG_fail
;
28870 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28880 wxSize
* resultptr
;
28881 resultptr
= new wxSize((wxSize
&)(result
));
28882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28890 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
;
28892 wxWindow
*arg1
= (wxWindow
*) 0 ;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 PyObject
* obj2
= 0 ;
28898 char *kwnames
[] = {
28899 (char *) "self",(char *) "x",(char *) "y", NULL
28902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28904 if (SWIG_arg_fail(1)) SWIG_fail
;
28906 arg2
= (int)(SWIG_As_int(obj1
));
28907 if (SWIG_arg_fail(2)) SWIG_fail
;
28910 arg3
= (int)(SWIG_As_int(obj2
));
28911 if (SWIG_arg_fail(3)) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 (arg1
)->WarpPointer(arg2
,arg3
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 Py_INCREF(Py_None
); resultobj
= Py_None
;
28927 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28928 PyObject
*resultobj
;
28929 wxWindow
*arg1
= (wxWindow
*) 0 ;
28930 PyObject
* obj0
= 0 ;
28931 char *kwnames
[] = {
28932 (char *) "self", NULL
28935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
28936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28937 if (SWIG_arg_fail(1)) SWIG_fail
;
28939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28940 (arg1
)->CaptureMouse();
28942 wxPyEndAllowThreads(__tstate
);
28943 if (PyErr_Occurred()) SWIG_fail
;
28945 Py_INCREF(Py_None
); resultobj
= Py_None
;
28952 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
;
28954 wxWindow
*arg1
= (wxWindow
*) 0 ;
28955 PyObject
* obj0
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
28961 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28962 if (SWIG_arg_fail(1)) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 (arg1
)->ReleaseMouse();
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 Py_INCREF(Py_None
); resultobj
= Py_None
;
28977 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28980 char *kwnames
[] = {
28984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
28986 if (!wxPyCheckForApp()) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= (wxWindow
*)wxWindow::GetCapture();
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= wxPyMake_wxObject(result
, 0);
29002 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxWindow
*arg1
= (wxWindow
*) 0 ;
29006 PyObject
* obj0
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29013 if (SWIG_arg_fail(1)) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29030 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29031 PyObject
*resultobj
;
29032 wxWindow
*arg1
= (wxWindow
*) 0 ;
29033 bool arg2
= (bool) true ;
29034 wxRect
*arg3
= (wxRect
*) NULL
;
29035 PyObject
* obj0
= 0 ;
29036 PyObject
* obj1
= 0 ;
29037 PyObject
* obj2
= 0 ;
29038 char *kwnames
[] = {
29039 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29044 if (SWIG_arg_fail(1)) SWIG_fail
;
29047 arg2
= (bool)(SWIG_As_bool(obj1
));
29048 if (SWIG_arg_fail(2)) SWIG_fail
;
29052 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29053 if (SWIG_arg_fail(3)) SWIG_fail
;
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 Py_INCREF(Py_None
); resultobj
= Py_None
;
29069 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxWindow
*arg1
= (wxWindow
*) 0 ;
29073 bool arg3
= (bool) true ;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 PyObject
* obj2
= 0 ;
29078 char *kwnames
[] = {
29079 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29084 if (SWIG_arg_fail(1)) SWIG_fail
;
29087 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29091 arg3
= (bool)(SWIG_As_bool(obj2
));
29092 if (SWIG_arg_fail(3)) SWIG_fail
;
29096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29097 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29099 wxPyEndAllowThreads(__tstate
);
29100 if (PyErr_Occurred()) SWIG_fail
;
29102 Py_INCREF(Py_None
); resultobj
= Py_None
;
29109 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29110 PyObject
*resultobj
;
29111 wxWindow
*arg1
= (wxWindow
*) 0 ;
29112 PyObject
* obj0
= 0 ;
29113 char *kwnames
[] = {
29114 (char *) "self", NULL
29117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29119 if (SWIG_arg_fail(1)) SWIG_fail
;
29121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 Py_INCREF(Py_None
); resultobj
= Py_None
;
29134 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
;
29136 wxWindow
*arg1
= (wxWindow
*) 0 ;
29137 PyObject
* obj0
= 0 ;
29138 char *kwnames
[] = {
29139 (char *) "self", NULL
29142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29144 if (SWIG_arg_fail(1)) SWIG_fail
;
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 (arg1
)->ClearBackground();
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29152 Py_INCREF(Py_None
); resultobj
= Py_None
;
29159 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29160 PyObject
*resultobj
;
29161 wxWindow
*arg1
= (wxWindow
*) 0 ;
29162 PyObject
* obj0
= 0 ;
29163 char *kwnames
[] = {
29164 (char *) "self", NULL
29167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29169 if (SWIG_arg_fail(1)) SWIG_fail
;
29171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29174 wxPyEndAllowThreads(__tstate
);
29175 if (PyErr_Occurred()) SWIG_fail
;
29177 Py_INCREF(Py_None
); resultobj
= Py_None
;
29184 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29185 PyObject
*resultobj
;
29186 wxWindow
*arg1
= (wxWindow
*) 0 ;
29187 PyObject
* obj0
= 0 ;
29188 char *kwnames
[] = {
29189 (char *) "self", NULL
29192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29194 if (SWIG_arg_fail(1)) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29202 Py_INCREF(Py_None
); resultobj
= Py_None
;
29209 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29210 PyObject
*resultobj
;
29211 wxWindow
*arg1
= (wxWindow
*) 0 ;
29213 PyObject
* obj0
= 0 ;
29214 PyObject
* obj1
= 0 ;
29215 char *kwnames
[] = {
29216 (char *) "self",(char *) "dc", NULL
29219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29221 if (SWIG_arg_fail(1)) SWIG_fail
;
29223 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29224 if (SWIG_arg_fail(2)) SWIG_fail
;
29225 if (arg2
== NULL
) {
29226 SWIG_null_ref("wxDC");
29228 if (SWIG_arg_fail(2)) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 (arg1
)->PrepareDC(*arg2
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 Py_INCREF(Py_None
); resultobj
= Py_None
;
29244 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
;
29246 wxWindow
*arg1
= (wxWindow
*) 0 ;
29248 PyObject
* obj0
= 0 ;
29249 char *kwnames
[] = {
29250 (char *) "self", NULL
29253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29255 if (SWIG_arg_fail(1)) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29260 result
= (wxRegion
*) &_result_ref
;
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29273 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
;
29275 wxWindow
*arg1
= (wxWindow
*) 0 ;
29277 PyObject
* obj0
= 0 ;
29278 char *kwnames
[] = {
29279 (char *) "self", NULL
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29284 if (SWIG_arg_fail(1)) SWIG_fail
;
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29293 wxRect
* resultptr
;
29294 resultptr
= new wxRect((wxRect
&)(result
));
29295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29303 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29304 PyObject
*resultobj
;
29305 wxWindow
*arg1
= (wxWindow
*) 0 ;
29308 int arg4
= (int) 1 ;
29309 int arg5
= (int) 1 ;
29311 PyObject
* obj0
= 0 ;
29312 PyObject
* obj1
= 0 ;
29313 PyObject
* obj2
= 0 ;
29314 PyObject
* obj3
= 0 ;
29315 PyObject
* obj4
= 0 ;
29316 char *kwnames
[] = {
29317 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29322 if (SWIG_arg_fail(1)) SWIG_fail
;
29324 arg2
= (int)(SWIG_As_int(obj1
));
29325 if (SWIG_arg_fail(2)) SWIG_fail
;
29328 arg3
= (int)(SWIG_As_int(obj2
));
29329 if (SWIG_arg_fail(3)) SWIG_fail
;
29333 arg4
= (int)(SWIG_As_int(obj3
));
29334 if (SWIG_arg_fail(4)) SWIG_fail
;
29339 arg5
= (int)(SWIG_As_int(obj4
));
29340 if (SWIG_arg_fail(5)) SWIG_fail
;
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29359 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29360 PyObject
*resultobj
;
29361 wxWindow
*arg1
= (wxWindow
*) 0 ;
29362 wxPoint
*arg2
= 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 char *kwnames
[] = {
29368 (char *) "self",(char *) "pt", NULL
29371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",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 ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29380 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29394 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29395 PyObject
*resultobj
;
29396 wxWindow
*arg1
= (wxWindow
*) 0 ;
29400 PyObject
* obj0
= 0 ;
29401 PyObject
* obj1
= 0 ;
29402 char *kwnames
[] = {
29403 (char *) "self",(char *) "rect", NULL
29406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29408 if (SWIG_arg_fail(1)) SWIG_fail
;
29411 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29429 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
;
29431 wxWindow
*arg1
= (wxWindow
*) 0 ;
29432 wxVisualAttributes result
;
29433 PyObject
* obj0
= 0 ;
29434 char *kwnames
[] = {
29435 (char *) "self", NULL
29438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29439 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29440 if (SWIG_arg_fail(1)) SWIG_fail
;
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29443 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29449 wxVisualAttributes
* resultptr
;
29450 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29459 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29460 PyObject
*resultobj
;
29461 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29462 wxVisualAttributes result
;
29463 PyObject
* obj0
= 0 ;
29464 char *kwnames
[] = {
29465 (char *) "variant", NULL
29468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29471 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29472 if (SWIG_arg_fail(1)) SWIG_fail
;
29476 if (!wxPyCheckForApp()) SWIG_fail
;
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29484 wxVisualAttributes
* resultptr
;
29485 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29494 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29495 PyObject
*resultobj
;
29496 wxWindow
*arg1
= (wxWindow
*) 0 ;
29497 wxColour
*arg2
= 0 ;
29500 PyObject
* obj0
= 0 ;
29501 PyObject
* obj1
= 0 ;
29502 char *kwnames
[] = {
29503 (char *) "self",(char *) "colour", NULL
29506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29508 if (SWIG_arg_fail(1)) SWIG_fail
;
29511 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29529 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29530 PyObject
*resultobj
;
29531 wxWindow
*arg1
= (wxWindow
*) 0 ;
29532 wxColour
*arg2
= 0 ;
29534 PyObject
* obj0
= 0 ;
29535 PyObject
* obj1
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self",(char *) "colour", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29541 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29542 if (SWIG_arg_fail(1)) SWIG_fail
;
29545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29554 Py_INCREF(Py_None
); resultobj
= Py_None
;
29561 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
;
29563 wxWindow
*arg1
= (wxWindow
*) 0 ;
29564 wxColour
*arg2
= 0 ;
29567 PyObject
* obj0
= 0 ;
29568 PyObject
* obj1
= 0 ;
29569 char *kwnames
[] = {
29570 (char *) "self",(char *) "colour", NULL
29573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29575 if (SWIG_arg_fail(1)) SWIG_fail
;
29578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29582 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29596 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
;
29598 wxWindow
*arg1
= (wxWindow
*) 0 ;
29599 wxColour
*arg2
= 0 ;
29601 PyObject
* obj0
= 0 ;
29602 PyObject
* obj1
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self",(char *) "colour", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29608 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29609 if (SWIG_arg_fail(1)) SWIG_fail
;
29612 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29618 wxPyEndAllowThreads(__tstate
);
29619 if (PyErr_Occurred()) SWIG_fail
;
29621 Py_INCREF(Py_None
); resultobj
= Py_None
;
29628 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
;
29630 wxWindow
*arg1
= (wxWindow
*) 0 ;
29632 PyObject
* obj0
= 0 ;
29633 char *kwnames
[] = {
29634 (char *) "self", NULL
29637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29639 if (SWIG_arg_fail(1)) SWIG_fail
;
29641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29642 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29648 wxColour
* resultptr
;
29649 resultptr
= new wxColour((wxColour
&)(result
));
29650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29658 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29659 PyObject
*resultobj
;
29660 wxWindow
*arg1
= (wxWindow
*) 0 ;
29662 PyObject
* obj0
= 0 ;
29663 char *kwnames
[] = {
29664 (char *) "self", NULL
29667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29669 if (SWIG_arg_fail(1)) SWIG_fail
;
29671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29672 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29674 wxPyEndAllowThreads(__tstate
);
29675 if (PyErr_Occurred()) SWIG_fail
;
29678 wxColour
* resultptr
;
29679 resultptr
= new wxColour((wxColour
&)(result
));
29680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29688 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29689 PyObject
*resultobj
;
29690 wxWindow
*arg1
= (wxWindow
*) 0 ;
29692 PyObject
* obj0
= 0 ;
29693 char *kwnames
[] = {
29694 (char *) "self", NULL
29697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29699 if (SWIG_arg_fail(1)) SWIG_fail
;
29701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29702 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29704 wxPyEndAllowThreads(__tstate
);
29705 if (PyErr_Occurred()) SWIG_fail
;
29708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29716 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29717 PyObject
*resultobj
;
29718 wxWindow
*arg1
= (wxWindow
*) 0 ;
29720 PyObject
* obj0
= 0 ;
29721 char *kwnames
[] = {
29722 (char *) "self", NULL
29725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29727 if (SWIG_arg_fail(1)) SWIG_fail
;
29729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29730 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29732 wxPyEndAllowThreads(__tstate
);
29733 if (PyErr_Occurred()) SWIG_fail
;
29736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29744 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29745 PyObject
*resultobj
;
29746 wxWindow
*arg1
= (wxWindow
*) 0 ;
29747 wxBackgroundStyle arg2
;
29749 PyObject
* obj0
= 0 ;
29750 PyObject
* obj1
= 0 ;
29751 char *kwnames
[] = {
29752 (char *) "self",(char *) "style", NULL
29755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
29756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29757 if (SWIG_arg_fail(1)) SWIG_fail
;
29759 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
29760 if (SWIG_arg_fail(2)) SWIG_fail
;
29763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29764 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
29766 wxPyEndAllowThreads(__tstate
);
29767 if (PyErr_Occurred()) SWIG_fail
;
29770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29778 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
;
29780 wxWindow
*arg1
= (wxWindow
*) 0 ;
29781 wxBackgroundStyle result
;
29782 PyObject
* obj0
= 0 ;
29783 char *kwnames
[] = {
29784 (char *) "self", NULL
29787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
29788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29789 if (SWIG_arg_fail(1)) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_From_int((result
));
29804 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxWindow
*arg1
= (wxWindow
*) 0 ;
29808 PyObject
* obj0
= 0 ;
29809 char *kwnames
[] = {
29810 (char *) "self", NULL
29813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
29814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29815 if (SWIG_arg_fail(1)) SWIG_fail
;
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 result
= (bool)(arg1
)->HasTransparentBackground();
29820 wxPyEndAllowThreads(__tstate
);
29821 if (PyErr_Occurred()) SWIG_fail
;
29824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29832 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29833 PyObject
*resultobj
;
29834 wxWindow
*arg1
= (wxWindow
*) 0 ;
29835 wxCursor
*arg2
= 0 ;
29837 PyObject
* obj0
= 0 ;
29838 PyObject
* obj1
= 0 ;
29839 char *kwnames
[] = {
29840 (char *) "self",(char *) "cursor", NULL
29843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
29844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29845 if (SWIG_arg_fail(1)) SWIG_fail
;
29847 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
29848 if (SWIG_arg_fail(2)) SWIG_fail
;
29849 if (arg2
== NULL
) {
29850 SWIG_null_ref("wxCursor");
29852 if (SWIG_arg_fail(2)) SWIG_fail
;
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29870 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29871 PyObject
*resultobj
;
29872 wxWindow
*arg1
= (wxWindow
*) 0 ;
29874 PyObject
* obj0
= 0 ;
29875 char *kwnames
[] = {
29876 (char *) "self", NULL
29879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
29880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29881 if (SWIG_arg_fail(1)) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= (arg1
)->GetCursor();
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29890 wxCursor
* resultptr
;
29891 resultptr
= new wxCursor((wxCursor
&)(result
));
29892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
29900 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29901 PyObject
*resultobj
;
29902 wxWindow
*arg1
= (wxWindow
*) 0 ;
29905 PyObject
* obj0
= 0 ;
29906 PyObject
* obj1
= 0 ;
29907 char *kwnames
[] = {
29908 (char *) "self",(char *) "font", NULL
29911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29913 if (SWIG_arg_fail(1)) SWIG_fail
;
29915 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29916 if (SWIG_arg_fail(2)) SWIG_fail
;
29917 if (arg2
== NULL
) {
29918 SWIG_null_ref("wxFont");
29920 if (SWIG_arg_fail(2)) SWIG_fail
;
29923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29924 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
29926 wxPyEndAllowThreads(__tstate
);
29927 if (PyErr_Occurred()) SWIG_fail
;
29930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29938 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29939 PyObject
*resultobj
;
29940 wxWindow
*arg1
= (wxWindow
*) 0 ;
29942 PyObject
* obj0
= 0 ;
29943 PyObject
* obj1
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self",(char *) "font", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
29949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29950 if (SWIG_arg_fail(1)) SWIG_fail
;
29952 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
29953 if (SWIG_arg_fail(2)) SWIG_fail
;
29954 if (arg2
== NULL
) {
29955 SWIG_null_ref("wxFont");
29957 if (SWIG_arg_fail(2)) SWIG_fail
;
29960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29961 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
29963 wxPyEndAllowThreads(__tstate
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29966 Py_INCREF(Py_None
); resultobj
= Py_None
;
29973 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29974 PyObject
*resultobj
;
29975 wxWindow
*arg1
= (wxWindow
*) 0 ;
29977 PyObject
* obj0
= 0 ;
29978 char *kwnames
[] = {
29979 (char *) "self", NULL
29982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
29983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29984 if (SWIG_arg_fail(1)) SWIG_fail
;
29986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29987 result
= (arg1
)->GetFont();
29989 wxPyEndAllowThreads(__tstate
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29993 wxFont
* resultptr
;
29994 resultptr
= new wxFont((wxFont
&)(result
));
29995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30003 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30004 PyObject
*resultobj
;
30005 wxWindow
*arg1
= (wxWindow
*) 0 ;
30006 wxCaret
*arg2
= (wxCaret
*) 0 ;
30007 PyObject
* obj0
= 0 ;
30008 PyObject
* obj1
= 0 ;
30009 char *kwnames
[] = {
30010 (char *) "self",(char *) "caret", NULL
30013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30014 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30015 if (SWIG_arg_fail(1)) SWIG_fail
;
30016 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30017 if (SWIG_arg_fail(2)) SWIG_fail
;
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 (arg1
)->SetCaret(arg2
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 Py_INCREF(Py_None
); resultobj
= Py_None
;
30032 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
;
30034 wxWindow
*arg1
= (wxWindow
*) 0 ;
30036 PyObject
* obj0
= 0 ;
30037 char *kwnames
[] = {
30038 (char *) "self", NULL
30041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30043 if (SWIG_arg_fail(1)) SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30058 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
;
30060 wxWindow
*arg1
= (wxWindow
*) 0 ;
30062 PyObject
* obj0
= 0 ;
30063 char *kwnames
[] = {
30064 (char *) "self", NULL
30067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30068 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30069 if (SWIG_arg_fail(1)) SWIG_fail
;
30071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30074 wxPyEndAllowThreads(__tstate
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30078 resultobj
= SWIG_From_int((int)(result
));
30086 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
;
30088 wxWindow
*arg1
= (wxWindow
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 char *kwnames
[] = {
30092 (char *) "self", NULL
30095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30097 if (SWIG_arg_fail(1)) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30106 resultobj
= SWIG_From_int((int)(result
));
30114 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30115 PyObject
*resultobj
;
30116 wxWindow
*arg1
= (wxWindow
*) 0 ;
30117 wxString
*arg2
= 0 ;
30118 int *arg3
= (int *) 0 ;
30119 int *arg4
= (int *) 0 ;
30120 bool temp2
= false ;
30125 PyObject
* obj0
= 0 ;
30126 PyObject
* obj1
= 0 ;
30127 char *kwnames
[] = {
30128 (char *) "self",(char *) "string", NULL
30131 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30132 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30134 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30135 if (SWIG_arg_fail(1)) SWIG_fail
;
30137 arg2
= wxString_in_helper(obj1
);
30138 if (arg2
== NULL
) SWIG_fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 Py_INCREF(Py_None
); resultobj
= Py_None
;
30149 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30150 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30151 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30152 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30167 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxWindow
*arg1
= (wxWindow
*) 0 ;
30170 wxString
*arg2
= 0 ;
30171 int *arg3
= (int *) 0 ;
30172 int *arg4
= (int *) 0 ;
30173 int *arg5
= (int *) 0 ;
30174 int *arg6
= (int *) 0 ;
30175 wxFont
*arg7
= (wxFont
*) NULL
;
30176 bool temp2
= false ;
30185 PyObject
* obj0
= 0 ;
30186 PyObject
* obj1
= 0 ;
30187 PyObject
* obj2
= 0 ;
30188 char *kwnames
[] = {
30189 (char *) "self",(char *) "string",(char *) "font", NULL
30192 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30193 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30194 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30195 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30197 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30198 if (SWIG_arg_fail(1)) SWIG_fail
;
30200 arg2
= wxString_in_helper(obj1
);
30201 if (arg2
== NULL
) SWIG_fail
;
30205 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30206 if (SWIG_arg_fail(7)) SWIG_fail
;
30209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30210 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 Py_INCREF(Py_None
); resultobj
= Py_None
;
30216 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30217 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30218 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30219 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30220 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30221 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30222 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30223 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30238 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30239 PyObject
*resultobj
;
30240 wxWindow
*arg1
= (wxWindow
*) 0 ;
30241 int *arg2
= (int *) 0 ;
30242 int *arg3
= (int *) 0 ;
30247 PyObject
* obj0
= 0 ;
30248 PyObject
* obj1
= 0 ;
30249 PyObject
* obj2
= 0 ;
30250 char *kwnames
[] = {
30251 (char *) "self",(char *) "x",(char *) "y", NULL
30254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30256 if (SWIG_arg_fail(1)) SWIG_fail
;
30258 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30259 temp2
= SWIG_As_int(obj1
);
30260 if (SWIG_arg_fail(2)) SWIG_fail
;
30262 res2
= SWIG_NEWOBJ
;
30266 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30267 temp3
= SWIG_As_int(obj2
);
30268 if (SWIG_arg_fail(3)) SWIG_fail
;
30270 res3
= SWIG_NEWOBJ
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30280 Py_INCREF(Py_None
); resultobj
= Py_None
;
30281 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30282 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30283 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30284 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30291 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30292 PyObject
*resultobj
;
30293 wxWindow
*arg1
= (wxWindow
*) 0 ;
30294 int *arg2
= (int *) 0 ;
30295 int *arg3
= (int *) 0 ;
30300 PyObject
* obj0
= 0 ;
30301 PyObject
* obj1
= 0 ;
30302 PyObject
* obj2
= 0 ;
30303 char *kwnames
[] = {
30304 (char *) "self",(char *) "x",(char *) "y", NULL
30307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30309 if (SWIG_arg_fail(1)) SWIG_fail
;
30311 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30312 temp2
= SWIG_As_int(obj1
);
30313 if (SWIG_arg_fail(2)) SWIG_fail
;
30315 res2
= SWIG_NEWOBJ
;
30319 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30320 temp3
= SWIG_As_int(obj2
);
30321 if (SWIG_arg_fail(3)) SWIG_fail
;
30323 res3
= SWIG_NEWOBJ
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 Py_INCREF(Py_None
); resultobj
= Py_None
;
30334 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30335 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30336 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30337 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30344 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30345 PyObject
*resultobj
;
30346 wxWindow
*arg1
= (wxWindow
*) 0 ;
30347 wxPoint
*arg2
= 0 ;
30350 PyObject
* obj0
= 0 ;
30351 PyObject
* obj1
= 0 ;
30352 char *kwnames
[] = {
30353 (char *) "self",(char *) "pt", NULL
30356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30358 if (SWIG_arg_fail(1)) SWIG_fail
;
30361 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30371 wxPoint
* resultptr
;
30372 resultptr
= new wxPoint((wxPoint
&)(result
));
30373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30381 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30382 PyObject
*resultobj
;
30383 wxWindow
*arg1
= (wxWindow
*) 0 ;
30384 wxPoint
*arg2
= 0 ;
30387 PyObject
* obj0
= 0 ;
30388 PyObject
* obj1
= 0 ;
30389 char *kwnames
[] = {
30390 (char *) "self",(char *) "pt", NULL
30393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30394 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30395 if (SWIG_arg_fail(1)) SWIG_fail
;
30398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30402 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30408 wxPoint
* resultptr
;
30409 resultptr
= new wxPoint((wxPoint
&)(result
));
30410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30418 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30419 PyObject
*resultobj
;
30420 wxWindow
*arg1
= (wxWindow
*) 0 ;
30424 PyObject
* obj0
= 0 ;
30425 PyObject
* obj1
= 0 ;
30426 PyObject
* obj2
= 0 ;
30427 char *kwnames
[] = {
30428 (char *) "self",(char *) "x",(char *) "y", NULL
30431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30433 if (SWIG_arg_fail(1)) SWIG_fail
;
30435 arg2
= (int)(SWIG_As_int(obj1
));
30436 if (SWIG_arg_fail(2)) SWIG_fail
;
30439 arg3
= (int)(SWIG_As_int(obj2
));
30440 if (SWIG_arg_fail(3)) SWIG_fail
;
30443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30444 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30449 resultobj
= SWIG_From_int((result
));
30456 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30457 PyObject
*resultobj
;
30458 wxWindow
*arg1
= (wxWindow
*) 0 ;
30459 wxPoint
*arg2
= 0 ;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 char *kwnames
[] = {
30465 (char *) "self",(char *) "pt", NULL
30468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30470 if (SWIG_arg_fail(1)) SWIG_fail
;
30473 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30477 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30479 wxPyEndAllowThreads(__tstate
);
30480 if (PyErr_Occurred()) SWIG_fail
;
30482 resultobj
= SWIG_From_int((result
));
30489 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30490 PyObject
*resultobj
;
30491 wxWindow
*arg1
= (wxWindow
*) 0 ;
30494 PyObject
* obj0
= 0 ;
30495 PyObject
* obj1
= 0 ;
30497 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30499 if (SWIG_arg_fail(1)) SWIG_fail
;
30501 arg2
= (long)(SWIG_As_long(obj1
));
30502 if (SWIG_arg_fail(2)) SWIG_fail
;
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 resultobj
= SWIG_From_int((result
));
30518 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30519 PyObject
*resultobj
;
30520 wxWindow
*arg1
= (wxWindow
*) 0 ;
30522 PyObject
* obj0
= 0 ;
30524 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
30525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30526 if (SWIG_arg_fail(1)) SWIG_fail
;
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30531 wxPyEndAllowThreads(__tstate
);
30532 if (PyErr_Occurred()) SWIG_fail
;
30534 resultobj
= SWIG_From_int((result
));
30541 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30546 argc
= PyObject_Length(args
);
30547 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30548 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30554 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30562 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30569 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30577 _v
= SWIG_Check_long(argv
[1]);
30579 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30584 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30589 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30590 PyObject
*resultobj
;
30591 wxWindow
*arg1
= (wxWindow
*) 0 ;
30592 long arg2
= (long) wxUPDATE_UI_NONE
;
30593 PyObject
* obj0
= 0 ;
30594 PyObject
* obj1
= 0 ;
30595 char *kwnames
[] = {
30596 (char *) "self",(char *) "flags", NULL
30599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30600 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30601 if (SWIG_arg_fail(1)) SWIG_fail
;
30604 arg2
= (long)(SWIG_As_long(obj1
));
30605 if (SWIG_arg_fail(2)) SWIG_fail
;
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 (arg1
)->UpdateWindowUI(arg2
);
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30615 Py_INCREF(Py_None
); resultobj
= Py_None
;
30622 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30623 PyObject
*resultobj
;
30624 wxWindow
*arg1
= (wxWindow
*) 0 ;
30625 wxMenu
*arg2
= (wxMenu
*) 0 ;
30626 int arg3
= (int) -1 ;
30627 int arg4
= (int) -1 ;
30629 PyObject
* obj0
= 0 ;
30630 PyObject
* obj1
= 0 ;
30631 PyObject
* obj2
= 0 ;
30632 PyObject
* obj3
= 0 ;
30633 char *kwnames
[] = {
30634 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30639 if (SWIG_arg_fail(1)) SWIG_fail
;
30640 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30641 if (SWIG_arg_fail(2)) SWIG_fail
;
30644 arg3
= (int)(SWIG_As_int(obj2
));
30645 if (SWIG_arg_fail(3)) SWIG_fail
;
30650 arg4
= (int)(SWIG_As_int(obj3
));
30651 if (SWIG_arg_fail(4)) SWIG_fail
;
30655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30656 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30670 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30671 PyObject
*resultobj
;
30672 wxWindow
*arg1
= (wxWindow
*) 0 ;
30673 wxMenu
*arg2
= (wxMenu
*) 0 ;
30674 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30675 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30678 PyObject
* obj0
= 0 ;
30679 PyObject
* obj1
= 0 ;
30680 PyObject
* obj2
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self",(char *) "menu",(char *) "pos", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30687 if (SWIG_arg_fail(1)) SWIG_fail
;
30688 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30689 if (SWIG_arg_fail(2)) SWIG_fail
;
30693 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30712 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30713 PyObject
*resultobj
;
30714 wxWindow
*arg1
= (wxWindow
*) 0 ;
30716 PyObject
* obj0
= 0 ;
30717 char *kwnames
[] = {
30718 (char *) "self", NULL
30721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30723 if (SWIG_arg_fail(1)) SWIG_fail
;
30725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30726 result
= (long)wxWindow_GetHandle(arg1
);
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30732 resultobj
= SWIG_From_long((long)(result
));
30740 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30741 PyObject
*resultobj
;
30742 wxWindow
*arg1
= (wxWindow
*) 0 ;
30744 PyObject
* obj0
= 0 ;
30745 PyObject
* obj1
= 0 ;
30746 char *kwnames
[] = {
30747 (char *) "self",(char *) "handle", NULL
30750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
30751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30752 if (SWIG_arg_fail(1)) SWIG_fail
;
30754 arg2
= (long)(SWIG_As_long(obj1
));
30755 if (SWIG_arg_fail(2)) SWIG_fail
;
30758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30759 wxWindow_AssociateHandle(arg1
,arg2
);
30761 wxPyEndAllowThreads(__tstate
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30764 Py_INCREF(Py_None
); resultobj
= Py_None
;
30771 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30772 PyObject
*resultobj
;
30773 wxWindow
*arg1
= (wxWindow
*) 0 ;
30774 PyObject
* obj0
= 0 ;
30775 char *kwnames
[] = {
30776 (char *) "self", NULL
30779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
30780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30781 if (SWIG_arg_fail(1)) SWIG_fail
;
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 (arg1
)->DissociateHandle();
30786 wxPyEndAllowThreads(__tstate
);
30787 if (PyErr_Occurred()) SWIG_fail
;
30789 Py_INCREF(Py_None
); resultobj
= Py_None
;
30796 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30797 PyObject
*resultobj
;
30798 wxWindow
*arg1
= (wxWindow
*) 0 ;
30801 PyObject
* obj0
= 0 ;
30802 PyObject
* obj1
= 0 ;
30803 char *kwnames
[] = {
30804 (char *) "self",(char *) "orient", NULL
30807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
30808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30809 if (SWIG_arg_fail(1)) SWIG_fail
;
30811 arg2
= (int)(SWIG_As_int(obj1
));
30812 if (SWIG_arg_fail(2)) SWIG_fail
;
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
30818 wxPyEndAllowThreads(__tstate
);
30819 if (PyErr_Occurred()) SWIG_fail
;
30822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30830 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
;
30832 wxWindow
*arg1
= (wxWindow
*) 0 ;
30837 bool arg6
= (bool) true ;
30838 PyObject
* obj0
= 0 ;
30839 PyObject
* obj1
= 0 ;
30840 PyObject
* obj2
= 0 ;
30841 PyObject
* obj3
= 0 ;
30842 PyObject
* obj4
= 0 ;
30843 PyObject
* obj5
= 0 ;
30844 char *kwnames
[] = {
30845 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
30848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30850 if (SWIG_arg_fail(1)) SWIG_fail
;
30852 arg2
= (int)(SWIG_As_int(obj1
));
30853 if (SWIG_arg_fail(2)) SWIG_fail
;
30856 arg3
= (int)(SWIG_As_int(obj2
));
30857 if (SWIG_arg_fail(3)) SWIG_fail
;
30860 arg4
= (int)(SWIG_As_int(obj3
));
30861 if (SWIG_arg_fail(4)) SWIG_fail
;
30864 arg5
= (int)(SWIG_As_int(obj4
));
30865 if (SWIG_arg_fail(5)) SWIG_fail
;
30869 arg6
= (bool)(SWIG_As_bool(obj5
));
30870 if (SWIG_arg_fail(6)) SWIG_fail
;
30874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30875 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
30877 wxPyEndAllowThreads(__tstate
);
30878 if (PyErr_Occurred()) SWIG_fail
;
30880 Py_INCREF(Py_None
); resultobj
= Py_None
;
30887 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30888 PyObject
*resultobj
;
30889 wxWindow
*arg1
= (wxWindow
*) 0 ;
30892 bool arg4
= (bool) true ;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 PyObject
* obj2
= 0 ;
30896 PyObject
* obj3
= 0 ;
30897 char *kwnames
[] = {
30898 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
30901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30903 if (SWIG_arg_fail(1)) SWIG_fail
;
30905 arg2
= (int)(SWIG_As_int(obj1
));
30906 if (SWIG_arg_fail(2)) SWIG_fail
;
30909 arg3
= (int)(SWIG_As_int(obj2
));
30910 if (SWIG_arg_fail(3)) SWIG_fail
;
30914 arg4
= (bool)(SWIG_As_bool(obj3
));
30915 if (SWIG_arg_fail(4)) SWIG_fail
;
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 Py_INCREF(Py_None
); resultobj
= Py_None
;
30932 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
;
30934 wxWindow
*arg1
= (wxWindow
*) 0 ;
30937 PyObject
* obj0
= 0 ;
30938 PyObject
* obj1
= 0 ;
30939 char *kwnames
[] = {
30940 (char *) "self",(char *) "orientation", NULL
30943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
30944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30945 if (SWIG_arg_fail(1)) SWIG_fail
;
30947 arg2
= (int)(SWIG_As_int(obj1
));
30948 if (SWIG_arg_fail(2)) SWIG_fail
;
30951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30952 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
30954 wxPyEndAllowThreads(__tstate
);
30955 if (PyErr_Occurred()) SWIG_fail
;
30958 resultobj
= SWIG_From_int((int)(result
));
30966 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30967 PyObject
*resultobj
;
30968 wxWindow
*arg1
= (wxWindow
*) 0 ;
30971 PyObject
* obj0
= 0 ;
30972 PyObject
* obj1
= 0 ;
30973 char *kwnames
[] = {
30974 (char *) "self",(char *) "orientation", NULL
30977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
30978 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30979 if (SWIG_arg_fail(1)) SWIG_fail
;
30981 arg2
= (int)(SWIG_As_int(obj1
));
30982 if (SWIG_arg_fail(2)) SWIG_fail
;
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
30988 wxPyEndAllowThreads(__tstate
);
30989 if (PyErr_Occurred()) SWIG_fail
;
30992 resultobj
= SWIG_From_int((int)(result
));
31000 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31001 PyObject
*resultobj
;
31002 wxWindow
*arg1
= (wxWindow
*) 0 ;
31005 PyObject
* obj0
= 0 ;
31006 PyObject
* obj1
= 0 ;
31007 char *kwnames
[] = {
31008 (char *) "self",(char *) "orientation", NULL
31011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31012 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31013 if (SWIG_arg_fail(1)) SWIG_fail
;
31015 arg2
= (int)(SWIG_As_int(obj1
));
31016 if (SWIG_arg_fail(2)) SWIG_fail
;
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31022 wxPyEndAllowThreads(__tstate
);
31023 if (PyErr_Occurred()) SWIG_fail
;
31026 resultobj
= SWIG_From_int((int)(result
));
31034 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31035 PyObject
*resultobj
;
31036 wxWindow
*arg1
= (wxWindow
*) 0 ;
31039 wxRect
*arg4
= (wxRect
*) NULL
;
31040 PyObject
* obj0
= 0 ;
31041 PyObject
* obj1
= 0 ;
31042 PyObject
* obj2
= 0 ;
31043 PyObject
* obj3
= 0 ;
31044 char *kwnames
[] = {
31045 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31050 if (SWIG_arg_fail(1)) SWIG_fail
;
31052 arg2
= (int)(SWIG_As_int(obj1
));
31053 if (SWIG_arg_fail(2)) SWIG_fail
;
31056 arg3
= (int)(SWIG_As_int(obj2
));
31057 if (SWIG_arg_fail(3)) SWIG_fail
;
31060 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31061 if (SWIG_arg_fail(4)) SWIG_fail
;
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31067 wxPyEndAllowThreads(__tstate
);
31068 if (PyErr_Occurred()) SWIG_fail
;
31070 Py_INCREF(Py_None
); resultobj
= Py_None
;
31077 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31078 PyObject
*resultobj
;
31079 wxWindow
*arg1
= (wxWindow
*) 0 ;
31082 PyObject
* obj0
= 0 ;
31083 PyObject
* obj1
= 0 ;
31084 char *kwnames
[] = {
31085 (char *) "self",(char *) "lines", NULL
31088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31089 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31090 if (SWIG_arg_fail(1)) SWIG_fail
;
31092 arg2
= (int)(SWIG_As_int(obj1
));
31093 if (SWIG_arg_fail(2)) SWIG_fail
;
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31097 result
= (bool)(arg1
)->ScrollLines(arg2
);
31099 wxPyEndAllowThreads(__tstate
);
31100 if (PyErr_Occurred()) SWIG_fail
;
31103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31111 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
;
31113 wxWindow
*arg1
= (wxWindow
*) 0 ;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 char *kwnames
[] = {
31119 (char *) "self",(char *) "pages", NULL
31122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31124 if (SWIG_arg_fail(1)) SWIG_fail
;
31126 arg2
= (int)(SWIG_As_int(obj1
));
31127 if (SWIG_arg_fail(2)) SWIG_fail
;
31130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31131 result
= (bool)(arg1
)->ScrollPages(arg2
);
31133 wxPyEndAllowThreads(__tstate
);
31134 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31145 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxWindow
*arg1
= (wxWindow
*) 0 ;
31149 PyObject
* obj0
= 0 ;
31150 char *kwnames
[] = {
31151 (char *) "self", NULL
31154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31156 if (SWIG_arg_fail(1)) SWIG_fail
;
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 result
= (bool)(arg1
)->LineUp();
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31173 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
;
31175 wxWindow
*arg1
= (wxWindow
*) 0 ;
31177 PyObject
* obj0
= 0 ;
31178 char *kwnames
[] = {
31179 (char *) "self", NULL
31182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31184 if (SWIG_arg_fail(1)) SWIG_fail
;
31186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31187 result
= (bool)(arg1
)->LineDown();
31189 wxPyEndAllowThreads(__tstate
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31201 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31202 PyObject
*resultobj
;
31203 wxWindow
*arg1
= (wxWindow
*) 0 ;
31205 PyObject
* obj0
= 0 ;
31206 char *kwnames
[] = {
31207 (char *) "self", NULL
31210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31212 if (SWIG_arg_fail(1)) SWIG_fail
;
31214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31215 result
= (bool)(arg1
)->PageUp();
31217 wxPyEndAllowThreads(__tstate
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31229 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31230 PyObject
*resultobj
;
31231 wxWindow
*arg1
= (wxWindow
*) 0 ;
31233 PyObject
* obj0
= 0 ;
31234 char *kwnames
[] = {
31235 (char *) "self", NULL
31238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31239 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31240 if (SWIG_arg_fail(1)) SWIG_fail
;
31242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31243 result
= (bool)(arg1
)->PageDown();
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31257 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31258 PyObject
*resultobj
;
31259 wxWindow
*arg1
= (wxWindow
*) 0 ;
31260 wxString
*arg2
= 0 ;
31261 bool temp2
= false ;
31262 PyObject
* obj0
= 0 ;
31263 PyObject
* obj1
= 0 ;
31264 char *kwnames
[] = {
31265 (char *) "self",(char *) "text", NULL
31268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31270 if (SWIG_arg_fail(1)) SWIG_fail
;
31272 arg2
= wxString_in_helper(obj1
);
31273 if (arg2
== NULL
) SWIG_fail
;
31277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31278 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31280 wxPyEndAllowThreads(__tstate
);
31281 if (PyErr_Occurred()) SWIG_fail
;
31283 Py_INCREF(Py_None
); resultobj
= Py_None
;
31298 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
;
31300 wxWindow
*arg1
= (wxWindow
*) 0 ;
31301 wxString
*arg2
= 0 ;
31302 bool temp2
= false ;
31303 PyObject
* obj0
= 0 ;
31304 PyObject
* obj1
= 0 ;
31305 char *kwnames
[] = {
31306 (char *) "self",(char *) "text", NULL
31309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31310 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31311 if (SWIG_arg_fail(1)) SWIG_fail
;
31313 arg2
= wxString_in_helper(obj1
);
31314 if (arg2
== NULL
) SWIG_fail
;
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 Py_INCREF(Py_None
); resultobj
= Py_None
;
31339 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31340 PyObject
*resultobj
;
31341 wxWindow
*arg1
= (wxWindow
*) 0 ;
31343 PyObject
* obj0
= 0 ;
31344 char *kwnames
[] = {
31345 (char *) "self", NULL
31348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31349 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31350 if (SWIG_arg_fail(1)) SWIG_fail
;
31352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31353 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31355 wxPyEndAllowThreads(__tstate
);
31356 if (PyErr_Occurred()) SWIG_fail
;
31360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31371 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31372 PyObject
*resultobj
;
31373 wxWindow
*arg1
= (wxWindow
*) 0 ;
31374 wxString
*arg2
= 0 ;
31375 bool temp2
= false ;
31376 PyObject
* obj0
= 0 ;
31377 PyObject
* obj1
= 0 ;
31378 char *kwnames
[] = {
31379 (char *) "self",(char *) "tip", NULL
31382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31384 if (SWIG_arg_fail(1)) SWIG_fail
;
31386 arg2
= wxString_in_helper(obj1
);
31387 if (arg2
== NULL
) SWIG_fail
;
31391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31392 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31397 Py_INCREF(Py_None
); resultobj
= Py_None
;
31412 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31413 PyObject
*resultobj
;
31414 wxWindow
*arg1
= (wxWindow
*) 0 ;
31415 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31416 PyObject
* obj0
= 0 ;
31417 PyObject
* obj1
= 0 ;
31418 char *kwnames
[] = {
31419 (char *) "self",(char *) "tip", NULL
31422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31424 if (SWIG_arg_fail(1)) SWIG_fail
;
31425 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31426 if (SWIG_arg_fail(2)) SWIG_fail
;
31428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 (arg1
)->SetToolTip(arg2
);
31431 wxPyEndAllowThreads(__tstate
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31434 Py_INCREF(Py_None
); resultobj
= Py_None
;
31441 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31442 PyObject
*resultobj
;
31443 wxWindow
*arg1
= (wxWindow
*) 0 ;
31445 PyObject
* obj0
= 0 ;
31446 char *kwnames
[] = {
31447 (char *) "self", NULL
31450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31452 if (SWIG_arg_fail(1)) SWIG_fail
;
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31455 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= wxPyMake_wxObject(result
, 0);
31469 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31470 PyObject
*resultobj
;
31471 wxWindow
*arg1
= (wxWindow
*) 0 ;
31472 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31473 PyObject
* obj0
= 0 ;
31474 PyObject
* obj1
= 0 ;
31475 char *kwnames
[] = {
31476 (char *) "self",(char *) "dropTarget", NULL
31479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31481 if (SWIG_arg_fail(1)) SWIG_fail
;
31482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31483 if (SWIG_arg_fail(2)) SWIG_fail
;
31485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31486 (arg1
)->SetDropTarget(arg2
);
31488 wxPyEndAllowThreads(__tstate
);
31489 if (PyErr_Occurred()) SWIG_fail
;
31491 Py_INCREF(Py_None
); resultobj
= Py_None
;
31498 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31499 PyObject
*resultobj
;
31500 wxWindow
*arg1
= (wxWindow
*) 0 ;
31501 wxPyDropTarget
*result
;
31502 PyObject
* obj0
= 0 ;
31503 char *kwnames
[] = {
31504 (char *) "self", NULL
31507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31509 if (SWIG_arg_fail(1)) SWIG_fail
;
31511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31512 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31514 wxPyEndAllowThreads(__tstate
);
31515 if (PyErr_Occurred()) SWIG_fail
;
31517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31524 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31525 PyObject
*resultobj
;
31526 wxWindow
*arg1
= (wxWindow
*) 0 ;
31527 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 char *kwnames
[] = {
31531 (char *) "self",(char *) "constraints", NULL
31534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31536 if (SWIG_arg_fail(1)) SWIG_fail
;
31537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31538 if (SWIG_arg_fail(2)) SWIG_fail
;
31540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31541 (arg1
)->SetConstraints(arg2
);
31543 wxPyEndAllowThreads(__tstate
);
31544 if (PyErr_Occurred()) SWIG_fail
;
31546 Py_INCREF(Py_None
); resultobj
= Py_None
;
31553 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
;
31555 wxWindow
*arg1
= (wxWindow
*) 0 ;
31556 wxLayoutConstraints
*result
;
31557 PyObject
* obj0
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "self", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31564 if (SWIG_arg_fail(1)) SWIG_fail
;
31566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31567 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31569 wxPyEndAllowThreads(__tstate
);
31570 if (PyErr_Occurred()) SWIG_fail
;
31572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31579 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31580 PyObject
*resultobj
;
31581 wxWindow
*arg1
= (wxWindow
*) 0 ;
31583 PyObject
* obj0
= 0 ;
31584 PyObject
* obj1
= 0 ;
31585 char *kwnames
[] = {
31586 (char *) "self",(char *) "autoLayout", NULL
31589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31591 if (SWIG_arg_fail(1)) SWIG_fail
;
31593 arg2
= (bool)(SWIG_As_bool(obj1
));
31594 if (SWIG_arg_fail(2)) SWIG_fail
;
31597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31598 (arg1
)->SetAutoLayout(arg2
);
31600 wxPyEndAllowThreads(__tstate
);
31601 if (PyErr_Occurred()) SWIG_fail
;
31603 Py_INCREF(Py_None
); resultobj
= Py_None
;
31610 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31611 PyObject
*resultobj
;
31612 wxWindow
*arg1
= (wxWindow
*) 0 ;
31614 PyObject
* obj0
= 0 ;
31615 char *kwnames
[] = {
31616 (char *) "self", NULL
31619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31621 if (SWIG_arg_fail(1)) SWIG_fail
;
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31638 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
;
31640 wxWindow
*arg1
= (wxWindow
*) 0 ;
31642 PyObject
* obj0
= 0 ;
31643 char *kwnames
[] = {
31644 (char *) "self", NULL
31647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31649 if (SWIG_arg_fail(1)) SWIG_fail
;
31651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31652 result
= (bool)(arg1
)->Layout();
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31666 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31667 PyObject
*resultobj
;
31668 wxWindow
*arg1
= (wxWindow
*) 0 ;
31669 wxSizer
*arg2
= (wxSizer
*) 0 ;
31670 bool arg3
= (bool) true ;
31671 PyObject
* obj0
= 0 ;
31672 PyObject
* obj1
= 0 ;
31673 PyObject
* obj2
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31680 if (SWIG_arg_fail(1)) SWIG_fail
;
31681 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31682 if (SWIG_arg_fail(2)) SWIG_fail
;
31685 arg3
= (bool)(SWIG_As_bool(obj2
));
31686 if (SWIG_arg_fail(3)) SWIG_fail
;
31690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31691 (arg1
)->SetSizer(arg2
,arg3
);
31693 wxPyEndAllowThreads(__tstate
);
31694 if (PyErr_Occurred()) SWIG_fail
;
31696 Py_INCREF(Py_None
); resultobj
= Py_None
;
31703 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31704 PyObject
*resultobj
;
31705 wxWindow
*arg1
= (wxWindow
*) 0 ;
31706 wxSizer
*arg2
= (wxSizer
*) 0 ;
31707 bool arg3
= (bool) true ;
31708 PyObject
* obj0
= 0 ;
31709 PyObject
* obj1
= 0 ;
31710 PyObject
* obj2
= 0 ;
31711 char *kwnames
[] = {
31712 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31716 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31717 if (SWIG_arg_fail(1)) SWIG_fail
;
31718 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31719 if (SWIG_arg_fail(2)) SWIG_fail
;
31722 arg3
= (bool)(SWIG_As_bool(obj2
));
31723 if (SWIG_arg_fail(3)) SWIG_fail
;
31727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31728 (arg1
)->SetSizerAndFit(arg2
,arg3
);
31730 wxPyEndAllowThreads(__tstate
);
31731 if (PyErr_Occurred()) SWIG_fail
;
31733 Py_INCREF(Py_None
); resultobj
= Py_None
;
31740 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31741 PyObject
*resultobj
;
31742 wxWindow
*arg1
= (wxWindow
*) 0 ;
31744 PyObject
* obj0
= 0 ;
31745 char *kwnames
[] = {
31746 (char *) "self", NULL
31749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
31750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31751 if (SWIG_arg_fail(1)) SWIG_fail
;
31753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31754 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
31756 wxPyEndAllowThreads(__tstate
);
31757 if (PyErr_Occurred()) SWIG_fail
;
31760 resultobj
= wxPyMake_wxSizer(result
, 0);
31768 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31769 PyObject
*resultobj
;
31770 wxWindow
*arg1
= (wxWindow
*) 0 ;
31771 wxSizer
*arg2
= (wxSizer
*) 0 ;
31772 PyObject
* obj0
= 0 ;
31773 PyObject
* obj1
= 0 ;
31774 char *kwnames
[] = {
31775 (char *) "self",(char *) "sizer", NULL
31778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
31779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31780 if (SWIG_arg_fail(1)) SWIG_fail
;
31781 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31782 if (SWIG_arg_fail(2)) SWIG_fail
;
31784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31785 (arg1
)->SetContainingSizer(arg2
);
31787 wxPyEndAllowThreads(__tstate
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31790 Py_INCREF(Py_None
); resultobj
= Py_None
;
31797 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
;
31799 wxWindow
*arg1
= (wxWindow
*) 0 ;
31801 PyObject
* obj0
= 0 ;
31802 char *kwnames
[] = {
31803 (char *) "self", NULL
31806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
31807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31808 if (SWIG_arg_fail(1)) SWIG_fail
;
31810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31811 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
31813 wxPyEndAllowThreads(__tstate
);
31814 if (PyErr_Occurred()) SWIG_fail
;
31817 resultobj
= wxPyMake_wxSizer(result
, 0);
31825 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31826 PyObject
*resultobj
;
31827 wxWindow
*arg1
= (wxWindow
*) 0 ;
31828 PyObject
* obj0
= 0 ;
31829 char *kwnames
[] = {
31830 (char *) "self", NULL
31833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
31834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31835 if (SWIG_arg_fail(1)) SWIG_fail
;
31837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31838 (arg1
)->InheritAttributes();
31840 wxPyEndAllowThreads(__tstate
);
31841 if (PyErr_Occurred()) SWIG_fail
;
31843 Py_INCREF(Py_None
); resultobj
= Py_None
;
31850 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
;
31852 wxWindow
*arg1
= (wxWindow
*) 0 ;
31854 PyObject
* obj0
= 0 ;
31855 char *kwnames
[] = {
31856 (char *) "self", NULL
31859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
31860 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31861 if (SWIG_arg_fail(1)) SWIG_fail
;
31863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31864 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
31866 wxPyEndAllowThreads(__tstate
);
31867 if (PyErr_Occurred()) SWIG_fail
;
31870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31878 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
31880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31881 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
31883 return Py_BuildValue((char *)"");
31885 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31886 PyObject
*resultobj
;
31888 wxWindow
*arg2
= (wxWindow
*) NULL
;
31890 PyObject
* obj0
= 0 ;
31891 PyObject
* obj1
= 0 ;
31892 char *kwnames
[] = {
31893 (char *) "id",(char *) "parent", NULL
31896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
31898 arg1
= (long)(SWIG_As_long(obj0
));
31899 if (SWIG_arg_fail(1)) SWIG_fail
;
31902 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31903 if (SWIG_arg_fail(2)) SWIG_fail
;
31906 if (!wxPyCheckForApp()) SWIG_fail
;
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= wxPyMake_wxObject(result
, 0);
31922 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31923 PyObject
*resultobj
;
31924 wxString
*arg1
= 0 ;
31925 wxWindow
*arg2
= (wxWindow
*) NULL
;
31927 bool temp1
= false ;
31928 PyObject
* obj0
= 0 ;
31929 PyObject
* obj1
= 0 ;
31930 char *kwnames
[] = {
31931 (char *) "name",(char *) "parent", NULL
31934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
31936 arg1
= wxString_in_helper(obj0
);
31937 if (arg1
== NULL
) SWIG_fail
;
31941 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31942 if (SWIG_arg_fail(2)) SWIG_fail
;
31945 if (!wxPyCheckForApp()) SWIG_fail
;
31946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31947 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31949 wxPyEndAllowThreads(__tstate
);
31950 if (PyErr_Occurred()) SWIG_fail
;
31953 resultobj
= wxPyMake_wxObject(result
, 0);
31969 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
;
31971 wxString
*arg1
= 0 ;
31972 wxWindow
*arg2
= (wxWindow
*) NULL
;
31974 bool temp1
= false ;
31975 PyObject
* obj0
= 0 ;
31976 PyObject
* obj1
= 0 ;
31977 char *kwnames
[] = {
31978 (char *) "label",(char *) "parent", NULL
31981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31983 arg1
= wxString_in_helper(obj0
);
31984 if (arg1
== NULL
) SWIG_fail
;
31988 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31989 if (SWIG_arg_fail(2)) SWIG_fail
;
31992 if (!wxPyCheckForApp()) SWIG_fail
;
31993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31994 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
32000 resultobj
= wxPyMake_wxObject(result
, 0);
32016 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32017 PyObject
*resultobj
;
32018 wxWindow
*arg1
= (wxWindow
*) 0 ;
32019 unsigned long arg2
;
32021 PyObject
* obj0
= 0 ;
32022 PyObject
* obj1
= 0 ;
32023 char *kwnames
[] = {
32024 (char *) "parent",(char *) "_hWnd", NULL
32027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32029 if (SWIG_arg_fail(1)) SWIG_fail
;
32031 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32032 if (SWIG_arg_fail(2)) SWIG_fail
;
32035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32036 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32038 wxPyEndAllowThreads(__tstate
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32042 resultobj
= wxPyMake_wxObject(result
, 0);
32050 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32051 PyObject
*resultobj
;
32052 wxValidator
*result
;
32053 char *kwnames
[] = {
32057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32060 result
= (wxValidator
*)new wxValidator();
32062 wxPyEndAllowThreads(__tstate
);
32063 if (PyErr_Occurred()) SWIG_fail
;
32065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32072 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32073 PyObject
*resultobj
;
32074 wxValidator
*arg1
= (wxValidator
*) 0 ;
32075 wxValidator
*result
;
32076 PyObject
* obj0
= 0 ;
32077 char *kwnames
[] = {
32078 (char *) "self", NULL
32081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32083 if (SWIG_arg_fail(1)) SWIG_fail
;
32085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32086 result
= (wxValidator
*)(arg1
)->Clone();
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32092 resultobj
= wxPyMake_wxObject(result
, 0);
32100 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32101 PyObject
*resultobj
;
32102 wxValidator
*arg1
= (wxValidator
*) 0 ;
32103 wxWindow
*arg2
= (wxWindow
*) 0 ;
32105 PyObject
* obj0
= 0 ;
32106 PyObject
* obj1
= 0 ;
32107 char *kwnames
[] = {
32108 (char *) "self",(char *) "parent", NULL
32111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32113 if (SWIG_arg_fail(1)) SWIG_fail
;
32114 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32115 if (SWIG_arg_fail(2)) SWIG_fail
;
32117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32118 result
= (bool)(arg1
)->Validate(arg2
);
32120 wxPyEndAllowThreads(__tstate
);
32121 if (PyErr_Occurred()) SWIG_fail
;
32124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32132 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32133 PyObject
*resultobj
;
32134 wxValidator
*arg1
= (wxValidator
*) 0 ;
32136 PyObject
* obj0
= 0 ;
32137 char *kwnames
[] = {
32138 (char *) "self", NULL
32141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32143 if (SWIG_arg_fail(1)) SWIG_fail
;
32145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32146 result
= (bool)(arg1
)->TransferToWindow();
32148 wxPyEndAllowThreads(__tstate
);
32149 if (PyErr_Occurred()) SWIG_fail
;
32152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32160 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32161 PyObject
*resultobj
;
32162 wxValidator
*arg1
= (wxValidator
*) 0 ;
32164 PyObject
* obj0
= 0 ;
32165 char *kwnames
[] = {
32166 (char *) "self", NULL
32169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32171 if (SWIG_arg_fail(1)) SWIG_fail
;
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 result
= (bool)(arg1
)->TransferFromWindow();
32176 wxPyEndAllowThreads(__tstate
);
32177 if (PyErr_Occurred()) SWIG_fail
;
32180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32188 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32189 PyObject
*resultobj
;
32190 wxValidator
*arg1
= (wxValidator
*) 0 ;
32192 PyObject
* obj0
= 0 ;
32193 char *kwnames
[] = {
32194 (char *) "self", NULL
32197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32199 if (SWIG_arg_fail(1)) SWIG_fail
;
32201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32202 result
= (wxWindow
*)(arg1
)->GetWindow();
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32208 resultobj
= wxPyMake_wxObject(result
, 0);
32216 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32217 PyObject
*resultobj
;
32218 wxValidator
*arg1
= (wxValidator
*) 0 ;
32219 wxWindow
*arg2
= (wxWindow
*) 0 ;
32220 PyObject
* obj0
= 0 ;
32221 PyObject
* obj1
= 0 ;
32222 char *kwnames
[] = {
32223 (char *) "self",(char *) "window", NULL
32226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32228 if (SWIG_arg_fail(1)) SWIG_fail
;
32229 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32230 if (SWIG_arg_fail(2)) SWIG_fail
;
32232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32233 (arg1
)->SetWindow(arg2
);
32235 wxPyEndAllowThreads(__tstate
);
32236 if (PyErr_Occurred()) SWIG_fail
;
32238 Py_INCREF(Py_None
); resultobj
= Py_None
;
32245 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32246 PyObject
*resultobj
;
32248 char *kwnames
[] = {
32252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 result
= (bool)wxValidator::IsSilent();
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32269 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32270 PyObject
*resultobj
;
32271 int arg1
= (int) true ;
32272 PyObject
* obj0
= 0 ;
32273 char *kwnames
[] = {
32274 (char *) "doIt", NULL
32277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32280 arg1
= (int)(SWIG_As_int(obj0
));
32281 if (SWIG_arg_fail(1)) SWIG_fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32286 wxValidator::SetBellOnError(arg1
);
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 Py_INCREF(Py_None
); resultobj
= Py_None
;
32298 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32300 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32301 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32303 return Py_BuildValue((char *)"");
32305 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32306 PyObject
*resultobj
;
32307 wxPyValidator
*result
;
32308 char *kwnames
[] = {
32312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32315 result
= (wxPyValidator
*)new wxPyValidator();
32317 wxPyEndAllowThreads(__tstate
);
32318 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32327 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32328 PyObject
*resultobj
;
32329 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32330 PyObject
*arg2
= (PyObject
*) 0 ;
32331 PyObject
*arg3
= (PyObject
*) 0 ;
32332 int arg4
= (int) true ;
32333 PyObject
* obj0
= 0 ;
32334 PyObject
* obj1
= 0 ;
32335 PyObject
* obj2
= 0 ;
32336 PyObject
* obj3
= 0 ;
32337 char *kwnames
[] = {
32338 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32343 if (SWIG_arg_fail(1)) SWIG_fail
;
32348 arg4
= (int)(SWIG_As_int(obj3
));
32349 if (SWIG_arg_fail(4)) SWIG_fail
;
32353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32354 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32356 wxPyEndAllowThreads(__tstate
);
32357 if (PyErr_Occurred()) SWIG_fail
;
32359 Py_INCREF(Py_None
); resultobj
= Py_None
;
32366 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32369 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32371 return Py_BuildValue((char *)"");
32373 static int _wrap_DefaultValidator_set(PyObject
*) {
32374 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32379 static PyObject
*_wrap_DefaultValidator_get(void) {
32382 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32387 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32388 PyObject
*resultobj
;
32389 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32390 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32391 long arg2
= (long) 0 ;
32393 bool temp1
= false ;
32394 PyObject
* obj0
= 0 ;
32395 PyObject
* obj1
= 0 ;
32396 char *kwnames
[] = {
32397 (char *) "title",(char *) "style", NULL
32400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32403 arg1
= wxString_in_helper(obj0
);
32404 if (arg1
== NULL
) SWIG_fail
;
32410 arg2
= (long)(SWIG_As_long(obj1
));
32411 if (SWIG_arg_fail(2)) SWIG_fail
;
32415 if (!wxPyCheckForApp()) SWIG_fail
;
32416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32417 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32419 wxPyEndAllowThreads(__tstate
);
32420 if (PyErr_Occurred()) SWIG_fail
;
32422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32437 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32438 PyObject
*resultobj
;
32439 wxMenu
*arg1
= (wxMenu
*) 0 ;
32441 wxString
*arg3
= 0 ;
32442 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32443 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32444 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32445 wxMenuItem
*result
;
32446 bool temp3
= false ;
32447 bool temp4
= false ;
32448 PyObject
* obj0
= 0 ;
32449 PyObject
* obj1
= 0 ;
32450 PyObject
* obj2
= 0 ;
32451 PyObject
* obj3
= 0 ;
32452 PyObject
* obj4
= 0 ;
32453 char *kwnames
[] = {
32454 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32459 if (SWIG_arg_fail(1)) SWIG_fail
;
32461 arg2
= (int)(SWIG_As_int(obj1
));
32462 if (SWIG_arg_fail(2)) SWIG_fail
;
32465 arg3
= wxString_in_helper(obj2
);
32466 if (arg3
== NULL
) SWIG_fail
;
32471 arg4
= wxString_in_helper(obj3
);
32472 if (arg4
== NULL
) SWIG_fail
;
32478 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32479 if (SWIG_arg_fail(5)) SWIG_fail
;
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32486 wxPyEndAllowThreads(__tstate
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32490 resultobj
= wxPyMake_wxObject(result
, 0);
32514 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
;
32516 wxMenu
*arg1
= (wxMenu
*) 0 ;
32517 wxMenuItem
*result
;
32518 PyObject
* obj0
= 0 ;
32519 char *kwnames
[] = {
32520 (char *) "self", NULL
32523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32525 if (SWIG_arg_fail(1)) SWIG_fail
;
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32534 resultobj
= wxPyMake_wxObject(result
, 0);
32542 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32543 PyObject
*resultobj
;
32544 wxMenu
*arg1
= (wxMenu
*) 0 ;
32546 wxString
*arg3
= 0 ;
32547 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32548 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32549 wxMenuItem
*result
;
32550 bool temp3
= false ;
32551 bool temp4
= false ;
32552 PyObject
* obj0
= 0 ;
32553 PyObject
* obj1
= 0 ;
32554 PyObject
* obj2
= 0 ;
32555 PyObject
* obj3
= 0 ;
32556 char *kwnames
[] = {
32557 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32562 if (SWIG_arg_fail(1)) SWIG_fail
;
32564 arg2
= (int)(SWIG_As_int(obj1
));
32565 if (SWIG_arg_fail(2)) SWIG_fail
;
32568 arg3
= wxString_in_helper(obj2
);
32569 if (arg3
== NULL
) SWIG_fail
;
32574 arg4
= wxString_in_helper(obj3
);
32575 if (arg4
== NULL
) SWIG_fail
;
32580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32581 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32583 wxPyEndAllowThreads(__tstate
);
32584 if (PyErr_Occurred()) SWIG_fail
;
32587 resultobj
= wxPyMake_wxObject(result
, 0);
32611 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32612 PyObject
*resultobj
;
32613 wxMenu
*arg1
= (wxMenu
*) 0 ;
32615 wxString
*arg3
= 0 ;
32616 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32617 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32618 wxMenuItem
*result
;
32619 bool temp3
= false ;
32620 bool temp4
= false ;
32621 PyObject
* obj0
= 0 ;
32622 PyObject
* obj1
= 0 ;
32623 PyObject
* obj2
= 0 ;
32624 PyObject
* obj3
= 0 ;
32625 char *kwnames
[] = {
32626 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32631 if (SWIG_arg_fail(1)) SWIG_fail
;
32633 arg2
= (int)(SWIG_As_int(obj1
));
32634 if (SWIG_arg_fail(2)) SWIG_fail
;
32637 arg3
= wxString_in_helper(obj2
);
32638 if (arg3
== NULL
) SWIG_fail
;
32643 arg4
= wxString_in_helper(obj3
);
32644 if (arg4
== NULL
) SWIG_fail
;
32649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32650 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32656 resultobj
= wxPyMake_wxObject(result
, 0);
32680 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32681 PyObject
*resultobj
;
32682 wxMenu
*arg1
= (wxMenu
*) 0 ;
32684 wxString
*arg3
= 0 ;
32685 wxMenu
*arg4
= (wxMenu
*) 0 ;
32686 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32687 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32688 wxMenuItem
*result
;
32689 bool temp3
= false ;
32690 bool temp5
= false ;
32691 PyObject
* obj0
= 0 ;
32692 PyObject
* obj1
= 0 ;
32693 PyObject
* obj2
= 0 ;
32694 PyObject
* obj3
= 0 ;
32695 PyObject
* obj4
= 0 ;
32696 char *kwnames
[] = {
32697 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
32700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32702 if (SWIG_arg_fail(1)) SWIG_fail
;
32704 arg2
= (int)(SWIG_As_int(obj1
));
32705 if (SWIG_arg_fail(2)) SWIG_fail
;
32708 arg3
= wxString_in_helper(obj2
);
32709 if (arg3
== NULL
) SWIG_fail
;
32712 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32713 if (SWIG_arg_fail(4)) SWIG_fail
;
32716 arg5
= wxString_in_helper(obj4
);
32717 if (arg5
== NULL
) SWIG_fail
;
32722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32723 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
32725 wxPyEndAllowThreads(__tstate
);
32726 if (PyErr_Occurred()) SWIG_fail
;
32729 resultobj
= wxPyMake_wxObject(result
, 0);
32753 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32754 PyObject
*resultobj
;
32755 wxMenu
*arg1
= (wxMenu
*) 0 ;
32756 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
32757 wxMenuItem
*result
;
32758 PyObject
* obj0
= 0 ;
32759 PyObject
* obj1
= 0 ;
32760 char *kwnames
[] = {
32761 (char *) "self",(char *) "item", NULL
32764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32766 if (SWIG_arg_fail(1)) SWIG_fail
;
32767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32768 if (SWIG_arg_fail(2)) SWIG_fail
;
32770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32771 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32777 resultobj
= wxPyMake_wxObject(result
, 0);
32785 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32786 PyObject
*resultobj
;
32787 wxMenu
*arg1
= (wxMenu
*) 0 ;
32788 PyObject
* obj0
= 0 ;
32789 char *kwnames
[] = {
32790 (char *) "self", NULL
32793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
32794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32795 if (SWIG_arg_fail(1)) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32800 wxPyEndAllowThreads(__tstate
);
32801 if (PyErr_Occurred()) SWIG_fail
;
32803 Py_INCREF(Py_None
); resultobj
= Py_None
;
32810 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32811 PyObject
*resultobj
;
32812 wxMenu
*arg1
= (wxMenu
*) 0 ;
32814 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
32815 wxMenuItem
*result
;
32816 PyObject
* obj0
= 0 ;
32817 PyObject
* obj1
= 0 ;
32818 PyObject
* obj2
= 0 ;
32819 char *kwnames
[] = {
32820 (char *) "self",(char *) "pos",(char *) "item", NULL
32823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32825 if (SWIG_arg_fail(1)) SWIG_fail
;
32827 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32828 if (SWIG_arg_fail(2)) SWIG_fail
;
32830 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
32831 if (SWIG_arg_fail(3)) SWIG_fail
;
32833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32834 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
32836 wxPyEndAllowThreads(__tstate
);
32837 if (PyErr_Occurred()) SWIG_fail
;
32840 resultobj
= wxPyMake_wxObject(result
, 0);
32848 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32849 PyObject
*resultobj
;
32850 wxMenu
*arg1
= (wxMenu
*) 0 ;
32853 wxString
*arg4
= 0 ;
32854 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32855 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32856 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
32857 wxMenuItem
*result
;
32858 bool temp4
= false ;
32859 bool temp5
= false ;
32860 PyObject
* obj0
= 0 ;
32861 PyObject
* obj1
= 0 ;
32862 PyObject
* obj2
= 0 ;
32863 PyObject
* obj3
= 0 ;
32864 PyObject
* obj4
= 0 ;
32865 PyObject
* obj5
= 0 ;
32866 char *kwnames
[] = {
32867 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32872 if (SWIG_arg_fail(1)) SWIG_fail
;
32874 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32875 if (SWIG_arg_fail(2)) SWIG_fail
;
32878 arg3
= (int)(SWIG_As_int(obj2
));
32879 if (SWIG_arg_fail(3)) SWIG_fail
;
32882 arg4
= wxString_in_helper(obj3
);
32883 if (arg4
== NULL
) SWIG_fail
;
32888 arg5
= wxString_in_helper(obj4
);
32889 if (arg5
== NULL
) SWIG_fail
;
32895 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
32896 if (SWIG_arg_fail(6)) SWIG_fail
;
32900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32901 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
32903 wxPyEndAllowThreads(__tstate
);
32904 if (PyErr_Occurred()) SWIG_fail
;
32907 resultobj
= wxPyMake_wxObject(result
, 0);
32931 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32932 PyObject
*resultobj
;
32933 wxMenu
*arg1
= (wxMenu
*) 0 ;
32935 wxMenuItem
*result
;
32936 PyObject
* obj0
= 0 ;
32937 PyObject
* obj1
= 0 ;
32938 char *kwnames
[] = {
32939 (char *) "self",(char *) "pos", NULL
32942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
32943 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32944 if (SWIG_arg_fail(1)) SWIG_fail
;
32946 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32947 if (SWIG_arg_fail(2)) SWIG_fail
;
32950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32951 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
32953 wxPyEndAllowThreads(__tstate
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32957 resultobj
= wxPyMake_wxObject(result
, 0);
32965 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32966 PyObject
*resultobj
;
32967 wxMenu
*arg1
= (wxMenu
*) 0 ;
32970 wxString
*arg4
= 0 ;
32971 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32972 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32973 wxMenuItem
*result
;
32974 bool temp4
= false ;
32975 bool temp5
= false ;
32976 PyObject
* obj0
= 0 ;
32977 PyObject
* obj1
= 0 ;
32978 PyObject
* obj2
= 0 ;
32979 PyObject
* obj3
= 0 ;
32980 PyObject
* obj4
= 0 ;
32981 char *kwnames
[] = {
32982 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
32985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32987 if (SWIG_arg_fail(1)) SWIG_fail
;
32989 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
32990 if (SWIG_arg_fail(2)) SWIG_fail
;
32993 arg3
= (int)(SWIG_As_int(obj2
));
32994 if (SWIG_arg_fail(3)) SWIG_fail
;
32997 arg4
= wxString_in_helper(obj3
);
32998 if (arg4
== NULL
) SWIG_fail
;
33003 arg5
= wxString_in_helper(obj4
);
33004 if (arg5
== NULL
) SWIG_fail
;
33009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33010 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33012 wxPyEndAllowThreads(__tstate
);
33013 if (PyErr_Occurred()) SWIG_fail
;
33016 resultobj
= wxPyMake_wxObject(result
, 0);
33040 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33041 PyObject
*resultobj
;
33042 wxMenu
*arg1
= (wxMenu
*) 0 ;
33045 wxString
*arg4
= 0 ;
33046 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33047 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33048 wxMenuItem
*result
;
33049 bool temp4
= false ;
33050 bool temp5
= false ;
33051 PyObject
* obj0
= 0 ;
33052 PyObject
* obj1
= 0 ;
33053 PyObject
* obj2
= 0 ;
33054 PyObject
* obj3
= 0 ;
33055 PyObject
* obj4
= 0 ;
33056 char *kwnames
[] = {
33057 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33062 if (SWIG_arg_fail(1)) SWIG_fail
;
33064 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33065 if (SWIG_arg_fail(2)) SWIG_fail
;
33068 arg3
= (int)(SWIG_As_int(obj2
));
33069 if (SWIG_arg_fail(3)) SWIG_fail
;
33072 arg4
= wxString_in_helper(obj3
);
33073 if (arg4
== NULL
) SWIG_fail
;
33078 arg5
= wxString_in_helper(obj4
);
33079 if (arg5
== NULL
) SWIG_fail
;
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33087 wxPyEndAllowThreads(__tstate
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33091 resultobj
= wxPyMake_wxObject(result
, 0);
33115 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33116 PyObject
*resultobj
;
33117 wxMenu
*arg1
= (wxMenu
*) 0 ;
33120 wxString
*arg4
= 0 ;
33121 wxMenu
*arg5
= (wxMenu
*) 0 ;
33122 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33123 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33124 wxMenuItem
*result
;
33125 bool temp4
= false ;
33126 bool temp6
= false ;
33127 PyObject
* obj0
= 0 ;
33128 PyObject
* obj1
= 0 ;
33129 PyObject
* obj2
= 0 ;
33130 PyObject
* obj3
= 0 ;
33131 PyObject
* obj4
= 0 ;
33132 PyObject
* obj5
= 0 ;
33133 char *kwnames
[] = {
33134 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33139 if (SWIG_arg_fail(1)) SWIG_fail
;
33141 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33142 if (SWIG_arg_fail(2)) SWIG_fail
;
33145 arg3
= (int)(SWIG_As_int(obj2
));
33146 if (SWIG_arg_fail(3)) SWIG_fail
;
33149 arg4
= wxString_in_helper(obj3
);
33150 if (arg4
== NULL
) SWIG_fail
;
33153 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33154 if (SWIG_arg_fail(5)) SWIG_fail
;
33157 arg6
= wxString_in_helper(obj5
);
33158 if (arg6
== NULL
) SWIG_fail
;
33163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33164 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33166 wxPyEndAllowThreads(__tstate
);
33167 if (PyErr_Occurred()) SWIG_fail
;
33170 resultobj
= wxPyMake_wxObject(result
, 0);
33194 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
;
33196 wxMenu
*arg1
= (wxMenu
*) 0 ;
33197 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33198 wxMenuItem
*result
;
33199 PyObject
* obj0
= 0 ;
33200 PyObject
* obj1
= 0 ;
33201 char *kwnames
[] = {
33202 (char *) "self",(char *) "item", NULL
33205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33207 if (SWIG_arg_fail(1)) SWIG_fail
;
33208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33209 if (SWIG_arg_fail(2)) SWIG_fail
;
33211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33212 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33214 wxPyEndAllowThreads(__tstate
);
33215 if (PyErr_Occurred()) SWIG_fail
;
33218 resultobj
= wxPyMake_wxObject(result
, 0);
33226 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33227 PyObject
*resultobj
;
33228 wxMenu
*arg1
= (wxMenu
*) 0 ;
33230 wxString
*arg3
= 0 ;
33231 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33232 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33233 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33234 wxMenuItem
*result
;
33235 bool temp3
= false ;
33236 bool temp4
= false ;
33237 PyObject
* obj0
= 0 ;
33238 PyObject
* obj1
= 0 ;
33239 PyObject
* obj2
= 0 ;
33240 PyObject
* obj3
= 0 ;
33241 PyObject
* obj4
= 0 ;
33242 char *kwnames
[] = {
33243 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33248 if (SWIG_arg_fail(1)) SWIG_fail
;
33250 arg2
= (int)(SWIG_As_int(obj1
));
33251 if (SWIG_arg_fail(2)) SWIG_fail
;
33254 arg3
= wxString_in_helper(obj2
);
33255 if (arg3
== NULL
) SWIG_fail
;
33260 arg4
= wxString_in_helper(obj3
);
33261 if (arg4
== NULL
) SWIG_fail
;
33267 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33268 if (SWIG_arg_fail(5)) SWIG_fail
;
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33273 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33275 wxPyEndAllowThreads(__tstate
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33279 resultobj
= wxPyMake_wxObject(result
, 0);
33303 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33304 PyObject
*resultobj
;
33305 wxMenu
*arg1
= (wxMenu
*) 0 ;
33306 wxMenuItem
*result
;
33307 PyObject
* obj0
= 0 ;
33308 char *kwnames
[] = {
33309 (char *) "self", NULL
33312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33314 if (SWIG_arg_fail(1)) SWIG_fail
;
33316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33317 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33319 wxPyEndAllowThreads(__tstate
);
33320 if (PyErr_Occurred()) SWIG_fail
;
33323 resultobj
= wxPyMake_wxObject(result
, 0);
33331 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33332 PyObject
*resultobj
;
33333 wxMenu
*arg1
= (wxMenu
*) 0 ;
33335 wxString
*arg3
= 0 ;
33336 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33337 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33338 wxMenuItem
*result
;
33339 bool temp3
= false ;
33340 bool temp4
= false ;
33341 PyObject
* obj0
= 0 ;
33342 PyObject
* obj1
= 0 ;
33343 PyObject
* obj2
= 0 ;
33344 PyObject
* obj3
= 0 ;
33345 char *kwnames
[] = {
33346 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33351 if (SWIG_arg_fail(1)) SWIG_fail
;
33353 arg2
= (int)(SWIG_As_int(obj1
));
33354 if (SWIG_arg_fail(2)) SWIG_fail
;
33357 arg3
= wxString_in_helper(obj2
);
33358 if (arg3
== NULL
) SWIG_fail
;
33363 arg4
= wxString_in_helper(obj3
);
33364 if (arg4
== NULL
) SWIG_fail
;
33369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33370 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33372 wxPyEndAllowThreads(__tstate
);
33373 if (PyErr_Occurred()) SWIG_fail
;
33376 resultobj
= wxPyMake_wxObject(result
, 0);
33400 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33401 PyObject
*resultobj
;
33402 wxMenu
*arg1
= (wxMenu
*) 0 ;
33404 wxString
*arg3
= 0 ;
33405 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33406 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33407 wxMenuItem
*result
;
33408 bool temp3
= false ;
33409 bool temp4
= false ;
33410 PyObject
* obj0
= 0 ;
33411 PyObject
* obj1
= 0 ;
33412 PyObject
* obj2
= 0 ;
33413 PyObject
* obj3
= 0 ;
33414 char *kwnames
[] = {
33415 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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 arg3
= wxString_in_helper(obj2
);
33427 if (arg3
== NULL
) SWIG_fail
;
33432 arg4
= wxString_in_helper(obj3
);
33433 if (arg4
== NULL
) SWIG_fail
;
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33439 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33441 wxPyEndAllowThreads(__tstate
);
33442 if (PyErr_Occurred()) SWIG_fail
;
33445 resultobj
= wxPyMake_wxObject(result
, 0);
33469 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33470 PyObject
*resultobj
;
33471 wxMenu
*arg1
= (wxMenu
*) 0 ;
33473 wxString
*arg3
= 0 ;
33474 wxMenu
*arg4
= (wxMenu
*) 0 ;
33475 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33476 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33477 wxMenuItem
*result
;
33478 bool temp3
= false ;
33479 bool temp5
= false ;
33480 PyObject
* obj0
= 0 ;
33481 PyObject
* obj1
= 0 ;
33482 PyObject
* obj2
= 0 ;
33483 PyObject
* obj3
= 0 ;
33484 PyObject
* obj4
= 0 ;
33485 char *kwnames
[] = {
33486 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33491 if (SWIG_arg_fail(1)) SWIG_fail
;
33493 arg2
= (int)(SWIG_As_int(obj1
));
33494 if (SWIG_arg_fail(2)) SWIG_fail
;
33497 arg3
= wxString_in_helper(obj2
);
33498 if (arg3
== NULL
) SWIG_fail
;
33501 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33502 if (SWIG_arg_fail(4)) SWIG_fail
;
33505 arg5
= wxString_in_helper(obj4
);
33506 if (arg5
== NULL
) SWIG_fail
;
33511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33512 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33514 wxPyEndAllowThreads(__tstate
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33518 resultobj
= wxPyMake_wxObject(result
, 0);
33542 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33543 PyObject
*resultobj
;
33544 wxMenu
*arg1
= (wxMenu
*) 0 ;
33546 wxMenuItem
*result
;
33547 PyObject
* obj0
= 0 ;
33548 PyObject
* obj1
= 0 ;
33549 char *kwnames
[] = {
33550 (char *) "self",(char *) "id", NULL
33553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33555 if (SWIG_arg_fail(1)) SWIG_fail
;
33557 arg2
= (int)(SWIG_As_int(obj1
));
33558 if (SWIG_arg_fail(2)) SWIG_fail
;
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33568 resultobj
= wxPyMake_wxObject(result
, 0);
33576 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33577 PyObject
*resultobj
;
33578 wxMenu
*arg1
= (wxMenu
*) 0 ;
33579 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33580 wxMenuItem
*result
;
33581 PyObject
* obj0
= 0 ;
33582 PyObject
* obj1
= 0 ;
33583 char *kwnames
[] = {
33584 (char *) "self",(char *) "item", NULL
33587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33589 if (SWIG_arg_fail(1)) SWIG_fail
;
33590 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33591 if (SWIG_arg_fail(2)) SWIG_fail
;
33593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33596 wxPyEndAllowThreads(__tstate
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33600 resultobj
= wxPyMake_wxObject(result
, 0);
33608 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33609 PyObject
*resultobj
;
33610 wxMenu
*arg1
= (wxMenu
*) 0 ;
33613 PyObject
* obj0
= 0 ;
33614 PyObject
* obj1
= 0 ;
33615 char *kwnames
[] = {
33616 (char *) "self",(char *) "id", NULL
33619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33621 if (SWIG_arg_fail(1)) SWIG_fail
;
33623 arg2
= (int)(SWIG_As_int(obj1
));
33624 if (SWIG_arg_fail(2)) SWIG_fail
;
33627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33628 result
= (bool)(arg1
)->Delete(arg2
);
33630 wxPyEndAllowThreads(__tstate
);
33631 if (PyErr_Occurred()) SWIG_fail
;
33634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33642 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33643 PyObject
*resultobj
;
33644 wxMenu
*arg1
= (wxMenu
*) 0 ;
33645 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33647 PyObject
* obj0
= 0 ;
33648 PyObject
* obj1
= 0 ;
33649 char *kwnames
[] = {
33650 (char *) "self",(char *) "item", NULL
33653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33655 if (SWIG_arg_fail(1)) SWIG_fail
;
33656 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33657 if (SWIG_arg_fail(2)) SWIG_fail
;
33659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33660 result
= (bool)(arg1
)->Delete(arg2
);
33662 wxPyEndAllowThreads(__tstate
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33674 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33675 PyObject
*resultobj
;
33676 wxMenu
*arg1
= (wxMenu
*) 0 ;
33677 PyObject
* obj0
= 0 ;
33678 char *kwnames
[] = {
33679 (char *) "self", NULL
33682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33684 if (SWIG_arg_fail(1)) SWIG_fail
;
33686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33687 wxMenu_Destroy(arg1
);
33689 wxPyEndAllowThreads(__tstate
);
33690 if (PyErr_Occurred()) SWIG_fail
;
33692 Py_INCREF(Py_None
); resultobj
= Py_None
;
33699 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33700 PyObject
*resultobj
;
33701 wxMenu
*arg1
= (wxMenu
*) 0 ;
33704 PyObject
* obj0
= 0 ;
33705 PyObject
* obj1
= 0 ;
33706 char *kwnames
[] = {
33707 (char *) "self",(char *) "id", NULL
33710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
33711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33712 if (SWIG_arg_fail(1)) SWIG_fail
;
33714 arg2
= (int)(SWIG_As_int(obj1
));
33715 if (SWIG_arg_fail(2)) SWIG_fail
;
33718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33719 result
= (bool)(arg1
)->Destroy(arg2
);
33721 wxPyEndAllowThreads(__tstate
);
33722 if (PyErr_Occurred()) SWIG_fail
;
33725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33733 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33734 PyObject
*resultobj
;
33735 wxMenu
*arg1
= (wxMenu
*) 0 ;
33736 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33738 PyObject
* obj0
= 0 ;
33739 PyObject
* obj1
= 0 ;
33740 char *kwnames
[] = {
33741 (char *) "self",(char *) "item", NULL
33744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33746 if (SWIG_arg_fail(1)) SWIG_fail
;
33747 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33748 if (SWIG_arg_fail(2)) SWIG_fail
;
33750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33751 result
= (bool)(arg1
)->Destroy(arg2
);
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33765 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33766 PyObject
*resultobj
;
33767 wxMenu
*arg1
= (wxMenu
*) 0 ;
33769 PyObject
* obj0
= 0 ;
33770 char *kwnames
[] = {
33771 (char *) "self", NULL
33774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
33775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33776 if (SWIG_arg_fail(1)) SWIG_fail
;
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33779 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
33781 wxPyEndAllowThreads(__tstate
);
33782 if (PyErr_Occurred()) SWIG_fail
;
33785 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
33793 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33794 PyObject
*resultobj
;
33795 wxMenu
*arg1
= (wxMenu
*) 0 ;
33797 PyObject
* obj0
= 0 ;
33798 char *kwnames
[] = {
33799 (char *) "self", NULL
33802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
33803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33804 if (SWIG_arg_fail(1)) SWIG_fail
;
33806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33807 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
33809 wxPyEndAllowThreads(__tstate
);
33810 if (PyErr_Occurred()) SWIG_fail
;
33812 resultobj
= result
;
33819 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33820 PyObject
*resultobj
;
33821 wxMenu
*arg1
= (wxMenu
*) 0 ;
33822 wxString
*arg2
= 0 ;
33824 bool temp2
= false ;
33825 PyObject
* obj0
= 0 ;
33826 PyObject
* obj1
= 0 ;
33827 char *kwnames
[] = {
33828 (char *) "self",(char *) "item", NULL
33831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33833 if (SWIG_arg_fail(1)) SWIG_fail
;
33835 arg2
= wxString_in_helper(obj1
);
33836 if (arg2
== NULL
) SWIG_fail
;
33840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33841 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
33843 wxPyEndAllowThreads(__tstate
);
33844 if (PyErr_Occurred()) SWIG_fail
;
33847 resultobj
= SWIG_From_int((int)(result
));
33863 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33864 PyObject
*resultobj
;
33865 wxMenu
*arg1
= (wxMenu
*) 0 ;
33867 wxMenuItem
*result
;
33868 PyObject
* obj0
= 0 ;
33869 PyObject
* obj1
= 0 ;
33870 char *kwnames
[] = {
33871 (char *) "self",(char *) "id", NULL
33874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
33875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33876 if (SWIG_arg_fail(1)) SWIG_fail
;
33878 arg2
= (int)(SWIG_As_int(obj1
));
33879 if (SWIG_arg_fail(2)) SWIG_fail
;
33882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33883 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
33885 wxPyEndAllowThreads(__tstate
);
33886 if (PyErr_Occurred()) SWIG_fail
;
33889 resultobj
= wxPyMake_wxObject(result
, 0);
33897 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33898 PyObject
*resultobj
;
33899 wxMenu
*arg1
= (wxMenu
*) 0 ;
33901 wxMenuItem
*result
;
33902 PyObject
* obj0
= 0 ;
33903 PyObject
* obj1
= 0 ;
33904 char *kwnames
[] = {
33905 (char *) "self",(char *) "position", NULL
33908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33910 if (SWIG_arg_fail(1)) SWIG_fail
;
33912 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33913 if (SWIG_arg_fail(2)) SWIG_fail
;
33916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33917 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
33919 wxPyEndAllowThreads(__tstate
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33923 resultobj
= wxPyMake_wxObject(result
, 0);
33931 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33932 PyObject
*resultobj
;
33933 wxMenu
*arg1
= (wxMenu
*) 0 ;
33936 PyObject
* obj0
= 0 ;
33937 PyObject
* obj1
= 0 ;
33938 PyObject
* obj2
= 0 ;
33939 char *kwnames
[] = {
33940 (char *) "self",(char *) "id",(char *) "enable", NULL
33943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33945 if (SWIG_arg_fail(1)) SWIG_fail
;
33947 arg2
= (int)(SWIG_As_int(obj1
));
33948 if (SWIG_arg_fail(2)) SWIG_fail
;
33951 arg3
= (bool)(SWIG_As_bool(obj2
));
33952 if (SWIG_arg_fail(3)) SWIG_fail
;
33955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33956 (arg1
)->Enable(arg2
,arg3
);
33958 wxPyEndAllowThreads(__tstate
);
33959 if (PyErr_Occurred()) SWIG_fail
;
33961 Py_INCREF(Py_None
); resultobj
= Py_None
;
33968 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33969 PyObject
*resultobj
;
33970 wxMenu
*arg1
= (wxMenu
*) 0 ;
33973 PyObject
* obj0
= 0 ;
33974 PyObject
* obj1
= 0 ;
33975 char *kwnames
[] = {
33976 (char *) "self",(char *) "id", NULL
33979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
33980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33981 if (SWIG_arg_fail(1)) SWIG_fail
;
33983 arg2
= (int)(SWIG_As_int(obj1
));
33984 if (SWIG_arg_fail(2)) SWIG_fail
;
33987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33988 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
33990 wxPyEndAllowThreads(__tstate
);
33991 if (PyErr_Occurred()) SWIG_fail
;
33994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34002 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34003 PyObject
*resultobj
;
34004 wxMenu
*arg1
= (wxMenu
*) 0 ;
34007 PyObject
* obj0
= 0 ;
34008 PyObject
* obj1
= 0 ;
34009 PyObject
* obj2
= 0 ;
34010 char *kwnames
[] = {
34011 (char *) "self",(char *) "id",(char *) "check", NULL
34014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34016 if (SWIG_arg_fail(1)) SWIG_fail
;
34018 arg2
= (int)(SWIG_As_int(obj1
));
34019 if (SWIG_arg_fail(2)) SWIG_fail
;
34022 arg3
= (bool)(SWIG_As_bool(obj2
));
34023 if (SWIG_arg_fail(3)) SWIG_fail
;
34026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34027 (arg1
)->Check(arg2
,arg3
);
34029 wxPyEndAllowThreads(__tstate
);
34030 if (PyErr_Occurred()) SWIG_fail
;
34032 Py_INCREF(Py_None
); resultobj
= Py_None
;
34039 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34040 PyObject
*resultobj
;
34041 wxMenu
*arg1
= (wxMenu
*) 0 ;
34044 PyObject
* obj0
= 0 ;
34045 PyObject
* obj1
= 0 ;
34046 char *kwnames
[] = {
34047 (char *) "self",(char *) "id", NULL
34050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34052 if (SWIG_arg_fail(1)) SWIG_fail
;
34054 arg2
= (int)(SWIG_As_int(obj1
));
34055 if (SWIG_arg_fail(2)) SWIG_fail
;
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34073 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
;
34075 wxMenu
*arg1
= (wxMenu
*) 0 ;
34077 wxString
*arg3
= 0 ;
34078 bool temp3
= false ;
34079 PyObject
* obj0
= 0 ;
34080 PyObject
* obj1
= 0 ;
34081 PyObject
* obj2
= 0 ;
34082 char *kwnames
[] = {
34083 (char *) "self",(char *) "id",(char *) "label", NULL
34086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34088 if (SWIG_arg_fail(1)) SWIG_fail
;
34090 arg2
= (int)(SWIG_As_int(obj1
));
34091 if (SWIG_arg_fail(2)) SWIG_fail
;
34094 arg3
= wxString_in_helper(obj2
);
34095 if (arg3
== NULL
) SWIG_fail
;
34099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34100 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34102 wxPyEndAllowThreads(__tstate
);
34103 if (PyErr_Occurred()) SWIG_fail
;
34105 Py_INCREF(Py_None
); resultobj
= Py_None
;
34120 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34121 PyObject
*resultobj
;
34122 wxMenu
*arg1
= (wxMenu
*) 0 ;
34125 PyObject
* obj0
= 0 ;
34126 PyObject
* obj1
= 0 ;
34127 char *kwnames
[] = {
34128 (char *) "self",(char *) "id", NULL
34131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
34132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34133 if (SWIG_arg_fail(1)) SWIG_fail
;
34135 arg2
= (int)(SWIG_As_int(obj1
));
34136 if (SWIG_arg_fail(2)) SWIG_fail
;
34139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34140 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34142 wxPyEndAllowThreads(__tstate
);
34143 if (PyErr_Occurred()) SWIG_fail
;
34147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34158 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
;
34160 wxMenu
*arg1
= (wxMenu
*) 0 ;
34162 wxString
*arg3
= 0 ;
34163 bool temp3
= false ;
34164 PyObject
* obj0
= 0 ;
34165 PyObject
* obj1
= 0 ;
34166 PyObject
* obj2
= 0 ;
34167 char *kwnames
[] = {
34168 (char *) "self",(char *) "id",(char *) "helpString", NULL
34171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34173 if (SWIG_arg_fail(1)) SWIG_fail
;
34175 arg2
= (int)(SWIG_As_int(obj1
));
34176 if (SWIG_arg_fail(2)) SWIG_fail
;
34179 arg3
= wxString_in_helper(obj2
);
34180 if (arg3
== NULL
) SWIG_fail
;
34184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34185 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34187 wxPyEndAllowThreads(__tstate
);
34188 if (PyErr_Occurred()) SWIG_fail
;
34190 Py_INCREF(Py_None
); resultobj
= Py_None
;
34205 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34206 PyObject
*resultobj
;
34207 wxMenu
*arg1
= (wxMenu
*) 0 ;
34210 PyObject
* obj0
= 0 ;
34211 PyObject
* obj1
= 0 ;
34212 char *kwnames
[] = {
34213 (char *) "self",(char *) "id", NULL
34216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34218 if (SWIG_arg_fail(1)) SWIG_fail
;
34220 arg2
= (int)(SWIG_As_int(obj1
));
34221 if (SWIG_arg_fail(2)) SWIG_fail
;
34224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34225 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34227 wxPyEndAllowThreads(__tstate
);
34228 if (PyErr_Occurred()) SWIG_fail
;
34232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34243 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34244 PyObject
*resultobj
;
34245 wxMenu
*arg1
= (wxMenu
*) 0 ;
34246 wxString
*arg2
= 0 ;
34247 bool temp2
= false ;
34248 PyObject
* obj0
= 0 ;
34249 PyObject
* obj1
= 0 ;
34250 char *kwnames
[] = {
34251 (char *) "self",(char *) "title", NULL
34254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34256 if (SWIG_arg_fail(1)) SWIG_fail
;
34258 arg2
= wxString_in_helper(obj1
);
34259 if (arg2
== NULL
) SWIG_fail
;
34263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34264 (arg1
)->SetTitle((wxString
const &)*arg2
);
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34269 Py_INCREF(Py_None
); resultobj
= Py_None
;
34284 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34285 PyObject
*resultobj
;
34286 wxMenu
*arg1
= (wxMenu
*) 0 ;
34288 PyObject
* obj0
= 0 ;
34289 char *kwnames
[] = {
34290 (char *) "self", NULL
34293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34295 if (SWIG_arg_fail(1)) SWIG_fail
;
34297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34298 result
= ((wxMenu
const *)arg1
)->GetTitle();
34300 wxPyEndAllowThreads(__tstate
);
34301 if (PyErr_Occurred()) SWIG_fail
;
34305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34316 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34317 PyObject
*resultobj
;
34318 wxMenu
*arg1
= (wxMenu
*) 0 ;
34319 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34320 PyObject
* obj0
= 0 ;
34321 PyObject
* obj1
= 0 ;
34322 char *kwnames
[] = {
34323 (char *) "self",(char *) "handler", NULL
34326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34328 if (SWIG_arg_fail(1)) SWIG_fail
;
34329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34330 if (SWIG_arg_fail(2)) SWIG_fail
;
34332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34333 (arg1
)->SetEventHandler(arg2
);
34335 wxPyEndAllowThreads(__tstate
);
34336 if (PyErr_Occurred()) SWIG_fail
;
34338 Py_INCREF(Py_None
); resultobj
= Py_None
;
34345 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34346 PyObject
*resultobj
;
34347 wxMenu
*arg1
= (wxMenu
*) 0 ;
34348 wxEvtHandler
*result
;
34349 PyObject
* obj0
= 0 ;
34350 char *kwnames
[] = {
34351 (char *) "self", NULL
34354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34356 if (SWIG_arg_fail(1)) SWIG_fail
;
34358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34359 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34361 wxPyEndAllowThreads(__tstate
);
34362 if (PyErr_Occurred()) SWIG_fail
;
34365 resultobj
= wxPyMake_wxObject(result
, 0);
34373 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34374 PyObject
*resultobj
;
34375 wxMenu
*arg1
= (wxMenu
*) 0 ;
34376 wxWindow
*arg2
= (wxWindow
*) 0 ;
34377 PyObject
* obj0
= 0 ;
34378 PyObject
* obj1
= 0 ;
34379 char *kwnames
[] = {
34380 (char *) "self",(char *) "win", NULL
34383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34385 if (SWIG_arg_fail(1)) SWIG_fail
;
34386 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34387 if (SWIG_arg_fail(2)) SWIG_fail
;
34389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34390 (arg1
)->SetInvokingWindow(arg2
);
34392 wxPyEndAllowThreads(__tstate
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34395 Py_INCREF(Py_None
); resultobj
= Py_None
;
34402 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34403 PyObject
*resultobj
;
34404 wxMenu
*arg1
= (wxMenu
*) 0 ;
34406 PyObject
* obj0
= 0 ;
34407 char *kwnames
[] = {
34408 (char *) "self", NULL
34411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34413 if (SWIG_arg_fail(1)) SWIG_fail
;
34415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34418 wxPyEndAllowThreads(__tstate
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34422 resultobj
= wxPyMake_wxObject(result
, 0);
34430 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34431 PyObject
*resultobj
;
34432 wxMenu
*arg1
= (wxMenu
*) 0 ;
34434 PyObject
* obj0
= 0 ;
34435 char *kwnames
[] = {
34436 (char *) "self", NULL
34439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34441 if (SWIG_arg_fail(1)) SWIG_fail
;
34443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34444 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34446 wxPyEndAllowThreads(__tstate
);
34447 if (PyErr_Occurred()) SWIG_fail
;
34450 resultobj
= SWIG_From_long((long)(result
));
34458 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34459 PyObject
*resultobj
;
34460 wxMenu
*arg1
= (wxMenu
*) 0 ;
34461 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34462 PyObject
* obj0
= 0 ;
34463 PyObject
* obj1
= 0 ;
34464 char *kwnames
[] = {
34465 (char *) "self",(char *) "source", NULL
34468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34470 if (SWIG_arg_fail(1)) SWIG_fail
;
34472 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34473 if (SWIG_arg_fail(2)) SWIG_fail
;
34476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34477 (arg1
)->UpdateUI(arg2
);
34479 wxPyEndAllowThreads(__tstate
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34482 Py_INCREF(Py_None
); resultobj
= Py_None
;
34489 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34490 PyObject
*resultobj
;
34491 wxMenu
*arg1
= (wxMenu
*) 0 ;
34493 PyObject
* obj0
= 0 ;
34494 char *kwnames
[] = {
34495 (char *) "self", NULL
34498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34500 if (SWIG_arg_fail(1)) SWIG_fail
;
34502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34503 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34505 wxPyEndAllowThreads(__tstate
);
34506 if (PyErr_Occurred()) SWIG_fail
;
34509 resultobj
= wxPyMake_wxObject(result
, 0);
34517 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34518 PyObject
*resultobj
;
34519 wxMenu
*arg1
= (wxMenu
*) 0 ;
34520 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34521 PyObject
* obj0
= 0 ;
34522 PyObject
* obj1
= 0 ;
34523 char *kwnames
[] = {
34524 (char *) "self",(char *) "menubar", NULL
34527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34529 if (SWIG_arg_fail(1)) SWIG_fail
;
34530 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34531 if (SWIG_arg_fail(2)) SWIG_fail
;
34533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34534 (arg1
)->Attach(arg2
);
34536 wxPyEndAllowThreads(__tstate
);
34537 if (PyErr_Occurred()) SWIG_fail
;
34539 Py_INCREF(Py_None
); resultobj
= Py_None
;
34546 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34547 PyObject
*resultobj
;
34548 wxMenu
*arg1
= (wxMenu
*) 0 ;
34549 PyObject
* obj0
= 0 ;
34550 char *kwnames
[] = {
34551 (char *) "self", NULL
34554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34556 if (SWIG_arg_fail(1)) SWIG_fail
;
34558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34561 wxPyEndAllowThreads(__tstate
);
34562 if (PyErr_Occurred()) SWIG_fail
;
34564 Py_INCREF(Py_None
); resultobj
= Py_None
;
34571 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34572 PyObject
*resultobj
;
34573 wxMenu
*arg1
= (wxMenu
*) 0 ;
34575 PyObject
* obj0
= 0 ;
34576 char *kwnames
[] = {
34577 (char *) "self", NULL
34580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34582 if (SWIG_arg_fail(1)) SWIG_fail
;
34584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34585 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34587 wxPyEndAllowThreads(__tstate
);
34588 if (PyErr_Occurred()) SWIG_fail
;
34591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34599 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34600 PyObject
*resultobj
;
34601 wxMenu
*arg1
= (wxMenu
*) 0 ;
34602 wxMenu
*arg2
= (wxMenu
*) 0 ;
34603 PyObject
* obj0
= 0 ;
34604 PyObject
* obj1
= 0 ;
34605 char *kwnames
[] = {
34606 (char *) "self",(char *) "parent", NULL
34609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34611 if (SWIG_arg_fail(1)) SWIG_fail
;
34612 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34613 if (SWIG_arg_fail(2)) SWIG_fail
;
34615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34616 (arg1
)->SetParent(arg2
);
34618 wxPyEndAllowThreads(__tstate
);
34619 if (PyErr_Occurred()) SWIG_fail
;
34621 Py_INCREF(Py_None
); resultobj
= Py_None
;
34628 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34629 PyObject
*resultobj
;
34630 wxMenu
*arg1
= (wxMenu
*) 0 ;
34632 PyObject
* obj0
= 0 ;
34633 char *kwnames
[] = {
34634 (char *) "self", NULL
34637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34639 if (SWIG_arg_fail(1)) SWIG_fail
;
34641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34642 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34644 wxPyEndAllowThreads(__tstate
);
34645 if (PyErr_Occurred()) SWIG_fail
;
34648 resultobj
= wxPyMake_wxObject(result
, 0);
34656 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34659 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34661 return Py_BuildValue((char *)"");
34663 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34664 PyObject
*resultobj
;
34665 long arg1
= (long) 0 ;
34667 PyObject
* obj0
= 0 ;
34668 char *kwnames
[] = {
34669 (char *) "style", NULL
34672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34675 arg1
= (long)(SWIG_As_long(obj0
));
34676 if (SWIG_arg_fail(1)) SWIG_fail
;
34680 if (!wxPyCheckForApp()) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
34694 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
;
34696 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34697 wxMenu
*arg2
= (wxMenu
*) 0 ;
34698 wxString
*arg3
= 0 ;
34700 bool temp3
= false ;
34701 PyObject
* obj0
= 0 ;
34702 PyObject
* obj1
= 0 ;
34703 PyObject
* obj2
= 0 ;
34704 char *kwnames
[] = {
34705 (char *) "self",(char *) "menu",(char *) "title", NULL
34708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34710 if (SWIG_arg_fail(1)) SWIG_fail
;
34711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34712 if (SWIG_arg_fail(2)) SWIG_fail
;
34714 arg3
= wxString_in_helper(obj2
);
34715 if (arg3
== NULL
) SWIG_fail
;
34719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34720 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
34722 wxPyEndAllowThreads(__tstate
);
34723 if (PyErr_Occurred()) SWIG_fail
;
34726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34742 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34743 PyObject
*resultobj
;
34744 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34746 wxMenu
*arg3
= (wxMenu
*) 0 ;
34747 wxString
*arg4
= 0 ;
34749 bool temp4
= false ;
34750 PyObject
* obj0
= 0 ;
34751 PyObject
* obj1
= 0 ;
34752 PyObject
* obj2
= 0 ;
34753 PyObject
* obj3
= 0 ;
34754 char *kwnames
[] = {
34755 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34759 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34760 if (SWIG_arg_fail(1)) SWIG_fail
;
34762 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34763 if (SWIG_arg_fail(2)) SWIG_fail
;
34765 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34766 if (SWIG_arg_fail(3)) SWIG_fail
;
34768 arg4
= wxString_in_helper(obj3
);
34769 if (arg4
== NULL
) SWIG_fail
;
34773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34774 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
34776 wxPyEndAllowThreads(__tstate
);
34777 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34796 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34797 PyObject
*resultobj
;
34798 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34800 PyObject
* obj0
= 0 ;
34801 char *kwnames
[] = {
34802 (char *) "self", NULL
34805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
34806 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34807 if (SWIG_arg_fail(1)) SWIG_fail
;
34809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34810 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
34812 wxPyEndAllowThreads(__tstate
);
34813 if (PyErr_Occurred()) SWIG_fail
;
34816 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34824 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34825 PyObject
*resultobj
;
34826 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34829 PyObject
* obj0
= 0 ;
34830 PyObject
* obj1
= 0 ;
34831 char *kwnames
[] = {
34832 (char *) "self",(char *) "pos", NULL
34835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
34836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34837 if (SWIG_arg_fail(1)) SWIG_fail
;
34839 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34840 if (SWIG_arg_fail(2)) SWIG_fail
;
34843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34844 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
34846 wxPyEndAllowThreads(__tstate
);
34847 if (PyErr_Occurred()) SWIG_fail
;
34850 resultobj
= wxPyMake_wxObject(result
, 0);
34858 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34859 PyObject
*resultobj
;
34860 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34862 wxMenu
*arg3
= (wxMenu
*) 0 ;
34863 wxString
*arg4
= 0 ;
34865 bool temp4
= false ;
34866 PyObject
* obj0
= 0 ;
34867 PyObject
* obj1
= 0 ;
34868 PyObject
* obj2
= 0 ;
34869 PyObject
* obj3
= 0 ;
34870 char *kwnames
[] = {
34871 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
34874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34876 if (SWIG_arg_fail(1)) SWIG_fail
;
34878 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34879 if (SWIG_arg_fail(2)) SWIG_fail
;
34881 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34882 if (SWIG_arg_fail(3)) SWIG_fail
;
34884 arg4
= wxString_in_helper(obj3
);
34885 if (arg4
== NULL
) SWIG_fail
;
34889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34890 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
34892 wxPyEndAllowThreads(__tstate
);
34893 if (PyErr_Occurred()) SWIG_fail
;
34896 resultobj
= wxPyMake_wxObject(result
, 0);
34912 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34913 PyObject
*resultobj
;
34914 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34917 PyObject
* obj0
= 0 ;
34918 PyObject
* obj1
= 0 ;
34919 char *kwnames
[] = {
34920 (char *) "self",(char *) "pos", NULL
34923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34924 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34925 if (SWIG_arg_fail(1)) SWIG_fail
;
34927 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34928 if (SWIG_arg_fail(2)) SWIG_fail
;
34931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34932 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
34934 wxPyEndAllowThreads(__tstate
);
34935 if (PyErr_Occurred()) SWIG_fail
;
34938 resultobj
= wxPyMake_wxObject(result
, 0);
34946 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34947 PyObject
*resultobj
;
34948 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34951 PyObject
* obj0
= 0 ;
34952 PyObject
* obj1
= 0 ;
34953 PyObject
* obj2
= 0 ;
34954 char *kwnames
[] = {
34955 (char *) "self",(char *) "pos",(char *) "enable", NULL
34958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34959 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34960 if (SWIG_arg_fail(1)) SWIG_fail
;
34962 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34963 if (SWIG_arg_fail(2)) SWIG_fail
;
34966 arg3
= (bool)(SWIG_As_bool(obj2
));
34967 if (SWIG_arg_fail(3)) SWIG_fail
;
34970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34971 (arg1
)->EnableTop(arg2
,arg3
);
34973 wxPyEndAllowThreads(__tstate
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34976 Py_INCREF(Py_None
); resultobj
= Py_None
;
34983 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34984 PyObject
*resultobj
;
34985 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
34988 PyObject
* obj0
= 0 ;
34989 PyObject
* obj1
= 0 ;
34990 char *kwnames
[] = {
34991 (char *) "self",(char *) "pos", NULL
34994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
34995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
34996 if (SWIG_arg_fail(1)) SWIG_fail
;
34998 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34999 if (SWIG_arg_fail(2)) SWIG_fail
;
35002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35003 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35005 wxPyEndAllowThreads(__tstate
);
35006 if (PyErr_Occurred()) SWIG_fail
;
35009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35017 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35018 PyObject
*resultobj
;
35019 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35021 wxString
*arg3
= 0 ;
35022 bool temp3
= false ;
35023 PyObject
* obj0
= 0 ;
35024 PyObject
* obj1
= 0 ;
35025 PyObject
* obj2
= 0 ;
35026 char *kwnames
[] = {
35027 (char *) "self",(char *) "pos",(char *) "label", NULL
35030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35031 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35032 if (SWIG_arg_fail(1)) SWIG_fail
;
35034 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35035 if (SWIG_arg_fail(2)) SWIG_fail
;
35038 arg3
= wxString_in_helper(obj2
);
35039 if (arg3
== NULL
) SWIG_fail
;
35043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35044 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35046 wxPyEndAllowThreads(__tstate
);
35047 if (PyErr_Occurred()) SWIG_fail
;
35049 Py_INCREF(Py_None
); resultobj
= Py_None
;
35064 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35065 PyObject
*resultobj
;
35066 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35069 PyObject
* obj0
= 0 ;
35070 PyObject
* obj1
= 0 ;
35071 char *kwnames
[] = {
35072 (char *) "self",(char *) "pos", NULL
35075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35077 if (SWIG_arg_fail(1)) SWIG_fail
;
35079 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35080 if (SWIG_arg_fail(2)) SWIG_fail
;
35083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35084 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35086 wxPyEndAllowThreads(__tstate
);
35087 if (PyErr_Occurred()) SWIG_fail
;
35091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35102 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35103 PyObject
*resultobj
;
35104 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35105 wxString
*arg2
= 0 ;
35106 wxString
*arg3
= 0 ;
35108 bool temp2
= false ;
35109 bool temp3
= false ;
35110 PyObject
* obj0
= 0 ;
35111 PyObject
* obj1
= 0 ;
35112 PyObject
* obj2
= 0 ;
35113 char *kwnames
[] = {
35114 (char *) "self",(char *) "menu",(char *) "item", NULL
35117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35119 if (SWIG_arg_fail(1)) SWIG_fail
;
35121 arg2
= wxString_in_helper(obj1
);
35122 if (arg2
== NULL
) SWIG_fail
;
35126 arg3
= wxString_in_helper(obj2
);
35127 if (arg3
== NULL
) SWIG_fail
;
35131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35134 wxPyEndAllowThreads(__tstate
);
35135 if (PyErr_Occurred()) SWIG_fail
;
35138 resultobj
= SWIG_From_int((int)(result
));
35162 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35163 PyObject
*resultobj
;
35164 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35166 wxMenuItem
*result
;
35167 PyObject
* obj0
= 0 ;
35168 PyObject
* obj1
= 0 ;
35169 char *kwnames
[] = {
35170 (char *) "self",(char *) "id", NULL
35173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35174 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35175 if (SWIG_arg_fail(1)) SWIG_fail
;
35177 arg2
= (int)(SWIG_As_int(obj1
));
35178 if (SWIG_arg_fail(2)) SWIG_fail
;
35181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35182 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35184 wxPyEndAllowThreads(__tstate
);
35185 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= wxPyMake_wxObject(result
, 0);
35196 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35197 PyObject
*resultobj
;
35198 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35199 wxString
*arg2
= 0 ;
35201 bool temp2
= false ;
35202 PyObject
* obj0
= 0 ;
35203 PyObject
* obj1
= 0 ;
35204 char *kwnames
[] = {
35205 (char *) "self",(char *) "title", NULL
35208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35210 if (SWIG_arg_fail(1)) SWIG_fail
;
35212 arg2
= wxString_in_helper(obj1
);
35213 if (arg2
== NULL
) SWIG_fail
;
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35218 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
35220 wxPyEndAllowThreads(__tstate
);
35221 if (PyErr_Occurred()) SWIG_fail
;
35224 resultobj
= SWIG_From_int((int)(result
));
35240 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35241 PyObject
*resultobj
;
35242 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35245 PyObject
* obj0
= 0 ;
35246 PyObject
* obj1
= 0 ;
35247 PyObject
* obj2
= 0 ;
35248 char *kwnames
[] = {
35249 (char *) "self",(char *) "id",(char *) "enable", NULL
35252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35254 if (SWIG_arg_fail(1)) SWIG_fail
;
35256 arg2
= (int)(SWIG_As_int(obj1
));
35257 if (SWIG_arg_fail(2)) SWIG_fail
;
35260 arg3
= (bool)(SWIG_As_bool(obj2
));
35261 if (SWIG_arg_fail(3)) SWIG_fail
;
35264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35265 (arg1
)->Enable(arg2
,arg3
);
35267 wxPyEndAllowThreads(__tstate
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 Py_INCREF(Py_None
); resultobj
= Py_None
;
35277 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35278 PyObject
*resultobj
;
35279 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35282 PyObject
* obj0
= 0 ;
35283 PyObject
* obj1
= 0 ;
35284 PyObject
* obj2
= 0 ;
35285 char *kwnames
[] = {
35286 (char *) "self",(char *) "id",(char *) "check", NULL
35289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35291 if (SWIG_arg_fail(1)) SWIG_fail
;
35293 arg2
= (int)(SWIG_As_int(obj1
));
35294 if (SWIG_arg_fail(2)) SWIG_fail
;
35297 arg3
= (bool)(SWIG_As_bool(obj2
));
35298 if (SWIG_arg_fail(3)) SWIG_fail
;
35301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35302 (arg1
)->Check(arg2
,arg3
);
35304 wxPyEndAllowThreads(__tstate
);
35305 if (PyErr_Occurred()) SWIG_fail
;
35307 Py_INCREF(Py_None
); resultobj
= Py_None
;
35314 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35315 PyObject
*resultobj
;
35316 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35319 PyObject
* obj0
= 0 ;
35320 PyObject
* obj1
= 0 ;
35321 char *kwnames
[] = {
35322 (char *) "self",(char *) "id", NULL
35325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35327 if (SWIG_arg_fail(1)) SWIG_fail
;
35329 arg2
= (int)(SWIG_As_int(obj1
));
35330 if (SWIG_arg_fail(2)) SWIG_fail
;
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35348 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35349 PyObject
*resultobj
;
35350 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35353 PyObject
* obj0
= 0 ;
35354 PyObject
* obj1
= 0 ;
35355 char *kwnames
[] = {
35356 (char *) "self",(char *) "id", NULL
35359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35361 if (SWIG_arg_fail(1)) SWIG_fail
;
35363 arg2
= (int)(SWIG_As_int(obj1
));
35364 if (SWIG_arg_fail(2)) SWIG_fail
;
35367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35368 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35370 wxPyEndAllowThreads(__tstate
);
35371 if (PyErr_Occurred()) SWIG_fail
;
35374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35382 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35383 PyObject
*resultobj
;
35384 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35386 wxString
*arg3
= 0 ;
35387 bool temp3
= false ;
35388 PyObject
* obj0
= 0 ;
35389 PyObject
* obj1
= 0 ;
35390 PyObject
* obj2
= 0 ;
35391 char *kwnames
[] = {
35392 (char *) "self",(char *) "id",(char *) "label", NULL
35395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35397 if (SWIG_arg_fail(1)) SWIG_fail
;
35399 arg2
= (int)(SWIG_As_int(obj1
));
35400 if (SWIG_arg_fail(2)) SWIG_fail
;
35403 arg3
= wxString_in_helper(obj2
);
35404 if (arg3
== NULL
) SWIG_fail
;
35408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35409 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35411 wxPyEndAllowThreads(__tstate
);
35412 if (PyErr_Occurred()) SWIG_fail
;
35414 Py_INCREF(Py_None
); resultobj
= Py_None
;
35429 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35430 PyObject
*resultobj
;
35431 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35434 PyObject
* obj0
= 0 ;
35435 PyObject
* obj1
= 0 ;
35436 char *kwnames
[] = {
35437 (char *) "self",(char *) "id", NULL
35440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35442 if (SWIG_arg_fail(1)) SWIG_fail
;
35444 arg2
= (int)(SWIG_As_int(obj1
));
35445 if (SWIG_arg_fail(2)) SWIG_fail
;
35448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35449 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35451 wxPyEndAllowThreads(__tstate
);
35452 if (PyErr_Occurred()) SWIG_fail
;
35456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35467 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35468 PyObject
*resultobj
;
35469 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35471 wxString
*arg3
= 0 ;
35472 bool temp3
= false ;
35473 PyObject
* obj0
= 0 ;
35474 PyObject
* obj1
= 0 ;
35475 PyObject
* obj2
= 0 ;
35476 char *kwnames
[] = {
35477 (char *) "self",(char *) "id",(char *) "helpString", NULL
35480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35482 if (SWIG_arg_fail(1)) SWIG_fail
;
35484 arg2
= (int)(SWIG_As_int(obj1
));
35485 if (SWIG_arg_fail(2)) SWIG_fail
;
35488 arg3
= wxString_in_helper(obj2
);
35489 if (arg3
== NULL
) SWIG_fail
;
35493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35494 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35496 wxPyEndAllowThreads(__tstate
);
35497 if (PyErr_Occurred()) SWIG_fail
;
35499 Py_INCREF(Py_None
); resultobj
= Py_None
;
35514 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35515 PyObject
*resultobj
;
35516 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35519 PyObject
* obj0
= 0 ;
35520 PyObject
* obj1
= 0 ;
35521 char *kwnames
[] = {
35522 (char *) "self",(char *) "id", NULL
35525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35526 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35527 if (SWIG_arg_fail(1)) SWIG_fail
;
35529 arg2
= (int)(SWIG_As_int(obj1
));
35530 if (SWIG_arg_fail(2)) SWIG_fail
;
35533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35534 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35552 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35553 PyObject
*resultobj
;
35554 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35556 PyObject
* obj0
= 0 ;
35557 char *kwnames
[] = {
35558 (char *) "self", NULL
35561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35562 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35563 if (SWIG_arg_fail(1)) SWIG_fail
;
35565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35566 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35568 wxPyEndAllowThreads(__tstate
);
35569 if (PyErr_Occurred()) SWIG_fail
;
35572 resultobj
= wxPyMake_wxObject(result
, 0);
35580 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35581 PyObject
*resultobj
;
35582 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35584 PyObject
* obj0
= 0 ;
35585 char *kwnames
[] = {
35586 (char *) "self", NULL
35589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35591 if (SWIG_arg_fail(1)) SWIG_fail
;
35593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35594 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35596 wxPyEndAllowThreads(__tstate
);
35597 if (PyErr_Occurred()) SWIG_fail
;
35600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35608 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35609 PyObject
*resultobj
;
35610 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35611 wxFrame
*arg2
= (wxFrame
*) 0 ;
35612 PyObject
* obj0
= 0 ;
35613 PyObject
* obj1
= 0 ;
35614 char *kwnames
[] = {
35615 (char *) "self",(char *) "frame", NULL
35618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35619 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35620 if (SWIG_arg_fail(1)) SWIG_fail
;
35621 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35622 if (SWIG_arg_fail(2)) SWIG_fail
;
35624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35625 (arg1
)->Attach(arg2
);
35627 wxPyEndAllowThreads(__tstate
);
35628 if (PyErr_Occurred()) SWIG_fail
;
35630 Py_INCREF(Py_None
); resultobj
= Py_None
;
35637 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35638 PyObject
*resultobj
;
35639 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35640 PyObject
* obj0
= 0 ;
35641 char *kwnames
[] = {
35642 (char *) "self", NULL
35645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35646 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35647 if (SWIG_arg_fail(1)) SWIG_fail
;
35649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35652 wxPyEndAllowThreads(__tstate
);
35653 if (PyErr_Occurred()) SWIG_fail
;
35655 Py_INCREF(Py_None
); resultobj
= Py_None
;
35662 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
35664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35665 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
35667 return Py_BuildValue((char *)"");
35669 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35670 PyObject
*resultobj
;
35671 wxMenu
*arg1
= (wxMenu
*) NULL
;
35672 int arg2
= (int) wxID_ANY
;
35673 wxString
const &arg3_defvalue
= wxPyEmptyString
;
35674 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
35675 wxString
const &arg4_defvalue
= wxPyEmptyString
;
35676 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
35677 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
35678 wxMenu
*arg6
= (wxMenu
*) NULL
;
35679 wxMenuItem
*result
;
35680 bool temp3
= false ;
35681 bool temp4
= false ;
35682 PyObject
* obj0
= 0 ;
35683 PyObject
* obj1
= 0 ;
35684 PyObject
* obj2
= 0 ;
35685 PyObject
* obj3
= 0 ;
35686 PyObject
* obj4
= 0 ;
35687 PyObject
* obj5
= 0 ;
35688 char *kwnames
[] = {
35689 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
35692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35695 if (SWIG_arg_fail(1)) SWIG_fail
;
35699 arg2
= (int)(SWIG_As_int(obj1
));
35700 if (SWIG_arg_fail(2)) SWIG_fail
;
35705 arg3
= wxString_in_helper(obj2
);
35706 if (arg3
== NULL
) SWIG_fail
;
35712 arg4
= wxString_in_helper(obj3
);
35713 if (arg4
== NULL
) SWIG_fail
;
35719 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
35720 if (SWIG_arg_fail(5)) SWIG_fail
;
35724 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35725 if (SWIG_arg_fail(6)) SWIG_fail
;
35728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35729 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
35731 wxPyEndAllowThreads(__tstate
);
35732 if (PyErr_Occurred()) SWIG_fail
;
35735 resultobj
= wxPyMake_wxObject(result
, 1);
35759 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35760 PyObject
*resultobj
;
35761 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35763 PyObject
* obj0
= 0 ;
35764 char *kwnames
[] = {
35765 (char *) "self", NULL
35768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
35769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35770 if (SWIG_arg_fail(1)) SWIG_fail
;
35772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35773 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
35775 wxPyEndAllowThreads(__tstate
);
35776 if (PyErr_Occurred()) SWIG_fail
;
35779 resultobj
= wxPyMake_wxObject(result
, 0);
35787 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35788 PyObject
*resultobj
;
35789 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35790 wxMenu
*arg2
= (wxMenu
*) 0 ;
35791 PyObject
* obj0
= 0 ;
35792 PyObject
* obj1
= 0 ;
35793 char *kwnames
[] = {
35794 (char *) "self",(char *) "menu", NULL
35797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35799 if (SWIG_arg_fail(1)) SWIG_fail
;
35800 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35801 if (SWIG_arg_fail(2)) SWIG_fail
;
35803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35804 (arg1
)->SetMenu(arg2
);
35806 wxPyEndAllowThreads(__tstate
);
35807 if (PyErr_Occurred()) SWIG_fail
;
35809 Py_INCREF(Py_None
); resultobj
= Py_None
;
35816 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35817 PyObject
*resultobj
;
35818 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35820 PyObject
* obj0
= 0 ;
35821 PyObject
* obj1
= 0 ;
35822 char *kwnames
[] = {
35823 (char *) "self",(char *) "id", NULL
35826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
35827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35828 if (SWIG_arg_fail(1)) SWIG_fail
;
35830 arg2
= (int)(SWIG_As_int(obj1
));
35831 if (SWIG_arg_fail(2)) SWIG_fail
;
35834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35835 (arg1
)->SetId(arg2
);
35837 wxPyEndAllowThreads(__tstate
);
35838 if (PyErr_Occurred()) SWIG_fail
;
35840 Py_INCREF(Py_None
); resultobj
= Py_None
;
35847 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35848 PyObject
*resultobj
;
35849 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35851 PyObject
* obj0
= 0 ;
35852 char *kwnames
[] = {
35853 (char *) "self", NULL
35856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
35857 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35858 if (SWIG_arg_fail(1)) SWIG_fail
;
35860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35861 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
35863 wxPyEndAllowThreads(__tstate
);
35864 if (PyErr_Occurred()) SWIG_fail
;
35867 resultobj
= SWIG_From_int((int)(result
));
35875 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35876 PyObject
*resultobj
;
35877 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35879 PyObject
* obj0
= 0 ;
35880 char *kwnames
[] = {
35881 (char *) "self", NULL
35884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
35885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35886 if (SWIG_arg_fail(1)) SWIG_fail
;
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35889 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35903 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35904 PyObject
*resultobj
;
35905 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35906 wxString
*arg2
= 0 ;
35907 bool temp2
= false ;
35908 PyObject
* obj0
= 0 ;
35909 PyObject
* obj1
= 0 ;
35910 char *kwnames
[] = {
35911 (char *) "self",(char *) "str", NULL
35914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
35915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35916 if (SWIG_arg_fail(1)) SWIG_fail
;
35918 arg2
= wxString_in_helper(obj1
);
35919 if (arg2
== NULL
) SWIG_fail
;
35923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35924 (arg1
)->SetText((wxString
const &)*arg2
);
35926 wxPyEndAllowThreads(__tstate
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35929 Py_INCREF(Py_None
); resultobj
= Py_None
;
35944 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35945 PyObject
*resultobj
;
35946 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35948 PyObject
* obj0
= 0 ;
35949 char *kwnames
[] = {
35950 (char *) "self", NULL
35953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
35954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35955 if (SWIG_arg_fail(1)) SWIG_fail
;
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35958 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35976 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35977 PyObject
*resultobj
;
35978 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
35980 PyObject
* obj0
= 0 ;
35981 char *kwnames
[] = {
35982 (char *) "self", NULL
35985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
35986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
35987 if (SWIG_arg_fail(1)) SWIG_fail
;
35989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35991 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
35992 result
= (wxString
*) &_result_ref
;
35995 wxPyEndAllowThreads(__tstate
);
35996 if (PyErr_Occurred()) SWIG_fail
;
36000 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36002 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36011 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36012 PyObject
*resultobj
;
36013 wxString
*arg1
= 0 ;
36015 bool temp1
= false ;
36016 PyObject
* obj0
= 0 ;
36017 char *kwnames
[] = {
36018 (char *) "text", NULL
36021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36023 arg1
= wxString_in_helper(obj0
);
36024 if (arg1
== NULL
) SWIG_fail
;
36028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36029 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36031 wxPyEndAllowThreads(__tstate
);
36032 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36055 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36056 PyObject
*resultobj
;
36057 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36059 PyObject
* obj0
= 0 ;
36060 char *kwnames
[] = {
36061 (char *) "self", NULL
36064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36066 if (SWIG_arg_fail(1)) SWIG_fail
;
36068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36069 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36071 wxPyEndAllowThreads(__tstate
);
36072 if (PyErr_Occurred()) SWIG_fail
;
36074 resultobj
= SWIG_From_int((result
));
36081 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36082 PyObject
*resultobj
;
36083 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36085 PyObject
* obj0
= 0 ;
36086 PyObject
* obj1
= 0 ;
36087 char *kwnames
[] = {
36088 (char *) "self",(char *) "kind", NULL
36091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36093 if (SWIG_arg_fail(1)) SWIG_fail
;
36095 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36096 if (SWIG_arg_fail(2)) SWIG_fail
;
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 (arg1
)->SetKind((wxItemKind
)arg2
);
36102 wxPyEndAllowThreads(__tstate
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36105 Py_INCREF(Py_None
); resultobj
= Py_None
;
36112 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36113 PyObject
*resultobj
;
36114 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36116 PyObject
* obj0
= 0 ;
36117 PyObject
* obj1
= 0 ;
36118 char *kwnames
[] = {
36119 (char *) "self",(char *) "checkable", NULL
36122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",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
= (bool)(SWIG_As_bool(obj1
));
36127 if (SWIG_arg_fail(2)) SWIG_fail
;
36130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36131 (arg1
)->SetCheckable(arg2
);
36133 wxPyEndAllowThreads(__tstate
);
36134 if (PyErr_Occurred()) SWIG_fail
;
36136 Py_INCREF(Py_None
); resultobj
= Py_None
;
36143 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36144 PyObject
*resultobj
;
36145 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36147 PyObject
* obj0
= 0 ;
36148 char *kwnames
[] = {
36149 (char *) "self", NULL
36152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36154 if (SWIG_arg_fail(1)) SWIG_fail
;
36156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36157 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36159 wxPyEndAllowThreads(__tstate
);
36160 if (PyErr_Occurred()) SWIG_fail
;
36163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36171 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36172 PyObject
*resultobj
;
36173 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36175 PyObject
* obj0
= 0 ;
36176 char *kwnames
[] = {
36177 (char *) "self", NULL
36180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36182 if (SWIG_arg_fail(1)) SWIG_fail
;
36184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36185 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36187 wxPyEndAllowThreads(__tstate
);
36188 if (PyErr_Occurred()) SWIG_fail
;
36191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36199 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36200 PyObject
*resultobj
;
36201 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36202 wxMenu
*arg2
= (wxMenu
*) 0 ;
36203 PyObject
* obj0
= 0 ;
36204 PyObject
* obj1
= 0 ;
36205 char *kwnames
[] = {
36206 (char *) "self",(char *) "menu", NULL
36209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36211 if (SWIG_arg_fail(1)) SWIG_fail
;
36212 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36213 if (SWIG_arg_fail(2)) SWIG_fail
;
36215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36216 (arg1
)->SetSubMenu(arg2
);
36218 wxPyEndAllowThreads(__tstate
);
36219 if (PyErr_Occurred()) SWIG_fail
;
36221 Py_INCREF(Py_None
); resultobj
= Py_None
;
36228 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36229 PyObject
*resultobj
;
36230 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36232 PyObject
* obj0
= 0 ;
36233 char *kwnames
[] = {
36234 (char *) "self", NULL
36237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36239 if (SWIG_arg_fail(1)) SWIG_fail
;
36241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36242 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36244 wxPyEndAllowThreads(__tstate
);
36245 if (PyErr_Occurred()) SWIG_fail
;
36248 resultobj
= wxPyMake_wxObject(result
, 0);
36256 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36257 PyObject
*resultobj
;
36258 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36259 bool arg2
= (bool) true ;
36260 PyObject
* obj0
= 0 ;
36261 PyObject
* obj1
= 0 ;
36262 char *kwnames
[] = {
36263 (char *) "self",(char *) "enable", NULL
36266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36268 if (SWIG_arg_fail(1)) SWIG_fail
;
36271 arg2
= (bool)(SWIG_As_bool(obj1
));
36272 if (SWIG_arg_fail(2)) SWIG_fail
;
36276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36277 (arg1
)->Enable(arg2
);
36279 wxPyEndAllowThreads(__tstate
);
36280 if (PyErr_Occurred()) SWIG_fail
;
36282 Py_INCREF(Py_None
); resultobj
= Py_None
;
36289 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36290 PyObject
*resultobj
;
36291 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36293 PyObject
* obj0
= 0 ;
36294 char *kwnames
[] = {
36295 (char *) "self", NULL
36298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36300 if (SWIG_arg_fail(1)) SWIG_fail
;
36302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36303 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36305 wxPyEndAllowThreads(__tstate
);
36306 if (PyErr_Occurred()) SWIG_fail
;
36309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36317 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36318 PyObject
*resultobj
;
36319 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36320 bool arg2
= (bool) true ;
36321 PyObject
* obj0
= 0 ;
36322 PyObject
* obj1
= 0 ;
36323 char *kwnames
[] = {
36324 (char *) "self",(char *) "check", NULL
36327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36329 if (SWIG_arg_fail(1)) SWIG_fail
;
36332 arg2
= (bool)(SWIG_As_bool(obj1
));
36333 if (SWIG_arg_fail(2)) SWIG_fail
;
36337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36338 (arg1
)->Check(arg2
);
36340 wxPyEndAllowThreads(__tstate
);
36341 if (PyErr_Occurred()) SWIG_fail
;
36343 Py_INCREF(Py_None
); resultobj
= Py_None
;
36350 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36351 PyObject
*resultobj
;
36352 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36354 PyObject
* obj0
= 0 ;
36355 char *kwnames
[] = {
36356 (char *) "self", NULL
36359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36361 if (SWIG_arg_fail(1)) SWIG_fail
;
36363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36364 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36366 wxPyEndAllowThreads(__tstate
);
36367 if (PyErr_Occurred()) SWIG_fail
;
36370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36378 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36379 PyObject
*resultobj
;
36380 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36381 PyObject
* obj0
= 0 ;
36382 char *kwnames
[] = {
36383 (char *) "self", NULL
36386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36388 if (SWIG_arg_fail(1)) SWIG_fail
;
36390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36393 wxPyEndAllowThreads(__tstate
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36396 Py_INCREF(Py_None
); resultobj
= Py_None
;
36403 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36404 PyObject
*resultobj
;
36405 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36406 wxString
*arg2
= 0 ;
36407 bool temp2
= false ;
36408 PyObject
* obj0
= 0 ;
36409 PyObject
* obj1
= 0 ;
36410 char *kwnames
[] = {
36411 (char *) "self",(char *) "str", NULL
36414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36416 if (SWIG_arg_fail(1)) SWIG_fail
;
36418 arg2
= wxString_in_helper(obj1
);
36419 if (arg2
== NULL
) SWIG_fail
;
36423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36424 (arg1
)->SetHelp((wxString
const &)*arg2
);
36426 wxPyEndAllowThreads(__tstate
);
36427 if (PyErr_Occurred()) SWIG_fail
;
36429 Py_INCREF(Py_None
); resultobj
= Py_None
;
36444 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36445 PyObject
*resultobj
;
36446 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36448 PyObject
* obj0
= 0 ;
36449 char *kwnames
[] = {
36450 (char *) "self", NULL
36453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36455 if (SWIG_arg_fail(1)) SWIG_fail
;
36457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36459 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36460 result
= (wxString
*) &_result_ref
;
36463 wxPyEndAllowThreads(__tstate
);
36464 if (PyErr_Occurred()) SWIG_fail
;
36468 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36470 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36479 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36480 PyObject
*resultobj
;
36481 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36482 wxAcceleratorEntry
*result
;
36483 PyObject
* obj0
= 0 ;
36484 char *kwnames
[] = {
36485 (char *) "self", NULL
36488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36490 if (SWIG_arg_fail(1)) SWIG_fail
;
36492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36493 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36495 wxPyEndAllowThreads(__tstate
);
36496 if (PyErr_Occurred()) SWIG_fail
;
36498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36505 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36506 PyObject
*resultobj
;
36507 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36508 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36509 PyObject
* obj0
= 0 ;
36510 PyObject
* obj1
= 0 ;
36511 char *kwnames
[] = {
36512 (char *) "self",(char *) "accel", NULL
36515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36516 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36517 if (SWIG_arg_fail(1)) SWIG_fail
;
36518 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36519 if (SWIG_arg_fail(2)) SWIG_fail
;
36521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36522 (arg1
)->SetAccel(arg2
);
36524 wxPyEndAllowThreads(__tstate
);
36525 if (PyErr_Occurred()) SWIG_fail
;
36527 Py_INCREF(Py_None
); resultobj
= Py_None
;
36534 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36535 PyObject
*resultobj
;
36536 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36538 PyObject
* obj0
= 0 ;
36539 PyObject
* obj1
= 0 ;
36540 char *kwnames
[] = {
36541 (char *) "self",(char *) "font", NULL
36544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36545 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36546 if (SWIG_arg_fail(1)) SWIG_fail
;
36548 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36549 if (SWIG_arg_fail(2)) SWIG_fail
;
36550 if (arg2
== NULL
) {
36551 SWIG_null_ref("wxFont");
36553 if (SWIG_arg_fail(2)) SWIG_fail
;
36556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36557 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36559 wxPyEndAllowThreads(__tstate
);
36560 if (PyErr_Occurred()) SWIG_fail
;
36562 Py_INCREF(Py_None
); resultobj
= Py_None
;
36569 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36570 PyObject
*resultobj
;
36571 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36573 PyObject
* obj0
= 0 ;
36574 char *kwnames
[] = {
36575 (char *) "self", NULL
36578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36580 if (SWIG_arg_fail(1)) SWIG_fail
;
36582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36583 result
= wxMenuItem_GetFont(arg1
);
36585 wxPyEndAllowThreads(__tstate
);
36586 if (PyErr_Occurred()) SWIG_fail
;
36589 wxFont
* resultptr
;
36590 resultptr
= new wxFont((wxFont
&)(result
));
36591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36599 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36600 PyObject
*resultobj
;
36601 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36602 wxColour
*arg2
= 0 ;
36604 PyObject
* obj0
= 0 ;
36605 PyObject
* obj1
= 0 ;
36606 char *kwnames
[] = {
36607 (char *) "self",(char *) "colText", NULL
36610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36612 if (SWIG_arg_fail(1)) SWIG_fail
;
36615 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36619 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36621 wxPyEndAllowThreads(__tstate
);
36622 if (PyErr_Occurred()) SWIG_fail
;
36624 Py_INCREF(Py_None
); resultobj
= Py_None
;
36631 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36632 PyObject
*resultobj
;
36633 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36635 PyObject
* obj0
= 0 ;
36636 char *kwnames
[] = {
36637 (char *) "self", NULL
36640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
36641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36642 if (SWIG_arg_fail(1)) SWIG_fail
;
36644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36645 result
= wxMenuItem_GetTextColour(arg1
);
36647 wxPyEndAllowThreads(__tstate
);
36648 if (PyErr_Occurred()) SWIG_fail
;
36651 wxColour
* resultptr
;
36652 resultptr
= new wxColour((wxColour
&)(result
));
36653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36661 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36662 PyObject
*resultobj
;
36663 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36664 wxColour
*arg2
= 0 ;
36666 PyObject
* obj0
= 0 ;
36667 PyObject
* obj1
= 0 ;
36668 char *kwnames
[] = {
36669 (char *) "self",(char *) "colBack", NULL
36672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36674 if (SWIG_arg_fail(1)) SWIG_fail
;
36677 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36681 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
36683 wxPyEndAllowThreads(__tstate
);
36684 if (PyErr_Occurred()) SWIG_fail
;
36686 Py_INCREF(Py_None
); resultobj
= Py_None
;
36693 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36694 PyObject
*resultobj
;
36695 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36697 PyObject
* obj0
= 0 ;
36698 char *kwnames
[] = {
36699 (char *) "self", NULL
36702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
36703 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36704 if (SWIG_arg_fail(1)) SWIG_fail
;
36706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36707 result
= wxMenuItem_GetBackgroundColour(arg1
);
36709 wxPyEndAllowThreads(__tstate
);
36710 if (PyErr_Occurred()) SWIG_fail
;
36713 wxColour
* resultptr
;
36714 resultptr
= new wxColour((wxColour
&)(result
));
36715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
36723 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36724 PyObject
*resultobj
;
36725 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36726 wxBitmap
*arg2
= 0 ;
36727 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
36728 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
36729 PyObject
* obj0
= 0 ;
36730 PyObject
* obj1
= 0 ;
36731 PyObject
* obj2
= 0 ;
36732 char *kwnames
[] = {
36733 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
36736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36737 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36738 if (SWIG_arg_fail(1)) SWIG_fail
;
36740 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36741 if (SWIG_arg_fail(2)) SWIG_fail
;
36742 if (arg2
== NULL
) {
36743 SWIG_null_ref("wxBitmap");
36745 if (SWIG_arg_fail(2)) SWIG_fail
;
36749 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36750 if (SWIG_arg_fail(3)) SWIG_fail
;
36751 if (arg3
== NULL
) {
36752 SWIG_null_ref("wxBitmap");
36754 if (SWIG_arg_fail(3)) SWIG_fail
;
36758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36759 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
36761 wxPyEndAllowThreads(__tstate
);
36762 if (PyErr_Occurred()) SWIG_fail
;
36764 Py_INCREF(Py_None
); resultobj
= Py_None
;
36771 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36772 PyObject
*resultobj
;
36773 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36774 wxBitmap
*arg2
= 0 ;
36775 PyObject
* obj0
= 0 ;
36776 PyObject
* obj1
= 0 ;
36777 char *kwnames
[] = {
36778 (char *) "self",(char *) "bmpDisabled", NULL
36781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
36782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36783 if (SWIG_arg_fail(1)) SWIG_fail
;
36785 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
36786 if (SWIG_arg_fail(2)) SWIG_fail
;
36787 if (arg2
== NULL
) {
36788 SWIG_null_ref("wxBitmap");
36790 if (SWIG_arg_fail(2)) SWIG_fail
;
36793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36794 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
36796 wxPyEndAllowThreads(__tstate
);
36797 if (PyErr_Occurred()) SWIG_fail
;
36799 Py_INCREF(Py_None
); resultobj
= Py_None
;
36806 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36807 PyObject
*resultobj
;
36808 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36810 PyObject
* obj0
= 0 ;
36811 char *kwnames
[] = {
36812 (char *) "self", NULL
36815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
36816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36817 if (SWIG_arg_fail(1)) SWIG_fail
;
36819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36821 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
36822 result
= (wxBitmap
*) &_result_ref
;
36825 wxPyEndAllowThreads(__tstate
);
36826 if (PyErr_Occurred()) SWIG_fail
;
36829 wxBitmap
* resultptr
= new wxBitmap(*result
);
36830 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
36838 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36839 PyObject
*resultobj
;
36840 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36842 PyObject
* obj0
= 0 ;
36843 PyObject
* obj1
= 0 ;
36844 char *kwnames
[] = {
36845 (char *) "self",(char *) "nWidth", NULL
36848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
36849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36850 if (SWIG_arg_fail(1)) SWIG_fail
;
36852 arg2
= (int)(SWIG_As_int(obj1
));
36853 if (SWIG_arg_fail(2)) SWIG_fail
;
36856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36857 wxMenuItem_SetMarginWidth(arg1
,arg2
);
36859 wxPyEndAllowThreads(__tstate
);
36860 if (PyErr_Occurred()) SWIG_fail
;
36862 Py_INCREF(Py_None
); resultobj
= Py_None
;
36869 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36870 PyObject
*resultobj
;
36871 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36873 PyObject
* obj0
= 0 ;
36874 char *kwnames
[] = {
36875 (char *) "self", NULL
36878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
36879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36880 if (SWIG_arg_fail(1)) SWIG_fail
;
36882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36883 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
36885 wxPyEndAllowThreads(__tstate
);
36886 if (PyErr_Occurred()) SWIG_fail
;
36889 resultobj
= SWIG_From_int((int)(result
));
36897 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36898 PyObject
*resultobj
;
36900 char *kwnames
[] = {
36904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
36906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36907 result
= (int)MenuItem_GetDefaultMarginWidth();
36909 wxPyEndAllowThreads(__tstate
);
36910 if (PyErr_Occurred()) SWIG_fail
;
36913 resultobj
= SWIG_From_int((int)(result
));
36921 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36922 PyObject
*resultobj
;
36923 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36925 PyObject
* obj0
= 0 ;
36926 char *kwnames
[] = {
36927 (char *) "self", NULL
36930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36932 if (SWIG_arg_fail(1)) SWIG_fail
;
36934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36935 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
36937 wxPyEndAllowThreads(__tstate
);
36938 if (PyErr_Occurred()) SWIG_fail
;
36941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36949 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36950 PyObject
*resultobj
;
36951 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36952 bool arg2
= (bool) true ;
36953 PyObject
* obj0
= 0 ;
36954 PyObject
* obj1
= 0 ;
36955 char *kwnames
[] = {
36956 (char *) "self",(char *) "ownerDrawn", NULL
36959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
36960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36961 if (SWIG_arg_fail(1)) SWIG_fail
;
36964 arg2
= (bool)(SWIG_As_bool(obj1
));
36965 if (SWIG_arg_fail(2)) SWIG_fail
;
36969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
36972 wxPyEndAllowThreads(__tstate
);
36973 if (PyErr_Occurred()) SWIG_fail
;
36975 Py_INCREF(Py_None
); resultobj
= Py_None
;
36982 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36983 PyObject
*resultobj
;
36984 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36985 PyObject
* obj0
= 0 ;
36986 char *kwnames
[] = {
36987 (char *) "self", NULL
36990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
36991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36992 if (SWIG_arg_fail(1)) SWIG_fail
;
36994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36995 wxMenuItem_ResetOwnerDrawn(arg1
);
36997 wxPyEndAllowThreads(__tstate
);
36998 if (PyErr_Occurred()) SWIG_fail
;
37000 Py_INCREF(Py_None
); resultobj
= Py_None
;
37007 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37008 PyObject
*resultobj
;
37009 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37010 wxBitmap
*arg2
= 0 ;
37011 PyObject
* obj0
= 0 ;
37012 PyObject
* obj1
= 0 ;
37013 char *kwnames
[] = {
37014 (char *) "self",(char *) "bitmap", NULL
37017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37019 if (SWIG_arg_fail(1)) SWIG_fail
;
37021 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37022 if (SWIG_arg_fail(2)) SWIG_fail
;
37023 if (arg2
== NULL
) {
37024 SWIG_null_ref("wxBitmap");
37026 if (SWIG_arg_fail(2)) SWIG_fail
;
37029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37030 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37032 wxPyEndAllowThreads(__tstate
);
37033 if (PyErr_Occurred()) SWIG_fail
;
37035 Py_INCREF(Py_None
); resultobj
= Py_None
;
37042 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37043 PyObject
*resultobj
;
37044 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37046 PyObject
* obj0
= 0 ;
37047 char *kwnames
[] = {
37048 (char *) "self", NULL
37051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37053 if (SWIG_arg_fail(1)) SWIG_fail
;
37055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37057 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37058 result
= (wxBitmap
*) &_result_ref
;
37061 wxPyEndAllowThreads(__tstate
);
37062 if (PyErr_Occurred()) SWIG_fail
;
37065 wxBitmap
* resultptr
= new wxBitmap(*result
);
37066 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37074 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37077 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37079 return Py_BuildValue((char *)"");
37081 static int _wrap_ControlNameStr_set(PyObject
*) {
37082 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37087 static PyObject
*_wrap_ControlNameStr_get(void) {
37092 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37094 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37101 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37102 PyObject
*resultobj
;
37103 wxWindow
*arg1
= (wxWindow
*) 0 ;
37104 int arg2
= (int) -1 ;
37105 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37106 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37107 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37108 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37109 long arg5
= (long) 0 ;
37110 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37111 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37112 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37113 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37117 bool temp7
= false ;
37118 PyObject
* obj0
= 0 ;
37119 PyObject
* obj1
= 0 ;
37120 PyObject
* obj2
= 0 ;
37121 PyObject
* obj3
= 0 ;
37122 PyObject
* obj4
= 0 ;
37123 PyObject
* obj5
= 0 ;
37124 PyObject
* obj6
= 0 ;
37125 char *kwnames
[] = {
37126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37131 if (SWIG_arg_fail(1)) SWIG_fail
;
37134 arg2
= (int)(SWIG_As_int(obj1
));
37135 if (SWIG_arg_fail(2)) SWIG_fail
;
37141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37147 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37152 arg5
= (long)(SWIG_As_long(obj4
));
37153 if (SWIG_arg_fail(5)) SWIG_fail
;
37158 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37159 if (SWIG_arg_fail(6)) SWIG_fail
;
37160 if (arg6
== NULL
) {
37161 SWIG_null_ref("wxValidator");
37163 if (SWIG_arg_fail(6)) SWIG_fail
;
37168 arg7
= wxString_in_helper(obj6
);
37169 if (arg7
== NULL
) SWIG_fail
;
37174 if (!wxPyCheckForApp()) SWIG_fail
;
37175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37176 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37178 wxPyEndAllowThreads(__tstate
);
37179 if (PyErr_Occurred()) SWIG_fail
;
37181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37196 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37197 PyObject
*resultobj
;
37199 char *kwnames
[] = {
37203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37205 if (!wxPyCheckForApp()) SWIG_fail
;
37206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37207 result
= (wxControl
*)new wxControl();
37209 wxPyEndAllowThreads(__tstate
);
37210 if (PyErr_Occurred()) SWIG_fail
;
37212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37219 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37220 PyObject
*resultobj
;
37221 wxControl
*arg1
= (wxControl
*) 0 ;
37222 wxWindow
*arg2
= (wxWindow
*) 0 ;
37223 int arg3
= (int) -1 ;
37224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37228 long arg6
= (long) 0 ;
37229 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37230 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37231 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37232 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37236 bool temp8
= false ;
37237 PyObject
* obj0
= 0 ;
37238 PyObject
* obj1
= 0 ;
37239 PyObject
* obj2
= 0 ;
37240 PyObject
* obj3
= 0 ;
37241 PyObject
* obj4
= 0 ;
37242 PyObject
* obj5
= 0 ;
37243 PyObject
* obj6
= 0 ;
37244 PyObject
* obj7
= 0 ;
37245 char *kwnames
[] = {
37246 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37251 if (SWIG_arg_fail(1)) SWIG_fail
;
37252 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37253 if (SWIG_arg_fail(2)) SWIG_fail
;
37256 arg3
= (int)(SWIG_As_int(obj2
));
37257 if (SWIG_arg_fail(3)) SWIG_fail
;
37263 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37269 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37274 arg6
= (long)(SWIG_As_long(obj5
));
37275 if (SWIG_arg_fail(6)) SWIG_fail
;
37280 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37281 if (SWIG_arg_fail(7)) SWIG_fail
;
37282 if (arg7
== NULL
) {
37283 SWIG_null_ref("wxValidator");
37285 if (SWIG_arg_fail(7)) SWIG_fail
;
37290 arg8
= wxString_in_helper(obj7
);
37291 if (arg8
== NULL
) SWIG_fail
;
37296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37297 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37299 wxPyEndAllowThreads(__tstate
);
37300 if (PyErr_Occurred()) SWIG_fail
;
37303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37319 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37320 PyObject
*resultobj
;
37321 wxControl
*arg1
= (wxControl
*) 0 ;
37322 wxCommandEvent
*arg2
= 0 ;
37323 PyObject
* obj0
= 0 ;
37324 PyObject
* obj1
= 0 ;
37325 char *kwnames
[] = {
37326 (char *) "self",(char *) "event", NULL
37329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37331 if (SWIG_arg_fail(1)) SWIG_fail
;
37333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37334 if (SWIG_arg_fail(2)) SWIG_fail
;
37335 if (arg2
== NULL
) {
37336 SWIG_null_ref("wxCommandEvent");
37338 if (SWIG_arg_fail(2)) SWIG_fail
;
37341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37342 (arg1
)->Command(*arg2
);
37344 wxPyEndAllowThreads(__tstate
);
37345 if (PyErr_Occurred()) SWIG_fail
;
37347 Py_INCREF(Py_None
); resultobj
= Py_None
;
37354 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37355 PyObject
*resultobj
;
37356 wxControl
*arg1
= (wxControl
*) 0 ;
37358 PyObject
* obj0
= 0 ;
37359 char *kwnames
[] = {
37360 (char *) "self", NULL
37363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37365 if (SWIG_arg_fail(1)) SWIG_fail
;
37367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37368 result
= (arg1
)->GetLabel();
37370 wxPyEndAllowThreads(__tstate
);
37371 if (PyErr_Occurred()) SWIG_fail
;
37375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37386 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37387 PyObject
*resultobj
;
37388 wxControl
*arg1
= (wxControl
*) 0 ;
37389 wxString
*arg2
= 0 ;
37390 bool temp2
= false ;
37391 PyObject
* obj0
= 0 ;
37392 PyObject
* obj1
= 0 ;
37393 char *kwnames
[] = {
37394 (char *) "self",(char *) "label", NULL
37397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37399 if (SWIG_arg_fail(1)) SWIG_fail
;
37401 arg2
= wxString_in_helper(obj1
);
37402 if (arg2
== NULL
) SWIG_fail
;
37406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37407 (arg1
)->SetLabel((wxString
const &)*arg2
);
37409 wxPyEndAllowThreads(__tstate
);
37410 if (PyErr_Occurred()) SWIG_fail
;
37412 Py_INCREF(Py_None
); resultobj
= Py_None
;
37427 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37428 PyObject
*resultobj
;
37429 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37430 wxVisualAttributes result
;
37431 PyObject
* obj0
= 0 ;
37432 char *kwnames
[] = {
37433 (char *) "variant", NULL
37436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37439 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37440 if (SWIG_arg_fail(1)) SWIG_fail
;
37444 if (!wxPyCheckForApp()) SWIG_fail
;
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37448 wxPyEndAllowThreads(__tstate
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37452 wxVisualAttributes
* resultptr
;
37453 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37462 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37465 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37467 return Py_BuildValue((char *)"");
37469 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37470 PyObject
*resultobj
;
37471 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37472 wxString
*arg2
= 0 ;
37473 PyObject
*arg3
= (PyObject
*) NULL
;
37475 bool temp2
= false ;
37476 PyObject
* obj0
= 0 ;
37477 PyObject
* obj1
= 0 ;
37478 PyObject
* obj2
= 0 ;
37479 char *kwnames
[] = {
37480 (char *) "self",(char *) "item",(char *) "clientData", NULL
37483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37485 if (SWIG_arg_fail(1)) SWIG_fail
;
37487 arg2
= wxString_in_helper(obj1
);
37488 if (arg2
== NULL
) SWIG_fail
;
37495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37496 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37498 wxPyEndAllowThreads(__tstate
);
37499 if (PyErr_Occurred()) SWIG_fail
;
37502 resultobj
= SWIG_From_int((int)(result
));
37518 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37519 PyObject
*resultobj
;
37520 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37521 wxArrayString
*arg2
= 0 ;
37522 bool temp2
= false ;
37523 PyObject
* obj0
= 0 ;
37524 PyObject
* obj1
= 0 ;
37525 char *kwnames
[] = {
37526 (char *) "self",(char *) "strings", NULL
37529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37531 if (SWIG_arg_fail(1)) SWIG_fail
;
37533 if (! PySequence_Check(obj1
)) {
37534 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37537 arg2
= new wxArrayString
;
37539 int i
, len
=PySequence_Length(obj1
);
37540 for (i
=0; i
<len
; i
++) {
37541 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37543 PyObject
* str
= PyObject_Unicode(item
);
37545 PyObject
* str
= PyObject_Str(item
);
37547 if (PyErr_Occurred()) SWIG_fail
;
37548 arg2
->Add(Py2wxString(str
));
37554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37555 (arg1
)->Append((wxArrayString
const &)*arg2
);
37557 wxPyEndAllowThreads(__tstate
);
37558 if (PyErr_Occurred()) SWIG_fail
;
37560 Py_INCREF(Py_None
); resultobj
= Py_None
;
37562 if (temp2
) delete arg2
;
37567 if (temp2
) delete arg2
;
37573 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37574 PyObject
*resultobj
;
37575 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37576 wxString
*arg2
= 0 ;
37578 PyObject
*arg4
= (PyObject
*) NULL
;
37580 bool temp2
= false ;
37581 PyObject
* obj0
= 0 ;
37582 PyObject
* obj1
= 0 ;
37583 PyObject
* obj2
= 0 ;
37584 PyObject
* obj3
= 0 ;
37585 char *kwnames
[] = {
37586 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37591 if (SWIG_arg_fail(1)) SWIG_fail
;
37593 arg2
= wxString_in_helper(obj1
);
37594 if (arg2
== NULL
) SWIG_fail
;
37598 arg3
= (int)(SWIG_As_int(obj2
));
37599 if (SWIG_arg_fail(3)) SWIG_fail
;
37605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37606 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37608 wxPyEndAllowThreads(__tstate
);
37609 if (PyErr_Occurred()) SWIG_fail
;
37612 resultobj
= SWIG_From_int((int)(result
));
37628 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37629 PyObject
*resultobj
;
37630 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37631 PyObject
* obj0
= 0 ;
37632 char *kwnames
[] = {
37633 (char *) "self", NULL
37636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37637 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37638 if (SWIG_arg_fail(1)) SWIG_fail
;
37640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37643 wxPyEndAllowThreads(__tstate
);
37644 if (PyErr_Occurred()) SWIG_fail
;
37646 Py_INCREF(Py_None
); resultobj
= Py_None
;
37653 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37654 PyObject
*resultobj
;
37655 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37657 PyObject
* obj0
= 0 ;
37658 PyObject
* obj1
= 0 ;
37659 char *kwnames
[] = {
37660 (char *) "self",(char *) "n", NULL
37663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
37664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37665 if (SWIG_arg_fail(1)) SWIG_fail
;
37667 arg2
= (int)(SWIG_As_int(obj1
));
37668 if (SWIG_arg_fail(2)) SWIG_fail
;
37671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37672 (arg1
)->Delete(arg2
);
37674 wxPyEndAllowThreads(__tstate
);
37675 if (PyErr_Occurred()) SWIG_fail
;
37677 Py_INCREF(Py_None
); resultobj
= Py_None
;
37684 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37685 PyObject
*resultobj
;
37686 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37689 PyObject
* obj0
= 0 ;
37690 PyObject
* obj1
= 0 ;
37691 char *kwnames
[] = {
37692 (char *) "self",(char *) "n", NULL
37695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
37696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37697 if (SWIG_arg_fail(1)) SWIG_fail
;
37699 arg2
= (int)(SWIG_As_int(obj1
));
37700 if (SWIG_arg_fail(2)) SWIG_fail
;
37703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37704 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
37706 wxPyEndAllowThreads(__tstate
);
37707 if (PyErr_Occurred()) SWIG_fail
;
37709 resultobj
= result
;
37716 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37717 PyObject
*resultobj
;
37718 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37720 PyObject
*arg3
= (PyObject
*) 0 ;
37721 PyObject
* obj0
= 0 ;
37722 PyObject
* obj1
= 0 ;
37723 PyObject
* obj2
= 0 ;
37724 char *kwnames
[] = {
37725 (char *) "self",(char *) "n",(char *) "clientData", NULL
37728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37730 if (SWIG_arg_fail(1)) SWIG_fail
;
37732 arg2
= (int)(SWIG_As_int(obj1
));
37733 if (SWIG_arg_fail(2)) SWIG_fail
;
37737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37738 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
37740 wxPyEndAllowThreads(__tstate
);
37741 if (PyErr_Occurred()) SWIG_fail
;
37743 Py_INCREF(Py_None
); resultobj
= Py_None
;
37750 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37751 PyObject
*resultobj
;
37752 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37754 PyObject
* obj0
= 0 ;
37755 char *kwnames
[] = {
37756 (char *) "self", NULL
37759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
37760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37761 if (SWIG_arg_fail(1)) SWIG_fail
;
37763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37764 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
37766 wxPyEndAllowThreads(__tstate
);
37767 if (PyErr_Occurred()) SWIG_fail
;
37770 resultobj
= SWIG_From_int((int)(result
));
37778 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37779 PyObject
*resultobj
;
37780 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37782 PyObject
* obj0
= 0 ;
37783 char *kwnames
[] = {
37784 (char *) "self", NULL
37787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
37788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37789 if (SWIG_arg_fail(1)) SWIG_fail
;
37791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37792 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
37794 wxPyEndAllowThreads(__tstate
);
37795 if (PyErr_Occurred()) SWIG_fail
;
37798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37806 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37807 PyObject
*resultobj
;
37808 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37811 PyObject
* obj0
= 0 ;
37812 PyObject
* obj1
= 0 ;
37813 char *kwnames
[] = {
37814 (char *) "self",(char *) "n", NULL
37817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
37818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37819 if (SWIG_arg_fail(1)) SWIG_fail
;
37821 arg2
= (int)(SWIG_As_int(obj1
));
37822 if (SWIG_arg_fail(2)) SWIG_fail
;
37825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37826 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
37828 wxPyEndAllowThreads(__tstate
);
37829 if (PyErr_Occurred()) SWIG_fail
;
37833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37844 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37845 PyObject
*resultobj
;
37846 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37847 wxArrayString result
;
37848 PyObject
* obj0
= 0 ;
37849 char *kwnames
[] = {
37850 (char *) "self", NULL
37853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
37854 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37855 if (SWIG_arg_fail(1)) SWIG_fail
;
37857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37858 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
37860 wxPyEndAllowThreads(__tstate
);
37861 if (PyErr_Occurred()) SWIG_fail
;
37864 resultobj
= wxArrayString2PyList_helper(result
);
37872 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37873 PyObject
*resultobj
;
37874 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37876 wxString
*arg3
= 0 ;
37877 bool temp3
= false ;
37878 PyObject
* obj0
= 0 ;
37879 PyObject
* obj1
= 0 ;
37880 PyObject
* obj2
= 0 ;
37881 char *kwnames
[] = {
37882 (char *) "self",(char *) "n",(char *) "s", NULL
37885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37887 if (SWIG_arg_fail(1)) SWIG_fail
;
37889 arg2
= (int)(SWIG_As_int(obj1
));
37890 if (SWIG_arg_fail(2)) SWIG_fail
;
37893 arg3
= wxString_in_helper(obj2
);
37894 if (arg3
== NULL
) SWIG_fail
;
37898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37899 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
37901 wxPyEndAllowThreads(__tstate
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37904 Py_INCREF(Py_None
); resultobj
= Py_None
;
37919 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37920 PyObject
*resultobj
;
37921 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37922 wxString
*arg2
= 0 ;
37924 bool temp2
= false ;
37925 PyObject
* obj0
= 0 ;
37926 PyObject
* obj1
= 0 ;
37927 char *kwnames
[] = {
37928 (char *) "self",(char *) "s", NULL
37931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
37932 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37933 if (SWIG_arg_fail(1)) SWIG_fail
;
37935 arg2
= wxString_in_helper(obj1
);
37936 if (arg2
== NULL
) SWIG_fail
;
37940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37941 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
37943 wxPyEndAllowThreads(__tstate
);
37944 if (PyErr_Occurred()) SWIG_fail
;
37947 resultobj
= SWIG_From_int((int)(result
));
37963 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37964 PyObject
*resultobj
;
37965 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37967 PyObject
* obj0
= 0 ;
37968 PyObject
* obj1
= 0 ;
37969 char *kwnames
[] = {
37970 (char *) "self",(char *) "n", NULL
37973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
37974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37975 if (SWIG_arg_fail(1)) SWIG_fail
;
37977 arg2
= (int)(SWIG_As_int(obj1
));
37978 if (SWIG_arg_fail(2)) SWIG_fail
;
37981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37982 (arg1
)->SetSelection(arg2
);
37984 wxPyEndAllowThreads(__tstate
);
37985 if (PyErr_Occurred()) SWIG_fail
;
37987 Py_INCREF(Py_None
); resultobj
= Py_None
;
37994 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37995 PyObject
*resultobj
;
37996 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37998 PyObject
* obj0
= 0 ;
37999 char *kwnames
[] = {
38000 (char *) "self", NULL
38003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38004 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38005 if (SWIG_arg_fail(1)) SWIG_fail
;
38007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38008 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38010 wxPyEndAllowThreads(__tstate
);
38011 if (PyErr_Occurred()) SWIG_fail
;
38014 resultobj
= SWIG_From_int((int)(result
));
38022 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38023 PyObject
*resultobj
;
38024 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38025 wxString
*arg2
= 0 ;
38027 bool temp2
= false ;
38028 PyObject
* obj0
= 0 ;
38029 PyObject
* obj1
= 0 ;
38030 char *kwnames
[] = {
38031 (char *) "self",(char *) "s", NULL
38034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38036 if (SWIG_arg_fail(1)) SWIG_fail
;
38038 arg2
= wxString_in_helper(obj1
);
38039 if (arg2
== NULL
) SWIG_fail
;
38043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38044 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38046 wxPyEndAllowThreads(__tstate
);
38047 if (PyErr_Occurred()) SWIG_fail
;
38050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38066 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38067 PyObject
*resultobj
;
38068 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38070 PyObject
* obj0
= 0 ;
38071 char *kwnames
[] = {
38072 (char *) "self", NULL
38075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38077 if (SWIG_arg_fail(1)) SWIG_fail
;
38079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38080 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38082 wxPyEndAllowThreads(__tstate
);
38083 if (PyErr_Occurred()) SWIG_fail
;
38087 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38089 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38098 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38099 PyObject
*resultobj
;
38100 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38102 PyObject
* obj0
= 0 ;
38103 PyObject
* obj1
= 0 ;
38104 char *kwnames
[] = {
38105 (char *) "self",(char *) "n", NULL
38108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38110 if (SWIG_arg_fail(1)) SWIG_fail
;
38112 arg2
= (int)(SWIG_As_int(obj1
));
38113 if (SWIG_arg_fail(2)) SWIG_fail
;
38116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38117 (arg1
)->Select(arg2
);
38119 wxPyEndAllowThreads(__tstate
);
38120 if (PyErr_Occurred()) SWIG_fail
;
38122 Py_INCREF(Py_None
); resultobj
= Py_None
;
38129 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38132 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38134 return Py_BuildValue((char *)"");
38136 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38139 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38141 return Py_BuildValue((char *)"");
38143 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38144 PyObject
*resultobj
;
38145 wxSizerItem
*result
;
38146 char *kwnames
[] = {
38150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38153 result
= (wxSizerItem
*)new wxSizerItem();
38155 wxPyEndAllowThreads(__tstate
);
38156 if (PyErr_Occurred()) SWIG_fail
;
38158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38165 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38166 PyObject
*resultobj
;
38167 wxWindow
*arg1
= (wxWindow
*) 0 ;
38171 PyObject
*arg5
= (PyObject
*) NULL
;
38172 wxSizerItem
*result
;
38173 PyObject
* obj0
= 0 ;
38174 PyObject
* obj1
= 0 ;
38175 PyObject
* obj2
= 0 ;
38176 PyObject
* obj3
= 0 ;
38177 PyObject
* obj4
= 0 ;
38178 char *kwnames
[] = {
38179 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38184 if (SWIG_arg_fail(1)) SWIG_fail
;
38186 arg2
= (int)(SWIG_As_int(obj1
));
38187 if (SWIG_arg_fail(2)) SWIG_fail
;
38190 arg3
= (int)(SWIG_As_int(obj2
));
38191 if (SWIG_arg_fail(3)) SWIG_fail
;
38194 arg4
= (int)(SWIG_As_int(obj3
));
38195 if (SWIG_arg_fail(4)) SWIG_fail
;
38201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38202 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38204 wxPyEndAllowThreads(__tstate
);
38205 if (PyErr_Occurred()) SWIG_fail
;
38207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38214 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38215 PyObject
*resultobj
;
38221 PyObject
*arg6
= (PyObject
*) NULL
;
38222 wxSizerItem
*result
;
38223 PyObject
* obj0
= 0 ;
38224 PyObject
* obj1
= 0 ;
38225 PyObject
* obj2
= 0 ;
38226 PyObject
* obj3
= 0 ;
38227 PyObject
* obj4
= 0 ;
38228 PyObject
* obj5
= 0 ;
38229 char *kwnames
[] = {
38230 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38235 arg1
= (int)(SWIG_As_int(obj0
));
38236 if (SWIG_arg_fail(1)) SWIG_fail
;
38239 arg2
= (int)(SWIG_As_int(obj1
));
38240 if (SWIG_arg_fail(2)) SWIG_fail
;
38243 arg3
= (int)(SWIG_As_int(obj2
));
38244 if (SWIG_arg_fail(3)) SWIG_fail
;
38247 arg4
= (int)(SWIG_As_int(obj3
));
38248 if (SWIG_arg_fail(4)) SWIG_fail
;
38251 arg5
= (int)(SWIG_As_int(obj4
));
38252 if (SWIG_arg_fail(5)) SWIG_fail
;
38258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38259 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38271 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38272 PyObject
*resultobj
;
38273 wxSizer
*arg1
= (wxSizer
*) 0 ;
38277 PyObject
*arg5
= (PyObject
*) NULL
;
38278 wxSizerItem
*result
;
38279 PyObject
* obj0
= 0 ;
38280 PyObject
* obj1
= 0 ;
38281 PyObject
* obj2
= 0 ;
38282 PyObject
* obj3
= 0 ;
38283 PyObject
* obj4
= 0 ;
38284 char *kwnames
[] = {
38285 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38290 if (SWIG_arg_fail(1)) SWIG_fail
;
38292 arg2
= (int)(SWIG_As_int(obj1
));
38293 if (SWIG_arg_fail(2)) SWIG_fail
;
38296 arg3
= (int)(SWIG_As_int(obj2
));
38297 if (SWIG_arg_fail(3)) SWIG_fail
;
38300 arg4
= (int)(SWIG_As_int(obj3
));
38301 if (SWIG_arg_fail(4)) SWIG_fail
;
38307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38308 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38310 wxPyEndAllowThreads(__tstate
);
38311 if (PyErr_Occurred()) SWIG_fail
;
38313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38320 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38321 PyObject
*resultobj
;
38322 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38323 PyObject
* obj0
= 0 ;
38324 char *kwnames
[] = {
38325 (char *) "self", NULL
38328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38330 if (SWIG_arg_fail(1)) SWIG_fail
;
38332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38333 (arg1
)->DeleteWindows();
38335 wxPyEndAllowThreads(__tstate
);
38336 if (PyErr_Occurred()) SWIG_fail
;
38338 Py_INCREF(Py_None
); resultobj
= Py_None
;
38345 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38346 PyObject
*resultobj
;
38347 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38348 PyObject
* obj0
= 0 ;
38349 char *kwnames
[] = {
38350 (char *) "self", NULL
38353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38354 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38355 if (SWIG_arg_fail(1)) SWIG_fail
;
38357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38358 (arg1
)->DetachSizer();
38360 wxPyEndAllowThreads(__tstate
);
38361 if (PyErr_Occurred()) SWIG_fail
;
38363 Py_INCREF(Py_None
); resultobj
= Py_None
;
38370 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38371 PyObject
*resultobj
;
38372 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38374 PyObject
* obj0
= 0 ;
38375 char *kwnames
[] = {
38376 (char *) "self", NULL
38379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38381 if (SWIG_arg_fail(1)) SWIG_fail
;
38383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38384 result
= (arg1
)->GetSize();
38386 wxPyEndAllowThreads(__tstate
);
38387 if (PyErr_Occurred()) SWIG_fail
;
38390 wxSize
* resultptr
;
38391 resultptr
= new wxSize((wxSize
&)(result
));
38392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38400 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38401 PyObject
*resultobj
;
38402 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38404 PyObject
* obj0
= 0 ;
38405 char *kwnames
[] = {
38406 (char *) "self", NULL
38409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38411 if (SWIG_arg_fail(1)) SWIG_fail
;
38413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38414 result
= (arg1
)->CalcMin();
38416 wxPyEndAllowThreads(__tstate
);
38417 if (PyErr_Occurred()) SWIG_fail
;
38420 wxSize
* resultptr
;
38421 resultptr
= new wxSize((wxSize
&)(result
));
38422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38430 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38431 PyObject
*resultobj
;
38432 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38435 PyObject
* obj0
= 0 ;
38436 PyObject
* obj1
= 0 ;
38437 PyObject
* obj2
= 0 ;
38438 char *kwnames
[] = {
38439 (char *) "self",(char *) "pos",(char *) "size", NULL
38442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38444 if (SWIG_arg_fail(1)) SWIG_fail
;
38447 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38448 if (SWIG_arg_fail(2)) SWIG_fail
;
38449 if (argp
== NULL
) {
38450 SWIG_null_ref("wxPoint");
38452 if (SWIG_arg_fail(2)) SWIG_fail
;
38457 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38458 if (SWIG_arg_fail(3)) SWIG_fail
;
38459 if (argp
== NULL
) {
38460 SWIG_null_ref("wxSize");
38462 if (SWIG_arg_fail(3)) SWIG_fail
;
38466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38467 (arg1
)->SetDimension(arg2
,arg3
);
38469 wxPyEndAllowThreads(__tstate
);
38470 if (PyErr_Occurred()) SWIG_fail
;
38472 Py_INCREF(Py_None
); resultobj
= Py_None
;
38479 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38480 PyObject
*resultobj
;
38481 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38483 PyObject
* obj0
= 0 ;
38484 char *kwnames
[] = {
38485 (char *) "self", NULL
38488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38490 if (SWIG_arg_fail(1)) SWIG_fail
;
38492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38493 result
= (arg1
)->GetMinSize();
38495 wxPyEndAllowThreads(__tstate
);
38496 if (PyErr_Occurred()) SWIG_fail
;
38499 wxSize
* resultptr
;
38500 resultptr
= new wxSize((wxSize
&)(result
));
38501 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38509 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38510 PyObject
*resultobj
;
38511 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38513 PyObject
* obj0
= 0 ;
38514 char *kwnames
[] = {
38515 (char *) "self", NULL
38518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38519 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38520 if (SWIG_arg_fail(1)) SWIG_fail
;
38522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38523 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38525 wxPyEndAllowThreads(__tstate
);
38526 if (PyErr_Occurred()) SWIG_fail
;
38529 wxSize
* resultptr
;
38530 resultptr
= new wxSize((wxSize
&)(result
));
38531 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38539 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38540 PyObject
*resultobj
;
38541 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38544 PyObject
* obj0
= 0 ;
38545 PyObject
* obj1
= 0 ;
38546 PyObject
* obj2
= 0 ;
38547 char *kwnames
[] = {
38548 (char *) "self",(char *) "x",(char *) "y", NULL
38551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38553 if (SWIG_arg_fail(1)) SWIG_fail
;
38555 arg2
= (int)(SWIG_As_int(obj1
));
38556 if (SWIG_arg_fail(2)) SWIG_fail
;
38559 arg3
= (int)(SWIG_As_int(obj2
));
38560 if (SWIG_arg_fail(3)) SWIG_fail
;
38563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38564 (arg1
)->SetInitSize(arg2
,arg3
);
38566 wxPyEndAllowThreads(__tstate
);
38567 if (PyErr_Occurred()) SWIG_fail
;
38569 Py_INCREF(Py_None
); resultobj
= Py_None
;
38576 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38577 PyObject
*resultobj
;
38578 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38581 PyObject
* obj0
= 0 ;
38582 PyObject
* obj1
= 0 ;
38583 PyObject
* obj2
= 0 ;
38584 char *kwnames
[] = {
38585 (char *) "self",(char *) "width",(char *) "height", NULL
38588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38590 if (SWIG_arg_fail(1)) SWIG_fail
;
38592 arg2
= (int)(SWIG_As_int(obj1
));
38593 if (SWIG_arg_fail(2)) SWIG_fail
;
38596 arg3
= (int)(SWIG_As_int(obj2
));
38597 if (SWIG_arg_fail(3)) SWIG_fail
;
38600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38601 (arg1
)->SetRatio(arg2
,arg3
);
38603 wxPyEndAllowThreads(__tstate
);
38604 if (PyErr_Occurred()) SWIG_fail
;
38606 Py_INCREF(Py_None
); resultobj
= Py_None
;
38613 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38614 PyObject
*resultobj
;
38615 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38617 PyObject
* obj0
= 0 ;
38618 PyObject
* obj1
= 0 ;
38619 char *kwnames
[] = {
38620 (char *) "self",(char *) "size", NULL
38623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38625 if (SWIG_arg_fail(1)) SWIG_fail
;
38628 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38629 if (SWIG_arg_fail(2)) SWIG_fail
;
38630 if (argp
== NULL
) {
38631 SWIG_null_ref("wxSize");
38633 if (SWIG_arg_fail(2)) SWIG_fail
;
38637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38638 (arg1
)->SetRatio(arg2
);
38640 wxPyEndAllowThreads(__tstate
);
38641 if (PyErr_Occurred()) SWIG_fail
;
38643 Py_INCREF(Py_None
); resultobj
= Py_None
;
38650 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38651 PyObject
*resultobj
;
38652 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38654 PyObject
* obj0
= 0 ;
38655 PyObject
* obj1
= 0 ;
38656 char *kwnames
[] = {
38657 (char *) "self",(char *) "ratio", NULL
38660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
38661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38662 if (SWIG_arg_fail(1)) SWIG_fail
;
38664 arg2
= (float)(SWIG_As_float(obj1
));
38665 if (SWIG_arg_fail(2)) SWIG_fail
;
38668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38669 (arg1
)->SetRatio(arg2
);
38671 wxPyEndAllowThreads(__tstate
);
38672 if (PyErr_Occurred()) SWIG_fail
;
38674 Py_INCREF(Py_None
); resultobj
= Py_None
;
38681 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38682 PyObject
*resultobj
;
38683 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38685 PyObject
* obj0
= 0 ;
38686 char *kwnames
[] = {
38687 (char *) "self", NULL
38690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
38691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38692 if (SWIG_arg_fail(1)) SWIG_fail
;
38694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38695 result
= (float)(arg1
)->GetRatio();
38697 wxPyEndAllowThreads(__tstate
);
38698 if (PyErr_Occurred()) SWIG_fail
;
38701 resultobj
= SWIG_From_float((float)(result
));
38709 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38710 PyObject
*resultobj
;
38711 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38713 PyObject
* obj0
= 0 ;
38714 char *kwnames
[] = {
38715 (char *) "self", NULL
38718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
38719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38720 if (SWIG_arg_fail(1)) SWIG_fail
;
38722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38723 result
= (arg1
)->GetRect();
38725 wxPyEndAllowThreads(__tstate
);
38726 if (PyErr_Occurred()) SWIG_fail
;
38729 wxRect
* resultptr
;
38730 resultptr
= new wxRect((wxRect
&)(result
));
38731 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
38739 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38740 PyObject
*resultobj
;
38741 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38743 PyObject
* obj0
= 0 ;
38744 char *kwnames
[] = {
38745 (char *) "self", NULL
38748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
38749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38750 if (SWIG_arg_fail(1)) SWIG_fail
;
38752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38753 result
= (bool)(arg1
)->IsWindow();
38755 wxPyEndAllowThreads(__tstate
);
38756 if (PyErr_Occurred()) SWIG_fail
;
38759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38767 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38768 PyObject
*resultobj
;
38769 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38771 PyObject
* obj0
= 0 ;
38772 char *kwnames
[] = {
38773 (char *) "self", NULL
38776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
38777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38778 if (SWIG_arg_fail(1)) SWIG_fail
;
38780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38781 result
= (bool)(arg1
)->IsSizer();
38783 wxPyEndAllowThreads(__tstate
);
38784 if (PyErr_Occurred()) SWIG_fail
;
38787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38795 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38796 PyObject
*resultobj
;
38797 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38799 PyObject
* obj0
= 0 ;
38800 char *kwnames
[] = {
38801 (char *) "self", NULL
38804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
38805 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38806 if (SWIG_arg_fail(1)) SWIG_fail
;
38808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38809 result
= (bool)(arg1
)->IsSpacer();
38811 wxPyEndAllowThreads(__tstate
);
38812 if (PyErr_Occurred()) SWIG_fail
;
38815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38823 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38824 PyObject
*resultobj
;
38825 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38827 PyObject
* obj0
= 0 ;
38828 PyObject
* obj1
= 0 ;
38829 char *kwnames
[] = {
38830 (char *) "self",(char *) "proportion", NULL
38833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
38834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38835 if (SWIG_arg_fail(1)) SWIG_fail
;
38837 arg2
= (int)(SWIG_As_int(obj1
));
38838 if (SWIG_arg_fail(2)) SWIG_fail
;
38841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38842 (arg1
)->SetProportion(arg2
);
38844 wxPyEndAllowThreads(__tstate
);
38845 if (PyErr_Occurred()) SWIG_fail
;
38847 Py_INCREF(Py_None
); resultobj
= Py_None
;
38854 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38855 PyObject
*resultobj
;
38856 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38858 PyObject
* obj0
= 0 ;
38859 char *kwnames
[] = {
38860 (char *) "self", NULL
38863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
38864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38865 if (SWIG_arg_fail(1)) SWIG_fail
;
38867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38868 result
= (int)(arg1
)->GetProportion();
38870 wxPyEndAllowThreads(__tstate
);
38871 if (PyErr_Occurred()) SWIG_fail
;
38874 resultobj
= SWIG_From_int((int)(result
));
38882 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38883 PyObject
*resultobj
;
38884 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38886 PyObject
* obj0
= 0 ;
38887 PyObject
* obj1
= 0 ;
38888 char *kwnames
[] = {
38889 (char *) "self",(char *) "flag", NULL
38892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
38893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38894 if (SWIG_arg_fail(1)) SWIG_fail
;
38896 arg2
= (int)(SWIG_As_int(obj1
));
38897 if (SWIG_arg_fail(2)) SWIG_fail
;
38900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38901 (arg1
)->SetFlag(arg2
);
38903 wxPyEndAllowThreads(__tstate
);
38904 if (PyErr_Occurred()) SWIG_fail
;
38906 Py_INCREF(Py_None
); resultobj
= Py_None
;
38913 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38914 PyObject
*resultobj
;
38915 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38917 PyObject
* obj0
= 0 ;
38918 char *kwnames
[] = {
38919 (char *) "self", NULL
38922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
38923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38924 if (SWIG_arg_fail(1)) SWIG_fail
;
38926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38927 result
= (int)(arg1
)->GetFlag();
38929 wxPyEndAllowThreads(__tstate
);
38930 if (PyErr_Occurred()) SWIG_fail
;
38933 resultobj
= SWIG_From_int((int)(result
));
38941 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38942 PyObject
*resultobj
;
38943 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38945 PyObject
* obj0
= 0 ;
38946 PyObject
* obj1
= 0 ;
38947 char *kwnames
[] = {
38948 (char *) "self",(char *) "border", NULL
38951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
38956 if (SWIG_arg_fail(2)) SWIG_fail
;
38959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38960 (arg1
)->SetBorder(arg2
);
38962 wxPyEndAllowThreads(__tstate
);
38963 if (PyErr_Occurred()) SWIG_fail
;
38965 Py_INCREF(Py_None
); resultobj
= Py_None
;
38972 static PyObject
*_wrap_SizerItem_GetBorder(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_GetBorder",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
= (int)(arg1
)->GetBorder();
38988 wxPyEndAllowThreads(__tstate
);
38989 if (PyErr_Occurred()) SWIG_fail
;
38992 resultobj
= SWIG_From_int((int)(result
));
39000 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39001 PyObject
*resultobj
;
39002 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39004 PyObject
* obj0
= 0 ;
39005 char *kwnames
[] = {
39006 (char *) "self", NULL
39009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39011 if (SWIG_arg_fail(1)) SWIG_fail
;
39013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39014 result
= (wxWindow
*)(arg1
)->GetWindow();
39016 wxPyEndAllowThreads(__tstate
);
39017 if (PyErr_Occurred()) SWIG_fail
;
39020 resultobj
= wxPyMake_wxObject(result
, 0);
39028 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39029 PyObject
*resultobj
;
39030 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39031 wxWindow
*arg2
= (wxWindow
*) 0 ;
39032 PyObject
* obj0
= 0 ;
39033 PyObject
* obj1
= 0 ;
39034 char *kwnames
[] = {
39035 (char *) "self",(char *) "window", NULL
39038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39039 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39040 if (SWIG_arg_fail(1)) SWIG_fail
;
39041 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39042 if (SWIG_arg_fail(2)) SWIG_fail
;
39044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39045 (arg1
)->SetWindow(arg2
);
39047 wxPyEndAllowThreads(__tstate
);
39048 if (PyErr_Occurred()) SWIG_fail
;
39050 Py_INCREF(Py_None
); resultobj
= Py_None
;
39057 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39058 PyObject
*resultobj
;
39059 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39061 PyObject
* obj0
= 0 ;
39062 char *kwnames
[] = {
39063 (char *) "self", NULL
39066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39068 if (SWIG_arg_fail(1)) SWIG_fail
;
39070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39071 result
= (wxSizer
*)(arg1
)->GetSizer();
39073 wxPyEndAllowThreads(__tstate
);
39074 if (PyErr_Occurred()) SWIG_fail
;
39077 resultobj
= wxPyMake_wxSizer(result
, 0);
39085 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39086 PyObject
*resultobj
;
39087 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39088 wxSizer
*arg2
= (wxSizer
*) 0 ;
39089 PyObject
* obj0
= 0 ;
39090 PyObject
* obj1
= 0 ;
39091 char *kwnames
[] = {
39092 (char *) "self",(char *) "sizer", NULL
39095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39097 if (SWIG_arg_fail(1)) SWIG_fail
;
39098 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39099 if (SWIG_arg_fail(2)) SWIG_fail
;
39101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39102 (arg1
)->SetSizer(arg2
);
39104 wxPyEndAllowThreads(__tstate
);
39105 if (PyErr_Occurred()) SWIG_fail
;
39107 Py_INCREF(Py_None
); resultobj
= Py_None
;
39114 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39115 PyObject
*resultobj
;
39116 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39118 PyObject
* obj0
= 0 ;
39119 char *kwnames
[] = {
39120 (char *) "self", NULL
39123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39125 if (SWIG_arg_fail(1)) SWIG_fail
;
39127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39129 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39130 result
= (wxSize
*) &_result_ref
;
39133 wxPyEndAllowThreads(__tstate
);
39134 if (PyErr_Occurred()) SWIG_fail
;
39136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39143 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39144 PyObject
*resultobj
;
39145 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39148 PyObject
* obj0
= 0 ;
39149 PyObject
* obj1
= 0 ;
39150 char *kwnames
[] = {
39151 (char *) "self",(char *) "size", NULL
39154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39156 if (SWIG_arg_fail(1)) SWIG_fail
;
39159 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39163 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39165 wxPyEndAllowThreads(__tstate
);
39166 if (PyErr_Occurred()) SWIG_fail
;
39168 Py_INCREF(Py_None
); resultobj
= Py_None
;
39175 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39176 PyObject
*resultobj
;
39177 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39179 PyObject
* obj0
= 0 ;
39180 PyObject
* obj1
= 0 ;
39181 char *kwnames
[] = {
39182 (char *) "self",(char *) "show", NULL
39185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39187 if (SWIG_arg_fail(1)) SWIG_fail
;
39189 arg2
= (bool)(SWIG_As_bool(obj1
));
39190 if (SWIG_arg_fail(2)) SWIG_fail
;
39193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39194 (arg1
)->Show(arg2
);
39196 wxPyEndAllowThreads(__tstate
);
39197 if (PyErr_Occurred()) SWIG_fail
;
39199 Py_INCREF(Py_None
); resultobj
= Py_None
;
39206 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39207 PyObject
*resultobj
;
39208 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39210 PyObject
* obj0
= 0 ;
39211 char *kwnames
[] = {
39212 (char *) "self", NULL
39215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39217 if (SWIG_arg_fail(1)) SWIG_fail
;
39219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39220 result
= (bool)(arg1
)->IsShown();
39222 wxPyEndAllowThreads(__tstate
);
39223 if (PyErr_Occurred()) SWIG_fail
;
39226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39234 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39235 PyObject
*resultobj
;
39236 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39238 PyObject
* obj0
= 0 ;
39239 char *kwnames
[] = {
39240 (char *) "self", NULL
39243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39245 if (SWIG_arg_fail(1)) SWIG_fail
;
39247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39248 result
= (arg1
)->GetPosition();
39250 wxPyEndAllowThreads(__tstate
);
39251 if (PyErr_Occurred()) SWIG_fail
;
39254 wxPoint
* resultptr
;
39255 resultptr
= new wxPoint((wxPoint
&)(result
));
39256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39264 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39265 PyObject
*resultobj
;
39266 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39268 PyObject
* obj0
= 0 ;
39269 char *kwnames
[] = {
39270 (char *) "self", NULL
39273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39275 if (SWIG_arg_fail(1)) SWIG_fail
;
39277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39278 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39280 wxPyEndAllowThreads(__tstate
);
39281 if (PyErr_Occurred()) SWIG_fail
;
39283 resultobj
= result
;
39290 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39293 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39295 return Py_BuildValue((char *)"");
39297 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39298 PyObject
*resultobj
;
39299 wxSizer
*arg1
= (wxSizer
*) 0 ;
39300 PyObject
*arg2
= (PyObject
*) 0 ;
39301 PyObject
* obj0
= 0 ;
39302 PyObject
* obj1
= 0 ;
39303 char *kwnames
[] = {
39304 (char *) "self",(char *) "_self", NULL
39307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39309 if (SWIG_arg_fail(1)) SWIG_fail
;
39312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39313 wxSizer__setOORInfo(arg1
,arg2
);
39315 wxPyEndAllowThreads(__tstate
);
39316 if (PyErr_Occurred()) SWIG_fail
;
39318 Py_INCREF(Py_None
); resultobj
= Py_None
;
39325 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39326 PyObject
*resultobj
;
39327 wxSizer
*arg1
= (wxSizer
*) 0 ;
39328 PyObject
*arg2
= (PyObject
*) 0 ;
39329 int arg3
= (int) 0 ;
39330 int arg4
= (int) 0 ;
39331 int arg5
= (int) 0 ;
39332 PyObject
*arg6
= (PyObject
*) NULL
;
39333 wxSizerItem
*result
;
39334 PyObject
* obj0
= 0 ;
39335 PyObject
* obj1
= 0 ;
39336 PyObject
* obj2
= 0 ;
39337 PyObject
* obj3
= 0 ;
39338 PyObject
* obj4
= 0 ;
39339 PyObject
* obj5
= 0 ;
39340 char *kwnames
[] = {
39341 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39346 if (SWIG_arg_fail(1)) SWIG_fail
;
39350 arg3
= (int)(SWIG_As_int(obj2
));
39351 if (SWIG_arg_fail(3)) SWIG_fail
;
39356 arg4
= (int)(SWIG_As_int(obj3
));
39357 if (SWIG_arg_fail(4)) SWIG_fail
;
39362 arg5
= (int)(SWIG_As_int(obj4
));
39363 if (SWIG_arg_fail(5)) SWIG_fail
;
39370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39371 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39373 wxPyEndAllowThreads(__tstate
);
39374 if (PyErr_Occurred()) SWIG_fail
;
39376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39383 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39384 PyObject
*resultobj
;
39385 wxSizer
*arg1
= (wxSizer
*) 0 ;
39387 PyObject
*arg3
= (PyObject
*) 0 ;
39388 int arg4
= (int) 0 ;
39389 int arg5
= (int) 0 ;
39390 int arg6
= (int) 0 ;
39391 PyObject
*arg7
= (PyObject
*) NULL
;
39392 wxSizerItem
*result
;
39393 PyObject
* obj0
= 0 ;
39394 PyObject
* obj1
= 0 ;
39395 PyObject
* obj2
= 0 ;
39396 PyObject
* obj3
= 0 ;
39397 PyObject
* obj4
= 0 ;
39398 PyObject
* obj5
= 0 ;
39399 PyObject
* obj6
= 0 ;
39400 char *kwnames
[] = {
39401 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39406 if (SWIG_arg_fail(1)) SWIG_fail
;
39408 arg2
= (int)(SWIG_As_int(obj1
));
39409 if (SWIG_arg_fail(2)) SWIG_fail
;
39414 arg4
= (int)(SWIG_As_int(obj3
));
39415 if (SWIG_arg_fail(4)) SWIG_fail
;
39420 arg5
= (int)(SWIG_As_int(obj4
));
39421 if (SWIG_arg_fail(5)) SWIG_fail
;
39426 arg6
= (int)(SWIG_As_int(obj5
));
39427 if (SWIG_arg_fail(6)) SWIG_fail
;
39434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39435 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39437 wxPyEndAllowThreads(__tstate
);
39438 if (PyErr_Occurred()) SWIG_fail
;
39440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39447 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39448 PyObject
*resultobj
;
39449 wxSizer
*arg1
= (wxSizer
*) 0 ;
39450 PyObject
*arg2
= (PyObject
*) 0 ;
39451 int arg3
= (int) 0 ;
39452 int arg4
= (int) 0 ;
39453 int arg5
= (int) 0 ;
39454 PyObject
*arg6
= (PyObject
*) NULL
;
39455 wxSizerItem
*result
;
39456 PyObject
* obj0
= 0 ;
39457 PyObject
* obj1
= 0 ;
39458 PyObject
* obj2
= 0 ;
39459 PyObject
* obj3
= 0 ;
39460 PyObject
* obj4
= 0 ;
39461 PyObject
* obj5
= 0 ;
39462 char *kwnames
[] = {
39463 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39468 if (SWIG_arg_fail(1)) SWIG_fail
;
39472 arg3
= (int)(SWIG_As_int(obj2
));
39473 if (SWIG_arg_fail(3)) SWIG_fail
;
39478 arg4
= (int)(SWIG_As_int(obj3
));
39479 if (SWIG_arg_fail(4)) SWIG_fail
;
39484 arg5
= (int)(SWIG_As_int(obj4
));
39485 if (SWIG_arg_fail(5)) SWIG_fail
;
39492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39493 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39495 wxPyEndAllowThreads(__tstate
);
39496 if (PyErr_Occurred()) SWIG_fail
;
39498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39505 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39506 PyObject
*resultobj
;
39507 wxSizer
*arg1
= (wxSizer
*) 0 ;
39508 PyObject
*arg2
= (PyObject
*) 0 ;
39510 PyObject
* obj0
= 0 ;
39511 PyObject
* obj1
= 0 ;
39512 char *kwnames
[] = {
39513 (char *) "self",(char *) "item", NULL
39516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39518 if (SWIG_arg_fail(1)) SWIG_fail
;
39521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39522 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39524 wxPyEndAllowThreads(__tstate
);
39525 if (PyErr_Occurred()) SWIG_fail
;
39528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39536 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39537 PyObject
*resultobj
;
39538 wxSizer
*arg1
= (wxSizer
*) 0 ;
39539 PyObject
*arg2
= (PyObject
*) 0 ;
39541 PyObject
* obj0
= 0 ;
39542 PyObject
* obj1
= 0 ;
39543 char *kwnames
[] = {
39544 (char *) "self",(char *) "item", NULL
39547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39549 if (SWIG_arg_fail(1)) SWIG_fail
;
39552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39553 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39555 wxPyEndAllowThreads(__tstate
);
39556 if (PyErr_Occurred()) SWIG_fail
;
39559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39567 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39568 PyObject
*resultobj
;
39569 wxSizer
*arg1
= (wxSizer
*) 0 ;
39570 PyObject
*arg2
= (PyObject
*) 0 ;
39571 wxSizerItem
*result
;
39572 PyObject
* obj0
= 0 ;
39573 PyObject
* obj1
= 0 ;
39574 char *kwnames
[] = {
39575 (char *) "self",(char *) "item", NULL
39578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39580 if (SWIG_arg_fail(1)) SWIG_fail
;
39583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39584 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39586 wxPyEndAllowThreads(__tstate
);
39587 if (PyErr_Occurred()) SWIG_fail
;
39589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39596 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39597 PyObject
*resultobj
;
39598 wxSizer
*arg1
= (wxSizer
*) 0 ;
39599 PyObject
*arg2
= (PyObject
*) 0 ;
39602 PyObject
* obj0
= 0 ;
39603 PyObject
* obj1
= 0 ;
39604 PyObject
* obj2
= 0 ;
39605 char *kwnames
[] = {
39606 (char *) "self",(char *) "item",(char *) "size", NULL
39609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39611 if (SWIG_arg_fail(1)) SWIG_fail
;
39615 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39619 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39621 wxPyEndAllowThreads(__tstate
);
39622 if (PyErr_Occurred()) SWIG_fail
;
39624 Py_INCREF(Py_None
); resultobj
= Py_None
;
39631 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39632 PyObject
*resultobj
;
39633 wxSizer
*arg1
= (wxSizer
*) 0 ;
39634 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39635 wxSizerItem
*result
;
39636 PyObject
* obj0
= 0 ;
39637 PyObject
* obj1
= 0 ;
39638 char *kwnames
[] = {
39639 (char *) "self",(char *) "item", NULL
39642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39644 if (SWIG_arg_fail(1)) SWIG_fail
;
39645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39646 if (SWIG_arg_fail(2)) SWIG_fail
;
39648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39649 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
39651 wxPyEndAllowThreads(__tstate
);
39652 if (PyErr_Occurred()) SWIG_fail
;
39654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39661 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39662 PyObject
*resultobj
;
39663 wxSizer
*arg1
= (wxSizer
*) 0 ;
39665 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
39666 wxSizerItem
*result
;
39667 PyObject
* obj0
= 0 ;
39668 PyObject
* obj1
= 0 ;
39669 PyObject
* obj2
= 0 ;
39670 char *kwnames
[] = {
39671 (char *) "self",(char *) "index",(char *) "item", NULL
39674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39676 if (SWIG_arg_fail(1)) SWIG_fail
;
39678 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
39679 if (SWIG_arg_fail(2)) SWIG_fail
;
39681 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39682 if (SWIG_arg_fail(3)) SWIG_fail
;
39684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39685 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
39687 wxPyEndAllowThreads(__tstate
);
39688 if (PyErr_Occurred()) SWIG_fail
;
39690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39697 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39698 PyObject
*resultobj
;
39699 wxSizer
*arg1
= (wxSizer
*) 0 ;
39700 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39701 wxSizerItem
*result
;
39702 PyObject
* obj0
= 0 ;
39703 PyObject
* obj1
= 0 ;
39704 char *kwnames
[] = {
39705 (char *) "self",(char *) "item", NULL
39708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39710 if (SWIG_arg_fail(1)) SWIG_fail
;
39711 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39712 if (SWIG_arg_fail(2)) SWIG_fail
;
39714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39715 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
39717 wxPyEndAllowThreads(__tstate
);
39718 if (PyErr_Occurred()) SWIG_fail
;
39720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39727 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39728 PyObject
*resultobj
;
39729 wxSizer
*arg1
= (wxSizer
*) 0 ;
39734 PyObject
* obj0
= 0 ;
39735 PyObject
* obj1
= 0 ;
39736 PyObject
* obj2
= 0 ;
39737 PyObject
* obj3
= 0 ;
39738 PyObject
* obj4
= 0 ;
39739 char *kwnames
[] = {
39740 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
39744 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39745 if (SWIG_arg_fail(1)) SWIG_fail
;
39747 arg2
= (int)(SWIG_As_int(obj1
));
39748 if (SWIG_arg_fail(2)) SWIG_fail
;
39751 arg3
= (int)(SWIG_As_int(obj2
));
39752 if (SWIG_arg_fail(3)) SWIG_fail
;
39755 arg4
= (int)(SWIG_As_int(obj3
));
39756 if (SWIG_arg_fail(4)) SWIG_fail
;
39759 arg5
= (int)(SWIG_As_int(obj4
));
39760 if (SWIG_arg_fail(5)) SWIG_fail
;
39763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39764 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
39766 wxPyEndAllowThreads(__tstate
);
39767 if (PyErr_Occurred()) SWIG_fail
;
39769 Py_INCREF(Py_None
); resultobj
= Py_None
;
39776 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39777 PyObject
*resultobj
;
39778 wxSizer
*arg1
= (wxSizer
*) 0 ;
39781 PyObject
* obj0
= 0 ;
39782 PyObject
* obj1
= 0 ;
39783 char *kwnames
[] = {
39784 (char *) "self",(char *) "size", NULL
39787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
39788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39789 if (SWIG_arg_fail(1)) SWIG_fail
;
39792 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39796 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
39798 wxPyEndAllowThreads(__tstate
);
39799 if (PyErr_Occurred()) SWIG_fail
;
39801 Py_INCREF(Py_None
); resultobj
= Py_None
;
39808 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39809 PyObject
*resultobj
;
39810 wxSizer
*arg1
= (wxSizer
*) 0 ;
39812 PyObject
* obj0
= 0 ;
39813 char *kwnames
[] = {
39814 (char *) "self", NULL
39817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
39818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39819 if (SWIG_arg_fail(1)) SWIG_fail
;
39821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39822 result
= (arg1
)->GetSize();
39824 wxPyEndAllowThreads(__tstate
);
39825 if (PyErr_Occurred()) SWIG_fail
;
39828 wxSize
* resultptr
;
39829 resultptr
= new wxSize((wxSize
&)(result
));
39830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39838 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39839 PyObject
*resultobj
;
39840 wxSizer
*arg1
= (wxSizer
*) 0 ;
39842 PyObject
* obj0
= 0 ;
39843 char *kwnames
[] = {
39844 (char *) "self", NULL
39847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
39848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39849 if (SWIG_arg_fail(1)) SWIG_fail
;
39851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39852 result
= (arg1
)->GetPosition();
39854 wxPyEndAllowThreads(__tstate
);
39855 if (PyErr_Occurred()) SWIG_fail
;
39858 wxPoint
* resultptr
;
39859 resultptr
= new wxPoint((wxPoint
&)(result
));
39860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39868 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39869 PyObject
*resultobj
;
39870 wxSizer
*arg1
= (wxSizer
*) 0 ;
39872 PyObject
* obj0
= 0 ;
39873 char *kwnames
[] = {
39874 (char *) "self", NULL
39877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
39878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39879 if (SWIG_arg_fail(1)) SWIG_fail
;
39881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39882 result
= (arg1
)->GetMinSize();
39884 wxPyEndAllowThreads(__tstate
);
39885 if (PyErr_Occurred()) SWIG_fail
;
39888 wxSize
* resultptr
;
39889 resultptr
= new wxSize((wxSize
&)(result
));
39890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39898 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39899 PyObject
*resultobj
;
39900 wxSizer
*arg1
= (wxSizer
*) 0 ;
39901 PyObject
* obj0
= 0 ;
39902 char *kwnames
[] = {
39903 (char *) "self", NULL
39906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39908 if (SWIG_arg_fail(1)) SWIG_fail
;
39910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39911 (arg1
)->RecalcSizes();
39913 wxPyEndAllowThreads(__tstate
);
39914 if (PyErr_Occurred()) SWIG_fail
;
39916 Py_INCREF(Py_None
); resultobj
= Py_None
;
39923 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39924 PyObject
*resultobj
;
39925 wxSizer
*arg1
= (wxSizer
*) 0 ;
39927 PyObject
* obj0
= 0 ;
39928 char *kwnames
[] = {
39929 (char *) "self", NULL
39932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39933 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39934 if (SWIG_arg_fail(1)) SWIG_fail
;
39936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39937 result
= (arg1
)->CalcMin();
39939 wxPyEndAllowThreads(__tstate
);
39940 if (PyErr_Occurred()) SWIG_fail
;
39943 wxSize
* resultptr
;
39944 resultptr
= new wxSize((wxSize
&)(result
));
39945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39953 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39954 PyObject
*resultobj
;
39955 wxSizer
*arg1
= (wxSizer
*) 0 ;
39956 PyObject
* obj0
= 0 ;
39957 char *kwnames
[] = {
39958 (char *) "self", NULL
39961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
39962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39963 if (SWIG_arg_fail(1)) SWIG_fail
;
39965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39968 wxPyEndAllowThreads(__tstate
);
39969 if (PyErr_Occurred()) SWIG_fail
;
39971 Py_INCREF(Py_None
); resultobj
= Py_None
;
39978 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39979 PyObject
*resultobj
;
39980 wxSizer
*arg1
= (wxSizer
*) 0 ;
39981 wxWindow
*arg2
= (wxWindow
*) 0 ;
39983 PyObject
* obj0
= 0 ;
39984 PyObject
* obj1
= 0 ;
39985 char *kwnames
[] = {
39986 (char *) "self",(char *) "window", NULL
39989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
39990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39991 if (SWIG_arg_fail(1)) SWIG_fail
;
39992 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39993 if (SWIG_arg_fail(2)) SWIG_fail
;
39995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39996 result
= (arg1
)->Fit(arg2
);
39998 wxPyEndAllowThreads(__tstate
);
39999 if (PyErr_Occurred()) SWIG_fail
;
40002 wxSize
* resultptr
;
40003 resultptr
= new wxSize((wxSize
&)(result
));
40004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40012 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40013 PyObject
*resultobj
;
40014 wxSizer
*arg1
= (wxSizer
*) 0 ;
40015 wxWindow
*arg2
= (wxWindow
*) 0 ;
40016 PyObject
* obj0
= 0 ;
40017 PyObject
* obj1
= 0 ;
40018 char *kwnames
[] = {
40019 (char *) "self",(char *) "window", NULL
40022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40024 if (SWIG_arg_fail(1)) SWIG_fail
;
40025 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40026 if (SWIG_arg_fail(2)) SWIG_fail
;
40028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40029 (arg1
)->FitInside(arg2
);
40031 wxPyEndAllowThreads(__tstate
);
40032 if (PyErr_Occurred()) SWIG_fail
;
40034 Py_INCREF(Py_None
); resultobj
= Py_None
;
40041 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40042 PyObject
*resultobj
;
40043 wxSizer
*arg1
= (wxSizer
*) 0 ;
40044 wxWindow
*arg2
= (wxWindow
*) 0 ;
40045 PyObject
* obj0
= 0 ;
40046 PyObject
* obj1
= 0 ;
40047 char *kwnames
[] = {
40048 (char *) "self",(char *) "window", NULL
40051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40053 if (SWIG_arg_fail(1)) SWIG_fail
;
40054 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40055 if (SWIG_arg_fail(2)) SWIG_fail
;
40057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40058 (arg1
)->SetSizeHints(arg2
);
40060 wxPyEndAllowThreads(__tstate
);
40061 if (PyErr_Occurred()) SWIG_fail
;
40063 Py_INCREF(Py_None
); resultobj
= Py_None
;
40070 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40071 PyObject
*resultobj
;
40072 wxSizer
*arg1
= (wxSizer
*) 0 ;
40073 wxWindow
*arg2
= (wxWindow
*) 0 ;
40074 PyObject
* obj0
= 0 ;
40075 PyObject
* obj1
= 0 ;
40076 char *kwnames
[] = {
40077 (char *) "self",(char *) "window", NULL
40080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40082 if (SWIG_arg_fail(1)) SWIG_fail
;
40083 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40084 if (SWIG_arg_fail(2)) SWIG_fail
;
40086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40087 (arg1
)->SetVirtualSizeHints(arg2
);
40089 wxPyEndAllowThreads(__tstate
);
40090 if (PyErr_Occurred()) SWIG_fail
;
40092 Py_INCREF(Py_None
); resultobj
= Py_None
;
40099 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40100 PyObject
*resultobj
;
40101 wxSizer
*arg1
= (wxSizer
*) 0 ;
40102 bool arg2
= (bool) false ;
40103 PyObject
* obj0
= 0 ;
40104 PyObject
* obj1
= 0 ;
40105 char *kwnames
[] = {
40106 (char *) "self",(char *) "deleteWindows", NULL
40109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40111 if (SWIG_arg_fail(1)) SWIG_fail
;
40114 arg2
= (bool)(SWIG_As_bool(obj1
));
40115 if (SWIG_arg_fail(2)) SWIG_fail
;
40119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40120 (arg1
)->Clear(arg2
);
40122 wxPyEndAllowThreads(__tstate
);
40123 if (PyErr_Occurred()) SWIG_fail
;
40125 Py_INCREF(Py_None
); resultobj
= Py_None
;
40132 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40133 PyObject
*resultobj
;
40134 wxSizer
*arg1
= (wxSizer
*) 0 ;
40135 PyObject
* obj0
= 0 ;
40136 char *kwnames
[] = {
40137 (char *) "self", NULL
40140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40142 if (SWIG_arg_fail(1)) SWIG_fail
;
40144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40145 (arg1
)->DeleteWindows();
40147 wxPyEndAllowThreads(__tstate
);
40148 if (PyErr_Occurred()) SWIG_fail
;
40150 Py_INCREF(Py_None
); resultobj
= Py_None
;
40157 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40158 PyObject
*resultobj
;
40159 wxSizer
*arg1
= (wxSizer
*) 0 ;
40161 PyObject
* obj0
= 0 ;
40162 char *kwnames
[] = {
40163 (char *) "self", NULL
40166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40168 if (SWIG_arg_fail(1)) SWIG_fail
;
40170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40171 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40173 wxPyEndAllowThreads(__tstate
);
40174 if (PyErr_Occurred()) SWIG_fail
;
40176 resultobj
= result
;
40183 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40184 PyObject
*resultobj
;
40185 wxSizer
*arg1
= (wxSizer
*) 0 ;
40186 PyObject
*arg2
= (PyObject
*) 0 ;
40187 bool arg3
= (bool) true ;
40188 bool arg4
= (bool) false ;
40190 PyObject
* obj0
= 0 ;
40191 PyObject
* obj1
= 0 ;
40192 PyObject
* obj2
= 0 ;
40193 PyObject
* obj3
= 0 ;
40194 char *kwnames
[] = {
40195 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40200 if (SWIG_arg_fail(1)) SWIG_fail
;
40204 arg3
= (bool)(SWIG_As_bool(obj2
));
40205 if (SWIG_arg_fail(3)) SWIG_fail
;
40210 arg4
= (bool)(SWIG_As_bool(obj3
));
40211 if (SWIG_arg_fail(4)) SWIG_fail
;
40215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40216 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40218 wxPyEndAllowThreads(__tstate
);
40219 if (PyErr_Occurred()) SWIG_fail
;
40222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40230 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40231 PyObject
*resultobj
;
40232 wxSizer
*arg1
= (wxSizer
*) 0 ;
40233 PyObject
*arg2
= (PyObject
*) 0 ;
40235 PyObject
* obj0
= 0 ;
40236 PyObject
* obj1
= 0 ;
40237 char *kwnames
[] = {
40238 (char *) "self",(char *) "item", NULL
40241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40243 if (SWIG_arg_fail(1)) SWIG_fail
;
40246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40247 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40249 wxPyEndAllowThreads(__tstate
);
40250 if (PyErr_Occurred()) SWIG_fail
;
40253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40261 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40262 PyObject
*resultobj
;
40263 wxSizer
*arg1
= (wxSizer
*) 0 ;
40265 PyObject
* obj0
= 0 ;
40266 PyObject
* obj1
= 0 ;
40267 char *kwnames
[] = {
40268 (char *) "self",(char *) "show", NULL
40271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40273 if (SWIG_arg_fail(1)) SWIG_fail
;
40275 arg2
= (bool)(SWIG_As_bool(obj1
));
40276 if (SWIG_arg_fail(2)) SWIG_fail
;
40279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40280 (arg1
)->ShowItems(arg2
);
40282 wxPyEndAllowThreads(__tstate
);
40283 if (PyErr_Occurred()) SWIG_fail
;
40285 Py_INCREF(Py_None
); resultobj
= Py_None
;
40292 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40295 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40297 return Py_BuildValue((char *)"");
40299 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40300 PyObject
*resultobj
;
40302 char *kwnames
[] = {
40306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40309 result
= (wxPySizer
*)new wxPySizer();
40311 wxPyEndAllowThreads(__tstate
);
40312 if (PyErr_Occurred()) SWIG_fail
;
40314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40321 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40322 PyObject
*resultobj
;
40323 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40324 PyObject
*arg2
= (PyObject
*) 0 ;
40325 PyObject
*arg3
= (PyObject
*) 0 ;
40326 PyObject
* obj0
= 0 ;
40327 PyObject
* obj1
= 0 ;
40328 PyObject
* obj2
= 0 ;
40329 char *kwnames
[] = {
40330 (char *) "self",(char *) "self",(char *) "_class", NULL
40333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40335 if (SWIG_arg_fail(1)) SWIG_fail
;
40339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40340 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40342 wxPyEndAllowThreads(__tstate
);
40343 if (PyErr_Occurred()) SWIG_fail
;
40345 Py_INCREF(Py_None
); resultobj
= Py_None
;
40352 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40355 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40357 return Py_BuildValue((char *)"");
40359 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40360 PyObject
*resultobj
;
40361 int arg1
= (int) wxHORIZONTAL
;
40362 wxBoxSizer
*result
;
40363 PyObject
* obj0
= 0 ;
40364 char *kwnames
[] = {
40365 (char *) "orient", NULL
40368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40371 arg1
= (int)(SWIG_As_int(obj0
));
40372 if (SWIG_arg_fail(1)) SWIG_fail
;
40376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40377 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40379 wxPyEndAllowThreads(__tstate
);
40380 if (PyErr_Occurred()) SWIG_fail
;
40382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40389 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40390 PyObject
*resultobj
;
40391 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40393 PyObject
* obj0
= 0 ;
40394 char *kwnames
[] = {
40395 (char *) "self", NULL
40398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40400 if (SWIG_arg_fail(1)) SWIG_fail
;
40402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40403 result
= (int)(arg1
)->GetOrientation();
40405 wxPyEndAllowThreads(__tstate
);
40406 if (PyErr_Occurred()) SWIG_fail
;
40409 resultobj
= SWIG_From_int((int)(result
));
40417 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40418 PyObject
*resultobj
;
40419 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40421 PyObject
* obj0
= 0 ;
40422 PyObject
* obj1
= 0 ;
40423 char *kwnames
[] = {
40424 (char *) "self",(char *) "orient", NULL
40427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40428 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40429 if (SWIG_arg_fail(1)) SWIG_fail
;
40431 arg2
= (int)(SWIG_As_int(obj1
));
40432 if (SWIG_arg_fail(2)) SWIG_fail
;
40435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40436 (arg1
)->SetOrientation(arg2
);
40438 wxPyEndAllowThreads(__tstate
);
40439 if (PyErr_Occurred()) SWIG_fail
;
40441 Py_INCREF(Py_None
); resultobj
= Py_None
;
40448 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40451 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40453 return Py_BuildValue((char *)"");
40455 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40456 PyObject
*resultobj
;
40457 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40458 int arg2
= (int) wxHORIZONTAL
;
40459 wxStaticBoxSizer
*result
;
40460 PyObject
* obj0
= 0 ;
40461 PyObject
* obj1
= 0 ;
40462 char *kwnames
[] = {
40463 (char *) "box",(char *) "orient", NULL
40466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40468 if (SWIG_arg_fail(1)) SWIG_fail
;
40471 arg2
= (int)(SWIG_As_int(obj1
));
40472 if (SWIG_arg_fail(2)) SWIG_fail
;
40476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40477 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40479 wxPyEndAllowThreads(__tstate
);
40480 if (PyErr_Occurred()) SWIG_fail
;
40482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40489 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40490 PyObject
*resultobj
;
40491 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40492 wxStaticBox
*result
;
40493 PyObject
* obj0
= 0 ;
40494 char *kwnames
[] = {
40495 (char *) "self", NULL
40498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40499 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40500 if (SWIG_arg_fail(1)) SWIG_fail
;
40502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40503 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40505 wxPyEndAllowThreads(__tstate
);
40506 if (PyErr_Occurred()) SWIG_fail
;
40509 resultobj
= wxPyMake_wxObject(result
, 0);
40517 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40520 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40522 return Py_BuildValue((char *)"");
40524 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40525 PyObject
*resultobj
;
40526 int arg1
= (int) 1 ;
40527 int arg2
= (int) 0 ;
40528 int arg3
= (int) 0 ;
40529 int arg4
= (int) 0 ;
40530 wxGridSizer
*result
;
40531 PyObject
* obj0
= 0 ;
40532 PyObject
* obj1
= 0 ;
40533 PyObject
* obj2
= 0 ;
40534 PyObject
* obj3
= 0 ;
40535 char *kwnames
[] = {
40536 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40542 arg1
= (int)(SWIG_As_int(obj0
));
40543 if (SWIG_arg_fail(1)) SWIG_fail
;
40548 arg2
= (int)(SWIG_As_int(obj1
));
40549 if (SWIG_arg_fail(2)) SWIG_fail
;
40554 arg3
= (int)(SWIG_As_int(obj2
));
40555 if (SWIG_arg_fail(3)) SWIG_fail
;
40560 arg4
= (int)(SWIG_As_int(obj3
));
40561 if (SWIG_arg_fail(4)) SWIG_fail
;
40565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40566 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40568 wxPyEndAllowThreads(__tstate
);
40569 if (PyErr_Occurred()) SWIG_fail
;
40571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40578 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40579 PyObject
*resultobj
;
40580 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40582 PyObject
* obj0
= 0 ;
40583 PyObject
* obj1
= 0 ;
40584 char *kwnames
[] = {
40585 (char *) "self",(char *) "cols", NULL
40588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40590 if (SWIG_arg_fail(1)) SWIG_fail
;
40592 arg2
= (int)(SWIG_As_int(obj1
));
40593 if (SWIG_arg_fail(2)) SWIG_fail
;
40596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40597 (arg1
)->SetCols(arg2
);
40599 wxPyEndAllowThreads(__tstate
);
40600 if (PyErr_Occurred()) SWIG_fail
;
40602 Py_INCREF(Py_None
); resultobj
= Py_None
;
40609 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40610 PyObject
*resultobj
;
40611 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40613 PyObject
* obj0
= 0 ;
40614 PyObject
* obj1
= 0 ;
40615 char *kwnames
[] = {
40616 (char *) "self",(char *) "rows", NULL
40619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40621 if (SWIG_arg_fail(1)) SWIG_fail
;
40623 arg2
= (int)(SWIG_As_int(obj1
));
40624 if (SWIG_arg_fail(2)) SWIG_fail
;
40627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40628 (arg1
)->SetRows(arg2
);
40630 wxPyEndAllowThreads(__tstate
);
40631 if (PyErr_Occurred()) SWIG_fail
;
40633 Py_INCREF(Py_None
); resultobj
= Py_None
;
40640 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40641 PyObject
*resultobj
;
40642 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40644 PyObject
* obj0
= 0 ;
40645 PyObject
* obj1
= 0 ;
40646 char *kwnames
[] = {
40647 (char *) "self",(char *) "gap", NULL
40650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40652 if (SWIG_arg_fail(1)) SWIG_fail
;
40654 arg2
= (int)(SWIG_As_int(obj1
));
40655 if (SWIG_arg_fail(2)) SWIG_fail
;
40658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40659 (arg1
)->SetVGap(arg2
);
40661 wxPyEndAllowThreads(__tstate
);
40662 if (PyErr_Occurred()) SWIG_fail
;
40664 Py_INCREF(Py_None
); resultobj
= Py_None
;
40671 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40672 PyObject
*resultobj
;
40673 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40675 PyObject
* obj0
= 0 ;
40676 PyObject
* obj1
= 0 ;
40677 char *kwnames
[] = {
40678 (char *) "self",(char *) "gap", NULL
40681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
40682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40683 if (SWIG_arg_fail(1)) SWIG_fail
;
40685 arg2
= (int)(SWIG_As_int(obj1
));
40686 if (SWIG_arg_fail(2)) SWIG_fail
;
40689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40690 (arg1
)->SetHGap(arg2
);
40692 wxPyEndAllowThreads(__tstate
);
40693 if (PyErr_Occurred()) SWIG_fail
;
40695 Py_INCREF(Py_None
); resultobj
= Py_None
;
40702 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40703 PyObject
*resultobj
;
40704 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40706 PyObject
* obj0
= 0 ;
40707 char *kwnames
[] = {
40708 (char *) "self", NULL
40711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
40712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40713 if (SWIG_arg_fail(1)) SWIG_fail
;
40715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40716 result
= (int)(arg1
)->GetCols();
40718 wxPyEndAllowThreads(__tstate
);
40719 if (PyErr_Occurred()) SWIG_fail
;
40722 resultobj
= SWIG_From_int((int)(result
));
40730 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40731 PyObject
*resultobj
;
40732 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40734 PyObject
* obj0
= 0 ;
40735 char *kwnames
[] = {
40736 (char *) "self", NULL
40739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
40740 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40741 if (SWIG_arg_fail(1)) SWIG_fail
;
40743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40744 result
= (int)(arg1
)->GetRows();
40746 wxPyEndAllowThreads(__tstate
);
40747 if (PyErr_Occurred()) SWIG_fail
;
40750 resultobj
= SWIG_From_int((int)(result
));
40758 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40759 PyObject
*resultobj
;
40760 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40762 PyObject
* obj0
= 0 ;
40763 char *kwnames
[] = {
40764 (char *) "self", NULL
40767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
40768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40769 if (SWIG_arg_fail(1)) SWIG_fail
;
40771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40772 result
= (int)(arg1
)->GetVGap();
40774 wxPyEndAllowThreads(__tstate
);
40775 if (PyErr_Occurred()) SWIG_fail
;
40778 resultobj
= SWIG_From_int((int)(result
));
40786 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40787 PyObject
*resultobj
;
40788 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40790 PyObject
* obj0
= 0 ;
40791 char *kwnames
[] = {
40792 (char *) "self", NULL
40795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
40796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40797 if (SWIG_arg_fail(1)) SWIG_fail
;
40799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40800 result
= (int)(arg1
)->GetHGap();
40802 wxPyEndAllowThreads(__tstate
);
40803 if (PyErr_Occurred()) SWIG_fail
;
40806 resultobj
= SWIG_From_int((int)(result
));
40814 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
40816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40817 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
40819 return Py_BuildValue((char *)"");
40821 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40822 PyObject
*resultobj
;
40823 int arg1
= (int) 1 ;
40824 int arg2
= (int) 0 ;
40825 int arg3
= (int) 0 ;
40826 int arg4
= (int) 0 ;
40827 wxFlexGridSizer
*result
;
40828 PyObject
* obj0
= 0 ;
40829 PyObject
* obj1
= 0 ;
40830 PyObject
* obj2
= 0 ;
40831 PyObject
* obj3
= 0 ;
40832 char *kwnames
[] = {
40833 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40839 arg1
= (int)(SWIG_As_int(obj0
));
40840 if (SWIG_arg_fail(1)) SWIG_fail
;
40845 arg2
= (int)(SWIG_As_int(obj1
));
40846 if (SWIG_arg_fail(2)) SWIG_fail
;
40851 arg3
= (int)(SWIG_As_int(obj2
));
40852 if (SWIG_arg_fail(3)) SWIG_fail
;
40857 arg4
= (int)(SWIG_As_int(obj3
));
40858 if (SWIG_arg_fail(4)) SWIG_fail
;
40862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40863 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
40865 wxPyEndAllowThreads(__tstate
);
40866 if (PyErr_Occurred()) SWIG_fail
;
40868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
40875 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40876 PyObject
*resultobj
;
40877 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40879 int arg3
= (int) 0 ;
40880 PyObject
* obj0
= 0 ;
40881 PyObject
* obj1
= 0 ;
40882 PyObject
* obj2
= 0 ;
40883 char *kwnames
[] = {
40884 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40888 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40889 if (SWIG_arg_fail(1)) SWIG_fail
;
40891 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40892 if (SWIG_arg_fail(2)) SWIG_fail
;
40896 arg3
= (int)(SWIG_As_int(obj2
));
40897 if (SWIG_arg_fail(3)) SWIG_fail
;
40901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40902 (arg1
)->AddGrowableRow(arg2
,arg3
);
40904 wxPyEndAllowThreads(__tstate
);
40905 if (PyErr_Occurred()) SWIG_fail
;
40907 Py_INCREF(Py_None
); resultobj
= Py_None
;
40914 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40915 PyObject
*resultobj
;
40916 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40918 PyObject
* obj0
= 0 ;
40919 PyObject
* obj1
= 0 ;
40920 char *kwnames
[] = {
40921 (char *) "self",(char *) "idx", NULL
40924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
40925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40926 if (SWIG_arg_fail(1)) SWIG_fail
;
40928 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40929 if (SWIG_arg_fail(2)) SWIG_fail
;
40932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40933 (arg1
)->RemoveGrowableRow(arg2
);
40935 wxPyEndAllowThreads(__tstate
);
40936 if (PyErr_Occurred()) SWIG_fail
;
40938 Py_INCREF(Py_None
); resultobj
= Py_None
;
40945 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40946 PyObject
*resultobj
;
40947 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40949 int arg3
= (int) 0 ;
40950 PyObject
* obj0
= 0 ;
40951 PyObject
* obj1
= 0 ;
40952 PyObject
* obj2
= 0 ;
40953 char *kwnames
[] = {
40954 (char *) "self",(char *) "idx",(char *) "proportion", NULL
40957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40959 if (SWIG_arg_fail(1)) SWIG_fail
;
40961 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40962 if (SWIG_arg_fail(2)) SWIG_fail
;
40966 arg3
= (int)(SWIG_As_int(obj2
));
40967 if (SWIG_arg_fail(3)) SWIG_fail
;
40971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40972 (arg1
)->AddGrowableCol(arg2
,arg3
);
40974 wxPyEndAllowThreads(__tstate
);
40975 if (PyErr_Occurred()) SWIG_fail
;
40977 Py_INCREF(Py_None
); resultobj
= Py_None
;
40984 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40985 PyObject
*resultobj
;
40986 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
40988 PyObject
* obj0
= 0 ;
40989 PyObject
* obj1
= 0 ;
40990 char *kwnames
[] = {
40991 (char *) "self",(char *) "idx", NULL
40994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
40995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40996 if (SWIG_arg_fail(1)) SWIG_fail
;
40998 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40999 if (SWIG_arg_fail(2)) SWIG_fail
;
41002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41003 (arg1
)->RemoveGrowableCol(arg2
);
41005 wxPyEndAllowThreads(__tstate
);
41006 if (PyErr_Occurred()) SWIG_fail
;
41008 Py_INCREF(Py_None
); resultobj
= Py_None
;
41015 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41016 PyObject
*resultobj
;
41017 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41019 PyObject
* obj0
= 0 ;
41020 PyObject
* obj1
= 0 ;
41021 char *kwnames
[] = {
41022 (char *) "self",(char *) "direction", NULL
41025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41027 if (SWIG_arg_fail(1)) SWIG_fail
;
41029 arg2
= (int)(SWIG_As_int(obj1
));
41030 if (SWIG_arg_fail(2)) SWIG_fail
;
41033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41034 (arg1
)->SetFlexibleDirection(arg2
);
41036 wxPyEndAllowThreads(__tstate
);
41037 if (PyErr_Occurred()) SWIG_fail
;
41039 Py_INCREF(Py_None
); resultobj
= Py_None
;
41046 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41047 PyObject
*resultobj
;
41048 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41050 PyObject
* obj0
= 0 ;
41051 char *kwnames
[] = {
41052 (char *) "self", NULL
41055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41057 if (SWIG_arg_fail(1)) SWIG_fail
;
41059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41060 result
= (int)(arg1
)->GetFlexibleDirection();
41062 wxPyEndAllowThreads(__tstate
);
41063 if (PyErr_Occurred()) SWIG_fail
;
41066 resultobj
= SWIG_From_int((int)(result
));
41074 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41075 PyObject
*resultobj
;
41076 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41077 wxFlexSizerGrowMode arg2
;
41078 PyObject
* obj0
= 0 ;
41079 PyObject
* obj1
= 0 ;
41080 char *kwnames
[] = {
41081 (char *) "self",(char *) "mode", NULL
41084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41085 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41086 if (SWIG_arg_fail(1)) SWIG_fail
;
41088 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41089 if (SWIG_arg_fail(2)) SWIG_fail
;
41092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41093 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41095 wxPyEndAllowThreads(__tstate
);
41096 if (PyErr_Occurred()) SWIG_fail
;
41098 Py_INCREF(Py_None
); resultobj
= Py_None
;
41105 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41106 PyObject
*resultobj
;
41107 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41108 wxFlexSizerGrowMode result
;
41109 PyObject
* obj0
= 0 ;
41110 char *kwnames
[] = {
41111 (char *) "self", NULL
41114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41116 if (SWIG_arg_fail(1)) SWIG_fail
;
41118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41119 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41121 wxPyEndAllowThreads(__tstate
);
41122 if (PyErr_Occurred()) SWIG_fail
;
41124 resultobj
= SWIG_From_int((result
));
41131 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41132 PyObject
*resultobj
;
41133 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41134 wxArrayInt
*result
;
41135 PyObject
* obj0
= 0 ;
41136 char *kwnames
[] = {
41137 (char *) "self", NULL
41140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41142 if (SWIG_arg_fail(1)) SWIG_fail
;
41144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41146 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41147 result
= (wxArrayInt
*) &_result_ref
;
41150 wxPyEndAllowThreads(__tstate
);
41151 if (PyErr_Occurred()) SWIG_fail
;
41154 resultobj
= PyList_New(0);
41156 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41157 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41158 PyList_Append(resultobj
, val
);
41168 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41169 PyObject
*resultobj
;
41170 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41171 wxArrayInt
*result
;
41172 PyObject
* obj0
= 0 ;
41173 char *kwnames
[] = {
41174 (char *) "self", NULL
41177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41178 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41179 if (SWIG_arg_fail(1)) SWIG_fail
;
41181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41183 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41184 result
= (wxArrayInt
*) &_result_ref
;
41187 wxPyEndAllowThreads(__tstate
);
41188 if (PyErr_Occurred()) SWIG_fail
;
41191 resultobj
= PyList_New(0);
41193 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41194 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41195 PyList_Append(resultobj
, val
);
41205 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41208 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41210 return Py_BuildValue((char *)"");
41212 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41213 PyObject
*resultobj
;
41214 wxStdDialogButtonSizer
*result
;
41215 char *kwnames
[] = {
41219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41222 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41224 wxPyEndAllowThreads(__tstate
);
41225 if (PyErr_Occurred()) SWIG_fail
;
41227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41234 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41235 PyObject
*resultobj
;
41236 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41237 wxButton
*arg2
= (wxButton
*) 0 ;
41238 PyObject
* obj0
= 0 ;
41239 PyObject
* obj1
= 0 ;
41240 char *kwnames
[] = {
41241 (char *) "self",(char *) "button", NULL
41244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41246 if (SWIG_arg_fail(1)) SWIG_fail
;
41247 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41248 if (SWIG_arg_fail(2)) SWIG_fail
;
41250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41251 (arg1
)->AddButton(arg2
);
41253 wxPyEndAllowThreads(__tstate
);
41254 if (PyErr_Occurred()) SWIG_fail
;
41256 Py_INCREF(Py_None
); resultobj
= Py_None
;
41263 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41264 PyObject
*resultobj
;
41265 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41266 PyObject
* obj0
= 0 ;
41267 char *kwnames
[] = {
41268 (char *) "self", NULL
41271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41272 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41273 if (SWIG_arg_fail(1)) SWIG_fail
;
41275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41278 wxPyEndAllowThreads(__tstate
);
41279 if (PyErr_Occurred()) SWIG_fail
;
41281 Py_INCREF(Py_None
); resultobj
= Py_None
;
41288 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41289 PyObject
*resultobj
;
41290 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41291 wxButton
*arg2
= (wxButton
*) 0 ;
41292 PyObject
* obj0
= 0 ;
41293 PyObject
* obj1
= 0 ;
41294 char *kwnames
[] = {
41295 (char *) "self",(char *) "button", NULL
41298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41300 if (SWIG_arg_fail(1)) SWIG_fail
;
41301 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41302 if (SWIG_arg_fail(2)) SWIG_fail
;
41304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41305 (arg1
)->SetAffirmativeButton(arg2
);
41307 wxPyEndAllowThreads(__tstate
);
41308 if (PyErr_Occurred()) SWIG_fail
;
41310 Py_INCREF(Py_None
); resultobj
= Py_None
;
41317 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41318 PyObject
*resultobj
;
41319 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41320 wxButton
*arg2
= (wxButton
*) 0 ;
41321 PyObject
* obj0
= 0 ;
41322 PyObject
* obj1
= 0 ;
41323 char *kwnames
[] = {
41324 (char *) "self",(char *) "button", NULL
41327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41329 if (SWIG_arg_fail(1)) SWIG_fail
;
41330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41331 if (SWIG_arg_fail(2)) SWIG_fail
;
41333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41334 (arg1
)->SetNegativeButton(arg2
);
41336 wxPyEndAllowThreads(__tstate
);
41337 if (PyErr_Occurred()) SWIG_fail
;
41339 Py_INCREF(Py_None
); resultobj
= Py_None
;
41346 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41347 PyObject
*resultobj
;
41348 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41349 wxButton
*arg2
= (wxButton
*) 0 ;
41350 PyObject
* obj0
= 0 ;
41351 PyObject
* obj1
= 0 ;
41352 char *kwnames
[] = {
41353 (char *) "self",(char *) "button", NULL
41356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41358 if (SWIG_arg_fail(1)) SWIG_fail
;
41359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41360 if (SWIG_arg_fail(2)) SWIG_fail
;
41362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41363 (arg1
)->SetCancelButton(arg2
);
41365 wxPyEndAllowThreads(__tstate
);
41366 if (PyErr_Occurred()) SWIG_fail
;
41368 Py_INCREF(Py_None
); resultobj
= Py_None
;
41375 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41376 PyObject
*resultobj
;
41377 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41379 PyObject
* obj0
= 0 ;
41380 char *kwnames
[] = {
41381 (char *) "self", NULL
41384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41386 if (SWIG_arg_fail(1)) SWIG_fail
;
41388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41389 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41391 wxPyEndAllowThreads(__tstate
);
41392 if (PyErr_Occurred()) SWIG_fail
;
41395 resultobj
= wxPyMake_wxObject(result
, 0);
41403 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41404 PyObject
*resultobj
;
41405 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41407 PyObject
* obj0
= 0 ;
41408 char *kwnames
[] = {
41409 (char *) "self", NULL
41412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41414 if (SWIG_arg_fail(1)) SWIG_fail
;
41416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41417 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41419 wxPyEndAllowThreads(__tstate
);
41420 if (PyErr_Occurred()) SWIG_fail
;
41423 resultobj
= wxPyMake_wxObject(result
, 0);
41431 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41432 PyObject
*resultobj
;
41433 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41435 PyObject
* obj0
= 0 ;
41436 char *kwnames
[] = {
41437 (char *) "self", NULL
41440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41442 if (SWIG_arg_fail(1)) SWIG_fail
;
41444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41445 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41447 wxPyEndAllowThreads(__tstate
);
41448 if (PyErr_Occurred()) SWIG_fail
;
41451 resultobj
= wxPyMake_wxObject(result
, 0);
41459 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41460 PyObject
*resultobj
;
41461 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41463 PyObject
* obj0
= 0 ;
41464 char *kwnames
[] = {
41465 (char *) "self", NULL
41468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41470 if (SWIG_arg_fail(1)) SWIG_fail
;
41472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41473 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41475 wxPyEndAllowThreads(__tstate
);
41476 if (PyErr_Occurred()) SWIG_fail
;
41479 resultobj
= wxPyMake_wxObject(result
, 0);
41487 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41488 PyObject
*resultobj
;
41489 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41491 PyObject
* obj0
= 0 ;
41492 char *kwnames
[] = {
41493 (char *) "self", NULL
41496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41498 if (SWIG_arg_fail(1)) SWIG_fail
;
41500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41501 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41503 wxPyEndAllowThreads(__tstate
);
41504 if (PyErr_Occurred()) SWIG_fail
;
41507 resultobj
= wxPyMake_wxObject(result
, 0);
41515 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41518 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41520 return Py_BuildValue((char *)"");
41522 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41523 PyObject
*resultobj
;
41524 int arg1
= (int) 0 ;
41525 int arg2
= (int) 0 ;
41526 wxGBPosition
*result
;
41527 PyObject
* obj0
= 0 ;
41528 PyObject
* obj1
= 0 ;
41529 char *kwnames
[] = {
41530 (char *) "row",(char *) "col", NULL
41533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41536 arg1
= (int)(SWIG_As_int(obj0
));
41537 if (SWIG_arg_fail(1)) SWIG_fail
;
41542 arg2
= (int)(SWIG_As_int(obj1
));
41543 if (SWIG_arg_fail(2)) SWIG_fail
;
41547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41548 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41550 wxPyEndAllowThreads(__tstate
);
41551 if (PyErr_Occurred()) SWIG_fail
;
41553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41560 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41561 PyObject
*resultobj
;
41562 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41564 PyObject
* obj0
= 0 ;
41565 char *kwnames
[] = {
41566 (char *) "self", NULL
41569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41571 if (SWIG_arg_fail(1)) SWIG_fail
;
41573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41574 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41576 wxPyEndAllowThreads(__tstate
);
41577 if (PyErr_Occurred()) SWIG_fail
;
41580 resultobj
= SWIG_From_int((int)(result
));
41588 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41589 PyObject
*resultobj
;
41590 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41592 PyObject
* obj0
= 0 ;
41593 char *kwnames
[] = {
41594 (char *) "self", NULL
41597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41599 if (SWIG_arg_fail(1)) SWIG_fail
;
41601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41602 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41604 wxPyEndAllowThreads(__tstate
);
41605 if (PyErr_Occurred()) SWIG_fail
;
41608 resultobj
= SWIG_From_int((int)(result
));
41616 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41617 PyObject
*resultobj
;
41618 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41620 PyObject
* obj0
= 0 ;
41621 PyObject
* obj1
= 0 ;
41622 char *kwnames
[] = {
41623 (char *) "self",(char *) "row", NULL
41626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41628 if (SWIG_arg_fail(1)) SWIG_fail
;
41630 arg2
= (int)(SWIG_As_int(obj1
));
41631 if (SWIG_arg_fail(2)) SWIG_fail
;
41634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41635 (arg1
)->SetRow(arg2
);
41637 wxPyEndAllowThreads(__tstate
);
41638 if (PyErr_Occurred()) SWIG_fail
;
41640 Py_INCREF(Py_None
); resultobj
= Py_None
;
41647 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41648 PyObject
*resultobj
;
41649 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41651 PyObject
* obj0
= 0 ;
41652 PyObject
* obj1
= 0 ;
41653 char *kwnames
[] = {
41654 (char *) "self",(char *) "col", NULL
41657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41659 if (SWIG_arg_fail(1)) SWIG_fail
;
41661 arg2
= (int)(SWIG_As_int(obj1
));
41662 if (SWIG_arg_fail(2)) SWIG_fail
;
41665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41666 (arg1
)->SetCol(arg2
);
41668 wxPyEndAllowThreads(__tstate
);
41669 if (PyErr_Occurred()) SWIG_fail
;
41671 Py_INCREF(Py_None
); resultobj
= Py_None
;
41678 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41679 PyObject
*resultobj
;
41680 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41681 wxGBPosition
*arg2
= 0 ;
41683 wxGBPosition temp2
;
41684 PyObject
* obj0
= 0 ;
41685 PyObject
* obj1
= 0 ;
41686 char *kwnames
[] = {
41687 (char *) "self",(char *) "other", NULL
41690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41692 if (SWIG_arg_fail(1)) SWIG_fail
;
41695 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41699 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
41701 wxPyEndAllowThreads(__tstate
);
41702 if (PyErr_Occurred()) SWIG_fail
;
41705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41713 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41714 PyObject
*resultobj
;
41715 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41716 wxGBPosition
*arg2
= 0 ;
41718 wxGBPosition temp2
;
41719 PyObject
* obj0
= 0 ;
41720 PyObject
* obj1
= 0 ;
41721 char *kwnames
[] = {
41722 (char *) "self",(char *) "other", NULL
41725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
41726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41727 if (SWIG_arg_fail(1)) SWIG_fail
;
41730 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
41733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41734 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
41736 wxPyEndAllowThreads(__tstate
);
41737 if (PyErr_Occurred()) SWIG_fail
;
41740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41748 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41749 PyObject
*resultobj
;
41750 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41751 int arg2
= (int) 0 ;
41752 int arg3
= (int) 0 ;
41753 PyObject
* obj0
= 0 ;
41754 PyObject
* obj1
= 0 ;
41755 PyObject
* obj2
= 0 ;
41756 char *kwnames
[] = {
41757 (char *) "self",(char *) "row",(char *) "col", NULL
41760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41761 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41762 if (SWIG_arg_fail(1)) SWIG_fail
;
41765 arg2
= (int)(SWIG_As_int(obj1
));
41766 if (SWIG_arg_fail(2)) SWIG_fail
;
41771 arg3
= (int)(SWIG_As_int(obj2
));
41772 if (SWIG_arg_fail(3)) SWIG_fail
;
41776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41777 wxGBPosition_Set(arg1
,arg2
,arg3
);
41779 wxPyEndAllowThreads(__tstate
);
41780 if (PyErr_Occurred()) SWIG_fail
;
41782 Py_INCREF(Py_None
); resultobj
= Py_None
;
41789 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41790 PyObject
*resultobj
;
41791 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41793 PyObject
* obj0
= 0 ;
41794 char *kwnames
[] = {
41795 (char *) "self", NULL
41798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
41799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41800 if (SWIG_arg_fail(1)) SWIG_fail
;
41802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41803 result
= (PyObject
*)wxGBPosition_Get(arg1
);
41805 wxPyEndAllowThreads(__tstate
);
41806 if (PyErr_Occurred()) SWIG_fail
;
41808 resultobj
= result
;
41815 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
41817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41818 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
41820 return Py_BuildValue((char *)"");
41822 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41823 PyObject
*resultobj
;
41824 int arg1
= (int) 1 ;
41825 int arg2
= (int) 1 ;
41827 PyObject
* obj0
= 0 ;
41828 PyObject
* obj1
= 0 ;
41829 char *kwnames
[] = {
41830 (char *) "rowspan",(char *) "colspan", NULL
41833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
41836 arg1
= (int)(SWIG_As_int(obj0
));
41837 if (SWIG_arg_fail(1)) SWIG_fail
;
41842 arg2
= (int)(SWIG_As_int(obj1
));
41843 if (SWIG_arg_fail(2)) SWIG_fail
;
41847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41848 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
41850 wxPyEndAllowThreads(__tstate
);
41851 if (PyErr_Occurred()) SWIG_fail
;
41853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
41860 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41861 PyObject
*resultobj
;
41862 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41864 PyObject
* obj0
= 0 ;
41865 char *kwnames
[] = {
41866 (char *) "self", NULL
41869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
41870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41871 if (SWIG_arg_fail(1)) SWIG_fail
;
41873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41874 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
41876 wxPyEndAllowThreads(__tstate
);
41877 if (PyErr_Occurred()) SWIG_fail
;
41880 resultobj
= SWIG_From_int((int)(result
));
41888 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41889 PyObject
*resultobj
;
41890 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41892 PyObject
* obj0
= 0 ;
41893 char *kwnames
[] = {
41894 (char *) "self", NULL
41897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
41898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41899 if (SWIG_arg_fail(1)) SWIG_fail
;
41901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41902 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
41904 wxPyEndAllowThreads(__tstate
);
41905 if (PyErr_Occurred()) SWIG_fail
;
41908 resultobj
= SWIG_From_int((int)(result
));
41916 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41917 PyObject
*resultobj
;
41918 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41920 PyObject
* obj0
= 0 ;
41921 PyObject
* obj1
= 0 ;
41922 char *kwnames
[] = {
41923 (char *) "self",(char *) "rowspan", NULL
41926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41928 if (SWIG_arg_fail(1)) SWIG_fail
;
41930 arg2
= (int)(SWIG_As_int(obj1
));
41931 if (SWIG_arg_fail(2)) SWIG_fail
;
41934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41935 (arg1
)->SetRowspan(arg2
);
41937 wxPyEndAllowThreads(__tstate
);
41938 if (PyErr_Occurred()) SWIG_fail
;
41940 Py_INCREF(Py_None
); resultobj
= Py_None
;
41947 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41948 PyObject
*resultobj
;
41949 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41951 PyObject
* obj0
= 0 ;
41952 PyObject
* obj1
= 0 ;
41953 char *kwnames
[] = {
41954 (char *) "self",(char *) "colspan", NULL
41957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
41958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41959 if (SWIG_arg_fail(1)) SWIG_fail
;
41961 arg2
= (int)(SWIG_As_int(obj1
));
41962 if (SWIG_arg_fail(2)) SWIG_fail
;
41965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41966 (arg1
)->SetColspan(arg2
);
41968 wxPyEndAllowThreads(__tstate
);
41969 if (PyErr_Occurred()) SWIG_fail
;
41971 Py_INCREF(Py_None
); resultobj
= Py_None
;
41978 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41979 PyObject
*resultobj
;
41980 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
41981 wxGBSpan
*arg2
= 0 ;
41984 PyObject
* obj0
= 0 ;
41985 PyObject
* obj1
= 0 ;
41986 char *kwnames
[] = {
41987 (char *) "self",(char *) "other", NULL
41990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
41991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
41992 if (SWIG_arg_fail(1)) SWIG_fail
;
41995 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
41998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41999 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42001 wxPyEndAllowThreads(__tstate
);
42002 if (PyErr_Occurred()) SWIG_fail
;
42005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42013 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42014 PyObject
*resultobj
;
42015 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42016 wxGBSpan
*arg2
= 0 ;
42019 PyObject
* obj0
= 0 ;
42020 PyObject
* obj1
= 0 ;
42021 char *kwnames
[] = {
42022 (char *) "self",(char *) "other", NULL
42025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42027 if (SWIG_arg_fail(1)) SWIG_fail
;
42030 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42034 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42036 wxPyEndAllowThreads(__tstate
);
42037 if (PyErr_Occurred()) SWIG_fail
;
42040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42048 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42049 PyObject
*resultobj
;
42050 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42051 int arg2
= (int) 1 ;
42052 int arg3
= (int) 1 ;
42053 PyObject
* obj0
= 0 ;
42054 PyObject
* obj1
= 0 ;
42055 PyObject
* obj2
= 0 ;
42056 char *kwnames
[] = {
42057 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42061 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42062 if (SWIG_arg_fail(1)) SWIG_fail
;
42065 arg2
= (int)(SWIG_As_int(obj1
));
42066 if (SWIG_arg_fail(2)) SWIG_fail
;
42071 arg3
= (int)(SWIG_As_int(obj2
));
42072 if (SWIG_arg_fail(3)) SWIG_fail
;
42076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42077 wxGBSpan_Set(arg1
,arg2
,arg3
);
42079 wxPyEndAllowThreads(__tstate
);
42080 if (PyErr_Occurred()) SWIG_fail
;
42082 Py_INCREF(Py_None
); resultobj
= Py_None
;
42089 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42090 PyObject
*resultobj
;
42091 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42093 PyObject
* obj0
= 0 ;
42094 char *kwnames
[] = {
42095 (char *) "self", NULL
42098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42100 if (SWIG_arg_fail(1)) SWIG_fail
;
42102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42103 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42105 wxPyEndAllowThreads(__tstate
);
42106 if (PyErr_Occurred()) SWIG_fail
;
42108 resultobj
= result
;
42115 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42118 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42120 return Py_BuildValue((char *)"");
42122 static int _wrap_DefaultSpan_set(PyObject
*) {
42123 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42128 static PyObject
*_wrap_DefaultSpan_get(void) {
42131 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42136 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42137 PyObject
*resultobj
;
42138 wxGBSizerItem
*result
;
42139 char *kwnames
[] = {
42143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42146 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42148 wxPyEndAllowThreads(__tstate
);
42149 if (PyErr_Occurred()) SWIG_fail
;
42151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42158 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42159 PyObject
*resultobj
;
42160 wxWindow
*arg1
= (wxWindow
*) 0 ;
42161 wxGBPosition
*arg2
= 0 ;
42162 wxGBSpan
*arg3
= 0 ;
42165 PyObject
*arg6
= (PyObject
*) NULL
;
42166 wxGBSizerItem
*result
;
42167 wxGBPosition temp2
;
42169 PyObject
* obj0
= 0 ;
42170 PyObject
* obj1
= 0 ;
42171 PyObject
* obj2
= 0 ;
42172 PyObject
* obj3
= 0 ;
42173 PyObject
* obj4
= 0 ;
42174 PyObject
* obj5
= 0 ;
42175 char *kwnames
[] = {
42176 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42180 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42181 if (SWIG_arg_fail(1)) SWIG_fail
;
42184 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42188 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42191 arg4
= (int)(SWIG_As_int(obj3
));
42192 if (SWIG_arg_fail(4)) SWIG_fail
;
42195 arg5
= (int)(SWIG_As_int(obj4
));
42196 if (SWIG_arg_fail(5)) SWIG_fail
;
42202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42203 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42205 wxPyEndAllowThreads(__tstate
);
42206 if (PyErr_Occurred()) SWIG_fail
;
42208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42215 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42216 PyObject
*resultobj
;
42217 wxSizer
*arg1
= (wxSizer
*) 0 ;
42218 wxGBPosition
*arg2
= 0 ;
42219 wxGBSpan
*arg3
= 0 ;
42222 PyObject
*arg6
= (PyObject
*) NULL
;
42223 wxGBSizerItem
*result
;
42224 wxGBPosition temp2
;
42226 PyObject
* obj0
= 0 ;
42227 PyObject
* obj1
= 0 ;
42228 PyObject
* obj2
= 0 ;
42229 PyObject
* obj3
= 0 ;
42230 PyObject
* obj4
= 0 ;
42231 PyObject
* obj5
= 0 ;
42232 char *kwnames
[] = {
42233 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42238 if (SWIG_arg_fail(1)) SWIG_fail
;
42241 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42245 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42248 arg4
= (int)(SWIG_As_int(obj3
));
42249 if (SWIG_arg_fail(4)) SWIG_fail
;
42252 arg5
= (int)(SWIG_As_int(obj4
));
42253 if (SWIG_arg_fail(5)) SWIG_fail
;
42259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42260 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42262 wxPyEndAllowThreads(__tstate
);
42263 if (PyErr_Occurred()) SWIG_fail
;
42265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42272 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42273 PyObject
*resultobj
;
42276 wxGBPosition
*arg3
= 0 ;
42277 wxGBSpan
*arg4
= 0 ;
42280 PyObject
*arg7
= (PyObject
*) NULL
;
42281 wxGBSizerItem
*result
;
42282 wxGBPosition temp3
;
42284 PyObject
* obj0
= 0 ;
42285 PyObject
* obj1
= 0 ;
42286 PyObject
* obj2
= 0 ;
42287 PyObject
* obj3
= 0 ;
42288 PyObject
* obj4
= 0 ;
42289 PyObject
* obj5
= 0 ;
42290 PyObject
* obj6
= 0 ;
42291 char *kwnames
[] = {
42292 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42297 arg1
= (int)(SWIG_As_int(obj0
));
42298 if (SWIG_arg_fail(1)) SWIG_fail
;
42301 arg2
= (int)(SWIG_As_int(obj1
));
42302 if (SWIG_arg_fail(2)) SWIG_fail
;
42306 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42310 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42313 arg5
= (int)(SWIG_As_int(obj4
));
42314 if (SWIG_arg_fail(5)) SWIG_fail
;
42317 arg6
= (int)(SWIG_As_int(obj5
));
42318 if (SWIG_arg_fail(6)) SWIG_fail
;
42324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42325 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42327 wxPyEndAllowThreads(__tstate
);
42328 if (PyErr_Occurred()) SWIG_fail
;
42330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42337 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42338 PyObject
*resultobj
;
42339 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42340 wxGBPosition result
;
42341 PyObject
* obj0
= 0 ;
42342 char *kwnames
[] = {
42343 (char *) "self", NULL
42346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42348 if (SWIG_arg_fail(1)) SWIG_fail
;
42350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42351 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42353 wxPyEndAllowThreads(__tstate
);
42354 if (PyErr_Occurred()) SWIG_fail
;
42357 wxGBPosition
* resultptr
;
42358 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42367 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42368 PyObject
*resultobj
;
42369 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42371 PyObject
* obj0
= 0 ;
42372 char *kwnames
[] = {
42373 (char *) "self", NULL
42376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42378 if (SWIG_arg_fail(1)) SWIG_fail
;
42380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42381 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42383 wxPyEndAllowThreads(__tstate
);
42384 if (PyErr_Occurred()) SWIG_fail
;
42387 wxGBSpan
* resultptr
;
42388 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42397 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42398 PyObject
*resultobj
;
42399 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42400 wxGBPosition
*arg2
= 0 ;
42402 wxGBPosition temp2
;
42403 PyObject
* obj0
= 0 ;
42404 PyObject
* obj1
= 0 ;
42405 char *kwnames
[] = {
42406 (char *) "self",(char *) "pos", NULL
42409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42411 if (SWIG_arg_fail(1)) SWIG_fail
;
42414 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42418 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42420 wxPyEndAllowThreads(__tstate
);
42421 if (PyErr_Occurred()) SWIG_fail
;
42424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42432 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42433 PyObject
*resultobj
;
42434 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42435 wxGBSpan
*arg2
= 0 ;
42438 PyObject
* obj0
= 0 ;
42439 PyObject
* obj1
= 0 ;
42440 char *kwnames
[] = {
42441 (char *) "self",(char *) "span", NULL
42444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42446 if (SWIG_arg_fail(1)) SWIG_fail
;
42449 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42453 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42455 wxPyEndAllowThreads(__tstate
);
42456 if (PyErr_Occurred()) SWIG_fail
;
42459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42467 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42468 PyObject
*resultobj
;
42469 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42470 wxGBSizerItem
*arg2
= 0 ;
42472 PyObject
* obj0
= 0 ;
42473 PyObject
* obj1
= 0 ;
42474 char *kwnames
[] = {
42475 (char *) "self",(char *) "other", NULL
42478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42480 if (SWIG_arg_fail(1)) SWIG_fail
;
42482 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42483 if (SWIG_arg_fail(2)) SWIG_fail
;
42484 if (arg2
== NULL
) {
42485 SWIG_null_ref("wxGBSizerItem");
42487 if (SWIG_arg_fail(2)) SWIG_fail
;
42490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42491 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42493 wxPyEndAllowThreads(__tstate
);
42494 if (PyErr_Occurred()) SWIG_fail
;
42497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42505 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42506 PyObject
*resultobj
;
42507 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42508 wxGBPosition
*arg2
= 0 ;
42509 wxGBSpan
*arg3
= 0 ;
42511 wxGBPosition temp2
;
42513 PyObject
* obj0
= 0 ;
42514 PyObject
* obj1
= 0 ;
42515 PyObject
* obj2
= 0 ;
42516 char *kwnames
[] = {
42517 (char *) "self",(char *) "pos",(char *) "span", NULL
42520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42522 if (SWIG_arg_fail(1)) SWIG_fail
;
42525 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42529 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42533 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42535 wxPyEndAllowThreads(__tstate
);
42536 if (PyErr_Occurred()) SWIG_fail
;
42539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42547 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42548 PyObject
*resultobj
;
42549 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42550 wxGBPosition result
;
42551 PyObject
* obj0
= 0 ;
42552 char *kwnames
[] = {
42553 (char *) "self", NULL
42556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42558 if (SWIG_arg_fail(1)) SWIG_fail
;
42560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42561 result
= wxGBSizerItem_GetEndPos(arg1
);
42563 wxPyEndAllowThreads(__tstate
);
42564 if (PyErr_Occurred()) SWIG_fail
;
42567 wxGBPosition
* resultptr
;
42568 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42577 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42578 PyObject
*resultobj
;
42579 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42580 wxGridBagSizer
*result
;
42581 PyObject
* obj0
= 0 ;
42582 char *kwnames
[] = {
42583 (char *) "self", NULL
42586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42588 if (SWIG_arg_fail(1)) SWIG_fail
;
42590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42591 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42593 wxPyEndAllowThreads(__tstate
);
42594 if (PyErr_Occurred()) SWIG_fail
;
42596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42603 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42604 PyObject
*resultobj
;
42605 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42606 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42607 PyObject
* obj0
= 0 ;
42608 PyObject
* obj1
= 0 ;
42609 char *kwnames
[] = {
42610 (char *) "self",(char *) "sizer", NULL
42613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42615 if (SWIG_arg_fail(1)) SWIG_fail
;
42616 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42617 if (SWIG_arg_fail(2)) SWIG_fail
;
42619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42620 (arg1
)->SetGBSizer(arg2
);
42622 wxPyEndAllowThreads(__tstate
);
42623 if (PyErr_Occurred()) SWIG_fail
;
42625 Py_INCREF(Py_None
); resultobj
= Py_None
;
42632 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42635 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42637 return Py_BuildValue((char *)"");
42639 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42640 PyObject
*resultobj
;
42641 int arg1
= (int) 0 ;
42642 int arg2
= (int) 0 ;
42643 wxGridBagSizer
*result
;
42644 PyObject
* obj0
= 0 ;
42645 PyObject
* obj1
= 0 ;
42646 char *kwnames
[] = {
42647 (char *) "vgap",(char *) "hgap", NULL
42650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42653 arg1
= (int)(SWIG_As_int(obj0
));
42654 if (SWIG_arg_fail(1)) SWIG_fail
;
42659 arg2
= (int)(SWIG_As_int(obj1
));
42660 if (SWIG_arg_fail(2)) SWIG_fail
;
42664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42665 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
42667 wxPyEndAllowThreads(__tstate
);
42668 if (PyErr_Occurred()) SWIG_fail
;
42670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
42677 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42678 PyObject
*resultobj
;
42679 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42680 PyObject
*arg2
= (PyObject
*) 0 ;
42681 wxGBPosition
*arg3
= 0 ;
42682 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
42683 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
42684 int arg5
= (int) 0 ;
42685 int arg6
= (int) 0 ;
42686 PyObject
*arg7
= (PyObject
*) NULL
;
42687 wxGBSizerItem
*result
;
42688 wxGBPosition temp3
;
42690 PyObject
* obj0
= 0 ;
42691 PyObject
* obj1
= 0 ;
42692 PyObject
* obj2
= 0 ;
42693 PyObject
* obj3
= 0 ;
42694 PyObject
* obj4
= 0 ;
42695 PyObject
* obj5
= 0 ;
42696 PyObject
* obj6
= 0 ;
42697 char *kwnames
[] = {
42698 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42702 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42703 if (SWIG_arg_fail(1)) SWIG_fail
;
42707 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42712 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42717 arg5
= (int)(SWIG_As_int(obj4
));
42718 if (SWIG_arg_fail(5)) SWIG_fail
;
42723 arg6
= (int)(SWIG_As_int(obj5
));
42724 if (SWIG_arg_fail(6)) SWIG_fail
;
42731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42732 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42734 wxPyEndAllowThreads(__tstate
);
42735 if (PyErr_Occurred()) SWIG_fail
;
42737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42744 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42745 PyObject
*resultobj
;
42746 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42747 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
42748 wxGBSizerItem
*result
;
42749 PyObject
* obj0
= 0 ;
42750 PyObject
* obj1
= 0 ;
42751 char *kwnames
[] = {
42752 (char *) "self",(char *) "item", NULL
42755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
42756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42757 if (SWIG_arg_fail(1)) SWIG_fail
;
42758 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42759 if (SWIG_arg_fail(2)) SWIG_fail
;
42761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42762 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
42764 wxPyEndAllowThreads(__tstate
);
42765 if (PyErr_Occurred()) SWIG_fail
;
42767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
42774 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42775 PyObject
*resultobj
;
42776 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42780 PyObject
* obj0
= 0 ;
42781 PyObject
* obj1
= 0 ;
42782 PyObject
* obj2
= 0 ;
42783 char *kwnames
[] = {
42784 (char *) "self",(char *) "row",(char *) "col", NULL
42787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42789 if (SWIG_arg_fail(1)) SWIG_fail
;
42791 arg2
= (int)(SWIG_As_int(obj1
));
42792 if (SWIG_arg_fail(2)) SWIG_fail
;
42795 arg3
= (int)(SWIG_As_int(obj2
));
42796 if (SWIG_arg_fail(3)) SWIG_fail
;
42799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42800 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
42802 wxPyEndAllowThreads(__tstate
);
42803 if (PyErr_Occurred()) SWIG_fail
;
42806 wxSize
* resultptr
;
42807 resultptr
= new wxSize((wxSize
&)(result
));
42808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42816 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42817 PyObject
*resultobj
;
42818 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42820 PyObject
* obj0
= 0 ;
42821 char *kwnames
[] = {
42822 (char *) "self", NULL
42825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
42826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42827 if (SWIG_arg_fail(1)) SWIG_fail
;
42829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42830 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
42832 wxPyEndAllowThreads(__tstate
);
42833 if (PyErr_Occurred()) SWIG_fail
;
42836 wxSize
* resultptr
;
42837 resultptr
= new wxSize((wxSize
&)(result
));
42838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
42846 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42847 PyObject
*resultobj
;
42848 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42851 PyObject
* obj0
= 0 ;
42852 PyObject
* obj1
= 0 ;
42853 char *kwnames
[] = {
42854 (char *) "self",(char *) "sz", NULL
42857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
42858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42859 if (SWIG_arg_fail(1)) SWIG_fail
;
42862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
42865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42866 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
42868 wxPyEndAllowThreads(__tstate
);
42869 if (PyErr_Occurred()) SWIG_fail
;
42871 Py_INCREF(Py_None
); resultobj
= Py_None
;
42878 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
42879 PyObject
*resultobj
;
42880 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42881 wxWindow
*arg2
= (wxWindow
*) 0 ;
42882 wxGBPosition result
;
42883 PyObject
* obj0
= 0 ;
42884 PyObject
* obj1
= 0 ;
42886 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42888 if (SWIG_arg_fail(1)) SWIG_fail
;
42889 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42890 if (SWIG_arg_fail(2)) SWIG_fail
;
42892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42893 result
= (arg1
)->GetItemPosition(arg2
);
42895 wxPyEndAllowThreads(__tstate
);
42896 if (PyErr_Occurred()) SWIG_fail
;
42899 wxGBPosition
* resultptr
;
42900 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42909 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
42910 PyObject
*resultobj
;
42911 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42912 wxSizer
*arg2
= (wxSizer
*) 0 ;
42913 wxGBPosition result
;
42914 PyObject
* obj0
= 0 ;
42915 PyObject
* obj1
= 0 ;
42917 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42919 if (SWIG_arg_fail(1)) SWIG_fail
;
42920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42921 if (SWIG_arg_fail(2)) SWIG_fail
;
42923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42924 result
= (arg1
)->GetItemPosition(arg2
);
42926 wxPyEndAllowThreads(__tstate
);
42927 if (PyErr_Occurred()) SWIG_fail
;
42930 wxGBPosition
* resultptr
;
42931 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42940 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
42941 PyObject
*resultobj
;
42942 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
42944 wxGBPosition result
;
42945 PyObject
* obj0
= 0 ;
42946 PyObject
* obj1
= 0 ;
42948 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
42949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42950 if (SWIG_arg_fail(1)) SWIG_fail
;
42952 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
42953 if (SWIG_arg_fail(2)) SWIG_fail
;
42956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42957 result
= (arg1
)->GetItemPosition(arg2
);
42959 wxPyEndAllowThreads(__tstate
);
42960 if (PyErr_Occurred()) SWIG_fail
;
42963 wxGBPosition
* resultptr
;
42964 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42973 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
42978 argc
= PyObject_Length(args
);
42979 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
42980 argv
[ii
] = PyTuple_GetItem(args
,ii
);
42986 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
42996 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43004 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43012 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43022 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43030 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43038 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43046 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43048 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43053 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43058 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43059 PyObject
*resultobj
;
43060 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43061 wxWindow
*arg2
= (wxWindow
*) 0 ;
43062 wxGBPosition
*arg3
= 0 ;
43064 wxGBPosition temp3
;
43065 PyObject
* obj0
= 0 ;
43066 PyObject
* obj1
= 0 ;
43067 PyObject
* obj2
= 0 ;
43069 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43071 if (SWIG_arg_fail(1)) SWIG_fail
;
43072 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43073 if (SWIG_arg_fail(2)) SWIG_fail
;
43076 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43080 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43082 wxPyEndAllowThreads(__tstate
);
43083 if (PyErr_Occurred()) SWIG_fail
;
43086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43094 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43095 PyObject
*resultobj
;
43096 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43097 wxSizer
*arg2
= (wxSizer
*) 0 ;
43098 wxGBPosition
*arg3
= 0 ;
43100 wxGBPosition temp3
;
43101 PyObject
* obj0
= 0 ;
43102 PyObject
* obj1
= 0 ;
43103 PyObject
* obj2
= 0 ;
43105 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43106 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43107 if (SWIG_arg_fail(1)) SWIG_fail
;
43108 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43109 if (SWIG_arg_fail(2)) SWIG_fail
;
43112 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43116 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43118 wxPyEndAllowThreads(__tstate
);
43119 if (PyErr_Occurred()) SWIG_fail
;
43122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43130 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43131 PyObject
*resultobj
;
43132 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43134 wxGBPosition
*arg3
= 0 ;
43136 wxGBPosition temp3
;
43137 PyObject
* obj0
= 0 ;
43138 PyObject
* obj1
= 0 ;
43139 PyObject
* obj2
= 0 ;
43141 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43143 if (SWIG_arg_fail(1)) SWIG_fail
;
43145 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43146 if (SWIG_arg_fail(2)) SWIG_fail
;
43150 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43154 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43156 wxPyEndAllowThreads(__tstate
);
43157 if (PyErr_Occurred()) SWIG_fail
;
43160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43168 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43173 argc
= PyObject_Length(args
);
43174 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43175 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43181 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43191 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43200 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43203 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43212 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43222 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43231 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43234 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43243 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43251 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43254 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43257 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43263 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43268 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43269 PyObject
*resultobj
;
43270 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43271 wxWindow
*arg2
= (wxWindow
*) 0 ;
43273 PyObject
* obj0
= 0 ;
43274 PyObject
* obj1
= 0 ;
43276 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43278 if (SWIG_arg_fail(1)) SWIG_fail
;
43279 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43280 if (SWIG_arg_fail(2)) SWIG_fail
;
43282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43283 result
= (arg1
)->GetItemSpan(arg2
);
43285 wxPyEndAllowThreads(__tstate
);
43286 if (PyErr_Occurred()) SWIG_fail
;
43289 wxGBSpan
* resultptr
;
43290 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43299 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43300 PyObject
*resultobj
;
43301 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43302 wxSizer
*arg2
= (wxSizer
*) 0 ;
43304 PyObject
* obj0
= 0 ;
43305 PyObject
* obj1
= 0 ;
43307 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43309 if (SWIG_arg_fail(1)) SWIG_fail
;
43310 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43311 if (SWIG_arg_fail(2)) SWIG_fail
;
43313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43314 result
= (arg1
)->GetItemSpan(arg2
);
43316 wxPyEndAllowThreads(__tstate
);
43317 if (PyErr_Occurred()) SWIG_fail
;
43320 wxGBSpan
* resultptr
;
43321 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43330 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43331 PyObject
*resultobj
;
43332 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43335 PyObject
* obj0
= 0 ;
43336 PyObject
* obj1
= 0 ;
43338 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43340 if (SWIG_arg_fail(1)) SWIG_fail
;
43342 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43343 if (SWIG_arg_fail(2)) SWIG_fail
;
43346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43347 result
= (arg1
)->GetItemSpan(arg2
);
43349 wxPyEndAllowThreads(__tstate
);
43350 if (PyErr_Occurred()) SWIG_fail
;
43353 wxGBSpan
* resultptr
;
43354 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43363 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43368 argc
= PyObject_Length(args
);
43369 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43370 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43376 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43386 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43394 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43402 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43412 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43420 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43428 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43436 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43438 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43443 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43448 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43449 PyObject
*resultobj
;
43450 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43451 wxWindow
*arg2
= (wxWindow
*) 0 ;
43452 wxGBSpan
*arg3
= 0 ;
43455 PyObject
* obj0
= 0 ;
43456 PyObject
* obj1
= 0 ;
43457 PyObject
* obj2
= 0 ;
43459 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43461 if (SWIG_arg_fail(1)) SWIG_fail
;
43462 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43463 if (SWIG_arg_fail(2)) SWIG_fail
;
43466 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43470 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43472 wxPyEndAllowThreads(__tstate
);
43473 if (PyErr_Occurred()) SWIG_fail
;
43476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43484 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43485 PyObject
*resultobj
;
43486 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43487 wxSizer
*arg2
= (wxSizer
*) 0 ;
43488 wxGBSpan
*arg3
= 0 ;
43491 PyObject
* obj0
= 0 ;
43492 PyObject
* obj1
= 0 ;
43493 PyObject
* obj2
= 0 ;
43495 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43496 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43497 if (SWIG_arg_fail(1)) SWIG_fail
;
43498 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43499 if (SWIG_arg_fail(2)) SWIG_fail
;
43502 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43506 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43508 wxPyEndAllowThreads(__tstate
);
43509 if (PyErr_Occurred()) SWIG_fail
;
43512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43520 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43521 PyObject
*resultobj
;
43522 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43524 wxGBSpan
*arg3
= 0 ;
43527 PyObject
* obj0
= 0 ;
43528 PyObject
* obj1
= 0 ;
43529 PyObject
* obj2
= 0 ;
43531 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43533 if (SWIG_arg_fail(1)) SWIG_fail
;
43535 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43536 if (SWIG_arg_fail(2)) SWIG_fail
;
43540 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43544 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43546 wxPyEndAllowThreads(__tstate
);
43547 if (PyErr_Occurred()) SWIG_fail
;
43550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43558 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43563 argc
= PyObject_Length(args
);
43564 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43565 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43571 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43581 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43590 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43593 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43602 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43612 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43621 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43624 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43633 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43641 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43644 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43647 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
43653 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
43658 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
43659 PyObject
*resultobj
;
43660 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43661 wxWindow
*arg2
= (wxWindow
*) 0 ;
43662 wxGBSizerItem
*result
;
43663 PyObject
* obj0
= 0 ;
43664 PyObject
* obj1
= 0 ;
43666 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43667 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43668 if (SWIG_arg_fail(1)) SWIG_fail
;
43669 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43670 if (SWIG_arg_fail(2)) SWIG_fail
;
43672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43673 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43675 wxPyEndAllowThreads(__tstate
);
43676 if (PyErr_Occurred()) SWIG_fail
;
43678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43685 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
43686 PyObject
*resultobj
;
43687 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43688 wxSizer
*arg2
= (wxSizer
*) 0 ;
43689 wxGBSizerItem
*result
;
43690 PyObject
* obj0
= 0 ;
43691 PyObject
* obj1
= 0 ;
43693 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
43694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43695 if (SWIG_arg_fail(1)) SWIG_fail
;
43696 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43697 if (SWIG_arg_fail(2)) SWIG_fail
;
43699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43700 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
43702 wxPyEndAllowThreads(__tstate
);
43703 if (PyErr_Occurred()) SWIG_fail
;
43705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43712 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
43717 argc
= PyObject_Length(args
);
43718 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43719 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43725 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43735 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43743 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
43751 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43761 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43769 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
43774 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
43779 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43780 PyObject
*resultobj
;
43781 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43782 wxGBPosition
*arg2
= 0 ;
43783 wxGBSizerItem
*result
;
43784 wxGBPosition temp2
;
43785 PyObject
* obj0
= 0 ;
43786 PyObject
* obj1
= 0 ;
43787 char *kwnames
[] = {
43788 (char *) "self",(char *) "pos", NULL
43791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
43792 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43793 if (SWIG_arg_fail(1)) SWIG_fail
;
43796 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43800 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
43802 wxPyEndAllowThreads(__tstate
);
43803 if (PyErr_Occurred()) SWIG_fail
;
43805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43812 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43813 PyObject
*resultobj
;
43814 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43815 wxPoint
*arg2
= 0 ;
43816 wxGBSizerItem
*result
;
43818 PyObject
* obj0
= 0 ;
43819 PyObject
* obj1
= 0 ;
43820 char *kwnames
[] = {
43821 (char *) "self",(char *) "pt", NULL
43824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
43825 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43826 if (SWIG_arg_fail(1)) SWIG_fail
;
43829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
43832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43833 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
43835 wxPyEndAllowThreads(__tstate
);
43836 if (PyErr_Occurred()) SWIG_fail
;
43838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43845 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43846 PyObject
*resultobj
;
43847 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43848 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43849 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
43851 PyObject
* obj0
= 0 ;
43852 PyObject
* obj1
= 0 ;
43853 PyObject
* obj2
= 0 ;
43854 char *kwnames
[] = {
43855 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
43858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43860 if (SWIG_arg_fail(1)) SWIG_fail
;
43861 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43862 if (SWIG_arg_fail(2)) SWIG_fail
;
43864 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43865 if (SWIG_arg_fail(3)) SWIG_fail
;
43868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43869 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
43871 wxPyEndAllowThreads(__tstate
);
43872 if (PyErr_Occurred()) SWIG_fail
;
43875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43883 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43884 PyObject
*resultobj
;
43885 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43886 wxGBPosition
*arg2
= 0 ;
43887 wxGBSpan
*arg3
= 0 ;
43888 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
43890 wxGBPosition temp2
;
43892 PyObject
* obj0
= 0 ;
43893 PyObject
* obj1
= 0 ;
43894 PyObject
* obj2
= 0 ;
43895 PyObject
* obj3
= 0 ;
43896 char *kwnames
[] = {
43897 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
43900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
43901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43902 if (SWIG_arg_fail(1)) SWIG_fail
;
43905 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
43909 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43912 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43913 if (SWIG_arg_fail(4)) SWIG_fail
;
43916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43917 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
43919 wxPyEndAllowThreads(__tstate
);
43920 if (PyErr_Occurred()) SWIG_fail
;
43923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43931 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
43933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
43934 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
43936 return Py_BuildValue((char *)"");
43938 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43939 PyObject
*resultobj
;
43940 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43941 wxRelationship arg2
;
43942 wxWindow
*arg3
= (wxWindow
*) 0 ;
43944 int arg5
= (int) 0 ;
43945 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
43946 PyObject
* obj0
= 0 ;
43947 PyObject
* obj1
= 0 ;
43948 PyObject
* obj2
= 0 ;
43949 PyObject
* obj3
= 0 ;
43950 PyObject
* obj4
= 0 ;
43951 PyObject
* obj5
= 0 ;
43952 char *kwnames
[] = {
43953 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
43956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
43957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
43958 if (SWIG_arg_fail(1)) SWIG_fail
;
43960 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
43961 if (SWIG_arg_fail(2)) SWIG_fail
;
43963 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43964 if (SWIG_arg_fail(3)) SWIG_fail
;
43966 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
43967 if (SWIG_arg_fail(4)) SWIG_fail
;
43971 arg5
= (int)(SWIG_As_int(obj4
));
43972 if (SWIG_arg_fail(5)) SWIG_fail
;
43977 arg6
= (int)(SWIG_As_int(obj5
));
43978 if (SWIG_arg_fail(6)) SWIG_fail
;
43982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43983 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
43985 wxPyEndAllowThreads(__tstate
);
43986 if (PyErr_Occurred()) SWIG_fail
;
43988 Py_INCREF(Py_None
); resultobj
= Py_None
;
43995 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43996 PyObject
*resultobj
;
43997 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
43998 wxWindow
*arg2
= (wxWindow
*) 0 ;
43999 int arg3
= (int) 0 ;
44000 PyObject
* obj0
= 0 ;
44001 PyObject
* obj1
= 0 ;
44002 PyObject
* obj2
= 0 ;
44003 char *kwnames
[] = {
44004 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44009 if (SWIG_arg_fail(1)) SWIG_fail
;
44010 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44011 if (SWIG_arg_fail(2)) SWIG_fail
;
44014 arg3
= (int)(SWIG_As_int(obj2
));
44015 if (SWIG_arg_fail(3)) SWIG_fail
;
44019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44020 (arg1
)->LeftOf(arg2
,arg3
);
44022 wxPyEndAllowThreads(__tstate
);
44023 if (PyErr_Occurred()) SWIG_fail
;
44025 Py_INCREF(Py_None
); resultobj
= Py_None
;
44032 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44033 PyObject
*resultobj
;
44034 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44035 wxWindow
*arg2
= (wxWindow
*) 0 ;
44036 int arg3
= (int) 0 ;
44037 PyObject
* obj0
= 0 ;
44038 PyObject
* obj1
= 0 ;
44039 PyObject
* obj2
= 0 ;
44040 char *kwnames
[] = {
44041 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44046 if (SWIG_arg_fail(1)) SWIG_fail
;
44047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44048 if (SWIG_arg_fail(2)) SWIG_fail
;
44051 arg3
= (int)(SWIG_As_int(obj2
));
44052 if (SWIG_arg_fail(3)) SWIG_fail
;
44056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44057 (arg1
)->RightOf(arg2
,arg3
);
44059 wxPyEndAllowThreads(__tstate
);
44060 if (PyErr_Occurred()) SWIG_fail
;
44062 Py_INCREF(Py_None
); resultobj
= Py_None
;
44069 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44070 PyObject
*resultobj
;
44071 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44072 wxWindow
*arg2
= (wxWindow
*) 0 ;
44073 int arg3
= (int) 0 ;
44074 PyObject
* obj0
= 0 ;
44075 PyObject
* obj1
= 0 ;
44076 PyObject
* obj2
= 0 ;
44077 char *kwnames
[] = {
44078 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44083 if (SWIG_arg_fail(1)) SWIG_fail
;
44084 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44085 if (SWIG_arg_fail(2)) SWIG_fail
;
44088 arg3
= (int)(SWIG_As_int(obj2
));
44089 if (SWIG_arg_fail(3)) SWIG_fail
;
44093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44094 (arg1
)->Above(arg2
,arg3
);
44096 wxPyEndAllowThreads(__tstate
);
44097 if (PyErr_Occurred()) SWIG_fail
;
44099 Py_INCREF(Py_None
); resultobj
= Py_None
;
44106 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44107 PyObject
*resultobj
;
44108 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44109 wxWindow
*arg2
= (wxWindow
*) 0 ;
44110 int arg3
= (int) 0 ;
44111 PyObject
* obj0
= 0 ;
44112 PyObject
* obj1
= 0 ;
44113 PyObject
* obj2
= 0 ;
44114 char *kwnames
[] = {
44115 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44120 if (SWIG_arg_fail(1)) SWIG_fail
;
44121 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44122 if (SWIG_arg_fail(2)) SWIG_fail
;
44125 arg3
= (int)(SWIG_As_int(obj2
));
44126 if (SWIG_arg_fail(3)) SWIG_fail
;
44130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44131 (arg1
)->Below(arg2
,arg3
);
44133 wxPyEndAllowThreads(__tstate
);
44134 if (PyErr_Occurred()) SWIG_fail
;
44136 Py_INCREF(Py_None
); resultobj
= Py_None
;
44143 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44144 PyObject
*resultobj
;
44145 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44146 wxWindow
*arg2
= (wxWindow
*) 0 ;
44148 int arg4
= (int) 0 ;
44149 PyObject
* obj0
= 0 ;
44150 PyObject
* obj1
= 0 ;
44151 PyObject
* obj2
= 0 ;
44152 PyObject
* obj3
= 0 ;
44153 char *kwnames
[] = {
44154 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44159 if (SWIG_arg_fail(1)) SWIG_fail
;
44160 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44161 if (SWIG_arg_fail(2)) SWIG_fail
;
44163 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44164 if (SWIG_arg_fail(3)) SWIG_fail
;
44168 arg4
= (int)(SWIG_As_int(obj3
));
44169 if (SWIG_arg_fail(4)) SWIG_fail
;
44173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44174 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44176 wxPyEndAllowThreads(__tstate
);
44177 if (PyErr_Occurred()) SWIG_fail
;
44179 Py_INCREF(Py_None
); resultobj
= Py_None
;
44186 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44187 PyObject
*resultobj
;
44188 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44189 wxWindow
*arg2
= (wxWindow
*) 0 ;
44192 PyObject
* obj0
= 0 ;
44193 PyObject
* obj1
= 0 ;
44194 PyObject
* obj2
= 0 ;
44195 PyObject
* obj3
= 0 ;
44196 char *kwnames
[] = {
44197 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44202 if (SWIG_arg_fail(1)) SWIG_fail
;
44203 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44204 if (SWIG_arg_fail(2)) SWIG_fail
;
44206 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44207 if (SWIG_arg_fail(3)) SWIG_fail
;
44210 arg4
= (int)(SWIG_As_int(obj3
));
44211 if (SWIG_arg_fail(4)) SWIG_fail
;
44214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44215 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44217 wxPyEndAllowThreads(__tstate
);
44218 if (PyErr_Occurred()) SWIG_fail
;
44220 Py_INCREF(Py_None
); resultobj
= Py_None
;
44227 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44228 PyObject
*resultobj
;
44229 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44231 PyObject
* obj0
= 0 ;
44232 PyObject
* obj1
= 0 ;
44233 char *kwnames
[] = {
44234 (char *) "self",(char *) "val", NULL
44237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44239 if (SWIG_arg_fail(1)) SWIG_fail
;
44241 arg2
= (int)(SWIG_As_int(obj1
));
44242 if (SWIG_arg_fail(2)) SWIG_fail
;
44245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44246 (arg1
)->Absolute(arg2
);
44248 wxPyEndAllowThreads(__tstate
);
44249 if (PyErr_Occurred()) SWIG_fail
;
44251 Py_INCREF(Py_None
); resultobj
= Py_None
;
44258 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44259 PyObject
*resultobj
;
44260 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44261 PyObject
* obj0
= 0 ;
44262 char *kwnames
[] = {
44263 (char *) "self", NULL
44266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44268 if (SWIG_arg_fail(1)) SWIG_fail
;
44270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44271 (arg1
)->Unconstrained();
44273 wxPyEndAllowThreads(__tstate
);
44274 if (PyErr_Occurred()) SWIG_fail
;
44276 Py_INCREF(Py_None
); resultobj
= Py_None
;
44283 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44284 PyObject
*resultobj
;
44285 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44286 PyObject
* obj0
= 0 ;
44287 char *kwnames
[] = {
44288 (char *) "self", NULL
44291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44293 if (SWIG_arg_fail(1)) SWIG_fail
;
44295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44298 wxPyEndAllowThreads(__tstate
);
44299 if (PyErr_Occurred()) SWIG_fail
;
44301 Py_INCREF(Py_None
); resultobj
= Py_None
;
44308 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44309 PyObject
*resultobj
;
44310 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44312 PyObject
* obj0
= 0 ;
44313 char *kwnames
[] = {
44314 (char *) "self", NULL
44317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44319 if (SWIG_arg_fail(1)) SWIG_fail
;
44321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44322 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44324 wxPyEndAllowThreads(__tstate
);
44325 if (PyErr_Occurred()) SWIG_fail
;
44328 resultobj
= wxPyMake_wxObject(result
, 0);
44336 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44337 PyObject
*resultobj
;
44338 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44340 PyObject
* obj0
= 0 ;
44341 char *kwnames
[] = {
44342 (char *) "self", NULL
44345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44347 if (SWIG_arg_fail(1)) SWIG_fail
;
44349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44350 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44352 wxPyEndAllowThreads(__tstate
);
44353 if (PyErr_Occurred()) SWIG_fail
;
44355 resultobj
= SWIG_From_int((result
));
44362 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44363 PyObject
*resultobj
;
44364 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44366 PyObject
* obj0
= 0 ;
44367 PyObject
* obj1
= 0 ;
44368 char *kwnames
[] = {
44369 (char *) "self",(char *) "which", NULL
44372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44374 if (SWIG_arg_fail(1)) SWIG_fail
;
44376 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44377 if (SWIG_arg_fail(2)) SWIG_fail
;
44380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44381 (arg1
)->SetEdge((wxEdge
)arg2
);
44383 wxPyEndAllowThreads(__tstate
);
44384 if (PyErr_Occurred()) SWIG_fail
;
44386 Py_INCREF(Py_None
); resultobj
= Py_None
;
44393 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44394 PyObject
*resultobj
;
44395 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44397 PyObject
* obj0
= 0 ;
44398 PyObject
* obj1
= 0 ;
44399 char *kwnames
[] = {
44400 (char *) "self",(char *) "v", NULL
44403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44405 if (SWIG_arg_fail(1)) SWIG_fail
;
44407 arg2
= (int)(SWIG_As_int(obj1
));
44408 if (SWIG_arg_fail(2)) SWIG_fail
;
44411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44412 (arg1
)->SetValue(arg2
);
44414 wxPyEndAllowThreads(__tstate
);
44415 if (PyErr_Occurred()) SWIG_fail
;
44417 Py_INCREF(Py_None
); resultobj
= Py_None
;
44424 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44425 PyObject
*resultobj
;
44426 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44428 PyObject
* obj0
= 0 ;
44429 char *kwnames
[] = {
44430 (char *) "self", NULL
44433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44435 if (SWIG_arg_fail(1)) SWIG_fail
;
44437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44438 result
= (int)(arg1
)->GetMargin();
44440 wxPyEndAllowThreads(__tstate
);
44441 if (PyErr_Occurred()) SWIG_fail
;
44444 resultobj
= SWIG_From_int((int)(result
));
44452 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44453 PyObject
*resultobj
;
44454 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44456 PyObject
* obj0
= 0 ;
44457 PyObject
* obj1
= 0 ;
44458 char *kwnames
[] = {
44459 (char *) "self",(char *) "m", NULL
44462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44463 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44464 if (SWIG_arg_fail(1)) SWIG_fail
;
44466 arg2
= (int)(SWIG_As_int(obj1
));
44467 if (SWIG_arg_fail(2)) SWIG_fail
;
44470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44471 (arg1
)->SetMargin(arg2
);
44473 wxPyEndAllowThreads(__tstate
);
44474 if (PyErr_Occurred()) SWIG_fail
;
44476 Py_INCREF(Py_None
); resultobj
= Py_None
;
44483 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44484 PyObject
*resultobj
;
44485 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44487 PyObject
* obj0
= 0 ;
44488 char *kwnames
[] = {
44489 (char *) "self", NULL
44492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44494 if (SWIG_arg_fail(1)) SWIG_fail
;
44496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44497 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44499 wxPyEndAllowThreads(__tstate
);
44500 if (PyErr_Occurred()) SWIG_fail
;
44503 resultobj
= SWIG_From_int((int)(result
));
44511 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44512 PyObject
*resultobj
;
44513 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44515 PyObject
* obj0
= 0 ;
44516 char *kwnames
[] = {
44517 (char *) "self", NULL
44520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44522 if (SWIG_arg_fail(1)) SWIG_fail
;
44524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44525 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44527 wxPyEndAllowThreads(__tstate
);
44528 if (PyErr_Occurred()) SWIG_fail
;
44531 resultobj
= SWIG_From_int((int)(result
));
44539 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44540 PyObject
*resultobj
;
44541 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44543 PyObject
* obj0
= 0 ;
44544 char *kwnames
[] = {
44545 (char *) "self", NULL
44548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44550 if (SWIG_arg_fail(1)) SWIG_fail
;
44552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44553 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44555 wxPyEndAllowThreads(__tstate
);
44556 if (PyErr_Occurred()) SWIG_fail
;
44559 resultobj
= SWIG_From_int((int)(result
));
44567 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44568 PyObject
*resultobj
;
44569 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44571 PyObject
* obj0
= 0 ;
44572 char *kwnames
[] = {
44573 (char *) "self", NULL
44576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44578 if (SWIG_arg_fail(1)) SWIG_fail
;
44580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44581 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44583 wxPyEndAllowThreads(__tstate
);
44584 if (PyErr_Occurred()) SWIG_fail
;
44587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44595 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44596 PyObject
*resultobj
;
44597 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44599 PyObject
* obj0
= 0 ;
44600 PyObject
* obj1
= 0 ;
44601 char *kwnames
[] = {
44602 (char *) "self",(char *) "d", NULL
44605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44606 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44607 if (SWIG_arg_fail(1)) SWIG_fail
;
44609 arg2
= (bool)(SWIG_As_bool(obj1
));
44610 if (SWIG_arg_fail(2)) SWIG_fail
;
44613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44614 (arg1
)->SetDone(arg2
);
44616 wxPyEndAllowThreads(__tstate
);
44617 if (PyErr_Occurred()) SWIG_fail
;
44619 Py_INCREF(Py_None
); resultobj
= Py_None
;
44626 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44627 PyObject
*resultobj
;
44628 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44629 wxRelationship result
;
44630 PyObject
* obj0
= 0 ;
44631 char *kwnames
[] = {
44632 (char *) "self", NULL
44635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44637 if (SWIG_arg_fail(1)) SWIG_fail
;
44639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44640 result
= (wxRelationship
)(arg1
)->GetRelationship();
44642 wxPyEndAllowThreads(__tstate
);
44643 if (PyErr_Occurred()) SWIG_fail
;
44645 resultobj
= SWIG_From_int((result
));
44652 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44653 PyObject
*resultobj
;
44654 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44655 wxRelationship arg2
;
44656 PyObject
* obj0
= 0 ;
44657 PyObject
* obj1
= 0 ;
44658 char *kwnames
[] = {
44659 (char *) "self",(char *) "r", NULL
44662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
44663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44664 if (SWIG_arg_fail(1)) SWIG_fail
;
44666 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44667 if (SWIG_arg_fail(2)) SWIG_fail
;
44670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44671 (arg1
)->SetRelationship((wxRelationship
)arg2
);
44673 wxPyEndAllowThreads(__tstate
);
44674 if (PyErr_Occurred()) SWIG_fail
;
44676 Py_INCREF(Py_None
); resultobj
= Py_None
;
44683 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44684 PyObject
*resultobj
;
44685 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44686 wxWindow
*arg2
= (wxWindow
*) 0 ;
44688 PyObject
* obj0
= 0 ;
44689 PyObject
* obj1
= 0 ;
44690 char *kwnames
[] = {
44691 (char *) "self",(char *) "otherW", NULL
44694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
44695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44696 if (SWIG_arg_fail(1)) SWIG_fail
;
44697 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44698 if (SWIG_arg_fail(2)) SWIG_fail
;
44700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44701 result
= (bool)(arg1
)->ResetIfWin(arg2
);
44703 wxPyEndAllowThreads(__tstate
);
44704 if (PyErr_Occurred()) SWIG_fail
;
44707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44715 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44716 PyObject
*resultobj
;
44717 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44718 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
44719 wxWindow
*arg3
= (wxWindow
*) 0 ;
44721 PyObject
* obj0
= 0 ;
44722 PyObject
* obj1
= 0 ;
44723 PyObject
* obj2
= 0 ;
44724 char *kwnames
[] = {
44725 (char *) "self",(char *) "constraints",(char *) "win", NULL
44728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44730 if (SWIG_arg_fail(1)) SWIG_fail
;
44731 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44732 if (SWIG_arg_fail(2)) SWIG_fail
;
44733 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44734 if (SWIG_arg_fail(3)) SWIG_fail
;
44736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44737 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
44739 wxPyEndAllowThreads(__tstate
);
44740 if (PyErr_Occurred()) SWIG_fail
;
44743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44751 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44752 PyObject
*resultobj
;
44753 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44755 wxWindow
*arg3
= (wxWindow
*) 0 ;
44756 wxWindow
*arg4
= (wxWindow
*) 0 ;
44758 PyObject
* obj0
= 0 ;
44759 PyObject
* obj1
= 0 ;
44760 PyObject
* obj2
= 0 ;
44761 PyObject
* obj3
= 0 ;
44762 char *kwnames
[] = {
44763 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
44766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44768 if (SWIG_arg_fail(1)) SWIG_fail
;
44770 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44771 if (SWIG_arg_fail(2)) SWIG_fail
;
44773 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44774 if (SWIG_arg_fail(3)) SWIG_fail
;
44775 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44776 if (SWIG_arg_fail(4)) SWIG_fail
;
44778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44779 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
44781 wxPyEndAllowThreads(__tstate
);
44782 if (PyErr_Occurred()) SWIG_fail
;
44785 resultobj
= SWIG_From_int((int)(result
));
44793 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
44795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44796 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
44798 return Py_BuildValue((char *)"");
44800 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44801 PyObject
*resultobj
;
44802 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44803 wxIndividualLayoutConstraint
*result
;
44804 PyObject
* obj0
= 0 ;
44805 char *kwnames
[] = {
44806 (char *) "self", NULL
44809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
44810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44811 if (SWIG_arg_fail(1)) SWIG_fail
;
44812 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
44814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44821 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44822 PyObject
*resultobj
;
44823 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44824 wxIndividualLayoutConstraint
*result
;
44825 PyObject
* obj0
= 0 ;
44826 char *kwnames
[] = {
44827 (char *) "self", NULL
44830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
44831 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44832 if (SWIG_arg_fail(1)) SWIG_fail
;
44833 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
44835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44842 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44843 PyObject
*resultobj
;
44844 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44845 wxIndividualLayoutConstraint
*result
;
44846 PyObject
* obj0
= 0 ;
44847 char *kwnames
[] = {
44848 (char *) "self", NULL
44851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
44852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44853 if (SWIG_arg_fail(1)) SWIG_fail
;
44854 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
44856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44863 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44864 PyObject
*resultobj
;
44865 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44866 wxIndividualLayoutConstraint
*result
;
44867 PyObject
* obj0
= 0 ;
44868 char *kwnames
[] = {
44869 (char *) "self", NULL
44872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
44873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44874 if (SWIG_arg_fail(1)) SWIG_fail
;
44875 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
44877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44884 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44885 PyObject
*resultobj
;
44886 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44887 wxIndividualLayoutConstraint
*result
;
44888 PyObject
* obj0
= 0 ;
44889 char *kwnames
[] = {
44890 (char *) "self", NULL
44893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
44894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44895 if (SWIG_arg_fail(1)) SWIG_fail
;
44896 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
44898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44905 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44906 PyObject
*resultobj
;
44907 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44908 wxIndividualLayoutConstraint
*result
;
44909 PyObject
* obj0
= 0 ;
44910 char *kwnames
[] = {
44911 (char *) "self", NULL
44914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
44915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44916 if (SWIG_arg_fail(1)) SWIG_fail
;
44917 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
44919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44926 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44927 PyObject
*resultobj
;
44928 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44929 wxIndividualLayoutConstraint
*result
;
44930 PyObject
* obj0
= 0 ;
44931 char *kwnames
[] = {
44932 (char *) "self", NULL
44935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
44936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44937 if (SWIG_arg_fail(1)) SWIG_fail
;
44938 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
44940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44947 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44948 PyObject
*resultobj
;
44949 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44950 wxIndividualLayoutConstraint
*result
;
44951 PyObject
* obj0
= 0 ;
44952 char *kwnames
[] = {
44953 (char *) "self", NULL
44956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
44957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
44958 if (SWIG_arg_fail(1)) SWIG_fail
;
44959 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
44961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
44968 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44969 PyObject
*resultobj
;
44970 wxLayoutConstraints
*result
;
44971 char *kwnames
[] = {
44975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
44977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44978 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
44980 wxPyEndAllowThreads(__tstate
);
44981 if (PyErr_Occurred()) SWIG_fail
;
44983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
44990 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44991 PyObject
*resultobj
;
44992 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
44993 wxWindow
*arg2
= (wxWindow
*) 0 ;
44994 int *arg3
= (int *) 0 ;
44998 PyObject
* obj0
= 0 ;
44999 PyObject
* obj1
= 0 ;
45000 char *kwnames
[] = {
45001 (char *) "self",(char *) "win", NULL
45004 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45007 if (SWIG_arg_fail(1)) SWIG_fail
;
45008 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45009 if (SWIG_arg_fail(2)) SWIG_fail
;
45011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45012 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45014 wxPyEndAllowThreads(__tstate
);
45015 if (PyErr_Occurred()) SWIG_fail
;
45018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45020 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45021 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45028 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45029 PyObject
*resultobj
;
45030 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45032 PyObject
* obj0
= 0 ;
45033 char *kwnames
[] = {
45034 (char *) "self", NULL
45037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45039 if (SWIG_arg_fail(1)) SWIG_fail
;
45041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45042 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45044 wxPyEndAllowThreads(__tstate
);
45045 if (PyErr_Occurred()) SWIG_fail
;
45048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45056 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45059 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45061 return Py_BuildValue((char *)"");
45063 static PyMethodDef SwigMethods
[] = {
45064 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45065 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45066 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45067 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45068 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45069 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45070 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45071 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45072 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45073 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45074 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45075 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45076 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45077 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45078 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45079 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45080 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45081 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45082 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45083 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45084 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45085 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45086 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45087 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45088 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45089 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45090 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45091 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45092 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45093 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45094 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45095 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45096 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45097 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45098 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45099 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45100 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45101 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45102 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45103 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45104 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45105 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45106 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45107 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45108 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45109 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45110 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45111 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45112 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45113 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45114 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45115 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45116 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45117 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45118 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45119 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45120 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45121 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45122 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45123 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45124 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45125 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45126 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45127 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45128 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45129 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45130 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45131 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45132 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45133 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45134 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45135 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45136 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45137 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45138 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45139 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45140 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45141 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45142 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45143 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45144 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45145 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45146 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45147 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45148 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45149 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45150 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45151 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45152 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45153 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45154 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45155 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45156 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45157 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45158 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45159 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45160 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45161 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45162 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45163 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45164 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45165 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45166 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45167 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45168 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45169 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45170 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45171 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45172 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45173 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45174 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45175 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45176 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45177 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45178 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45179 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45180 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45181 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45182 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45183 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45184 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45185 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45186 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45187 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45188 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45189 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45190 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45191 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45192 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45193 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45194 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45195 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45196 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45197 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45198 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45199 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45200 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45201 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45202 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45203 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45204 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45205 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45206 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45207 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45208 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45209 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45210 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45211 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45212 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45213 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45214 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45215 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45216 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45217 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45218 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45219 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45220 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45221 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45222 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45223 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45224 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45225 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45226 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45227 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45228 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45229 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45230 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45231 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45232 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45233 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45234 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45235 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45236 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45237 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45238 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45239 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45240 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45241 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45242 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45243 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45244 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45245 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45246 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45247 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45248 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45249 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45250 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45251 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45252 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45253 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45254 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45255 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45256 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45257 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45258 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45259 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45260 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45261 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45262 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45263 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45264 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45265 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45266 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45267 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45268 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45269 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45270 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45271 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45272 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45273 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45274 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45275 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45276 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45277 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45278 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45279 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45280 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45281 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45282 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45283 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45284 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45285 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45286 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45287 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45288 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45289 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45290 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45291 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45292 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45293 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45294 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45295 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45296 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45297 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45298 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45299 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45300 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45301 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45302 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45303 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45304 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45305 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45306 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45307 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45308 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45309 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45310 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45311 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45312 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45313 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45314 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45315 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45316 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45317 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45318 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45319 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45320 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45321 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45322 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45323 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45324 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45325 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45326 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45327 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45328 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45329 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45330 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45331 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45332 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45333 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45334 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45335 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45336 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45337 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45338 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45339 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45340 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45341 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45342 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45343 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45344 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45345 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45346 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45347 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45348 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45349 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45350 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45351 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45352 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45353 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45354 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45355 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45356 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45357 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45358 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45359 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45360 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45361 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45362 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45363 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45364 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45365 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45366 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45367 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45368 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45369 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45370 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45371 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45372 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45373 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45374 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45375 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45376 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45377 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45378 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45379 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45380 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45381 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45382 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45383 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45384 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45385 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45386 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45387 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45388 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45389 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45390 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45391 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45392 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45393 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45394 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45395 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45396 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45397 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45398 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45399 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45400 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45401 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45402 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45403 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45404 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45405 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45406 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45407 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45408 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45409 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45410 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45411 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45412 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45413 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45414 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45415 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45416 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45419 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45423 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45426 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45429 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45440 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45441 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45446 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45452 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45453 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45458 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45468 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45521 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45522 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45528 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45550 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45564 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45569 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45571 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45574 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45579 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45580 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45582 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45584 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45587 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45591 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45592 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45594 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45597 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45599 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45604 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45608 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45612 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45614 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45616 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45619 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45621 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45624 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45625 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45634 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45641 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45642 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45644 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45647 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45649 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45653 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
45657 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
45668 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
45671 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
45674 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
45678 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
45685 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
45690 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
45695 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
45699 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45721 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45723 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45725 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45727 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45729 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45731 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45733 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45735 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45737 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45739 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45741 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45743 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
45744 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45745 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45759 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
45764 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
45771 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
45775 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45777 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45780 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45783 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
45785 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45795 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45800 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45806 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45812 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45875 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45882 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45918 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45928 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45934 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45936 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45938 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45941 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45945 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45948 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45951 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45953 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
45957 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45958 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45966 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45970 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45973 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45975 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45979 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45996 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
45997 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45998 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46001 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46003 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46007 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46011 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46014 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46022 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46025 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46028 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46032 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46039 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46044 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46049 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46053 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46069 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46096 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46098 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46118 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46125 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46129 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46139 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46140 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46148 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46167 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46168 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46205 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46235 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46238 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46242 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46245 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46255 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46267 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46279 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46289 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46299 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46312 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46313 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46320 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46321 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46322 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46323 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46324 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46329 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46353 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46356 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46368 { NULL
, NULL
, 0, NULL
}
46372 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46374 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46375 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46377 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46378 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46380 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46381 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46383 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46384 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46386 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46387 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46389 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46390 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46392 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46393 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46395 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46396 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46398 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46399 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46401 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46402 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46404 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46407 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46408 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46410 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46411 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46413 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46414 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46416 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46417 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46419 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46420 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46422 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46423 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46425 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46426 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46428 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46429 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46431 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46432 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46434 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46435 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46437 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46438 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46440 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46441 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46443 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46444 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46446 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46447 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46449 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46450 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46452 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46453 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46455 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46456 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46458 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46461 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46462 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46464 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46465 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46467 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46468 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46470 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46471 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46473 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46474 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46476 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46477 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46479 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46480 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46482 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46483 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46485 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46486 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46488 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46489 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46491 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46492 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46494 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46495 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46497 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46498 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46500 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46501 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46503 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46504 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46506 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46507 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46509 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46510 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46512 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46513 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46515 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46516 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46518 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46519 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46521 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46522 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46524 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46525 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46527 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46528 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46530 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46531 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46533 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46536 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46537 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46539 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46540 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46542 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46543 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46545 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46546 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46548 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46549 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46551 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46552 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46554 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46555 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46557 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46558 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46560 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46561 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46563 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46564 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46566 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46567 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46569 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46570 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46572 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46573 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46575 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46576 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46578 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46579 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46581 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46582 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46584 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46585 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46587 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46588 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46590 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46591 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46593 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46594 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46596 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46597 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46599 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46600 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46602 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46603 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46605 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46606 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46608 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46609 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46611 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46612 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46614 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46615 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46617 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46618 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46620 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46621 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46623 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46624 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46626 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46627 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46629 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46630 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46632 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46633 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46635 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46636 return (void *)((wxObject
*) ((wxSizer
*) x
));
46638 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46639 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46641 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
46642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46644 static void *_p_wxEventTo_p_wxObject(void *x
) {
46645 return (void *)((wxObject
*) ((wxEvent
*) x
));
46647 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
46648 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46650 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
46651 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
46653 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
46654 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
46656 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
46657 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
46659 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
46660 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
46662 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
46663 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46665 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
46666 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46668 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
46669 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46671 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
46672 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46674 static void *_p_wxControlTo_p_wxObject(void *x
) {
46675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
46677 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
46678 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
46680 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
46681 return (void *)((wxObject
*) ((wxFSFile
*) x
));
46683 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
46684 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
46686 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
46687 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
46689 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
46690 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46692 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
46693 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
46695 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
46696 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
46698 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
46699 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
46701 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
46702 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
46704 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
46705 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46707 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
46708 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46710 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
46711 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
46713 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
46714 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
46716 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
46717 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
46719 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
46720 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
46722 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
46723 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
46725 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
46726 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
46728 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
46729 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
46731 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
46732 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
46734 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
46735 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
46737 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
46738 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
46740 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
46741 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
46743 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
46744 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46746 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
46747 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46749 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
46750 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
46752 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
46753 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
46755 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
46756 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
46758 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
46759 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
46761 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
46762 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
46764 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
46765 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46767 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
46768 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
46770 static void *_p_wxImageTo_p_wxObject(void *x
) {
46771 return (void *)((wxObject
*) ((wxImage
*) x
));
46773 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
46774 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
46776 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
46777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46779 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
46780 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46782 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
46783 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
46785 static void *_p_wxWindowTo_p_wxObject(void *x
) {
46786 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
46788 static void *_p_wxMenuTo_p_wxObject(void *x
) {
46789 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
46791 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
46792 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
46794 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
46795 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
46797 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
46798 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46800 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
46801 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
46803 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
46804 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
46806 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
46807 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
46809 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
46810 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
46812 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
46813 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
46815 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
46816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46818 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
46819 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
46821 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
46822 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
46824 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
46825 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
46827 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
46828 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46830 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
46831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46833 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
46834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
46836 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
46837 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
46839 static void *_p_wxControlTo_p_wxWindow(void *x
) {
46840 return (void *)((wxWindow
*) ((wxControl
*) x
));
46842 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
46843 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
46845 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
46846 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
46848 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
46849 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46851 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
46852 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
46854 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
46855 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46857 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
46858 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
46860 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
46861 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46863 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
46864 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46866 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
46867 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46869 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
46870 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46872 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
46873 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46875 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
46876 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
46878 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}};
46879 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}};
46880 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}};
46881 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}};
46882 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}};
46883 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}};
46884 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}};
46885 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}};
46886 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}};
46887 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}};
46888 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}};
46889 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}};
46890 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}};
46891 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}};
46892 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}};
46893 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}};
46894 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}};
46895 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}};
46896 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}};
46897 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}};
46898 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}};
46899 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}};
46900 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}};
46901 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}};
46902 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}};
46903 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}};
46904 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}};
46905 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}};
46906 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}};
46907 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}};
46908 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}};
46909 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}};
46910 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}};
46911 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}};
46912 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}};
46913 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}};
46914 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}};
46915 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}};
46916 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}};
46917 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}};
46918 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}};
46919 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}};
46920 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}};
46921 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}};
46922 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}};
46923 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}};
46924 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}};
46925 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}};
46926 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}};
46927 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}};
46928 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}};
46929 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}};
46930 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}};
46931 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}};
46932 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}};
46933 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}};
46934 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}};
46935 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}};
46936 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}};
46937 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}};
46938 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}};
46939 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}};
46940 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}};
46941 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}};
46942 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}};
46943 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}};
46944 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}};
46945 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}};
46946 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}};
46947 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}};
46948 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}};
46949 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}};
46950 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}};
46951 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}};
46952 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}};
46953 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}};
46954 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}};
46955 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}};
46956 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}};
46957 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}};
46958 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}};
46959 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}};
46960 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}};
46961 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}};
46962 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}};
46963 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}};
46964 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}};
46965 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}};
46966 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}};
46967 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}};
46968 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}};
46969 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}};
46970 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}};
46971 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}};
46972 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}};
46973 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}};
46974 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}};
46975 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}};
46976 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}};
46977 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}};
46978 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}};
46979 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}};
46980 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}};
46981 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}};
46982 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}};
46983 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}};
46984 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}};
46985 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}};
46986 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}};
46987 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}};
46988 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}};
46989 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
46990 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}};
46991 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}};
46992 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}};
46993 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}};
46994 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}};
46995 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}};
46996 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}};
46997 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}};
46998 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}};
46999 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}};
47000 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}};
47001 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}};
47002 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}};
47003 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}};
47004 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}};
47006 static swig_type_info
*swig_types_initial
[] = {
47007 _swigt__p_wxLayoutConstraints
,
47008 _swigt__p_wxRealPoint
,
47009 _swigt__p_wxSizerItem
,
47010 _swigt__p_wxGBSizerItem
,
47011 _swigt__p_wxScrollEvent
,
47012 _swigt__p_wxEventLoop
,
47013 _swigt__p_wxIndividualLayoutConstraint
,
47015 _swigt__p_wxBoxSizer
,
47016 _swigt__p_wxStaticBoxSizer
,
47017 _swigt__p_wxGridBagSizer
,
47018 _swigt__p_wxAcceleratorEntry
,
47019 _swigt__p_wxUpdateUIEvent
,
47022 _swigt__p_wxGridSizer
,
47023 _swigt__p_wxFlexGridSizer
,
47024 _swigt__p_wxInitDialogEvent
,
47025 _swigt__p_wxItemContainer
,
47026 _swigt__p_wxNcPaintEvent
,
47027 _swigt__p_wxPaintEvent
,
47028 _swigt__p_wxSysColourChangedEvent
,
47029 _swigt__p_wxMouseCaptureChangedEvent
,
47030 _swigt__p_wxDisplayChangedEvent
,
47031 _swigt__p_wxPaletteChangedEvent
,
47032 _swigt__p_wxControl
,
47034 _swigt__p_wxMenuBarBase
,
47035 _swigt__p_wxSetCursorEvent
,
47036 _swigt__p_wxFSFile
,
47039 _swigt__std__ptrdiff_t
,
47040 _swigt__p_wxRegion
,
47041 _swigt__p_wxPoint2D
,
47045 _swigt__p_wxPySizer
,
47046 _swigt__p_wxVisualAttributes
,
47047 _swigt__p_wxNotifyEvent
,
47048 _swigt__p_wxPyEvent
,
47049 _swigt__p_wxPropagationDisabler
,
47050 _swigt__p_form_ops_t
,
47051 _swigt__p_wxAppTraits
,
47052 _swigt__p_wxArrayString
,
47053 _swigt__p_wxShowEvent
,
47054 _swigt__p_wxToolTip
,
47055 _swigt__p_wxMoveEvent
,
47056 _swigt__p_wxSizeEvent
,
47057 _swigt__p_wxActivateEvent
,
47058 _swigt__p_wxIconizeEvent
,
47059 _swigt__p_wxMaximizeEvent
,
47060 _swigt__p_wxQueryNewPaletteEvent
,
47061 _swigt__p_wxWindowCreateEvent
,
47062 _swigt__p_wxIdleEvent
,
47063 _swigt__p_wxDateEvent
,
47064 _swigt__p_wxMenuItem
,
47065 _swigt__p_wxStaticBox
,
47067 _swigt__p_wxDuplexMode
,
47068 _swigt__p_wxTIFFHandler
,
47069 _swigt__p_wxXPMHandler
,
47070 _swigt__p_wxPNMHandler
,
47071 _swigt__p_wxJPEGHandler
,
47072 _swigt__p_wxPCXHandler
,
47073 _swigt__p_wxGIFHandler
,
47074 _swigt__p_wxPNGHandler
,
47075 _swigt__p_wxANIHandler
,
47076 _swigt__p_wxMemoryFSHandler
,
47077 _swigt__p_wxZipFSHandler
,
47078 _swigt__p_wxInternetFSHandler
,
47079 _swigt__p_wxPyFileSystemHandler
,
47080 _swigt__p_wxEvtHandler
,
47081 _swigt__p_wxCURHandler
,
47082 _swigt__p_wxICOHandler
,
47083 _swigt__p_wxBMPHandler
,
47084 _swigt__p_wxImageHandler
,
47085 _swigt__p_wxFileSystemHandler
,
47087 _swigt__p_wxButton
,
47088 _swigt__p_wxGBSpan
,
47089 _swigt__p_wxPropagateOnce
,
47090 _swigt__p_wxAcceleratorTable
,
47091 _swigt__p_wxStdDialogButtonSizer
,
47093 _swigt__p_wxGBPosition
,
47096 _swigt__p_wxScrollWinEvent
,
47097 _swigt__p_wxPaperSize
,
47098 _swigt__p_wxImageHistogram
,
47100 _swigt__p_wxCursor
,
47101 _swigt__p_wxObject
,
47102 _swigt__p_wxInputStream
,
47103 _swigt__p_wxOutputStream
,
47104 _swigt__p_wxPyInputStream
,
47105 _swigt__p_wxDateTime
,
47106 _swigt__p_wxKeyEvent
,
47107 _swigt__p_wxNavigationKeyEvent
,
47108 _swigt__p_wxWindowDestroyEvent
,
47109 _swigt__p_unsigned_long
,
47110 _swigt__p_wxWindow
,
47111 _swigt__p_wxMenuBar
,
47112 _swigt__p_wxFileSystem
,
47113 _swigt__p_wxBitmap
,
47114 _swigt__unsigned_int
,
47115 _swigt__p_unsigned_int
,
47116 _swigt__p_wxMenuEvent
,
47117 _swigt__p_wxContextMenuEvent
,
47118 _swigt__p_unsigned_char
,
47119 _swigt__p_wxEraseEvent
,
47120 _swigt__p_wxMouseEvent
,
47121 _swigt__p_wxCloseEvent
,
47123 _swigt__p_wxCommandEvent
,
47124 _swigt__p_wxPyCommandEvent
,
47125 _swigt__p_wxPyDropTarget
,
47126 _swigt__p_wxQuantize
,
47127 _swigt__p_wxChildFocusEvent
,
47128 _swigt__p_wxFocusEvent
,
47129 _swigt__p_wxDropFilesEvent
,
47130 _swigt__p_wxControlWithItems
,
47131 _swigt__p_wxColour
,
47132 _swigt__p_wxValidator
,
47133 _swigt__p_wxPyValidator
,
47138 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47140 static swig_const_info swig_const_table
[] = {
47141 {0, 0, 0, 0.0, 0, 0}};
47152 /* Python-specific SWIG API */
47153 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47154 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47155 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47157 /* -----------------------------------------------------------------------------
47158 * global variable support code.
47159 * ----------------------------------------------------------------------------- */
47161 typedef struct swig_globalvar
{
47162 char *name
; /* Name of global variable */
47163 PyObject
*(*get_attr
)(); /* Return the current value */
47164 int (*set_attr
)(PyObject
*); /* Set the value */
47165 struct swig_globalvar
*next
;
47168 typedef struct swig_varlinkobject
{
47170 swig_globalvar
*vars
;
47171 } swig_varlinkobject
;
47174 swig_varlink_repr(swig_varlinkobject
*v
) {
47176 return PyString_FromString("<Swig global variables>");
47180 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47181 swig_globalvar
*var
;
47183 fprintf(fp
,"Swig global variables { ");
47184 for (var
= v
->vars
; var
; var
=var
->next
) {
47185 fprintf(fp
,"%s", var
->name
);
47186 if (var
->next
) fprintf(fp
,", ");
47188 fprintf(fp
," }\n");
47193 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47194 swig_globalvar
*var
= v
->vars
;
47196 if (strcmp(var
->name
,n
) == 0) {
47197 return (*var
->get_attr
)();
47201 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47206 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47207 swig_globalvar
*var
= v
->vars
;
47209 if (strcmp(var
->name
,n
) == 0) {
47210 return (*var
->set_attr
)(p
);
47214 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47218 static PyTypeObject varlinktype
= {
47219 PyObject_HEAD_INIT(0)
47220 0, /* Number of items in variable part (ob_size) */
47221 (char *)"swigvarlink", /* Type name (tp_name) */
47222 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47223 0, /* Itemsize (tp_itemsize) */
47224 0, /* Deallocator (tp_dealloc) */
47225 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47226 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47227 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47228 0, /* tp_compare */
47229 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47230 0, /* tp_as_number */
47231 0, /* tp_as_sequence */
47232 0, /* tp_as_mapping */
47236 0, /* tp_getattro */
47237 0, /* tp_setattro */
47238 0, /* tp_as_buffer */
47241 #if PY_VERSION_HEX >= 0x02000000
47242 0, /* tp_traverse */
47245 #if PY_VERSION_HEX >= 0x02010000
47246 0, /* tp_richcompare */
47247 0, /* tp_weaklistoffset */
47249 #if PY_VERSION_HEX >= 0x02020000
47250 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47252 #if PY_VERSION_HEX >= 0x02030000
47255 #ifdef COUNT_ALLOCS
47256 0,0,0,0 /* tp_alloc -> tp_next */
47260 /* Create a variable linking object for use later */
47262 SWIG_Python_newvarlink(void) {
47263 swig_varlinkobject
*result
= 0;
47264 result
= PyMem_NEW(swig_varlinkobject
,1);
47265 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47266 result
->ob_type
= &varlinktype
;
47268 result
->ob_refcnt
= 0;
47269 Py_XINCREF((PyObject
*) result
);
47270 return ((PyObject
*) result
);
47274 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47275 swig_varlinkobject
*v
;
47276 swig_globalvar
*gv
;
47277 v
= (swig_varlinkobject
*) p
;
47278 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47279 gv
->name
= (char *) malloc(strlen(name
)+1);
47280 strcpy(gv
->name
,name
);
47281 gv
->get_attr
= get_attr
;
47282 gv
->set_attr
= set_attr
;
47283 gv
->next
= v
->vars
;
47287 /* -----------------------------------------------------------------------------
47288 * constants/methods manipulation
47289 * ----------------------------------------------------------------------------- */
47291 /* Install Constants */
47293 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47296 for (i
= 0; constants
[i
].type
; i
++) {
47297 switch(constants
[i
].type
) {
47299 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47301 case SWIG_PY_FLOAT
:
47302 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47304 case SWIG_PY_STRING
:
47305 if (constants
[i
].pvalue
) {
47306 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47308 Py_INCREF(Py_None
);
47312 case SWIG_PY_POINTER
:
47313 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47315 case SWIG_PY_BINARY
:
47316 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47323 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47329 /* -----------------------------------------------------------------------------*/
47330 /* Fix SwigMethods to carry the callback ptrs when needed */
47331 /* -----------------------------------------------------------------------------*/
47334 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47335 swig_const_info
*const_table
,
47336 swig_type_info
**types
,
47337 swig_type_info
**types_initial
) {
47339 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47340 char *c
= methods
[i
].ml_doc
;
47341 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47343 swig_const_info
*ci
= 0;
47344 char *name
= c
+ 10;
47345 for (j
= 0; const_table
[j
].type
; j
++) {
47346 if (strncmp(const_table
[j
].name
, name
,
47347 strlen(const_table
[j
].name
)) == 0) {
47348 ci
= &(const_table
[j
]);
47353 size_t shift
= (ci
->ptype
) - types
;
47354 swig_type_info
*ty
= types_initial
[shift
];
47355 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47356 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47357 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47359 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47360 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47362 strncpy(buff
, "swig_ptr: ", 10);
47364 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47365 methods
[i
].ml_doc
= ndoc
;
47371 /* -----------------------------------------------------------------------------*
47372 * Initialize type list
47373 * -----------------------------------------------------------------------------*/
47375 #if PY_MAJOR_VERSION < 2
47376 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47377 is copied out of Python/modsupport.c in python version 2.3.4 */
47379 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47382 if (!PyModule_Check(m
)) {
47383 PyErr_SetString(PyExc_TypeError
,
47384 "PyModule_AddObject() needs module as first arg");
47388 PyErr_SetString(PyExc_TypeError
,
47389 "PyModule_AddObject() needs non-NULL value");
47393 dict
= PyModule_GetDict(m
);
47394 if (dict
== NULL
) {
47395 /* Internal error -- modules must have a dict! */
47396 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47397 PyModule_GetName(m
));
47400 if (PyDict_SetItemString(dict
, name
, o
))
47407 static swig_type_info
**
47408 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47409 static PyMethodDef swig_empty_runtime_method_table
[] = {
47411 NULL
, NULL
, 0, NULL
47415 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47416 swig_empty_runtime_method_table
);
47417 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47418 if (pointer
&& module) {
47419 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47421 return type_list_handle
;
47424 static swig_type_info
**
47425 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47426 swig_type_info
**type_pointer
;
47428 /* first check if module already created */
47429 type_pointer
= SWIG_Python_GetTypeListHandle();
47430 if (type_pointer
) {
47431 return type_pointer
;
47433 /* create a new module and variable */
47434 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47442 /* -----------------------------------------------------------------------------*
47443 * Partial Init method
47444 * -----------------------------------------------------------------------------*/
47446 #ifdef SWIG_LINK_RUNTIME
47450 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47456 SWIGEXPORT(void) SWIG_init(void) {
47457 static PyObject
*SWIG_globals
= 0;
47458 static int typeinit
= 0;
47461 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47463 /* Fix SwigMethods to carry the callback ptrs when needed */
47464 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47466 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47467 d
= PyModule_GetDict(m
);
47470 #ifdef SWIG_LINK_RUNTIME
47471 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47473 # ifndef SWIG_STATIC_RUNTIME
47474 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47477 for (i
= 0; swig_types_initial
[i
]; i
++) {
47478 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47482 SWIG_InstallConstants(d
,swig_const_table
);
47485 #ifndef wxPyUSE_EXPORT
47486 // Make our API structure a CObject so other modules can import it
47487 // from this module.
47488 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47489 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47494 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47497 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47500 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47503 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47506 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47509 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47512 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47515 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47518 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47521 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47524 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47527 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47530 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47533 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47536 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47539 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47542 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47545 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47548 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_From_int((int)(wxED_CLIENT_MARGIN
)));
47551 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)(wxED_BUTTONS_BOTTOM
)));
47554 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_From_int((int)(wxED_BUTTONS_RIGHT
)));
47557 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_From_int((int)(wxED_STATIC_LINE
)));
47560 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_From_int((int)(wxEXT_DIALOG_STYLE
)));
47563 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47566 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47569 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47572 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47575 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47578 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47581 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47584 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47587 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47590 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47593 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47596 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47599 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47602 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47605 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47608 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47611 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47614 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47617 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47620 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47623 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47626 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47629 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47632 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47635 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47638 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47641 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47644 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47647 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
47650 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
47653 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
47656 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
47659 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
47662 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
47665 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
47668 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
47671 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
47674 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
47677 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
47680 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
47683 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
47686 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
47689 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
47692 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
47695 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
47698 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
47701 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
47704 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
47707 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
47710 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
47713 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
47716 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
47719 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
47722 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
47725 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
47728 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
47731 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
47734 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
47737 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
47740 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
47743 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
47746 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
47749 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
47752 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
47755 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
47758 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
47761 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
47764 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
47767 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
47770 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
47773 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
47776 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
47779 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
47782 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
47785 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
47788 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
47791 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
47794 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
47797 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
47800 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
47803 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
47806 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
47809 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
47812 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
47815 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
47818 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
47821 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
47824 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
47827 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
47830 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
47833 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
47836 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
47839 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
47842 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
47845 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
47848 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
47851 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
47854 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
47857 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
47860 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
47863 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
47866 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
47869 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
47872 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
47875 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
47878 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
47881 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
47884 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
47887 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
47890 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
47893 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
47896 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
47899 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
47902 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
47905 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
47908 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
47911 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
47914 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
47917 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
47920 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
47923 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
47926 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
47929 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
47932 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
47935 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
47938 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
47941 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
47944 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
47947 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
47950 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
47953 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
47956 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
47959 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
47962 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
47965 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
47968 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
47971 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
47974 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
47977 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
47980 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
47983 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
47986 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
47989 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
47992 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
47995 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
47998 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48001 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48004 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48007 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48010 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48013 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48016 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48019 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48022 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48025 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48028 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48031 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48034 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48037 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48040 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48043 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48046 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48049 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48052 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48055 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48058 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48061 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48064 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48067 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48070 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48073 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48076 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48079 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48082 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48085 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48088 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48091 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48094 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48097 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48100 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48103 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48106 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48109 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48112 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48115 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48118 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48121 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48124 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48127 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48130 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48133 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48136 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48139 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48142 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48145 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48148 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48151 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48154 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48157 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48160 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48163 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48166 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48169 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48172 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48175 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48178 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48181 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48184 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48187 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48190 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48193 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48196 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48199 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48202 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48205 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48208 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48211 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48214 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48217 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48220 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48223 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48226 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48229 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48232 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48235 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48238 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48241 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48244 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48247 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48250 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48253 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48256 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48259 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48262 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48265 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48268 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48271 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48274 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48277 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48280 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48283 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48286 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48289 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48292 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48295 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48298 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48301 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48304 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48307 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48310 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48313 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48316 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48319 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48322 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48325 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48328 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48331 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48334 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48337 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48340 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48343 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48346 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48349 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48352 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48355 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48358 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48361 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48364 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48367 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48370 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48373 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48376 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48379 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48382 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48385 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48388 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48391 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48394 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48397 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48400 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48403 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48406 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48409 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48412 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48415 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48418 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48421 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48424 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48427 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48430 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48433 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48436 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48439 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48442 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48445 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48448 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48451 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48454 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48457 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48460 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48463 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48466 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48469 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48472 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48475 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48478 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48481 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48484 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48487 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48490 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48493 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48496 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48499 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48502 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48505 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48508 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48511 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48514 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48517 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48520 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48523 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48526 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48529 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48532 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48535 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48538 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48541 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48544 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48547 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48550 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48553 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48556 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48559 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48562 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48565 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48568 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48571 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48574 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48577 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48580 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48583 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48586 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48589 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48592 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48595 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48598 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48601 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48604 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48607 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48610 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48613 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48616 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48619 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48622 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48625 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48628 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48631 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48634 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48637 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48640 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
48643 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
48646 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
48649 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
48652 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
48655 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
48658 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
48661 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
48664 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
48667 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
48670 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
48673 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
48676 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
48679 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
48682 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
48685 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
48688 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
48691 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
48694 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
48697 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
48700 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
48703 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
48706 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
48709 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
48712 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
48715 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
48718 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
48721 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
48724 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
48727 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
48730 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
48733 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
48736 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
48739 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
48742 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
48745 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
48748 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
48751 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
48754 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
48757 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
48760 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
48763 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
48766 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
48769 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
48772 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
48775 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
48778 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
48781 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
48784 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
48787 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
48790 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
48793 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
48796 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
48799 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
48802 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
48805 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
48808 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
48811 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
48814 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
48817 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
48820 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
48823 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
48826 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
48829 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
48832 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
48835 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
48838 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
48841 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
48844 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
48847 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
48850 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
48853 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
48856 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
48859 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
48862 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
48865 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
48868 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
48871 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
48874 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
48877 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
48880 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
48883 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
48886 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
48889 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
48892 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
48895 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
48898 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
48901 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
48904 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
48907 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
48910 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
48913 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
48916 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
48919 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
48922 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
48925 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
48928 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
48931 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
48934 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
48937 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
48940 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
48943 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
48946 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
48949 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
48952 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
48955 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
48958 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
48961 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
48964 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
48967 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
48970 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
48973 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
48976 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
48979 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
48982 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
48985 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
48988 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
48991 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
48994 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
48997 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49000 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49003 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49006 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49009 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49012 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49015 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49018 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49021 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49024 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49027 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49030 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49033 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49036 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49039 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49042 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49045 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49048 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49051 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49054 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49057 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49060 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49063 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49066 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49069 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49072 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49075 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49078 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49081 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49084 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49087 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49090 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49093 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49096 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49098 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49099 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49101 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49104 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49107 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49110 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49113 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49116 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49119 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49122 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49125 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49128 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49131 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49134 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49137 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49140 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49143 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49146 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49149 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49152 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49155 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49158 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49161 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49164 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49167 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49170 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49173 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49176 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49179 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49182 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49185 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49188 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49191 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49194 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49197 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49200 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49203 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49206 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49209 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49212 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49215 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49218 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49221 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49224 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49227 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49230 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49233 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49236 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49239 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49242 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49245 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49248 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49251 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49253 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49254 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49256 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49259 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49262 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49265 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49268 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49270 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49271 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49272 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49273 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49274 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49275 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49276 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49277 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49278 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49279 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49281 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49284 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49286 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49287 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49288 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49289 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49290 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49291 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49293 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49296 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49299 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49302 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49305 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49308 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49311 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49314 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49317 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49320 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49323 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49326 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49329 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49332 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49335 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49338 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49340 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49341 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49342 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49343 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49344 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49345 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49346 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49347 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49348 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49349 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49350 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49351 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49352 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49353 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49354 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49355 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49356 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49357 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49358 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49359 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49360 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49361 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49362 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49363 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49364 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49365 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49366 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49367 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49368 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49369 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49370 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49371 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49372 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49373 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49374 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49375 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49376 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49377 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49378 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49379 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49380 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49381 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49382 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49383 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49384 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49385 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49386 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49387 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49388 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49389 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49390 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49391 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49392 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49393 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49394 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49395 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49396 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49397 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49398 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49399 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49400 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49401 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49402 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
49403 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49404 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49405 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49406 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49407 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49408 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49409 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49410 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49411 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49412 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49413 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49414 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49415 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49416 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49417 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49418 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49419 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
49420 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
49421 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
49422 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
49423 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
49424 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
49425 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
49426 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
49427 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
49428 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
49429 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
49430 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
49431 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
49432 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
49433 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
49434 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
49435 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
49436 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
49437 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
49438 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
49439 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
49440 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
49441 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
49442 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
49443 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
49444 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
49445 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
49446 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
49447 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
49448 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
49449 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
49450 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
49451 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
49452 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
49453 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
49455 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
49458 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
49461 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
49464 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
49467 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
49470 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
49473 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
49476 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
49479 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
49482 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
49485 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
49488 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
49491 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
49493 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
49495 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
49498 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
49501 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
49504 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
49507 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
49510 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
49512 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
49513 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
49515 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
49518 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
49521 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
49524 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
49527 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
49529 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
49530 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
49532 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
49535 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
49538 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
49540 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
49542 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
49545 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
49548 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
49551 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
49554 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
49557 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
49560 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
49563 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
49566 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
49569 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
49572 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
49575 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
49578 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
49581 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
49584 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
49587 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
49590 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
49593 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
49596 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
49599 // Initialize threading, some globals and such
49603 // Although these are defined in __version__ they need to be here too so
49604 // that an assert can be done to ensure that the wxPython and the wxWindows
49606 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
49607 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
49608 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));