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",
1045 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1047 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1051 SWIGRUNTIMEINLINE
void
1052 SWIG_Python_NullRef(const char *type
)
1055 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1057 PyErr_Format(PyExc_TypeError
, "null reference was received");
1062 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1064 if (PyErr_Occurred()) {
1066 PyObject
*value
= 0;
1067 PyObject
*traceback
= 0;
1068 PyErr_Fetch(&type
, &value
, &traceback
);
1070 PyObject
*old_str
= PyObject_Str(value
);
1074 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1076 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1087 SWIG_Python_ArgFail(int argnum
)
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1092 sprintf(mesg
, "argument number %d:", argnum
);
1093 return SWIG_Python_AddErrMesg(mesg
, 1);
1100 /* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1104 /* Convert a pointer value */
1106 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1109 static PyObject
*SWIG_this
= 0;
1111 PyObject
*pyobj
= 0;
1115 if (obj
== Py_None
) {
1120 #ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj
))) {
1123 SWIG_this
= PyString_FromString("this");
1125 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1127 if (!obj
) goto type_error
;
1128 if (!PySwigObject_Check(obj
)) {
1133 vptr
= PySwigObject_AsVoidPtr(obj
);
1134 c
= (const char *) PySwigObject_GetDesc(obj
);
1135 if (newref
) { Py_DECREF(obj
); }
1138 if (!(PyString_Check(obj
))) {
1140 SWIG_this
= PyString_FromString("this");
1142 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1144 if (!obj
) goto type_error
;
1145 if (!PyString_Check(obj
)) {
1150 c
= PyString_AS_STRING(obj
);
1151 /* Pointer values must start with leading underscore */
1152 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1153 if (newref
) { Py_DECREF(obj
); }
1154 if (!c
) goto type_error
;
1160 tc
= SWIG_TypeCheck(c
,ty
);
1161 if (!tc
) goto type_error
;
1162 *ptr
= SWIG_TypeCast(tc
,vptr
);
1167 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1168 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1174 if (pyobj
&& !obj
) {
1176 if (PyCFunction_Check(obj
)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1179 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1181 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1182 if (!c
) goto type_error
;
1187 if (flags
& SWIG_POINTER_EXCEPTION
) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1191 SWIG_Python_TypeError("C/C++ pointer", obj
);
1197 /* Convert a pointer value, signal an exception on a type mismatch */
1199 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1201 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1203 if (flags
& SWIG_POINTER_EXCEPTION
) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1205 SWIG_Python_ArgFail(argnum
);
1211 /* Convert a packed value value */
1213 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1217 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1220 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1221 c
= PyString_AS_STRING(obj
);
1222 /* Pointer values must start with leading underscore */
1223 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1225 if (!c
) goto type_error
;
1227 tc
= SWIG_TypeCheck(c
,ty
);
1228 if (!tc
) goto type_error
;
1234 if (flags
& SWIG_POINTER_EXCEPTION
) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1238 SWIG_Python_TypeError("C/C++ packed data", obj
);
1244 /* Create a new array object */
1245 SWIGRUNTIME PyObject
*
1246 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1252 #ifdef SWIG_COBJECT_TYPES
1253 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1256 char result
[SWIG_BUFFER_SIZE
];
1257 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1258 PyString_FromString(result
) : 0;
1261 if (!robj
|| (robj
== Py_None
)) return robj
;
1262 if (type
->clientdata
) {
1264 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1266 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1270 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1278 SWIGRUNTIME PyObject
*
1279 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1285 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1289 char result
[SWIG_BUFFER_SIZE
];
1290 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1291 PyString_FromString(result
) : 0;
1297 /* -----------------------------------------------------------------------------*
1299 * -----------------------------------------------------------------------------*/
1301 #ifdef SWIG_LINK_RUNTIME
1302 void *SWIG_ReturnGlobalTypeList(void *);
1305 SWIGRUNTIME swig_type_info
**
1306 SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer
= (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer
) {
1310 #ifdef SWIG_LINK_RUNTIME
1311 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1313 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1315 if (PyErr_Occurred()) {
1317 type_pointer
= (void *)0;
1321 return (swig_type_info
**) type_pointer
;
1325 Search for a swig_type_info structure
1327 SWIGRUNTIMEINLINE swig_type_info
*
1328 SWIG_Python_GetTypeList() {
1329 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1330 return tlh
? *tlh
: (swig_type_info
*)0;
1333 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1342 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
1343 #define SWIGTYPE_p_wxRealPoint swig_types[1]
1344 #define SWIGTYPE_p_wxSizerItem swig_types[2]
1345 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
1346 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
1347 #define SWIGTYPE_p_wxEventLoop swig_types[5]
1348 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[6]
1349 #define SWIGTYPE_p_wxSizer swig_types[7]
1350 #define SWIGTYPE_p_wxBoxSizer swig_types[8]
1351 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[9]
1352 #define SWIGTYPE_p_wxGridBagSizer swig_types[10]
1353 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[11]
1354 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[12]
1355 #define SWIGTYPE_p_wxEvent swig_types[13]
1356 #define SWIGTYPE_p_buffer swig_types[14]
1357 #define SWIGTYPE_p_wxMenu swig_types[15]
1358 #define SWIGTYPE_p_wxGridSizer swig_types[16]
1359 #define SWIGTYPE_p_wxFlexGridSizer swig_types[17]
1360 #define SWIGTYPE_p_wxInitDialogEvent swig_types[18]
1361 #define SWIGTYPE_p_wxItemContainer swig_types[19]
1362 #define SWIGTYPE_p_wxNcPaintEvent swig_types[20]
1363 #define SWIGTYPE_p_wxPaintEvent swig_types[21]
1364 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[22]
1365 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[23]
1366 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[24]
1367 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[25]
1368 #define SWIGTYPE_p_wxControl swig_types[26]
1369 #define SWIGTYPE_p_wxFont swig_types[27]
1370 #define SWIGTYPE_p_wxMenuBarBase swig_types[28]
1371 #define SWIGTYPE_p_wxSetCursorEvent swig_types[29]
1372 #define SWIGTYPE_p_wxFSFile swig_types[30]
1373 #define SWIGTYPE_p_wxCaret swig_types[31]
1374 #define SWIGTYPE_ptrdiff_t swig_types[32]
1375 #define SWIGTYPE_std__ptrdiff_t swig_types[33]
1376 #define SWIGTYPE_p_wxRegion swig_types[34]
1377 #define SWIGTYPE_p_wxPoint2D swig_types[35]
1378 #define SWIGTYPE_p_int swig_types[36]
1379 #define SWIGTYPE_p_wxSize swig_types[37]
1380 #define SWIGTYPE_p_wxDC swig_types[38]
1381 #define SWIGTYPE_p_wxPySizer swig_types[39]
1382 #define SWIGTYPE_p_wxVisualAttributes swig_types[40]
1383 #define SWIGTYPE_p_wxNotifyEvent swig_types[41]
1384 #define SWIGTYPE_p_wxPyEvent swig_types[42]
1385 #define SWIGTYPE_p_wxPropagationDisabler swig_types[43]
1386 #define SWIGTYPE_p_form_ops_t swig_types[44]
1387 #define SWIGTYPE_p_wxAppTraits swig_types[45]
1388 #define SWIGTYPE_p_wxArrayString swig_types[46]
1389 #define SWIGTYPE_p_wxShowEvent swig_types[47]
1390 #define SWIGTYPE_p_wxToolTip swig_types[48]
1391 #define SWIGTYPE_p_wxMoveEvent swig_types[49]
1392 #define SWIGTYPE_p_wxSizeEvent swig_types[50]
1393 #define SWIGTYPE_p_wxActivateEvent swig_types[51]
1394 #define SWIGTYPE_p_wxIconizeEvent swig_types[52]
1395 #define SWIGTYPE_p_wxMaximizeEvent swig_types[53]
1396 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[54]
1397 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[55]
1398 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
1399 #define SWIGTYPE_p_wxDateEvent swig_types[57]
1400 #define SWIGTYPE_p_wxMenuItem swig_types[58]
1401 #define SWIGTYPE_p_wxStaticBox swig_types[59]
1402 #define SWIGTYPE_p_long swig_types[60]
1403 #define SWIGTYPE_p_wxDuplexMode swig_types[61]
1404 #define SWIGTYPE_p_wxTIFFHandler swig_types[62]
1405 #define SWIGTYPE_p_wxXPMHandler swig_types[63]
1406 #define SWIGTYPE_p_wxPNMHandler swig_types[64]
1407 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
1408 #define SWIGTYPE_p_wxPCXHandler swig_types[66]
1409 #define SWIGTYPE_p_wxGIFHandler swig_types[67]
1410 #define SWIGTYPE_p_wxPNGHandler swig_types[68]
1411 #define SWIGTYPE_p_wxANIHandler swig_types[69]
1412 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[70]
1413 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
1414 #define SWIGTYPE_p_wxInternetFSHandler swig_types[72]
1415 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[73]
1416 #define SWIGTYPE_p_wxEvtHandler swig_types[74]
1417 #define SWIGTYPE_p_wxCURHandler swig_types[75]
1418 #define SWIGTYPE_p_wxICOHandler swig_types[76]
1419 #define SWIGTYPE_p_wxBMPHandler swig_types[77]
1420 #define SWIGTYPE_p_wxImageHandler swig_types[78]
1421 #define SWIGTYPE_p_wxFileSystemHandler swig_types[79]
1422 #define SWIGTYPE_p_wxRect swig_types[80]
1423 #define SWIGTYPE_p_wxButton swig_types[81]
1424 #define SWIGTYPE_p_wxGBSpan swig_types[82]
1425 #define SWIGTYPE_p_wxPropagateOnce swig_types[83]
1426 #define SWIGTYPE_p_wxAcceleratorTable swig_types[84]
1427 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[85]
1428 #define SWIGTYPE_p_char swig_types[86]
1429 #define SWIGTYPE_p_wxGBPosition swig_types[87]
1430 #define SWIGTYPE_p_wxImage swig_types[88]
1431 #define SWIGTYPE_p_wxFrame swig_types[89]
1432 #define SWIGTYPE_p_wxScrollWinEvent swig_types[90]
1433 #define SWIGTYPE_p_wxPaperSize swig_types[91]
1434 #define SWIGTYPE_p_wxImageHistogram swig_types[92]
1435 #define SWIGTYPE_p_wxPoint swig_types[93]
1436 #define SWIGTYPE_p_wxCursor swig_types[94]
1437 #define SWIGTYPE_p_wxObject swig_types[95]
1438 #define SWIGTYPE_p_wxInputStream swig_types[96]
1439 #define SWIGTYPE_p_wxOutputStream swig_types[97]
1440 #define SWIGTYPE_p_wxPyInputStream swig_types[98]
1441 #define SWIGTYPE_p_wxDateTime swig_types[99]
1442 #define SWIGTYPE_p_wxKeyEvent swig_types[100]
1443 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[101]
1444 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[102]
1445 #define SWIGTYPE_p_unsigned_long swig_types[103]
1446 #define SWIGTYPE_p_wxWindow swig_types[104]
1447 #define SWIGTYPE_p_wxMenuBar swig_types[105]
1448 #define SWIGTYPE_p_wxFileSystem swig_types[106]
1449 #define SWIGTYPE_p_wxBitmap swig_types[107]
1450 #define SWIGTYPE_unsigned_int swig_types[108]
1451 #define SWIGTYPE_p_unsigned_int swig_types[109]
1452 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
1453 #define SWIGTYPE_p_wxContextMenuEvent swig_types[111]
1454 #define SWIGTYPE_p_unsigned_char swig_types[112]
1455 #define SWIGTYPE_p_wxEraseEvent swig_types[113]
1456 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
1457 #define SWIGTYPE_p_wxCloseEvent swig_types[115]
1458 #define SWIGTYPE_p_wxPyApp swig_types[116]
1459 #define SWIGTYPE_p_wxCommandEvent swig_types[117]
1460 #define SWIGTYPE_p_wxPyCommandEvent swig_types[118]
1461 #define SWIGTYPE_p_wxPyDropTarget swig_types[119]
1462 #define SWIGTYPE_p_wxQuantize swig_types[120]
1463 #define SWIGTYPE_p_wxFocusEvent swig_types[121]
1464 #define SWIGTYPE_p_wxChildFocusEvent swig_types[122]
1465 #define SWIGTYPE_p_wxDropFilesEvent swig_types[123]
1466 #define SWIGTYPE_p_wxControlWithItems swig_types[124]
1467 #define SWIGTYPE_p_wxColour swig_types[125]
1468 #define SWIGTYPE_p_wxValidator swig_types[126]
1469 #define SWIGTYPE_p_wxPyValidator swig_types[127]
1470 static swig_type_info
*swig_types
[129];
1472 /* -------- TYPES TABLE (END) -------- */
1475 /*-----------------------------------------------
1476 @(target):= _core_.so
1477 ------------------------------------------------*/
1478 #define SWIG_init init_core_
1480 #define SWIG_name "_core_"
1482 #include "wx/wxPython/wxPython_int.h"
1483 #include "wx/wxPython/pyclasses.h"
1486 #ifndef wxPyUSE_EXPORT
1487 // Helper functions for dealing with SWIG objects and such. These are
1488 // located here so they know about the SWIG types and functions declared
1489 // in the wrapper code.
1491 #include <wx/hashmap.h>
1492 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
1495 // Maintains a hashmap of className to swig_type_info pointers. Given the
1496 // name of a class either looks up the type info in the cache, or scans the
1497 // SWIG tables for it.
1498 extern PyObject
* wxPyPtrTypeMap
;
1500 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
1502 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
1504 if (typeInfoCache
== NULL
)
1505 typeInfoCache
= new wxPyTypeInfoHashMap
;
1507 wxString
name(className
);
1508 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
1511 // it wasn't in the cache, so look it up from SWIG
1512 name
.Append(wxT(" *"));
1513 swigType
= SWIG_TypeQuery(name
.mb_str());
1515 // if it still wasn't found, try looking for a mapped name
1520 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
1521 (char*)(const char*)name
.mbc_str())) != NULL
) {
1522 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
1523 name
.Append(wxT(" *"));
1524 swigType
= SWIG_TypeQuery(name
.mb_str());
1528 // and add it to the map if found
1529 (*typeInfoCache
)[className
] = swigType
;
1536 // Check if a class name is a type known to SWIG
1537 bool wxPyCheckSwigType(const wxChar
* className
) {
1539 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1540 return swigType
!= NULL
;
1544 // Given a pointer to a C++ object and a class name, construct a Python proxy
1546 PyObject
* wxPyConstructObject(void* ptr
,
1547 const wxChar
* className
,
1550 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1551 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
1553 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
1557 // Extract a pointer to the wrapped C++ object from a Python proxy object.
1558 // Ensures that the proxy object is of the specified (or derived) type. If
1559 // not able to perform the conversion then a Python exception is set and the
1560 // error should be handled properly in the caller. Returns True on success.
1561 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
1562 const wxChar
* className
) {
1564 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1565 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
1567 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
1571 // Make a SWIGified pointer object suitable for a .this attribute
1572 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
1574 PyObject
* robj
= NULL
;
1576 swig_type_info
* swigType
= wxPyFindSwigType(className
);
1577 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
1579 #ifdef SWIG_COBJECT_TYPES
1580 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)swigType
->name
);
1584 robj
= SWIG_PackVoidPtr(result
, ptr
, swigType
->name
, sizeof(result
)) ?
1585 PyString_FromString(result
) : 0;
1595 // Export a C API in a struct. Other modules will be able to load this from
1596 // the wx._core_ module and will then have safe access to these functions,
1597 // even if they are located in another shared library.
1598 static wxPyCoreAPI API
= {
1601 wxPyConstructObject
,
1605 wxPyBeginAllowThreads
,
1606 wxPyEndAllowThreads
,
1607 wxPyBeginBlockThreads
,
1608 wxPyEndBlockThreads
,
1620 wxPoint_LIST_helper
,
1621 wxBitmap_LIST_helper
,
1622 wxString_LIST_helper
,
1623 wxAcceleratorEntry_LIST_helper
,
1632 wxPySimple_typecheck
,
1635 wxPyCBH_setCallbackInfo
,
1636 wxPyCBH_findCallback
,
1637 wxPyCBH_callCallback
,
1638 wxPyCBH_callCallbackObj
,
1644 wxPy2int_seq_helper
,
1645 wxPy4int_seq_helper
,
1646 wxArrayString2PyList_helper
,
1647 wxArrayInt2PyList_helper
,
1649 wxPyClientData_dtor
,
1651 wxPyOORClientData_dtor
,
1653 wxPyCBInputStream_create
,
1654 wxPyCBInputStream_copy
,
1657 wxPySwigInstance_Check
,
1666 #if !WXWIN_COMPATIBILITY_2_4
1667 #define wxHIDE_READONLY 0
1671 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1672 #define SWIG_From_int PyInt_FromLong
1677 enum wxHotkeyModifier
1685 #define wxEVT_HOTKEY 9999
1688 static const wxString
wxPyEmptyString(wxEmptyString
);
1689 static wxString
wxObject_GetClassName(wxObject
*self
){
1690 return self
->GetClassInfo()->GetClassName();
1692 static void wxObject_Destroy(wxObject
*self
){
1697 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
1705 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1708 if (value
< min_value
) {
1710 PyErr_Format(PyExc_OverflowError
,
1711 "value %ld is less than '%s' minimum %ld",
1712 value
, errmsg
, min_value
);
1715 } else if (value
> max_value
) {
1717 PyErr_Format(PyExc_OverflowError
,
1718 "value %ld is greater than '%s' maximum %ld",
1719 value
, errmsg
, max_value
);
1728 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1730 if (PyNumber_Check(obj
)) {
1731 if (val
) *val
= PyInt_AsLong(obj
);
1735 SWIG_type_error("number", obj
);
1741 #if INT_MAX != LONG_MAX
1743 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1745 const char* errmsg
= val
? "int" : (char*)0;
1747 if (SWIG_AsVal_long(obj
, &v
)) {
1748 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1749 if (val
) *val
= (int)(v
);
1758 SWIG_type_error(errmsg
, obj
);
1764 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1766 return SWIG_AsVal_long(obj
,(long*)val
);
1772 SWIG_As_int(PyObject
* obj
)
1775 if (!SWIG_AsVal_int(obj
, &v
)) {
1777 this is needed to make valgrind/purify happier.
1779 memset((void*)&v
, 0, sizeof(int));
1786 SWIG_Check_int(PyObject
* obj
)
1788 return SWIG_AsVal_int(obj
, (int*)0);
1791 static PyObject
*wxSize_Get(wxSize
*self
){
1792 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1793 PyObject
* tup
= PyTuple_New(2);
1794 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1795 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1796 wxPyEndBlockThreads(blocked
);
1801 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1803 if (PyNumber_Check(obj
)) {
1804 if (val
) *val
= PyFloat_AsDouble(obj
);
1808 SWIG_type_error("number", obj
);
1814 SWIGINTERNSHORT
double
1815 SWIG_As_double(PyObject
* obj
)
1818 if (!SWIG_AsVal_double(obj
, &v
)) {
1820 this is needed to make valgrind/purify happier.
1822 memset((void*)&v
, 0, sizeof(double));
1829 SWIG_Check_double(PyObject
* obj
)
1831 return SWIG_AsVal_double(obj
, (double*)0);
1835 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1836 #define SWIG_From_double PyFloat_FromDouble
1839 static void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
1843 static PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
1844 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1845 PyObject
* tup
= PyTuple_New(2);
1846 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
1847 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
1848 wxPyEndBlockThreads(blocked
);
1852 SWIGINTERNSHORT
long
1853 SWIG_As_long(PyObject
* obj
)
1856 if (!SWIG_AsVal_long(obj
, &v
)) {
1858 this is needed to make valgrind/purify happier.
1860 memset((void*)&v
, 0, sizeof(long));
1867 SWIG_Check_long(PyObject
* obj
)
1869 return SWIG_AsVal_long(obj
, (long*)0);
1872 static void wxPoint_Set(wxPoint
*self
,long x
,long y
){
1876 static PyObject
*wxPoint_Get(wxPoint
*self
){
1877 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1878 PyObject
* tup
= PyTuple_New(2);
1879 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1880 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1881 wxPyEndBlockThreads(blocked
);
1884 static void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
1887 self
->width
= width
;
1888 self
->height
= height
;
1890 static PyObject
*wxRect_Get(wxRect
*self
){
1891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1892 PyObject
* tup
= PyTuple_New(4);
1893 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
1894 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
1895 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
1896 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
1897 wxPyEndBlockThreads(blocked
);
1901 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
1904 wxRect
dest(0,0,0,0);
1907 reg1
.Intersect(reg2
);
1908 dest
= reg1
.GetBox();
1910 if (dest
!= wxRect(0,0,0,0)) {
1911 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1912 wxRect
* newRect
= new wxRect(dest
);
1913 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
1914 wxPyEndBlockThreads(blocked
);
1922 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1928 } else if (target
== Py_None
) {
1932 if (!PyTuple_Check(target
)) {
1934 target
= PyTuple_New(1);
1935 PyTuple_SetItem(target
, 0, o2
);
1937 o3
= PyTuple_New(1);
1938 PyTuple_SetItem(o3
, 0, o
);
1941 target
= PySequence_Concat(o2
, o3
);
1949 static void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
1953 static PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
1954 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
1955 PyObject
* tup
= PyTuple_New(2);
1956 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
1957 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
1958 wxPyEndBlockThreads(blocked
);
1962 #include "wx/wxPython/pyistream.h"
1964 static wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
1965 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
1967 return new wxPyInputStream(wxis
);
1972 SWIGINTERNSHORT PyObject
*
1973 SWIG_From_char(char c
)
1975 return PyString_FromStringAndSize(&c
,1);
1979 SWIGINTERNSHORT PyObject
*
1980 SWIG_From_unsigned_SS_long(unsigned long value
)
1982 return (value
> LONG_MAX
) ?
1983 PyLong_FromUnsignedLong(value
)
1984 : PyInt_FromLong((long)(value
));
1988 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1990 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
)
1992 static swig_type_info
* pchar_info
= 0;
1994 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
1995 if (SWIG_ConvertPtr(obj
, (void**)&vptr
, pchar_info
, 0) != -1) {
1996 if (cptr
) *cptr
= vptr
;
1997 if (psize
) *psize
= vptr
? (strlen(vptr
) + 1) : 0;
2001 if (PyString_Check(obj
)) {
2003 *cptr
= PyString_AS_STRING(obj
);
2005 *psize
= PyString_GET_SIZE(obj
) + 1;
2012 SWIG_type_error("char *", obj
);
2019 SWIG_AsCharArray(PyObject
*obj
, char *val
, size_t size
)
2021 char* cptr
; size_t csize
;
2022 if (SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
)) {
2025 char x[5] = "hello";
2027 ie, assing the array using an extra '0' char.
2029 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
2030 if (csize
<= size
) {
2032 if (csize
) memcpy(val
, cptr
, csize
);
2033 if (csize
< size
) memset(val
+ csize
, 0, size
- csize
);
2039 PyErr_Format(PyExc_TypeError
,
2040 "a char array of maximum size %lu is expected",
2041 (unsigned long) size
);
2048 SWIG_AsVal_char(PyObject
*obj
, char *val
)
2050 const char* errmsg
= val
? "char" : (char*)0;
2052 if (SWIG_AsVal_long(obj
, &v
)) {
2053 if (SWIG_CheckLongInRange(v
, CHAR_MIN
,CHAR_MAX
, errmsg
)) {
2054 if (val
) *val
= (char)(v
);
2061 return SWIG_AsCharArray(obj
, val
, 1);
2066 SWIGINTERNSHORT
char
2067 SWIG_As_char(PyObject
* obj
)
2070 if (!SWIG_AsVal_char(obj
, &v
)) {
2072 this is needed to make valgrind/purify happier.
2074 memset((void*)&v
, 0, sizeof(char));
2081 SWIG_Check_char(PyObject
* obj
)
2083 return SWIG_AsVal_char(obj
, (char*)0);
2087 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2088 #define SWIG_From_long PyInt_FromLong
2091 static void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
2092 // We use only strings for the streams, not unicode
2093 PyObject
* str
= PyObject_Str(obj
);
2095 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
2098 self
->Write(PyString_AS_STRING(str
),
2099 PyString_GET_SIZE(str
));
2103 #include "wx/wxPython/pyistream.h"
2106 class wxPyFileSystemHandler
: public wxFileSystemHandler
2109 wxPyFileSystemHandler() : wxFileSystemHandler() {}
2111 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
2112 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
2113 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
2114 DEC_PYCALLBACK_STRING__pure(FindNext
);
2116 wxString
GetProtocol(const wxString
& location
) {
2117 return wxFileSystemHandler::GetProtocol(location
);
2120 wxString
GetLeftLocation(const wxString
& location
) {
2121 return wxFileSystemHandler::GetLeftLocation(location
);
2124 wxString
GetAnchor(const wxString
& location
) {
2125 return wxFileSystemHandler::GetAnchor(location
);
2128 wxString
GetRightLocation(const wxString
& location
) {
2129 return wxFileSystemHandler::GetRightLocation(location
);
2132 wxString
GetMimeTypeFromExt(const wxString
& location
) {
2133 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
2140 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
2141 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
2142 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
2143 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
2147 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
2149 if (obj
== Py_True
) {
2150 if (val
) *val
= true;
2153 if (obj
== Py_False
) {
2154 if (val
) *val
= false;
2158 if (SWIG_AsVal_int(obj
, &res
)) {
2159 if (val
) *val
= res
? true : false;
2165 SWIG_type_error("bool", obj
);
2171 SWIGINTERNSHORT
bool
2172 SWIG_As_bool(PyObject
* obj
)
2175 if (!SWIG_AsVal_bool(obj
, &v
)) {
2177 this is needed to make valgrind/purify happier.
2179 memset((void*)&v
, 0, sizeof(bool));
2186 SWIG_Check_bool(PyObject
* obj
)
2188 return SWIG_AsVal_bool(obj
, (bool*)0);
2191 static wxString
FileSystem_URLToFileName(wxString
const &url
){
2192 wxFileName fname
= wxFileSystem::URLToFileName(url
);
2193 return fname
.GetFullPath();
2196 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
2199 wxMemoryFSHandler::AddFile(filename
, image
, type
);
2202 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
2203 const wxBitmap
& bitmap
,
2205 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
2208 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
2210 if (! PyString_Check(data
)) {
2211 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
2212 "Expected string object"));
2216 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2217 void* ptr
= (void*)PyString_AsString(data
);
2218 size_t size
= PyString_Size(data
);
2219 wxPyEndBlockThreads(blocked
);
2221 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
2225 #include "wx/wxPython/pyistream.h"
2229 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
2232 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2233 SWIG_type_error("unsigned number", obj
);
2236 *val
= (unsigned long)v
;
2242 SWIG_CheckUnsignedLongInRange(unsigned long value
,
2243 unsigned long max_value
,
2246 if (value
> max_value
) {
2248 PyErr_Format(PyExc_OverflowError
,
2249 "value %lu is greater than '%s' minimum %lu",
2250 value
, errmsg
, max_value
);
2259 SWIG_AsVal_unsigned_SS_char(PyObject
*obj
, unsigned char *val
)
2261 const char* errmsg
= val
? "unsigned char" : (char*)0;
2263 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2264 if (SWIG_CheckUnsignedLongInRange(v
, UCHAR_MAX
,errmsg
)) {
2265 if (val
) *val
= (unsigned char)(v
);
2274 SWIG_type_error(errmsg
, obj
);
2280 SWIGINTERNSHORT
unsigned char
2281 SWIG_As_unsigned_SS_char(PyObject
* obj
)
2284 if (!SWIG_AsVal_unsigned_SS_char(obj
, &v
)) {
2286 this is needed to make valgrind/purify happier.
2288 memset((void*)&v
, 0, sizeof(unsigned char));
2295 SWIG_Check_unsigned_SS_char(PyObject
* obj
)
2297 return SWIG_AsVal_unsigned_SS_char(obj
, (unsigned char*)0);
2301 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2302 #define SWIG_From_unsigned_SS_char PyInt_FromLong
2307 SWIGINTERNSHORT
unsigned long
2308 SWIG_As_unsigned_SS_long(PyObject
* obj
)
2311 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2313 this is needed to make valgrind/purify happier.
2315 memset((void*)&v
, 0, sizeof(unsigned long));
2322 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
2324 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
2327 static unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
2328 wxImageHistogramEntry e
= (*self
)[key
];
2331 static unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
2332 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
2333 wxImageHistogramEntry e
= (*self
)[key
];
2336 static unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
2337 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
2340 wxImageHistogramEntry e
= (*self
)[key
];
2344 typedef unsigned char* buffer
;
2346 static wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
2347 if (width
> 0 && height
> 0)
2348 return new wxImage(width
, height
, clear
);
2352 static wxImage
*new_wxImage(wxBitmap
const &bitmap
){
2353 return new wxImage(bitmap
.ConvertToImage());
2355 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
2356 if (DATASIZE
!= width
*height
*3) {
2357 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2361 // Copy the source data so the wxImage can clean it up later
2362 buffer copy
= (buffer
)malloc(DATASIZE
);
2364 wxPyBLOCK_THREADS(PyErr_NoMemory());
2367 memcpy(copy
, data
, DATASIZE
);
2368 return new wxImage(width
, height
, copy
, false);
2370 static wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
2371 if (DATASIZE
!= width
*height
*3) {
2372 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2375 if (ALPHASIZE
!= width
*height
) {
2376 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2380 // Copy the source data so the wxImage can clean it up later
2381 buffer dcopy
= (buffer
)malloc(DATASIZE
);
2382 if (dcopy
== NULL
) {
2383 wxPyBLOCK_THREADS(PyErr_NoMemory());
2386 memcpy(dcopy
, data
, DATASIZE
);
2388 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2389 if (acopy
== NULL
) {
2390 wxPyBLOCK_THREADS(PyErr_NoMemory());
2393 memcpy(acopy
, alpha
, ALPHASIZE
);
2395 return new wxImage(width
, height
, dcopy
, acopy
, false);
2397 static wxSize
wxImage_GetSize(wxImage
*self
){
2398 wxSize
size(self
->GetWidth(), self
->GetHeight());
2401 static PyObject
*wxImage_GetData(wxImage
*self
){
2402 buffer data
= self
->GetData();
2403 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2405 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
2408 static void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
2409 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2410 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2413 buffer copy
= (buffer
)malloc(DATASIZE
);
2415 wxPyBLOCK_THREADS(PyErr_NoMemory());
2418 memcpy(copy
, data
, DATASIZE
);
2419 self
->SetData(copy
, false);
2420 // wxImage takes ownership of copy...
2422 static PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
2423 buffer data
= self
->GetData();
2424 int len
= self
->GetWidth() * self
->GetHeight() * 3;
2426 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2429 static void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
2430 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
2431 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2434 self
->SetData(data
, true);
2436 static PyObject
*wxImage_GetAlphaData(wxImage
*self
){
2437 buffer data
= self
->GetAlpha();
2441 int len
= self
->GetWidth() * self
->GetHeight();
2443 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
2447 static void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2448 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2449 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2452 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
2453 if (acopy
== NULL
) {
2454 wxPyBLOCK_THREADS(PyErr_NoMemory());
2457 memcpy(acopy
, alpha
, ALPHASIZE
);
2458 self
->SetAlpha(acopy
, false);
2459 // wxImage takes ownership of acopy...
2461 static PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
2462 buffer data
= self
->GetAlpha();
2463 int len
= self
->GetWidth() * self
->GetHeight();
2465 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
2468 static void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
2469 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
2470 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2473 self
->SetAlpha(alpha
, true);
2475 static wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
2476 wxBitmap
bitmap(*self
, depth
);
2479 static wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
2480 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
2481 wxBitmap
bitmap( mono
, 1 );
2484 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
2485 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
2486 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
2487 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
2488 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
2489 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
2490 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
2491 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
2492 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
2493 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
2494 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
2495 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
2496 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
2497 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
2498 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
2500 #include <wx/quantize.h>
2502 static bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
2503 return wxQuantize::Quantize(src
, dest
,
2506 NULL
, // eightBitData
2509 static void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
2510 if (PyCallable_Check(func
)) {
2511 self
->Connect(id
, lastId
, eventType
,
2512 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
2513 new wxPyCallback(func
));
2515 else if (func
== Py_None
) {
2516 self
->Disconnect(id
, lastId
, eventType
,
2517 (wxObjectEventFunction
)
2518 &wxPyCallback::EventThunker
);
2522 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
2525 static bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
2526 return self
->Disconnect(id
, lastId
, eventType
,
2527 (wxObjectEventFunction
)
2528 &wxPyCallback::EventThunker
);
2530 static void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
2531 if (_self
&& _self
!= Py_None
) {
2532 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
2535 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
2537 self
->SetClientObject(NULL
); // This will delete it too
2542 static int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
2544 return self
->GetUnicodeKey();
2550 #if UINT_MAX < LONG_MAX
2551 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2552 #define SWIG_From_unsigned_SS_int SWIG_From_long
2555 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2556 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
2561 #if UINT_MAX != ULONG_MAX
2563 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2565 const char* errmsg
= val
? "unsigned int" : (char*)0;
2567 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
2568 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
2569 if (val
) *val
= (unsigned int)(v
);
2576 SWIG_type_error(errmsg
, obj
);
2581 SWIGINTERNSHORT
unsigned int
2582 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
2584 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
2589 SWIGINTERNSHORT
unsigned int
2590 SWIG_As_unsigned_SS_int(PyObject
* obj
)
2593 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
2595 this is needed to make valgrind/purify happier.
2597 memset((void*)&v
, 0, sizeof(unsigned int));
2604 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
2606 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
2609 static void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
2610 self
->m_size
= size
;
2612 static PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
2613 int count
= self
->GetNumberOfFiles();
2614 wxString
* files
= self
->GetFiles();
2615 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2616 PyObject
* list
= PyList_New(count
);
2619 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
2620 wxPyEndBlockThreads(blocked
);
2624 for (int i
=0; i
<count
; i
++) {
2625 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
2627 wxPyEndBlockThreads(blocked
);
2632 static wxPyApp
*new_wxPyApp(){
2633 wxPythonApp
= new wxPyApp();
2636 static int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
2638 void wxApp_CleanUp() {
2643 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
2647 SWIG_AsCharPtr(PyObject
*obj
, char **val
)
2649 if (SWIG_AsCharPtrAndSize(obj
, val
, (size_t*)(0))) {
2654 SWIG_type_error("char *", obj
);
2660 SWIGINTERN PyObject
*
2661 SWIG_FromCharPtr(const char* cptr
)
2664 size_t size
= strlen(cptr
);
2665 if (size
> INT_MAX
) {
2666 return SWIG_NewPointerObj((char*)(cptr
),
2667 SWIG_TypeQuery("char *"), 0);
2670 return PyString_FromStringAndSize(cptr
, size
);
2672 return PyString_FromString(cptr
);
2683 // A dummy class that raises an exception if used...
2687 wxEventLoop() { wxPyRaiseNotImplemented(); }
2688 int Run() { return 0; }
2689 void Exit(int rc
= 0) {}
2690 bool Pending() const { return false; }
2691 bool Dispatch() { return false; }
2692 bool IsRunning() const { return false; }
2693 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
2694 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
2699 #include <wx/evtloop.h>
2705 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2706 static wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
2707 static void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
2708 static PyObject
*wxWindow_GetChildren(wxWindow
*self
){
2709 wxWindowList
& list
= self
->GetChildren();
2710 return wxPy_ConvertList(&list
);
2712 static bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
2714 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
2719 static bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
2726 static long wxWindow_GetHandle(wxWindow
*self
){
2727 return wxPyGetWinHandle(self
);
2729 static void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
2730 self
->AssociateHandle((WXWidget
)handle
);
2732 static void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
2734 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
2735 return wxWindow::FindWindowById(id
, parent
);
2738 wxWindow
* wxFindWindowByName( const wxString
& name
,
2739 const wxWindow
*parent
= NULL
) {
2740 return wxWindow::FindWindowByName(name
, parent
);
2743 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
2744 const wxWindow
*parent
= NULL
) {
2745 return wxWindow::FindWindowByLabel(label
, parent
);
2750 #include <wx/msw/private.h> // to get wxGetWindowId
2754 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
2756 WXHWND hWnd
= (WXHWND
)_hWnd
;
2757 long id
= wxGetWindowId(hWnd
);
2758 wxWindow
* win
= new wxWindow
;
2759 parent
->AddChild(win
);
2760 win
->SetEventHandler(win
);
2763 win
->SubclassWin(hWnd
);
2764 win
->AdoptAttributesFromHWND();
2765 win
->SetupColours();
2768 wxPyRaiseNotImplemented();
2774 PyObject
* GetTopLevelWindows() {
2775 return wxPy_ConvertList(&wxTopLevelWindows
);
2779 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
2780 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
2781 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
2783 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
2785 static void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
2786 static PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
2787 wxMenuItemList
& list
= self
->GetMenuItems();
2788 return wxPy_ConvertList(&list
);
2790 static void MenuBar_SetAutoWindowMenu(bool enable
){}
2791 static bool MenuBar_GetAutoWindowMenu(){ return false; }
2792 static void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
2793 static wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
2794 static void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
2795 static wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
2796 static void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
2797 static wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
2798 static void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){}
2799 static void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
2800 static wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
2801 static void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
2802 static int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
2803 static int MenuItem_GetDefaultMarginWidth(){ return 0; }
2804 static bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
2805 static void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
2806 static void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
2807 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2808 static int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
2810 wxPyClientData
* data
= new wxPyClientData(clientData
);
2811 return self
->Append(item
, data
);
2813 return self
->Append(item
);
2815 static int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2817 wxPyClientData
* data
= new wxPyClientData(clientData
);
2818 return self
->Insert(item
, pos
, data
);
2820 return self
->Insert(item
, pos
);
2822 static PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
2823 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
2825 Py_INCREF(data
->m_obj
);
2832 static void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
2833 wxPyClientData
* data
= new wxPyClientData(clientData
);
2834 self
->SetClientObject(n
, data
);
2838 static wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2839 wxPyUserData
* data
= NULL
;
2841 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2842 data
= new wxPyUserData(userData
);
2843 wxPyEndBlockThreads(blocked
);
2845 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
2847 static wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2848 wxPyUserData
* data
= NULL
;
2850 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2851 data
= new wxPyUserData(userData
);
2852 wxPyEndBlockThreads(blocked
);
2854 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
2856 static wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
2857 wxPyUserData
* data
= NULL
;
2859 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2860 data
= new wxPyUserData(userData
);
2861 wxPyEndBlockThreads(blocked
);
2863 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
2868 SWIG_CheckDoubleInRange(double value
, double min_value
,
2869 double max_value
, const char* errmsg
)
2871 if (value
< min_value
) {
2873 PyErr_Format(PyExc_OverflowError
,
2874 "value %g is less than %s minimum %g",
2875 value
, errmsg
, min_value
);
2878 } else if (value
> max_value
) {
2880 PyErr_Format(PyExc_OverflowError
,
2881 "value %g is greater than %s maximum %g",
2882 value
, errmsg
, max_value
);
2891 SWIG_AsVal_float(PyObject
*obj
, float *val
)
2893 const char* errmsg
= val
? "float" : (char*)0;
2895 if (SWIG_AsVal_double(obj
, &v
)) {
2896 if (SWIG_CheckDoubleInRange(v
, -FLT_MAX
, FLT_MAX
, errmsg
)) {
2897 if (val
) *val
= (float)(v
);
2906 SWIG_type_error(errmsg
, obj
);
2912 SWIGINTERNSHORT
float
2913 SWIG_As_float(PyObject
* obj
)
2916 if (!SWIG_AsVal_float(obj
, &v
)) {
2918 this is needed to make valgrind/purify happier.
2920 memset((void*)&v
, 0, sizeof(float));
2927 SWIG_Check_float(PyObject
* obj
)
2929 return SWIG_AsVal_float(obj
, (float*)0);
2933 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
2934 #define SWIG_From_float PyFloat_FromDouble
2937 static PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
2938 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
2940 Py_INCREF(data
->m_obj
);
2948 // Figure out the type of the sizer item
2950 struct wxPySizerItemInfo
{
2952 : window(NULL
), sizer(NULL
), gotSize(false),
2953 size(wxDefaultSize
), gotPos(false), pos(-1)
2964 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
2966 wxPySizerItemInfo info
;
2968 wxSize
* sizePtr
= &size
;
2970 // Find out what the type of the item is
2972 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
2977 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
2981 // try wxSize or (w,h)
2982 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
2983 info
.size
= *sizePtr
;
2984 info
.gotSize
= true;
2988 if (checkIdx
&& PyInt_Check(item
)) {
2989 info
.pos
= PyInt_AsLong(item
);
2995 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
2996 // no expected type, figure out what kind of error message to generate
2997 if ( !checkSize
&& !checkIdx
)
2998 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
2999 else if ( checkSize
&& !checkIdx
)
3000 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
3001 else if ( !checkSize
&& checkIdx
)
3002 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
3004 // can this one happen?
3005 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
3011 static void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3012 if (!self
->GetClientObject())
3013 self
->SetClientObject(new wxPyOORClientData(_self
));
3015 static wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3017 wxPyUserData
* data
= NULL
;
3018 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3019 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3020 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3021 data
= new wxPyUserData(userData
);
3022 wxPyEndBlockThreads(blocked
);
3024 // Now call the real Add method if a valid item type was found
3026 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3027 else if ( info
.sizer
)
3028 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3029 else if (info
.gotSize
)
3030 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3031 proportion
, flag
, border
, data
);
3035 static wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3037 wxPyUserData
* data
= NULL
;
3038 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3039 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3040 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3041 data
= new wxPyUserData(userData
);
3042 wxPyEndBlockThreads(blocked
);
3044 // Now call the real Insert method if a valid item type was found
3046 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
3047 else if ( info
.sizer
)
3048 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
3049 else if (info
.gotSize
)
3050 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
3051 proportion
, flag
, border
, data
);
3055 static wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3057 wxPyUserData
* data
= NULL
;
3058 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3059 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3060 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3061 data
= new wxPyUserData(userData
);
3062 wxPyEndBlockThreads(blocked
);
3064 // Now call the real Prepend method if a valid item type was found
3066 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
3067 else if ( info
.sizer
)
3068 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
3069 else if (info
.gotSize
)
3070 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
3071 proportion
, flag
, border
, data
);
3075 static bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
3076 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3077 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3078 wxPyEndBlockThreads(blocked
);
3080 return self
->Remove(info
.window
);
3081 else if ( info
.sizer
)
3082 return self
->Remove(info
.sizer
);
3083 else if ( info
.gotPos
)
3084 return self
->Remove(info
.pos
);
3088 static bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
3089 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3090 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3091 wxPyEndBlockThreads(blocked
);
3093 return self
->Detach(info
.window
);
3094 else if ( info
.sizer
)
3095 return self
->Detach(info
.sizer
);
3096 else if ( info
.gotPos
)
3097 return self
->Detach(info
.pos
);
3101 static wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
3102 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3103 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3104 wxPyEndBlockThreads(blocked
);
3106 return self
->GetItem(info
.window
);
3107 else if ( info
.sizer
)
3108 return self
->GetItem(info
.sizer
);
3109 else if ( info
.gotPos
)
3110 return self
->GetItem(info
.pos
);
3114 static void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
3115 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3116 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3117 wxPyEndBlockThreads(blocked
);
3119 self
->SetItemMinSize(info
.window
, size
);
3120 else if ( info
.sizer
)
3121 self
->SetItemMinSize(info
.sizer
, size
);
3122 else if ( info
.gotPos
)
3123 self
->SetItemMinSize(info
.pos
, size
);
3125 static PyObject
*wxSizer_GetChildren(wxSizer
*self
){
3126 wxSizerItemList
& list
= self
->GetChildren();
3127 return wxPy_ConvertList(&list
);
3129 static bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
3130 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3131 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
3132 wxPyEndBlockThreads(blocked
);
3134 return self
->Show(info
.window
, show
, recursive
);
3135 else if ( info
.sizer
)
3136 return self
->Show(info
.sizer
, show
, recursive
);
3137 else if ( info
.gotPos
)
3138 return self
->Show(info
.pos
, show
);
3142 static bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
3143 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3144 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
3145 wxPyEndBlockThreads(blocked
);
3147 return self
->IsShown(info
.window
);
3148 else if ( info
.sizer
)
3149 return self
->IsShown(info
.sizer
);
3150 else if ( info
.gotPos
)
3151 return self
->IsShown(info
.pos
);
3157 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
3158 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
3159 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
3164 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
3166 if (source
== Py_None
) {
3167 **obj
= wxGBPosition(-1,-1);
3170 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
3173 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
3175 if (source
== Py_None
) {
3176 **obj
= wxGBSpan(-1,-1);
3179 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
3183 static void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
3187 static PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
3188 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3189 PyObject
* tup
= PyTuple_New(2);
3190 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
3191 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
3192 wxPyEndBlockThreads(blocked
);
3195 static void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
3196 self
->SetRowspan(rowspan
);
3197 self
->SetColspan(colspan
);
3199 static PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
3200 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3201 PyObject
* tup
= PyTuple_New(2);
3202 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
3203 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
3204 wxPyEndBlockThreads(blocked
);
3207 static wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3208 wxPyUserData
* data
= NULL
;
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 data
= new wxPyUserData(userData
);
3212 wxPyEndBlockThreads(blocked
);
3214 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
3216 static wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3217 wxPyUserData
* data
= NULL
;
3219 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3220 data
= new wxPyUserData(userData
);
3221 wxPyEndBlockThreads(blocked
);
3223 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
3225 static wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
3226 wxPyUserData
* data
= NULL
;
3228 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3229 data
= new wxPyUserData(userData
);
3230 wxPyEndBlockThreads(blocked
);
3232 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
3234 static wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
3236 self
->GetEndPos(row
, col
);
3237 return wxGBPosition(row
, col
);
3239 static wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3241 wxPyUserData
* data
= NULL
;
3242 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3243 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3244 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3245 data
= new wxPyUserData(userData
);
3246 wxPyEndBlockThreads(blocked
);
3248 // Now call the real Add method if a valid item type was found
3250 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
3251 else if ( info
.sizer
)
3252 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
3253 else if (info
.gotSize
)
3254 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3255 pos
, span
, flag
, border
, data
);
3263 static int _wrap_EmptyString_set(PyObject
*) {
3264 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
3269 static PyObject
*_wrap_EmptyString_get(void) {
3274 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3276 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
3283 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxObject
*arg1
= (wxObject
*) 0 ;
3287 PyObject
* obj0
= 0 ;
3289 (char *) "self", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
3293 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3294 if (SWIG_arg_fail(1)) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 result
= wxObject_GetClassName(arg1
);
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3315 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
*resultobj
;
3317 wxObject
*arg1
= (wxObject
*) 0 ;
3318 PyObject
* obj0
= 0 ;
3320 (char *) "self", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
3324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
3325 if (SWIG_arg_fail(1)) SWIG_fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 wxObject_Destroy(arg1
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 Py_INCREF(Py_None
); resultobj
= Py_None
;
3340 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
3342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3343 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
3345 return Py_BuildValue((char *)"");
3347 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3349 wxSize
*arg1
= (wxSize
*) 0 ;
3351 PyObject
* obj0
= 0 ;
3352 PyObject
* obj1
= 0 ;
3354 (char *) "self",(char *) "x", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3359 if (SWIG_arg_fail(1)) SWIG_fail
;
3361 arg2
= (int)(SWIG_As_int(obj1
));
3362 if (SWIG_arg_fail(2)) SWIG_fail
;
3364 if (arg1
) (arg1
)->x
= arg2
;
3366 Py_INCREF(Py_None
); resultobj
= Py_None
;
3373 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
*resultobj
;
3375 wxSize
*arg1
= (wxSize
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3379 (char *) "self", NULL
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
3383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3384 if (SWIG_arg_fail(1)) SWIG_fail
;
3385 result
= (int) ((arg1
)->x
);
3388 resultobj
= SWIG_From_int((int)(result
));
3396 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
;
3398 wxSize
*arg1
= (wxSize
*) 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3403 (char *) "self",(char *) "y", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3408 if (SWIG_arg_fail(1)) SWIG_fail
;
3410 arg2
= (int)(SWIG_As_int(obj1
));
3411 if (SWIG_arg_fail(2)) SWIG_fail
;
3413 if (arg1
) (arg1
)->y
= arg2
;
3415 Py_INCREF(Py_None
); resultobj
= Py_None
;
3422 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxSize
*arg1
= (wxSize
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 (char *) "self", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
3432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3433 if (SWIG_arg_fail(1)) SWIG_fail
;
3434 result
= (int) ((arg1
)->y
);
3437 resultobj
= SWIG_From_int((int)(result
));
3445 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3446 PyObject
*resultobj
;
3447 int arg1
= (int) 0 ;
3448 int arg2
= (int) 0 ;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3453 (char *) "w",(char *) "h", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
3459 arg1
= (int)(SWIG_As_int(obj0
));
3460 if (SWIG_arg_fail(1)) SWIG_fail
;
3465 arg2
= (int)(SWIG_As_int(obj1
));
3466 if (SWIG_arg_fail(2)) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (wxSize
*)new wxSize(arg1
,arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
3483 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxSize
*arg1
= (wxSize
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3488 (char *) "self", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
3492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3493 if (SWIG_arg_fail(1)) SWIG_fail
;
3495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3498 wxPyEndAllowThreads(__tstate
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 Py_INCREF(Py_None
); resultobj
= Py_None
;
3508 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3509 PyObject
*resultobj
;
3510 wxSize
*arg1
= (wxSize
*) 0 ;
3514 PyObject
* obj0
= 0 ;
3515 PyObject
* obj1
= 0 ;
3517 (char *) "self",(char *) "sz", NULL
3520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3522 if (SWIG_arg_fail(1)) SWIG_fail
;
3525 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3529 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
3531 wxPyEndAllowThreads(__tstate
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3543 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3545 wxSize
*arg1
= (wxSize
*) 0 ;
3549 PyObject
* obj0
= 0 ;
3550 PyObject
* obj1
= 0 ;
3552 (char *) "self",(char *) "sz", NULL
3555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3556 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3557 if (SWIG_arg_fail(1)) SWIG_fail
;
3560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3564 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
3566 wxPyEndAllowThreads(__tstate
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3578 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxSize
*arg1
= (wxSize
*) 0 ;
3584 PyObject
* obj0
= 0 ;
3585 PyObject
* obj1
= 0 ;
3587 (char *) "self",(char *) "sz", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3592 if (SWIG_arg_fail(1)) SWIG_fail
;
3595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3599 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3606 resultptr
= new wxSize((wxSize
&)(result
));
3607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3615 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
*resultobj
;
3617 wxSize
*arg1
= (wxSize
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3622 PyObject
* obj1
= 0 ;
3624 (char *) "self",(char *) "sz", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3629 if (SWIG_arg_fail(1)) SWIG_fail
;
3632 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3643 resultptr
= new wxSize((wxSize
&)(result
));
3644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3652 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxSize
*arg1
= (wxSize
*) 0 ;
3657 PyObject
* obj0
= 0 ;
3658 PyObject
* obj1
= 0 ;
3660 (char *) "self",(char *) "sz", NULL
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3665 if (SWIG_arg_fail(1)) SWIG_fail
;
3668 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 (arg1
)->IncTo((wxSize
const &)*arg2
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 Py_INCREF(Py_None
); resultobj
= Py_None
;
3684 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxSize
*arg1
= (wxSize
*) 0 ;
3689 PyObject
* obj0
= 0 ;
3690 PyObject
* obj1
= 0 ;
3692 (char *) "self",(char *) "sz", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
3696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3697 if (SWIG_arg_fail(1)) SWIG_fail
;
3700 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 (arg1
)->DecTo((wxSize
const &)*arg2
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 Py_INCREF(Py_None
); resultobj
= Py_None
;
3716 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3718 wxSize
*arg1
= (wxSize
*) 0 ;
3721 PyObject
* obj0
= 0 ;
3722 PyObject
* obj1
= 0 ;
3723 PyObject
* obj2
= 0 ;
3725 (char *) "self",(char *) "w",(char *) "h", NULL
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3730 if (SWIG_arg_fail(1)) SWIG_fail
;
3732 arg2
= (int)(SWIG_As_int(obj1
));
3733 if (SWIG_arg_fail(2)) SWIG_fail
;
3736 arg3
= (int)(SWIG_As_int(obj2
));
3737 if (SWIG_arg_fail(3)) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 (arg1
)->Set(arg2
,arg3
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 Py_INCREF(Py_None
); resultobj
= Py_None
;
3753 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxSize
*arg1
= (wxSize
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3760 (char *) "self",(char *) "w", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3765 if (SWIG_arg_fail(1)) SWIG_fail
;
3767 arg2
= (int)(SWIG_As_int(obj1
));
3768 if (SWIG_arg_fail(2)) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 (arg1
)->SetWidth(arg2
);
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 Py_INCREF(Py_None
); resultobj
= Py_None
;
3784 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxSize
*arg1
= (wxSize
*) 0 ;
3788 PyObject
* obj0
= 0 ;
3789 PyObject
* obj1
= 0 ;
3791 (char *) "self",(char *) "h", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3796 if (SWIG_arg_fail(1)) SWIG_fail
;
3798 arg2
= (int)(SWIG_As_int(obj1
));
3799 if (SWIG_arg_fail(2)) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 (arg1
)->SetHeight(arg2
);
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3808 Py_INCREF(Py_None
); resultobj
= Py_None
;
3815 static PyObject
*_wrap_Size_GetWidth(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_GetWidth",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
)->GetWidth();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_From_int((int)(result
));
3843 static PyObject
*_wrap_Size_GetHeight(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_GetHeight",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
= (int)((wxSize
const *)arg1
)->GetHeight();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_From_int((int)(result
));
3871 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxSize
*arg1
= (wxSize
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3877 (char *) "self", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
3881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3882 if (SWIG_arg_fail(1)) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3899 static PyObject
*_wrap_Size_SetDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxSize
*arg1
= (wxSize
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3905 PyObject
* obj1
= 0 ;
3907 (char *) "self",(char *) "size", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
3911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3912 if (SWIG_arg_fail(1)) SWIG_fail
;
3915 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3931 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxSize
*arg1
= (wxSize
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3937 (char *) "self", NULL
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
3941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
3942 if (SWIG_arg_fail(1)) SWIG_fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 result
= (PyObject
*)wxSize_Get(arg1
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3957 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
3959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3960 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
3962 return Py_BuildValue((char *)"");
3964 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3968 PyObject
* obj0
= 0 ;
3969 PyObject
* obj1
= 0 ;
3971 (char *) "self",(char *) "x", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
3975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
3976 if (SWIG_arg_fail(1)) SWIG_fail
;
3978 arg2
= (double)(SWIG_As_double(obj1
));
3979 if (SWIG_arg_fail(2)) SWIG_fail
;
3981 if (arg1
) (arg1
)->x
= arg2
;
3983 Py_INCREF(Py_None
); resultobj
= Py_None
;
3990 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3991 PyObject
*resultobj
;
3992 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3996 (char *) "self", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
4000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4001 if (SWIG_arg_fail(1)) SWIG_fail
;
4002 result
= (double) ((arg1
)->x
);
4005 resultobj
= SWIG_From_double((double)(result
));
4013 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4014 PyObject
*resultobj
;
4015 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4017 PyObject
* obj0
= 0 ;
4018 PyObject
* obj1
= 0 ;
4020 (char *) "self",(char *) "y", NULL
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4025 if (SWIG_arg_fail(1)) SWIG_fail
;
4027 arg2
= (double)(SWIG_As_double(obj1
));
4028 if (SWIG_arg_fail(2)) SWIG_fail
;
4030 if (arg1
) (arg1
)->y
= arg2
;
4032 Py_INCREF(Py_None
); resultobj
= Py_None
;
4039 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4040 PyObject
*resultobj
;
4041 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4043 PyObject
* obj0
= 0 ;
4045 (char *) "self", NULL
4048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
4049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4050 if (SWIG_arg_fail(1)) SWIG_fail
;
4051 result
= (double) ((arg1
)->y
);
4054 resultobj
= SWIG_From_double((double)(result
));
4062 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 double arg1
= (double) 0.0 ;
4065 double arg2
= (double) 0.0 ;
4066 wxRealPoint
*result
;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4070 (char *) "x",(char *) "y", NULL
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
4076 arg1
= (double)(SWIG_As_double(obj0
));
4077 if (SWIG_arg_fail(1)) SWIG_fail
;
4082 arg2
= (double)(SWIG_As_double(obj1
));
4083 if (SWIG_arg_fail(2)) SWIG_fail
;
4087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4088 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
4090 wxPyEndAllowThreads(__tstate
);
4091 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
4100 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
;
4102 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4103 PyObject
* obj0
= 0 ;
4105 (char *) "self", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
4109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4110 if (SWIG_arg_fail(1)) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 Py_INCREF(Py_None
); resultobj
= Py_None
;
4125 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4127 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4128 wxRealPoint
*arg2
= 0 ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4134 (char *) "self",(char *) "pt", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4139 if (SWIG_arg_fail(1)) SWIG_fail
;
4142 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4160 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4163 wxRealPoint
*arg2
= 0 ;
4166 PyObject
* obj0
= 0 ;
4167 PyObject
* obj1
= 0 ;
4169 (char *) "self",(char *) "pt", NULL
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4174 if (SWIG_arg_fail(1)) SWIG_fail
;
4177 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4195 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4197 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4198 wxRealPoint
*arg2
= 0 ;
4201 PyObject
* obj0
= 0 ;
4202 PyObject
* obj1
= 0 ;
4204 (char *) "self",(char *) "pt", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4209 if (SWIG_arg_fail(1)) SWIG_fail
;
4212 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4222 wxRealPoint
* resultptr
;
4223 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4232 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4235 wxRealPoint
*arg2
= 0 ;
4238 PyObject
* obj0
= 0 ;
4239 PyObject
* obj1
= 0 ;
4241 (char *) "self",(char *) "pt", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4246 if (SWIG_arg_fail(1)) SWIG_fail
;
4249 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4259 wxRealPoint
* resultptr
;
4260 resultptr
= new wxRealPoint((wxRealPoint
&)(result
));
4261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
4269 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 PyObject
* obj2
= 0 ;
4278 (char *) "self",(char *) "x",(char *) "y", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4283 if (SWIG_arg_fail(1)) SWIG_fail
;
4285 arg2
= (double)(SWIG_As_double(obj1
));
4286 if (SWIG_arg_fail(2)) SWIG_fail
;
4289 arg3
= (double)(SWIG_As_double(obj2
));
4290 if (SWIG_arg_fail(3)) SWIG_fail
;
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 wxRealPoint_Set(arg1
,arg2
,arg3
);
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4299 Py_INCREF(Py_None
); resultobj
= Py_None
;
4306 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
4310 PyObject
* obj0
= 0 ;
4312 (char *) "self", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
4316 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_EXCEPTION
| 0);
4317 if (SWIG_arg_fail(1)) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (PyObject
*)wxRealPoint_Get(arg1
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4332 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
4334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4335 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
4337 return Py_BuildValue((char *)"");
4339 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxPoint
*arg1
= (wxPoint
*) 0 ;
4343 PyObject
* obj0
= 0 ;
4344 PyObject
* obj1
= 0 ;
4346 (char *) "self",(char *) "x", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4351 if (SWIG_arg_fail(1)) SWIG_fail
;
4353 arg2
= (int)(SWIG_As_int(obj1
));
4354 if (SWIG_arg_fail(2)) SWIG_fail
;
4356 if (arg1
) (arg1
)->x
= arg2
;
4358 Py_INCREF(Py_None
); resultobj
= Py_None
;
4365 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxPoint
*arg1
= (wxPoint
*) 0 ;
4369 PyObject
* obj0
= 0 ;
4371 (char *) "self", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
4375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4376 if (SWIG_arg_fail(1)) SWIG_fail
;
4377 result
= (int) ((arg1
)->x
);
4380 resultobj
= SWIG_From_int((int)(result
));
4388 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxPoint
*arg1
= (wxPoint
*) 0 ;
4392 PyObject
* obj0
= 0 ;
4393 PyObject
* obj1
= 0 ;
4395 (char *) "self",(char *) "y", NULL
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4399 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4400 if (SWIG_arg_fail(1)) SWIG_fail
;
4402 arg2
= (int)(SWIG_As_int(obj1
));
4403 if (SWIG_arg_fail(2)) SWIG_fail
;
4405 if (arg1
) (arg1
)->y
= arg2
;
4407 Py_INCREF(Py_None
); resultobj
= Py_None
;
4414 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxPoint
*arg1
= (wxPoint
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4420 (char *) "self", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
4424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4425 if (SWIG_arg_fail(1)) SWIG_fail
;
4426 result
= (int) ((arg1
)->y
);
4429 resultobj
= SWIG_From_int((int)(result
));
4437 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4439 int arg1
= (int) 0 ;
4440 int arg2
= (int) 0 ;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4445 (char *) "x",(char *) "y", NULL
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
4451 arg1
= (int)(SWIG_As_int(obj0
));
4452 if (SWIG_arg_fail(1)) SWIG_fail
;
4457 arg2
= (int)(SWIG_As_int(obj1
));
4458 if (SWIG_arg_fail(2)) SWIG_fail
;
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
4465 wxPyEndAllowThreads(__tstate
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4475 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4476 PyObject
*resultobj
;
4477 wxPoint
*arg1
= (wxPoint
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4480 (char *) "self", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
4484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4485 if (SWIG_arg_fail(1)) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 Py_INCREF(Py_None
); resultobj
= Py_None
;
4500 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxPoint
*arg1
= (wxPoint
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4509 (char *) "self",(char *) "pt", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4513 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4514 if (SWIG_arg_fail(1)) SWIG_fail
;
4517 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4535 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxPoint
*arg1
= (wxPoint
*) 0 ;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4544 (char *) "self",(char *) "pt", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4549 if (SWIG_arg_fail(1)) SWIG_fail
;
4552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4570 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
;
4572 wxPoint
*arg1
= (wxPoint
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4577 PyObject
* obj1
= 0 ;
4579 (char *) "self",(char *) "pt", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4584 if (SWIG_arg_fail(1)) SWIG_fail
;
4587 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4597 wxPoint
* resultptr
;
4598 resultptr
= new wxPoint((wxPoint
&)(result
));
4599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4607 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4608 PyObject
*resultobj
;
4609 wxPoint
*arg1
= (wxPoint
*) 0 ;
4613 PyObject
* obj0
= 0 ;
4614 PyObject
* obj1
= 0 ;
4616 (char *) "self",(char *) "pt", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4621 if (SWIG_arg_fail(1)) SWIG_fail
;
4624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4628 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
4630 wxPyEndAllowThreads(__tstate
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4634 wxPoint
* resultptr
;
4635 resultptr
= new wxPoint((wxPoint
&)(result
));
4636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4644 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4646 wxPoint
*arg1
= (wxPoint
*) 0 ;
4650 PyObject
* obj0
= 0 ;
4651 PyObject
* obj1
= 0 ;
4653 (char *) "self",(char *) "pt", NULL
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4657 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4658 if (SWIG_arg_fail(1)) SWIG_fail
;
4661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
4667 result
= (wxPoint
*) &_result_ref
;
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4680 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4682 wxPoint
*arg1
= (wxPoint
*) 0 ;
4686 PyObject
* obj0
= 0 ;
4687 PyObject
* obj1
= 0 ;
4689 (char *) "self",(char *) "pt", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4693 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
4694 if (SWIG_arg_fail(1)) SWIG_fail
;
4697 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
4703 result
= (wxPoint
*) &_result_ref
;
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
4716 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxPoint
*arg1
= (wxPoint
*) 0 ;
4721 PyObject
* obj0
= 0 ;
4722 PyObject
* obj1
= 0 ;
4723 PyObject
* obj2
= 0 ;
4725 (char *) "self",(char *) "x",(char *) "y", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4730 if (SWIG_arg_fail(1)) SWIG_fail
;
4732 arg2
= (long)(SWIG_As_long(obj1
));
4733 if (SWIG_arg_fail(2)) SWIG_fail
;
4736 arg3
= (long)(SWIG_As_long(obj2
));
4737 if (SWIG_arg_fail(3)) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 wxPoint_Set(arg1
,arg2
,arg3
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 Py_INCREF(Py_None
); resultobj
= Py_None
;
4753 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxPoint
*arg1
= (wxPoint
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4759 (char *) "self", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
4763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
4764 if (SWIG_arg_fail(1)) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= (PyObject
*)wxPoint_Get(arg1
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4779 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
4781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4782 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
4784 return Py_BuildValue((char *)"");
4786 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 int arg1
= (int) 0 ;
4789 int arg2
= (int) 0 ;
4790 int arg3
= (int) 0 ;
4791 int arg4
= (int) 0 ;
4793 PyObject
* obj0
= 0 ;
4794 PyObject
* obj1
= 0 ;
4795 PyObject
* obj2
= 0 ;
4796 PyObject
* obj3
= 0 ;
4798 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4804 arg1
= (int)(SWIG_As_int(obj0
));
4805 if (SWIG_arg_fail(1)) SWIG_fail
;
4810 arg2
= (int)(SWIG_As_int(obj1
));
4811 if (SWIG_arg_fail(2)) SWIG_fail
;
4816 arg3
= (int)(SWIG_As_int(obj2
));
4817 if (SWIG_arg_fail(3)) SWIG_fail
;
4822 arg4
= (int)(SWIG_As_int(obj3
));
4823 if (SWIG_arg_fail(4)) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4840 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
*resultobj
;
4847 PyObject
* obj0
= 0 ;
4848 PyObject
* obj1
= 0 ;
4850 (char *) "topLeft",(char *) "bottomRight", NULL
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
4856 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4864 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4876 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4883 PyObject
* obj0
= 0 ;
4884 PyObject
* obj1
= 0 ;
4886 (char *) "pos",(char *) "size", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
4892 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4896 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4912 static PyObject
*_wrap_new_RectS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4917 PyObject
* obj0
= 0 ;
4919 (char *) "size", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) goto fail
;
4925 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
4941 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxRect
*arg1
= (wxRect
*) 0 ;
4944 PyObject
* obj0
= 0 ;
4946 (char *) "self", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
4950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4951 if (SWIG_arg_fail(1)) SWIG_fail
;
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 Py_INCREF(Py_None
); resultobj
= Py_None
;
4966 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxRect
*arg1
= (wxRect
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4972 (char *) "self", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
4976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
4977 if (SWIG_arg_fail(1)) SWIG_fail
;
4979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4980 result
= (int)((wxRect
const *)arg1
)->GetX();
4982 wxPyEndAllowThreads(__tstate
);
4983 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= SWIG_From_int((int)(result
));
4994 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxRect
*arg1
= (wxRect
*) 0 ;
4998 PyObject
* obj0
= 0 ;
4999 PyObject
* obj1
= 0 ;
5001 (char *) "self",(char *) "x", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
5005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5006 if (SWIG_arg_fail(1)) SWIG_fail
;
5008 arg2
= (int)(SWIG_As_int(obj1
));
5009 if (SWIG_arg_fail(2)) SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 Py_INCREF(Py_None
); resultobj
= Py_None
;
5025 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxRect
*arg1
= (wxRect
*) 0 ;
5029 PyObject
* obj0
= 0 ;
5031 (char *) "self", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
5035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5036 if (SWIG_arg_fail(1)) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (int)(arg1
)->GetY();
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= SWIG_From_int((int)(result
));
5053 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxRect
*arg1
= (wxRect
*) 0 ;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5060 (char *) "self",(char *) "y", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
5064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5065 if (SWIG_arg_fail(1)) SWIG_fail
;
5067 arg2
= (int)(SWIG_As_int(obj1
));
5068 if (SWIG_arg_fail(2)) SWIG_fail
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 Py_INCREF(Py_None
); resultobj
= Py_None
;
5084 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxRect
*arg1
= (wxRect
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5090 (char *) "self", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
5094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5095 if (SWIG_arg_fail(1)) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (int)((wxRect
const *)arg1
)->GetWidth();
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= SWIG_From_int((int)(result
));
5112 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
;
5114 wxRect
*arg1
= (wxRect
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5117 PyObject
* obj1
= 0 ;
5119 (char *) "self",(char *) "w", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
5123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5124 if (SWIG_arg_fail(1)) SWIG_fail
;
5126 arg2
= (int)(SWIG_As_int(obj1
));
5127 if (SWIG_arg_fail(2)) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 (arg1
)->SetWidth(arg2
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 Py_INCREF(Py_None
); resultobj
= Py_None
;
5143 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxRect
*arg1
= (wxRect
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5149 (char *) "self", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
5153 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5154 if (SWIG_arg_fail(1)) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (int)((wxRect
const *)arg1
)->GetHeight();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5163 resultobj
= SWIG_From_int((int)(result
));
5171 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
;
5173 wxRect
*arg1
= (wxRect
*) 0 ;
5175 PyObject
* obj0
= 0 ;
5176 PyObject
* obj1
= 0 ;
5178 (char *) "self",(char *) "h", NULL
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5182 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5183 if (SWIG_arg_fail(1)) SWIG_fail
;
5185 arg2
= (int)(SWIG_As_int(obj1
));
5186 if (SWIG_arg_fail(2)) SWIG_fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 (arg1
)->SetHeight(arg2
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 Py_INCREF(Py_None
); resultobj
= Py_None
;
5202 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxRect
*arg1
= (wxRect
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5208 (char *) "self", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
5212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5213 if (SWIG_arg_fail(1)) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 result
= ((wxRect
const *)arg1
)->GetPosition();
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5222 wxPoint
* resultptr
;
5223 resultptr
= new wxPoint((wxPoint
&)(result
));
5224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5232 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
*resultobj
;
5234 wxRect
*arg1
= (wxRect
*) 0 ;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5240 (char *) "self",(char *) "p", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5245 if (SWIG_arg_fail(1)) SWIG_fail
;
5248 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 Py_INCREF(Py_None
); resultobj
= Py_None
;
5264 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxRect
*arg1
= (wxRect
*) 0 ;
5268 PyObject
* obj0
= 0 ;
5270 (char *) "self", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
5274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5275 if (SWIG_arg_fail(1)) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 result
= ((wxRect
const *)arg1
)->GetSize();
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5285 resultptr
= new wxSize((wxSize
&)(result
));
5286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
5294 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
;
5296 wxRect
*arg1
= (wxRect
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5302 (char *) "self",(char *) "s", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5307 if (SWIG_arg_fail(1)) SWIG_fail
;
5310 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 (arg1
)->SetSize((wxSize
const &)*arg2
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 Py_INCREF(Py_None
); resultobj
= Py_None
;
5326 static PyObject
*_wrap_Rect_IsEmpty(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_IsEmpty",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
= (bool)((wxRect
const *)arg1
)->IsEmpty();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5354 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
;
5356 wxRect
*arg1
= (wxRect
*) 0 ;
5358 PyObject
* obj0
= 0 ;
5360 (char *) "self", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
5364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5365 if (SWIG_arg_fail(1)) SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= ((wxRect
const *)arg1
)->GetTopLeft();
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5374 wxPoint
* resultptr
;
5375 resultptr
= new wxPoint((wxPoint
&)(result
));
5376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5384 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxRect
*arg1
= (wxRect
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5390 PyObject
* obj1
= 0 ;
5392 (char *) "self",(char *) "p", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5396 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5397 if (SWIG_arg_fail(1)) SWIG_fail
;
5400 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 Py_INCREF(Py_None
); resultobj
= Py_None
;
5416 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxRect
*arg1
= (wxRect
*) 0 ;
5420 PyObject
* obj0
= 0 ;
5422 (char *) "self", NULL
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
5426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5427 if (SWIG_arg_fail(1)) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= ((wxRect
const *)arg1
)->GetBottomRight();
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5436 wxPoint
* resultptr
;
5437 resultptr
= new wxPoint((wxPoint
&)(result
));
5438 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
5446 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxRect
*arg1
= (wxRect
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5454 (char *) "self",(char *) "p", NULL
5457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5459 if (SWIG_arg_fail(1)) SWIG_fail
;
5462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 Py_INCREF(Py_None
); resultobj
= Py_None
;
5478 static PyObject
*_wrap_Rect_GetLeft(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_GetLeft",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
)->GetLeft();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= SWIG_From_int((int)(result
));
5506 static PyObject
*_wrap_Rect_GetTop(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_GetTop",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
)->GetTop();
5522 wxPyEndAllowThreads(__tstate
);
5523 if (PyErr_Occurred()) SWIG_fail
;
5526 resultobj
= SWIG_From_int((int)(result
));
5534 static PyObject
*_wrap_Rect_GetBottom(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_GetBottom",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
)->GetBottom();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= SWIG_From_int((int)(result
));
5562 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxRect
*arg1
= (wxRect
*) 0 ;
5566 PyObject
* obj0
= 0 ;
5568 (char *) "self", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
5572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5573 if (SWIG_arg_fail(1)) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (int)((wxRect
const *)arg1
)->GetRight();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5582 resultobj
= SWIG_From_int((int)(result
));
5590 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxRect
*arg1
= (wxRect
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5597 (char *) "self",(char *) "left", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5602 if (SWIG_arg_fail(1)) SWIG_fail
;
5604 arg2
= (int)(SWIG_As_int(obj1
));
5605 if (SWIG_arg_fail(2)) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 (arg1
)->SetLeft(arg2
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxRect
*arg1
= (wxRect
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5628 (char *) "self",(char *) "right", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5633 if (SWIG_arg_fail(1)) SWIG_fail
;
5635 arg2
= (int)(SWIG_As_int(obj1
));
5636 if (SWIG_arg_fail(2)) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 (arg1
)->SetRight(arg2
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 Py_INCREF(Py_None
); resultobj
= Py_None
;
5652 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxRect
*arg1
= (wxRect
*) 0 ;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5659 (char *) "self",(char *) "top", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
5663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5664 if (SWIG_arg_fail(1)) SWIG_fail
;
5666 arg2
= (int)(SWIG_As_int(obj1
));
5667 if (SWIG_arg_fail(2)) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 (arg1
)->SetTop(arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 Py_INCREF(Py_None
); resultobj
= Py_None
;
5683 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxRect
*arg1
= (wxRect
*) 0 ;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5690 (char *) "self",(char *) "bottom", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
5694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5695 if (SWIG_arg_fail(1)) SWIG_fail
;
5697 arg2
= (int)(SWIG_As_int(obj1
));
5698 if (SWIG_arg_fail(2)) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 (arg1
)->SetBottom(arg2
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 Py_INCREF(Py_None
); resultobj
= Py_None
;
5714 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxRect
*arg1
= (wxRect
*) 0 ;
5720 PyObject
* obj0
= 0 ;
5721 PyObject
* obj1
= 0 ;
5722 PyObject
* obj2
= 0 ;
5724 (char *) "self",(char *) "dx",(char *) "dy", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5729 if (SWIG_arg_fail(1)) SWIG_fail
;
5731 arg2
= (int)(SWIG_As_int(obj1
));
5732 if (SWIG_arg_fail(2)) SWIG_fail
;
5735 arg3
= (int)(SWIG_As_int(obj2
));
5736 if (SWIG_arg_fail(3)) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
5742 result
= (wxRect
*) &_result_ref
;
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5755 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5756 PyObject
*resultobj
;
5757 wxRect
*arg1
= (wxRect
*) 0 ;
5761 PyObject
* obj0
= 0 ;
5762 PyObject
* obj1
= 0 ;
5763 PyObject
* obj2
= 0 ;
5765 (char *) "self",(char *) "dx",(char *) "dy", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5769 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5770 if (SWIG_arg_fail(1)) SWIG_fail
;
5772 arg2
= (int)(SWIG_As_int(obj1
));
5773 if (SWIG_arg_fail(2)) SWIG_fail
;
5776 arg3
= (int)(SWIG_As_int(obj2
));
5777 if (SWIG_arg_fail(3)) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
5783 result
= (wxRect
*) &_result_ref
;
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
5796 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
;
5798 wxRect
*arg1
= (wxRect
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5802 PyObject
* obj1
= 0 ;
5803 PyObject
* obj2
= 0 ;
5805 (char *) "self",(char *) "dx",(char *) "dy", NULL
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5810 if (SWIG_arg_fail(1)) SWIG_fail
;
5812 arg2
= (int)(SWIG_As_int(obj1
));
5813 if (SWIG_arg_fail(2)) SWIG_fail
;
5816 arg3
= (int)(SWIG_As_int(obj2
));
5817 if (SWIG_arg_fail(3)) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->Offset(arg2
,arg3
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5833 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxRect
*arg1
= (wxRect
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5841 (char *) "self",(char *) "pt", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
5845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5846 if (SWIG_arg_fail(1)) SWIG_fail
;
5849 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 (arg1
)->Offset((wxPoint
const &)*arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 Py_INCREF(Py_None
); resultobj
= Py_None
;
5865 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
;
5867 wxRect
*arg1
= (wxRect
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5872 PyObject
* obj1
= 0 ;
5874 (char *) "self",(char *) "rect", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
5878 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5879 if (SWIG_arg_fail(1)) SWIG_fail
;
5882 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5893 resultptr
= new wxRect((wxRect
&)(result
));
5894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5902 static PyObject
*_wrap_Rect_Union(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
*resultobj
;
5904 wxRect
*arg1
= (wxRect
*) 0 ;
5908 PyObject
* obj0
= 0 ;
5909 PyObject
* obj1
= 0 ;
5911 (char *) "self",(char *) "rect", NULL
5914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) goto fail
;
5915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5916 if (SWIG_arg_fail(1)) SWIG_fail
;
5919 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 result
= (arg1
)->Union((wxRect
const &)*arg2
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5930 resultptr
= new wxRect((wxRect
&)(result
));
5931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5939 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
;
5941 wxRect
*arg1
= (wxRect
*) 0 ;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5948 (char *) "self",(char *) "rect", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
5952 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
5953 if (SWIG_arg_fail(1)) SWIG_fail
;
5956 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5967 resultptr
= new wxRect((wxRect
&)(result
));
5968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5976 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5978 wxRect
*arg1
= (wxRect
*) 0 ;
5982 PyObject
* obj0
= 0 ;
5983 PyObject
* obj1
= 0 ;
5985 (char *) "self",(char *) "rect", NULL
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5989 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
5990 if (SWIG_arg_fail(1)) SWIG_fail
;
5993 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
5999 result
= (wxRect
*) &_result_ref
;
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
6012 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxRect
*arg1
= (wxRect
*) 0 ;
6018 PyObject
* obj0
= 0 ;
6019 PyObject
* obj1
= 0 ;
6021 (char *) "self",(char *) "rect", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
6025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6026 if (SWIG_arg_fail(1)) SWIG_fail
;
6029 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6047 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
;
6049 wxRect
*arg1
= (wxRect
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6056 (char *) "self",(char *) "rect", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
6060 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6061 if (SWIG_arg_fail(1)) SWIG_fail
;
6064 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6082 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxRect
*arg1
= (wxRect
*) 0 ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 PyObject
* obj2
= 0 ;
6092 (char *) "self",(char *) "x",(char *) "y", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6097 if (SWIG_arg_fail(1)) SWIG_fail
;
6099 arg2
= (int)(SWIG_As_int(obj1
));
6100 if (SWIG_arg_fail(2)) SWIG_fail
;
6103 arg3
= (int)(SWIG_As_int(obj2
));
6104 if (SWIG_arg_fail(3)) SWIG_fail
;
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6122 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6123 PyObject
*resultobj
;
6124 wxRect
*arg1
= (wxRect
*) 0 ;
6128 PyObject
* obj0
= 0 ;
6129 PyObject
* obj1
= 0 ;
6131 (char *) "self",(char *) "pt", NULL
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
6135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6136 if (SWIG_arg_fail(1)) SWIG_fail
;
6139 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6157 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxRect
*arg1
= (wxRect
*) 0 ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6166 (char *) "self",(char *) "rect", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
6170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6171 if (SWIG_arg_fail(1)) SWIG_fail
;
6174 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6192 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxRect
*arg1
= (wxRect
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6199 (char *) "self",(char *) "x", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6204 if (SWIG_arg_fail(1)) SWIG_fail
;
6206 arg2
= (int)(SWIG_As_int(obj1
));
6207 if (SWIG_arg_fail(2)) SWIG_fail
;
6209 if (arg1
) (arg1
)->x
= arg2
;
6211 Py_INCREF(Py_None
); resultobj
= Py_None
;
6218 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6219 PyObject
*resultobj
;
6220 wxRect
*arg1
= (wxRect
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6224 (char *) "self", NULL
6227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
6228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6229 if (SWIG_arg_fail(1)) SWIG_fail
;
6230 result
= (int) ((arg1
)->x
);
6233 resultobj
= SWIG_From_int((int)(result
));
6241 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6242 PyObject
*resultobj
;
6243 wxRect
*arg1
= (wxRect
*) 0 ;
6245 PyObject
* obj0
= 0 ;
6246 PyObject
* obj1
= 0 ;
6248 (char *) "self",(char *) "y", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6253 if (SWIG_arg_fail(1)) SWIG_fail
;
6255 arg2
= (int)(SWIG_As_int(obj1
));
6256 if (SWIG_arg_fail(2)) SWIG_fail
;
6258 if (arg1
) (arg1
)->y
= arg2
;
6260 Py_INCREF(Py_None
); resultobj
= Py_None
;
6267 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxRect
*arg1
= (wxRect
*) 0 ;
6271 PyObject
* obj0
= 0 ;
6273 (char *) "self", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
6277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6278 if (SWIG_arg_fail(1)) SWIG_fail
;
6279 result
= (int) ((arg1
)->y
);
6282 resultobj
= SWIG_From_int((int)(result
));
6290 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxRect
*arg1
= (wxRect
*) 0 ;
6294 PyObject
* obj0
= 0 ;
6295 PyObject
* obj1
= 0 ;
6297 (char *) "self",(char *) "width", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6302 if (SWIG_arg_fail(1)) SWIG_fail
;
6304 arg2
= (int)(SWIG_As_int(obj1
));
6305 if (SWIG_arg_fail(2)) SWIG_fail
;
6307 if (arg1
) (arg1
)->width
= arg2
;
6309 Py_INCREF(Py_None
); resultobj
= Py_None
;
6316 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxRect
*arg1
= (wxRect
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6322 (char *) "self", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
6326 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6327 if (SWIG_arg_fail(1)) SWIG_fail
;
6328 result
= (int) ((arg1
)->width
);
6331 resultobj
= SWIG_From_int((int)(result
));
6339 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxRect
*arg1
= (wxRect
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6346 (char *) "self",(char *) "height", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
6350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6351 if (SWIG_arg_fail(1)) SWIG_fail
;
6353 arg2
= (int)(SWIG_As_int(obj1
));
6354 if (SWIG_arg_fail(2)) SWIG_fail
;
6356 if (arg1
) (arg1
)->height
= arg2
;
6358 Py_INCREF(Py_None
); resultobj
= Py_None
;
6365 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxRect
*arg1
= (wxRect
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6371 (char *) "self", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
6375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6376 if (SWIG_arg_fail(1)) SWIG_fail
;
6377 result
= (int) ((arg1
)->height
);
6380 resultobj
= SWIG_From_int((int)(result
));
6388 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxRect
*arg1
= (wxRect
*) 0 ;
6391 int arg2
= (int) 0 ;
6392 int arg3
= (int) 0 ;
6393 int arg4
= (int) 0 ;
6394 int arg5
= (int) 0 ;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6398 PyObject
* obj3
= 0 ;
6399 PyObject
* obj4
= 0 ;
6401 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6405 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6406 if (SWIG_arg_fail(1)) SWIG_fail
;
6409 arg2
= (int)(SWIG_As_int(obj1
));
6410 if (SWIG_arg_fail(2)) SWIG_fail
;
6415 arg3
= (int)(SWIG_As_int(obj2
));
6416 if (SWIG_arg_fail(3)) SWIG_fail
;
6421 arg4
= (int)(SWIG_As_int(obj3
));
6422 if (SWIG_arg_fail(4)) SWIG_fail
;
6427 arg5
= (int)(SWIG_As_int(obj4
));
6428 if (SWIG_arg_fail(5)) SWIG_fail
;
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6438 Py_INCREF(Py_None
); resultobj
= Py_None
;
6445 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
*resultobj
;
6447 wxRect
*arg1
= (wxRect
*) 0 ;
6449 PyObject
* obj0
= 0 ;
6451 (char *) "self", NULL
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
6455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6456 if (SWIG_arg_fail(1)) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6459 result
= (PyObject
*)wxRect_Get(arg1
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6471 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
6473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6474 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
6476 return Py_BuildValue((char *)"");
6478 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxRect
*arg1
= (wxRect
*) 0 ;
6481 wxRect
*arg2
= (wxRect
*) 0 ;
6483 PyObject
* obj0
= 0 ;
6484 PyObject
* obj1
= 0 ;
6486 (char *) "r1",(char *) "r2", NULL
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
6490 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6491 if (SWIG_arg_fail(1)) SWIG_fail
;
6492 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
6493 if (SWIG_arg_fail(2)) SWIG_fail
;
6495 if (!wxPyCheckForApp()) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6509 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
;
6511 double arg1
= (double) 0.0 ;
6512 double arg2
= (double) 0.0 ;
6514 PyObject
* obj0
= 0 ;
6515 PyObject
* obj1
= 0 ;
6517 (char *) "x",(char *) "y", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
6523 arg1
= (double)(SWIG_As_double(obj0
));
6524 if (SWIG_arg_fail(1)) SWIG_fail
;
6529 arg2
= (double)(SWIG_As_double(obj1
));
6530 if (SWIG_arg_fail(2)) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6547 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxPoint2D
*arg1
= 0 ;
6552 PyObject
* obj0
= 0 ;
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
6560 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6576 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
;
6581 PyObject
* obj0
= 0 ;
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
6589 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
6605 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6608 int *arg2
= (int *) 0 ;
6609 int *arg3
= (int *) 0 ;
6614 PyObject
* obj0
= 0 ;
6616 (char *) "self", NULL
6619 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6620 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
6622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6623 if (SWIG_arg_fail(1)) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 Py_INCREF(Py_None
); resultobj
= Py_None
;
6632 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6633 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6634 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6635 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6642 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6645 int *arg2
= (int *) 0 ;
6646 int *arg3
= (int *) 0 ;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
6657 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
6659 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6660 if (SWIG_arg_fail(1)) SWIG_fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 Py_INCREF(Py_None
); resultobj
= Py_None
;
6669 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
6670 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
6671 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
6672 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
6679 static PyObject
*_wrap_Point2D_GetVectorLength(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_GetVectorLength",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
)->GetVectorLength();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6699 resultobj
= SWIG_From_double((double)(result
));
6707 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6711 PyObject
* obj0
= 0 ;
6713 (char *) "self", NULL
6716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
6717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6718 if (SWIG_arg_fail(1)) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6727 resultobj
= SWIG_From_double((double)(result
));
6735 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6739 PyObject
* obj0
= 0 ;
6740 PyObject
* obj1
= 0 ;
6742 (char *) "self",(char *) "length", NULL
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
6746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6747 if (SWIG_arg_fail(1)) SWIG_fail
;
6749 arg2
= (double)(SWIG_As_double(obj1
));
6750 if (SWIG_arg_fail(2)) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 (arg1
)->SetVectorLength(arg2
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 Py_INCREF(Py_None
); resultobj
= Py_None
;
6766 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
;
6768 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6773 (char *) "self",(char *) "degrees", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
6777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6778 if (SWIG_arg_fail(1)) SWIG_fail
;
6780 arg2
= (double)(SWIG_As_double(obj1
));
6781 if (SWIG_arg_fail(2)) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 (arg1
)->SetVectorAngle(arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 Py_INCREF(Py_None
); resultobj
= Py_None
;
6797 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6800 wxPoint2D
*arg2
= 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6806 (char *) "self",(char *) "pt", NULL
6809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
6810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6811 if (SWIG_arg_fail(1)) SWIG_fail
;
6814 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= SWIG_From_double((double)(result
));
6832 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6835 wxPoint2D
*arg2
= 0 ;
6838 PyObject
* obj0
= 0 ;
6839 PyObject
* obj1
= 0 ;
6841 (char *) "self",(char *) "pt", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
6845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6846 if (SWIG_arg_fail(1)) SWIG_fail
;
6849 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= SWIG_From_double((double)(result
));
6867 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6870 wxPoint2D
*arg2
= 0 ;
6873 PyObject
* obj0
= 0 ;
6874 PyObject
* obj1
= 0 ;
6876 (char *) "self",(char *) "vec", NULL
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6881 if (SWIG_arg_fail(1)) SWIG_fail
;
6884 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= SWIG_From_double((double)(result
));
6902 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6905 wxPoint2D
*arg2
= 0 ;
6908 PyObject
* obj0
= 0 ;
6909 PyObject
* obj1
= 0 ;
6911 (char *) "self",(char *) "vec", NULL
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
6915 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6916 if (SWIG_arg_fail(1)) SWIG_fail
;
6919 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= SWIG_From_double((double)(result
));
6937 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6941 PyObject
* obj0
= 0 ;
6943 (char *) "self", NULL
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
6947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
6948 if (SWIG_arg_fail(1)) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (arg1
)->operator -();
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6957 wxPoint2D
* resultptr
;
6958 resultptr
= new wxPoint2D((wxPoint2D
&)(result
));
6959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
6967 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
;
6969 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
6970 wxPoint2D
*arg2
= 0 ;
6973 PyObject
* obj0
= 0 ;
6974 PyObject
* obj1
= 0 ;
6976 (char *) "self",(char *) "pt", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
6980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
6981 if (SWIG_arg_fail(1)) SWIG_fail
;
6984 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
6990 result
= (wxPoint2D
*) &_result_ref
;
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7003 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7004 PyObject
*resultobj
;
7005 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7006 wxPoint2D
*arg2
= 0 ;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7012 (char *) "self",(char *) "pt", NULL
7015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
7016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7017 if (SWIG_arg_fail(1)) SWIG_fail
;
7020 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
7026 result
= (wxPoint2D
*) &_result_ref
;
7029 wxPyEndAllowThreads(__tstate
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7039 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7040 PyObject
*resultobj
;
7041 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7042 wxPoint2D
*arg2
= 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7048 (char *) "self",(char *) "pt", NULL
7051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
7052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7053 if (SWIG_arg_fail(1)) SWIG_fail
;
7056 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
7062 result
= (wxPoint2D
*) &_result_ref
;
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7075 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7078 wxPoint2D
*arg2
= 0 ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7084 (char *) "self",(char *) "pt", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
7088 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
7089 if (SWIG_arg_fail(1)) SWIG_fail
;
7092 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
7098 result
= (wxPoint2D
*) &_result_ref
;
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
7111 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7114 wxPoint2D
*arg2
= 0 ;
7117 PyObject
* obj0
= 0 ;
7118 PyObject
* obj1
= 0 ;
7120 (char *) "self",(char *) "pt", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
7124 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7125 if (SWIG_arg_fail(1)) SWIG_fail
;
7128 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7146 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7149 wxPoint2D
*arg2
= 0 ;
7152 PyObject
* obj0
= 0 ;
7153 PyObject
* obj1
= 0 ;
7155 (char *) "self",(char *) "pt", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
7159 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7160 if (SWIG_arg_fail(1)) SWIG_fail
;
7163 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
7166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7167 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
7169 wxPyEndAllowThreads(__tstate
);
7170 if (PyErr_Occurred()) SWIG_fail
;
7173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7181 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7185 PyObject
* obj0
= 0 ;
7186 PyObject
* obj1
= 0 ;
7188 (char *) "self",(char *) "m_x", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7193 if (SWIG_arg_fail(1)) SWIG_fail
;
7195 arg2
= (double)(SWIG_As_double(obj1
));
7196 if (SWIG_arg_fail(2)) SWIG_fail
;
7198 if (arg1
) (arg1
)->m_x
= arg2
;
7200 Py_INCREF(Py_None
); resultobj
= Py_None
;
7207 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7209 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7213 (char *) "self", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
7217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7218 if (SWIG_arg_fail(1)) SWIG_fail
;
7219 result
= (double) ((arg1
)->m_x
);
7222 resultobj
= SWIG_From_double((double)(result
));
7230 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7237 (char *) "self",(char *) "m_y", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
7241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7242 if (SWIG_arg_fail(1)) SWIG_fail
;
7244 arg2
= (double)(SWIG_As_double(obj1
));
7245 if (SWIG_arg_fail(2)) SWIG_fail
;
7247 if (arg1
) (arg1
)->m_y
= arg2
;
7249 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7262 (char *) "self", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
7266 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7267 if (SWIG_arg_fail(1)) SWIG_fail
;
7268 result
= (double) ((arg1
)->m_y
);
7271 resultobj
= SWIG_From_double((double)(result
));
7279 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7282 double arg2
= (double) 0 ;
7283 double arg3
= (double) 0 ;
7284 PyObject
* obj0
= 0 ;
7285 PyObject
* obj1
= 0 ;
7286 PyObject
* obj2
= 0 ;
7288 (char *) "self",(char *) "x",(char *) "y", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7293 if (SWIG_arg_fail(1)) SWIG_fail
;
7296 arg2
= (double)(SWIG_As_double(obj1
));
7297 if (SWIG_arg_fail(2)) SWIG_fail
;
7302 arg3
= (double)(SWIG_As_double(obj2
));
7303 if (SWIG_arg_fail(3)) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 wxPoint2D_Set(arg1
,arg2
,arg3
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7320 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7326 (char *) "self", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
7330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_EXCEPTION
| 0);
7331 if (SWIG_arg_fail(1)) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (PyObject
*)wxPoint2D_Get(arg1
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7346 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
7348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7349 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
7351 return Py_BuildValue((char *)"");
7353 static int _wrap_DefaultPosition_set(PyObject
*) {
7354 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
7359 static PyObject
*_wrap_DefaultPosition_get(void) {
7362 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
7367 static int _wrap_DefaultSize_set(PyObject
*) {
7368 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
7373 static PyObject
*_wrap_DefaultSize_get(void) {
7376 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
7381 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 PyObject
*arg1
= (PyObject
*) 0 ;
7384 wxPyInputStream
*result
;
7385 PyObject
* obj0
= 0 ;
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
7406 static PyObject
*_wrap_delete_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7409 PyObject
* obj0
= 0 ;
7411 (char *) "self", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_InputStream",kwnames
,&obj0
)) goto fail
;
7415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7416 if (SWIG_arg_fail(1)) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7431 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7436 (char *) "self", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
7440 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7441 if (SWIG_arg_fail(1)) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 Py_INCREF(Py_None
); resultobj
= Py_None
;
7456 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7459 PyObject
* obj0
= 0 ;
7461 (char *) "self", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
7465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7466 if (SWIG_arg_fail(1)) SWIG_fail
;
7468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 Py_INCREF(Py_None
); resultobj
= Py_None
;
7481 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7485 PyObject
* obj0
= 0 ;
7487 (char *) "self", NULL
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
7491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7492 if (SWIG_arg_fail(1)) SWIG_fail
;
7494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7495 result
= (bool)(arg1
)->eof();
7497 wxPyEndAllowThreads(__tstate
);
7498 if (PyErr_Occurred()) SWIG_fail
;
7501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7509 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
;
7511 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7512 int arg2
= (int) -1 ;
7514 PyObject
* obj0
= 0 ;
7515 PyObject
* obj1
= 0 ;
7517 (char *) "self",(char *) "size", NULL
7520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
7521 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7522 if (SWIG_arg_fail(1)) SWIG_fail
;
7525 arg2
= (int)(SWIG_As_int(obj1
));
7526 if (SWIG_arg_fail(2)) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 result
= (PyObject
*)(arg1
)->read(arg2
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7543 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
;
7545 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7546 int arg2
= (int) -1 ;
7548 PyObject
* obj0
= 0 ;
7549 PyObject
* obj1
= 0 ;
7551 (char *) "self",(char *) "size", NULL
7554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
7555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7556 if (SWIG_arg_fail(1)) SWIG_fail
;
7559 arg2
= (int)(SWIG_As_int(obj1
));
7560 if (SWIG_arg_fail(2)) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (PyObject
*)(arg1
)->readline(arg2
);
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7577 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7580 int arg2
= (int) -1 ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7585 (char *) "self",(char *) "sizehint", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
7589 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7590 if (SWIG_arg_fail(1)) SWIG_fail
;
7593 arg2
= (int)(SWIG_As_int(obj1
));
7594 if (SWIG_arg_fail(2)) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (PyObject
*)(arg1
)->readlines(arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7611 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7615 int arg3
= (int) 0 ;
7616 PyObject
* obj0
= 0 ;
7617 PyObject
* obj1
= 0 ;
7618 PyObject
* obj2
= 0 ;
7620 (char *) "self",(char *) "offset",(char *) "whence", NULL
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7625 if (SWIG_arg_fail(1)) SWIG_fail
;
7627 arg2
= (int)(SWIG_As_int(obj1
));
7628 if (SWIG_arg_fail(2)) SWIG_fail
;
7632 arg3
= (int)(SWIG_As_int(obj2
));
7633 if (SWIG_arg_fail(3)) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 (arg1
)->seek(arg2
,arg3
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 Py_INCREF(Py_None
); resultobj
= Py_None
;
7650 static PyObject
*_wrap_InputStream_tell(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_tell",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
= (int)(arg1
)->tell();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7670 resultobj
= SWIG_From_int((int)(result
));
7678 static PyObject
*_wrap_InputStream_Peek(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_Peek",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
)->Peek();
7694 wxPyEndAllowThreads(__tstate
);
7695 if (PyErr_Occurred()) SWIG_fail
;
7698 resultobj
= SWIG_From_char((char)(result
));
7706 static PyObject
*_wrap_InputStream_GetC(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_GetC",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
= (char)(arg1
)->GetC();
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7726 resultobj
= SWIG_From_char((char)(result
));
7734 static PyObject
*_wrap_InputStream_LastRead(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_LastRead",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
= (size_t)(arg1
)->LastRead();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
7762 static PyObject
*_wrap_InputStream_CanRead(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_CanRead",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
)->CanRead();
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7790 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7796 (char *) "self", NULL
7799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
7800 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7801 if (SWIG_arg_fail(1)) SWIG_fail
;
7803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7804 result
= (bool)(arg1
)->Eof();
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7818 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7819 PyObject
*resultobj
;
7820 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7826 (char *) "self",(char *) "c", NULL
7829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
7830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7831 if (SWIG_arg_fail(1)) SWIG_fail
;
7833 arg2
= (char)(SWIG_As_char(obj1
));
7834 if (SWIG_arg_fail(2)) SWIG_fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 result
= (bool)(arg1
)->Ungetch(arg2
);
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7852 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7856 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
7858 PyObject
* obj0
= 0 ;
7859 PyObject
* obj1
= 0 ;
7860 PyObject
* obj2
= 0 ;
7862 (char *) "self",(char *) "pos",(char *) "mode", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7867 if (SWIG_arg_fail(1)) SWIG_fail
;
7869 arg2
= (long)(SWIG_As_long(obj1
));
7870 if (SWIG_arg_fail(2)) SWIG_fail
;
7874 arg3
= (wxSeekMode
)(SWIG_As_int(obj2
));
7875 if (SWIG_arg_fail(3)) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= SWIG_From_long((long)(result
));
7894 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7895 PyObject
*resultobj
;
7896 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
7898 PyObject
* obj0
= 0 ;
7900 (char *) "self", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
7904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_EXCEPTION
| 0);
7905 if (SWIG_arg_fail(1)) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= (long)(arg1
)->TellI();
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= SWIG_From_long((long)(result
));
7922 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
7924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7925 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
7927 return Py_BuildValue((char *)"");
7929 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
7932 PyObject
*arg2
= (PyObject
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7934 PyObject
* obj1
= 0 ;
7936 (char *) "self",(char *) "obj", NULL
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7940 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxOutputStream
, SWIG_POINTER_EXCEPTION
| 0);
7941 if (SWIG_arg_fail(1)) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 wxOutputStream_write(arg1
,arg2
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 Py_INCREF(Py_None
); resultobj
= Py_None
;
7957 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
7959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7960 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
7962 return Py_BuildValue((char *)"");
7964 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
7967 wxString
*arg2
= 0 ;
7968 wxString
*arg3
= 0 ;
7969 wxString
*arg4
= 0 ;
7972 wxPyInputStream
*temp1
;
7973 bool temp2
= false ;
7974 bool temp3
= false ;
7975 bool temp4
= false ;
7976 PyObject
* obj0
= 0 ;
7977 PyObject
* obj1
= 0 ;
7978 PyObject
* obj2
= 0 ;
7979 PyObject
* obj3
= 0 ;
7980 PyObject
* obj4
= 0 ;
7982 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
7987 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7988 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
7990 PyErr_Clear(); // clear the failure of the wxPyConvert above
7991 arg1
= wxPyCBInputStream_create(obj0
, true);
7993 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
7999 arg2
= wxString_in_helper(obj1
);
8000 if (arg2
== NULL
) SWIG_fail
;
8004 arg3
= wxString_in_helper(obj2
);
8005 if (arg3
== NULL
) SWIG_fail
;
8009 arg4
= wxString_in_helper(obj3
);
8010 if (arg4
== NULL
) SWIG_fail
;
8015 SWIG_Python_ConvertPtr(obj4
, (void **)&argp
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
);
8016 if (SWIG_arg_fail(5)) SWIG_fail
;
8018 SWIG_null_ref("wxDateTime");
8020 if (SWIG_arg_fail(5)) SWIG_fail
;
8024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8025 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
8027 wxPyEndAllowThreads(__tstate
);
8028 if (PyErr_Occurred()) SWIG_fail
;
8031 resultobj
= wxPyMake_wxObject(result
, 1);
8063 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
8072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8073 if (SWIG_arg_fail(1)) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 Py_INCREF(Py_None
); resultobj
= Py_None
;
8088 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8091 wxInputStream
*result
;
8092 PyObject
* obj0
= 0 ;
8094 (char *) "self", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
8098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8099 if (SWIG_arg_fail(1)) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 result
= (wxInputStream
*)(arg1
)->GetStream();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8108 wxPyInputStream
* _ptr
= NULL
;
8111 _ptr
= new wxPyInputStream(result
);
8113 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
8121 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8125 PyObject
* obj0
= 0 ;
8127 (char *) "self", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
8131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8132 if (SWIG_arg_fail(1)) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 wxString
const &_result_ref
= (arg1
)->GetMimeType();
8137 result
= (wxString
*) &_result_ref
;
8140 wxPyEndAllowThreads(__tstate
);
8141 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8147 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8156 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "self", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
8166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8167 if (SWIG_arg_fail(1)) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 wxString
const &_result_ref
= (arg1
)->GetLocation();
8172 result
= (wxString
*) &_result_ref
;
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8180 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8182 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8191 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "self", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
8201 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8202 if (SWIG_arg_fail(1)) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 wxString
const &_result_ref
= (arg1
)->GetAnchor();
8207 result
= (wxString
*) &_result_ref
;
8210 wxPyEndAllowThreads(__tstate
);
8211 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
8217 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
8226 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
;
8228 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
8230 PyObject
* obj0
= 0 ;
8232 (char *) "self", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
8236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFSFile
, SWIG_POINTER_EXCEPTION
| 0);
8237 if (SWIG_arg_fail(1)) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 result
= (arg1
)->GetModificationTime();
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8246 wxDateTime
* resultptr
;
8247 resultptr
= new wxDateTime((wxDateTime
&)(result
));
8248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
8256 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
8258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8259 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
8261 return Py_BuildValue((char *)"");
8263 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8266 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
8268 return Py_BuildValue((char *)"");
8270 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8271 PyObject
*resultobj
;
8272 wxPyFileSystemHandler
*result
;
8277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
8292 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8295 PyObject
*arg2
= (PyObject
*) 0 ;
8296 PyObject
*arg3
= (PyObject
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8298 PyObject
* obj1
= 0 ;
8299 PyObject
* obj2
= 0 ;
8301 (char *) "self",(char *) "self",(char *) "_class", NULL
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8305 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8306 if (SWIG_arg_fail(1)) SWIG_fail
;
8310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8311 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8313 wxPyEndAllowThreads(__tstate
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 Py_INCREF(Py_None
); resultobj
= Py_None
;
8323 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8326 wxString
*arg2
= 0 ;
8328 bool temp2
= false ;
8329 PyObject
* obj0
= 0 ;
8330 PyObject
* obj1
= 0 ;
8332 (char *) "self",(char *) "location", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
8336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8337 if (SWIG_arg_fail(1)) SWIG_fail
;
8339 arg2
= wxString_in_helper(obj1
);
8340 if (arg2
== NULL
) SWIG_fail
;
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8367 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8370 wxFileSystem
*arg2
= 0 ;
8371 wxString
*arg3
= 0 ;
8373 bool temp3
= false ;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8376 PyObject
* obj2
= 0 ;
8378 (char *) "self",(char *) "fs",(char *) "location", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8383 if (SWIG_arg_fail(1)) SWIG_fail
;
8385 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8386 if (SWIG_arg_fail(2)) SWIG_fail
;
8388 SWIG_null_ref("wxFileSystem");
8390 if (SWIG_arg_fail(2)) SWIG_fail
;
8393 arg3
= wxString_in_helper(obj2
);
8394 if (arg3
== NULL
) SWIG_fail
;
8398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8399 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= wxPyMake_wxObject(result
, 1);
8421 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8424 wxString
*arg2
= 0 ;
8425 int arg3
= (int) 0 ;
8427 bool temp2
= false ;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8430 PyObject
* obj2
= 0 ;
8432 (char *) "self",(char *) "spec",(char *) "flags", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8437 if (SWIG_arg_fail(1)) SWIG_fail
;
8439 arg2
= wxString_in_helper(obj1
);
8440 if (arg2
== NULL
) SWIG_fail
;
8445 arg3
= (int)(SWIG_As_int(obj2
));
8446 if (SWIG_arg_fail(3)) SWIG_fail
;
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8453 wxPyEndAllowThreads(__tstate
);
8454 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8477 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8481 PyObject
* obj0
= 0 ;
8483 (char *) "self", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8488 if (SWIG_arg_fail(1)) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= (arg1
)->FindNext();
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8509 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8512 wxString
*arg2
= 0 ;
8514 bool temp2
= false ;
8515 PyObject
* obj0
= 0 ;
8516 PyObject
* obj1
= 0 ;
8518 (char *) "self",(char *) "location", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
8522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8523 if (SWIG_arg_fail(1)) SWIG_fail
;
8525 arg2
= wxString_in_helper(obj1
);
8526 if (arg2
== NULL
) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8557 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8560 wxString
*arg2
= 0 ;
8562 bool temp2
= false ;
8563 PyObject
* obj0
= 0 ;
8564 PyObject
* obj1
= 0 ;
8566 (char *) "self",(char *) "location", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8571 if (SWIG_arg_fail(1)) SWIG_fail
;
8573 arg2
= wxString_in_helper(obj1
);
8574 if (arg2
== NULL
) SWIG_fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8605 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8608 wxString
*arg2
= 0 ;
8610 bool temp2
= false ;
8611 PyObject
* obj0
= 0 ;
8612 PyObject
* obj1
= 0 ;
8614 (char *) "self",(char *) "location", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
8618 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8619 if (SWIG_arg_fail(1)) SWIG_fail
;
8621 arg2
= wxString_in_helper(obj1
);
8622 if (arg2
== NULL
) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8653 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8656 wxString
*arg2
= 0 ;
8658 bool temp2
= false ;
8659 PyObject
* obj0
= 0 ;
8660 PyObject
* obj1
= 0 ;
8662 (char *) "self",(char *) "location", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
8666 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8667 if (SWIG_arg_fail(1)) SWIG_fail
;
8669 arg2
= wxString_in_helper(obj1
);
8670 if (arg2
== NULL
) SWIG_fail
;
8674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8675 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8701 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
8704 wxString
*arg2
= 0 ;
8706 bool temp2
= false ;
8707 PyObject
* obj0
= 0 ;
8708 PyObject
* obj1
= 0 ;
8710 (char *) "self",(char *) "location", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
8714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
8715 if (SWIG_arg_fail(1)) SWIG_fail
;
8717 arg2
= wxString_in_helper(obj1
);
8718 if (arg2
== NULL
) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8749 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
8751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8752 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
8754 return Py_BuildValue((char *)"");
8756 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxFileSystem
*result
;
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (wxFileSystem
*)new wxFileSystem();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= wxPyMake_wxObject(result
, 1);
8780 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8783 PyObject
* obj0
= 0 ;
8785 (char *) "self", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
8789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8790 if (SWIG_arg_fail(1)) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 Py_INCREF(Py_None
); resultobj
= Py_None
;
8805 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8808 wxString
*arg2
= 0 ;
8809 bool arg3
= (bool) false ;
8810 bool temp2
= false ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8813 PyObject
* obj2
= 0 ;
8815 (char *) "self",(char *) "location",(char *) "is_dir", NULL
8818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8820 if (SWIG_arg_fail(1)) SWIG_fail
;
8822 arg2
= wxString_in_helper(obj1
);
8823 if (arg2
== NULL
) SWIG_fail
;
8828 arg3
= (bool)(SWIG_As_bool(obj2
));
8829 if (SWIG_arg_fail(3)) SWIG_fail
;
8833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8834 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
8836 wxPyEndAllowThreads(__tstate
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 Py_INCREF(Py_None
); resultobj
= Py_None
;
8854 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8860 (char *) "self", NULL
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
8864 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8865 if (SWIG_arg_fail(1)) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (arg1
)->GetPath();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8877 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8886 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8889 wxString
*arg2
= 0 ;
8891 bool temp2
= false ;
8892 PyObject
* obj0
= 0 ;
8893 PyObject
* obj1
= 0 ;
8895 (char *) "self",(char *) "location", NULL
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8900 if (SWIG_arg_fail(1)) SWIG_fail
;
8902 arg2
= wxString_in_helper(obj1
);
8903 if (arg2
== NULL
) SWIG_fail
;
8907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
8910 wxPyEndAllowThreads(__tstate
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8914 resultobj
= wxPyMake_wxObject(result
, 1);
8930 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8933 wxString
*arg2
= 0 ;
8934 int arg3
= (int) 0 ;
8936 bool temp2
= false ;
8937 PyObject
* obj0
= 0 ;
8938 PyObject
* obj1
= 0 ;
8939 PyObject
* obj2
= 0 ;
8941 (char *) "self",(char *) "spec",(char *) "flags", NULL
8944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8946 if (SWIG_arg_fail(1)) SWIG_fail
;
8948 arg2
= wxString_in_helper(obj1
);
8949 if (arg2
== NULL
) SWIG_fail
;
8954 arg3
= (int)(SWIG_As_int(obj2
));
8955 if (SWIG_arg_fail(3)) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8986 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "self", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
8996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
8997 if (SWIG_arg_fail(1)) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (arg1
)->FindNext();
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9018 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9021 PyObject
* obj0
= 0 ;
9023 (char *) "handler", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
9027 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_EXCEPTION
| 0);
9028 if (SWIG_arg_fail(1)) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 wxFileSystem::AddHandler(arg1
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 Py_INCREF(Py_None
); resultobj
= Py_None
;
9043 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
9051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9052 wxFileSystem::CleanUpHandlers();
9054 wxPyEndAllowThreads(__tstate
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9057 Py_INCREF(Py_None
); resultobj
= Py_None
;
9064 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxString
*arg1
= 0 ;
9068 bool temp1
= false ;
9069 PyObject
* obj0
= 0 ;
9071 (char *) "filename", NULL
9074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
9076 arg1
= wxString_in_helper(obj0
);
9077 if (arg1
== NULL
) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9091 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9108 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9109 PyObject
*resultobj
;
9110 wxString
*arg1
= 0 ;
9112 bool temp1
= false ;
9113 PyObject
* obj0
= 0 ;
9115 (char *) "url", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
9120 arg1
= wxString_in_helper(obj0
);
9121 if (arg1
== NULL
) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= FileSystem_URLToFileName((wxString
const &)*arg1
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9152 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
9154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9155 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
9157 return Py_BuildValue((char *)"");
9159 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxInternetFSHandler
*result
;
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
9181 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9184 wxString
*arg2
= 0 ;
9186 bool temp2
= false ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9190 (char *) "self",(char *) "location", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9195 if (SWIG_arg_fail(1)) SWIG_fail
;
9197 arg2
= wxString_in_helper(obj1
);
9198 if (arg2
== NULL
) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9225 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
9228 wxFileSystem
*arg2
= 0 ;
9229 wxString
*arg3
= 0 ;
9231 bool temp3
= false ;
9232 PyObject
* obj0
= 0 ;
9233 PyObject
* obj1
= 0 ;
9234 PyObject
* obj2
= 0 ;
9236 (char *) "self",(char *) "fs",(char *) "location", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9241 if (SWIG_arg_fail(1)) SWIG_fail
;
9243 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9244 if (SWIG_arg_fail(2)) SWIG_fail
;
9246 SWIG_null_ref("wxFileSystem");
9248 if (SWIG_arg_fail(2)) SWIG_fail
;
9251 arg3
= wxString_in_helper(obj2
);
9252 if (arg3
== NULL
) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9257 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9259 wxPyEndAllowThreads(__tstate
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= wxPyMake_wxObject(result
, 1);
9279 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9282 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
9284 return Py_BuildValue((char *)"");
9286 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxZipFSHandler
*result
;
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (wxZipFSHandler
*)new wxZipFSHandler();
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
9308 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9309 PyObject
*resultobj
;
9310 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9311 wxString
*arg2
= 0 ;
9313 bool temp2
= false ;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9317 (char *) "self",(char *) "location", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9322 if (SWIG_arg_fail(1)) SWIG_fail
;
9324 arg2
= wxString_in_helper(obj1
);
9325 if (arg2
== NULL
) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9352 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9355 wxFileSystem
*arg2
= 0 ;
9356 wxString
*arg3
= 0 ;
9358 bool temp3
= false ;
9359 PyObject
* obj0
= 0 ;
9360 PyObject
* obj1
= 0 ;
9361 PyObject
* obj2
= 0 ;
9363 (char *) "self",(char *) "fs",(char *) "location", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9367 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9368 if (SWIG_arg_fail(1)) SWIG_fail
;
9370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9371 if (SWIG_arg_fail(2)) SWIG_fail
;
9373 SWIG_null_ref("wxFileSystem");
9375 if (SWIG_arg_fail(2)) SWIG_fail
;
9378 arg3
= wxString_in_helper(obj2
);
9379 if (arg3
== NULL
) SWIG_fail
;
9383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= wxPyMake_wxObject(result
, 1);
9406 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9407 PyObject
*resultobj
;
9408 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9409 wxString
*arg2
= 0 ;
9410 int arg3
= (int) 0 ;
9412 bool temp2
= false ;
9413 PyObject
* obj0
= 0 ;
9414 PyObject
* obj1
= 0 ;
9415 PyObject
* obj2
= 0 ;
9417 (char *) "self",(char *) "spec",(char *) "flags", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9422 if (SWIG_arg_fail(1)) SWIG_fail
;
9424 arg2
= wxString_in_helper(obj1
);
9425 if (arg2
== NULL
) SWIG_fail
;
9430 arg3
= (int)(SWIG_As_int(obj2
));
9431 if (SWIG_arg_fail(3)) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9462 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9468 (char *) "self", NULL
9471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9473 if (SWIG_arg_fail(1)) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (arg1
)->FindNext();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9494 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9497 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
9499 return Py_BuildValue((char *)"");
9501 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxString
*arg1
= 0 ;
9506 bool temp1
= false ;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 PyObject
* obj2
= 0 ;
9511 (char *) "filename",(char *) "image",(char *) "type", NULL
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9516 arg1
= wxString_in_helper(obj0
);
9517 if (arg1
== NULL
) SWIG_fail
;
9521 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
9522 if (SWIG_arg_fail(2)) SWIG_fail
;
9524 SWIG_null_ref("wxImage");
9526 if (SWIG_arg_fail(2)) SWIG_fail
;
9529 arg3
= (long)(SWIG_As_long(obj2
));
9530 if (SWIG_arg_fail(3)) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 Py_INCREF(Py_None
); resultobj
= Py_None
;
9554 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxString
*arg1
= 0 ;
9557 wxBitmap
*arg2
= 0 ;
9559 bool temp1
= false ;
9560 PyObject
* obj0
= 0 ;
9561 PyObject
* obj1
= 0 ;
9562 PyObject
* obj2
= 0 ;
9564 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9569 arg1
= wxString_in_helper(obj0
);
9570 if (arg1
== NULL
) SWIG_fail
;
9574 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
9575 if (SWIG_arg_fail(2)) SWIG_fail
;
9577 SWIG_null_ref("wxBitmap");
9579 if (SWIG_arg_fail(2)) SWIG_fail
;
9582 arg3
= (long)(SWIG_As_long(obj2
));
9583 if (SWIG_arg_fail(3)) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 Py_INCREF(Py_None
); resultobj
= Py_None
;
9607 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9608 PyObject
*resultobj
;
9609 wxString
*arg1
= 0 ;
9610 PyObject
*arg2
= (PyObject
*) 0 ;
9611 bool temp1
= false ;
9612 PyObject
* obj0
= 0 ;
9613 PyObject
* obj1
= 0 ;
9615 (char *) "filename",(char *) "data", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
9620 arg1
= wxString_in_helper(obj0
);
9621 if (arg1
== NULL
) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 Py_INCREF(Py_None
); resultobj
= Py_None
;
9647 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxMemoryFSHandler
*result
;
9654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
9669 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxString
*arg1
= 0 ;
9672 bool temp1
= false ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "filename", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
9680 arg1
= wxString_in_helper(obj0
);
9681 if (arg1
== NULL
) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 Py_INCREF(Py_None
); resultobj
= Py_None
;
9706 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9709 wxString
*arg2
= 0 ;
9711 bool temp2
= false ;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9715 (char *) "self",(char *) "location", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
9719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9720 if (SWIG_arg_fail(1)) SWIG_fail
;
9722 arg2
= wxString_in_helper(obj1
);
9723 if (arg2
== NULL
) SWIG_fail
;
9727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9728 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9750 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9753 wxFileSystem
*arg2
= 0 ;
9754 wxString
*arg3
= 0 ;
9756 bool temp3
= false ;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 PyObject
* obj2
= 0 ;
9761 (char *) "self",(char *) "fs",(char *) "location", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9766 if (SWIG_arg_fail(1)) SWIG_fail
;
9768 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_EXCEPTION
| 0);
9769 if (SWIG_arg_fail(2)) SWIG_fail
;
9771 SWIG_null_ref("wxFileSystem");
9773 if (SWIG_arg_fail(2)) SWIG_fail
;
9776 arg3
= wxString_in_helper(obj2
);
9777 if (arg3
== NULL
) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= wxPyMake_wxObject(result
, 1);
9804 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9807 wxString
*arg2
= 0 ;
9808 int arg3
= (int) 0 ;
9810 bool temp2
= false ;
9811 PyObject
* obj0
= 0 ;
9812 PyObject
* obj1
= 0 ;
9813 PyObject
* obj2
= 0 ;
9815 (char *) "self",(char *) "spec",(char *) "flags", NULL
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9820 if (SWIG_arg_fail(1)) SWIG_fail
;
9822 arg2
= wxString_in_helper(obj1
);
9823 if (arg2
== NULL
) SWIG_fail
;
9828 arg3
= (int)(SWIG_As_int(obj2
));
9829 if (SWIG_arg_fail(3)) SWIG_fail
;
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9860 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
9870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_EXCEPTION
| 0);
9871 if (SWIG_arg_fail(1)) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (arg1
)->FindNext();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9881 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9883 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9892 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
9894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9895 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
9897 return Py_BuildValue((char *)"");
9899 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "self", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
9909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9910 if (SWIG_arg_fail(1)) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (arg1
)->GetName();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9931 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
;
9933 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9935 PyObject
* obj0
= 0 ;
9937 (char *) "self", NULL
9940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
9941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
9942 if (SWIG_arg_fail(1)) SWIG_fail
;
9944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9945 result
= (arg1
)->GetExtension();
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9963 static PyObject
*_wrap_ImageHandler_GetType(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_GetType",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
= (long)(arg1
)->GetType();
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_From_long((long)(result
));
9991 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9993 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9995 PyObject
* obj0
= 0 ;
9997 (char *) "self", NULL
10000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
10001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10002 if (SWIG_arg_fail(1)) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 result
= (arg1
)->GetMimeType();
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10023 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10026 wxString
*arg2
= 0 ;
10028 bool temp2
= false ;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 char *kwnames
[] = {
10032 (char *) "self",(char *) "name", NULL
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
10036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10037 if (SWIG_arg_fail(1)) SWIG_fail
;
10039 arg2
= wxString_in_helper(obj1
);
10040 if (arg2
== NULL
) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10067 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10070 wxString
*arg2
= 0 ;
10071 bool temp2
= false ;
10072 PyObject
* obj0
= 0 ;
10073 PyObject
* obj1
= 0 ;
10074 char *kwnames
[] = {
10075 (char *) "self",(char *) "name", NULL
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
10079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10080 if (SWIG_arg_fail(1)) SWIG_fail
;
10082 arg2
= wxString_in_helper(obj1
);
10083 if (arg2
== NULL
) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 (arg1
)->SetName((wxString
const &)*arg2
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 Py_INCREF(Py_None
); resultobj
= Py_None
;
10108 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10111 wxString
*arg2
= 0 ;
10112 bool temp2
= false ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self",(char *) "extension", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
10120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10121 if (SWIG_arg_fail(1)) SWIG_fail
;
10123 arg2
= wxString_in_helper(obj1
);
10124 if (arg2
== NULL
) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 (arg1
)->SetExtension((wxString
const &)*arg2
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 Py_INCREF(Py_None
); resultobj
= Py_None
;
10149 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10153 PyObject
* obj0
= 0 ;
10154 PyObject
* obj1
= 0 ;
10155 char *kwnames
[] = {
10156 (char *) "self",(char *) "type", NULL
10159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
10160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10161 if (SWIG_arg_fail(1)) SWIG_fail
;
10163 arg2
= (long)(SWIG_As_long(obj1
));
10164 if (SWIG_arg_fail(2)) SWIG_fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 (arg1
)->SetType(arg2
);
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10173 Py_INCREF(Py_None
); resultobj
= Py_None
;
10180 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10181 PyObject
*resultobj
;
10182 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10183 wxString
*arg2
= 0 ;
10184 bool temp2
= false ;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self",(char *) "mimetype", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
10192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
10193 if (SWIG_arg_fail(1)) SWIG_fail
;
10195 arg2
= wxString_in_helper(obj1
);
10196 if (arg2
== NULL
) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 (arg1
)->SetMimeType((wxString
const &)*arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 Py_INCREF(Py_None
); resultobj
= Py_None
;
10221 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
10223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10224 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
10226 return Py_BuildValue((char *)"");
10228 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxImageHistogram
*result
;
10231 char *kwnames
[] = {
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (wxImageHistogram
*)new wxImageHistogram();
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
10250 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10255 unsigned long result
;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 PyObject
* obj2
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "r",(char *) "g",(char *) "b", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10265 arg1
= (byte
)(SWIG_As_unsigned_SS_char(obj0
));
10266 if (SWIG_arg_fail(1)) SWIG_fail
;
10269 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10270 if (SWIG_arg_fail(2)) SWIG_fail
;
10273 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10274 if (SWIG_arg_fail(3)) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10292 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10295 byte
*arg2
= (byte
*) 0 ;
10296 byte
*arg3
= (byte
*) 0 ;
10297 byte
*arg4
= (byte
*) 0 ;
10298 byte arg5
= (byte
) 1 ;
10299 byte arg6
= (byte
) 0 ;
10300 byte arg7
= (byte
) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 PyObject
* obj1
= 0 ;
10310 PyObject
* obj2
= 0 ;
10311 PyObject
* obj3
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
10316 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
10317 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
10318 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10321 if (SWIG_arg_fail(1)) SWIG_fail
;
10324 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10325 if (SWIG_arg_fail(5)) SWIG_fail
;
10330 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10331 if (SWIG_arg_fail(6)) SWIG_fail
;
10336 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10337 if (SWIG_arg_fail(7)) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10350 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
10351 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
10352 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
10353 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
10354 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
10355 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
10362 static PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10365 unsigned long arg2
;
10366 unsigned long result
;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self",(char *) "key", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10375 if (SWIG_arg_fail(1)) SWIG_fail
;
10377 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
10378 if (SWIG_arg_fail(2)) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10396 static PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10402 unsigned long result
;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 PyObject
* obj2
= 0 ;
10406 PyObject
* obj3
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10413 if (SWIG_arg_fail(1)) SWIG_fail
;
10415 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
10416 if (SWIG_arg_fail(2)) SWIG_fail
;
10419 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
10420 if (SWIG_arg_fail(3)) SWIG_fail
;
10423 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
10424 if (SWIG_arg_fail(4)) SWIG_fail
;
10427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10428 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
10430 wxPyEndAllowThreads(__tstate
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10434 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10442 static PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
10445 wxColour
*arg2
= 0 ;
10446 unsigned long result
;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self",(char *) "colour", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) goto fail
;
10455 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
10456 if (SWIG_arg_fail(1)) SWIG_fail
;
10459 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10463 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
10465 wxPyEndAllowThreads(__tstate
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
10477 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
10479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10480 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
10482 return Py_BuildValue((char *)"");
10484 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxString
*arg1
= 0 ;
10487 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10488 int arg3
= (int) -1 ;
10490 bool temp1
= false ;
10491 PyObject
* obj0
= 0 ;
10492 PyObject
* obj1
= 0 ;
10493 PyObject
* obj2
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "name",(char *) "type",(char *) "index", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10500 arg1
= wxString_in_helper(obj0
);
10501 if (arg1
== NULL
) SWIG_fail
;
10506 arg2
= (long)(SWIG_As_long(obj1
));
10507 if (SWIG_arg_fail(2)) SWIG_fail
;
10512 arg3
= (int)(SWIG_As_int(obj2
));
10513 if (SWIG_arg_fail(3)) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10538 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxImage
*arg1
= (wxImage
*) 0 ;
10541 PyObject
* obj0
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
10547 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10548 if (SWIG_arg_fail(1)) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10563 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxString
*arg1
= 0 ;
10566 wxString
*arg2
= 0 ;
10567 int arg3
= (int) -1 ;
10569 bool temp1
= false ;
10570 bool temp2
= false ;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 PyObject
* obj2
= 0 ;
10574 char *kwnames
[] = {
10575 (char *) "name",(char *) "mimetype",(char *) "index", NULL
10578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10580 arg1
= wxString_in_helper(obj0
);
10581 if (arg1
== NULL
) SWIG_fail
;
10585 arg2
= wxString_in_helper(obj1
);
10586 if (arg2
== NULL
) SWIG_fail
;
10591 arg3
= (int)(SWIG_As_int(obj2
));
10592 if (SWIG_arg_fail(3)) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10625 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxInputStream
*arg1
= 0 ;
10628 long arg2
= (long) wxBITMAP_TYPE_ANY
;
10629 int arg3
= (int) -1 ;
10631 wxPyInputStream
*temp1
;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 PyObject
* obj2
= 0 ;
10636 char *kwnames
[] = {
10637 (char *) "stream",(char *) "type",(char *) "index", NULL
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10642 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10643 arg1
= temp1
->m_wxis
;
10646 PyErr_Clear(); // clear the failure of the wxPyConvert above
10647 arg1
= wxPyCBInputStream_create(obj0
, false);
10648 if (arg1
== NULL
) {
10649 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10657 arg2
= (long)(SWIG_As_long(obj1
));
10658 if (SWIG_arg_fail(2)) SWIG_fail
;
10663 arg3
= (int)(SWIG_As_int(obj2
));
10664 if (SWIG_arg_fail(3)) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10676 if (created1
) delete arg1
;
10681 if (created1
) delete arg1
;
10687 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxInputStream
*arg1
= 0 ;
10690 wxString
*arg2
= 0 ;
10691 int arg3
= (int) -1 ;
10693 wxPyInputStream
*temp1
;
10695 bool temp2
= false ;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 PyObject
* obj2
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10705 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
10706 arg1
= temp1
->m_wxis
;
10709 PyErr_Clear(); // clear the failure of the wxPyConvert above
10710 arg1
= wxPyCBInputStream_create(obj0
, false);
10711 if (arg1
== NULL
) {
10712 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
10719 arg2
= wxString_in_helper(obj1
);
10720 if (arg2
== NULL
) SWIG_fail
;
10725 arg3
= (int)(SWIG_As_int(obj2
));
10726 if (SWIG_arg_fail(3)) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10738 if (created1
) delete arg1
;
10747 if (created1
) delete arg1
;
10757 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 int arg1
= (int) 0 ;
10760 int arg2
= (int) 0 ;
10761 bool arg3
= (bool) true ;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 PyObject
* obj2
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "width",(char *) "height",(char *) "clear", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10773 arg1
= (int)(SWIG_As_int(obj0
));
10774 if (SWIG_arg_fail(1)) SWIG_fail
;
10779 arg2
= (int)(SWIG_As_int(obj1
));
10780 if (SWIG_arg_fail(2)) SWIG_fail
;
10785 arg3
= (bool)(SWIG_As_bool(obj2
));
10786 if (SWIG_arg_fail(3)) SWIG_fail
;
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
10793 wxPyEndAllowThreads(__tstate
);
10794 if (PyErr_Occurred()) SWIG_fail
;
10796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10803 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxBitmap
*arg1
= 0 ;
10807 PyObject
* obj0
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "bitmap", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
10814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
10815 if (SWIG_arg_fail(1)) SWIG_fail
;
10816 if (arg1
== NULL
) {
10817 SWIG_null_ref("wxBitmap");
10819 if (SWIG_arg_fail(1)) SWIG_fail
;
10822 if (!wxPyCheckForApp()) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10836 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10843 PyObject
* obj0
= 0 ;
10844 PyObject
* obj1
= 0 ;
10845 PyObject
* obj2
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "width",(char *) "height",(char *) "data", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10852 arg1
= (int)(SWIG_As_int(obj0
));
10853 if (SWIG_arg_fail(1)) SWIG_fail
;
10856 arg2
= (int)(SWIG_As_int(obj1
));
10857 if (SWIG_arg_fail(2)) SWIG_fail
;
10860 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10876 static PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10877 PyObject
*resultobj
;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 PyObject
* obj3
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10895 arg1
= (int)(SWIG_As_int(obj0
));
10896 if (SWIG_arg_fail(1)) SWIG_fail
;
10899 arg2
= (int)(SWIG_As_int(obj1
));
10900 if (SWIG_arg_fail(2)) SWIG_fail
;
10903 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
10906 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
10922 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxImage
*arg1
= (wxImage
*) 0 ;
10927 bool arg4
= (bool) true ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 PyObject
* obj2
= 0 ;
10931 PyObject
* obj3
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10938 if (SWIG_arg_fail(1)) SWIG_fail
;
10940 arg2
= (int)(SWIG_As_int(obj1
));
10941 if (SWIG_arg_fail(2)) SWIG_fail
;
10944 arg3
= (int)(SWIG_As_int(obj2
));
10945 if (SWIG_arg_fail(3)) SWIG_fail
;
10949 arg4
= (bool)(SWIG_As_bool(obj3
));
10950 if (SWIG_arg_fail(4)) SWIG_fail
;
10954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10955 (arg1
)->Create(arg2
,arg3
,arg4
);
10957 wxPyEndAllowThreads(__tstate
);
10958 if (PyErr_Occurred()) SWIG_fail
;
10960 Py_INCREF(Py_None
); resultobj
= Py_None
;
10967 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10968 PyObject
*resultobj
;
10969 wxImage
*arg1
= (wxImage
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
10976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
10977 if (SWIG_arg_fail(1)) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 Py_INCREF(Py_None
); resultobj
= Py_None
;
10992 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxImage
*arg1
= (wxImage
*) 0 ;
10997 SwigValueWrapper
<wxImage
> result
;
10998 PyObject
* obj0
= 0 ;
10999 PyObject
* obj1
= 0 ;
11000 PyObject
* obj2
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "self",(char *) "width",(char *) "height", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11007 if (SWIG_arg_fail(1)) SWIG_fail
;
11009 arg2
= (int)(SWIG_As_int(obj1
));
11010 if (SWIG_arg_fail(2)) SWIG_fail
;
11013 arg3
= (int)(SWIG_As_int(obj2
));
11014 if (SWIG_arg_fail(3)) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (arg1
)->Scale(arg2
,arg3
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11024 wxImage
* resultptr
;
11025 resultptr
= new wxImage((wxImage
&)(result
));
11026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11034 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11035 PyObject
*resultobj
;
11036 wxImage
*arg1
= (wxImage
*) 0 ;
11039 SwigValueWrapper
<wxImage
> result
;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 PyObject
* obj2
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11049 if (SWIG_arg_fail(1)) SWIG_fail
;
11051 arg2
= (int)(SWIG_As_int(obj1
));
11052 if (SWIG_arg_fail(2)) SWIG_fail
;
11055 arg3
= (int)(SWIG_As_int(obj2
));
11056 if (SWIG_arg_fail(3)) SWIG_fail
;
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11066 wxImage
* resultptr
;
11067 resultptr
= new wxImage((wxImage
&)(result
));
11068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
11076 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxImage
*arg1
= (wxImage
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 PyObject
* obj1
= 0 ;
11084 PyObject
* obj2
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "self",(char *) "width",(char *) "height", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11091 if (SWIG_arg_fail(1)) SWIG_fail
;
11093 arg2
= (int)(SWIG_As_int(obj1
));
11094 if (SWIG_arg_fail(2)) SWIG_fail
;
11097 arg3
= (int)(SWIG_As_int(obj2
));
11098 if (SWIG_arg_fail(3)) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
11104 result
= (wxImage
*) &_result_ref
;
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11117 static PyObject
*_wrap_Image_Resize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxImage
*arg1
= (wxImage
*) 0 ;
11121 wxPoint
*arg3
= 0 ;
11122 int arg4
= (int) -1 ;
11123 int arg5
= (int) -1 ;
11124 int arg6
= (int) -1 ;
11128 PyObject
* obj0
= 0 ;
11129 PyObject
* obj1
= 0 ;
11130 PyObject
* obj2
= 0 ;
11131 PyObject
* obj3
= 0 ;
11132 PyObject
* obj4
= 0 ;
11133 PyObject
* obj5
= 0 ;
11134 char *kwnames
[] = {
11135 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
11138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11140 if (SWIG_arg_fail(1)) SWIG_fail
;
11143 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11147 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11151 arg4
= (int)(SWIG_As_int(obj3
));
11152 if (SWIG_arg_fail(4)) SWIG_fail
;
11157 arg5
= (int)(SWIG_As_int(obj4
));
11158 if (SWIG_arg_fail(5)) SWIG_fail
;
11163 arg6
= (int)(SWIG_As_int(obj5
));
11164 if (SWIG_arg_fail(6)) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
11171 result
= (wxImage
*) &_result_ref
;
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
11184 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxImage
*arg1
= (wxImage
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 PyObject
* obj1
= 0 ;
11194 PyObject
* obj2
= 0 ;
11195 PyObject
* obj3
= 0 ;
11196 PyObject
* obj4
= 0 ;
11197 PyObject
* obj5
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11204 if (SWIG_arg_fail(1)) SWIG_fail
;
11206 arg2
= (int)(SWIG_As_int(obj1
));
11207 if (SWIG_arg_fail(2)) SWIG_fail
;
11210 arg3
= (int)(SWIG_As_int(obj2
));
11211 if (SWIG_arg_fail(3)) SWIG_fail
;
11214 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11215 if (SWIG_arg_fail(4)) SWIG_fail
;
11218 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11219 if (SWIG_arg_fail(5)) SWIG_fail
;
11222 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
11223 if (SWIG_arg_fail(6)) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 Py_INCREF(Py_None
); resultobj
= Py_None
;
11239 static PyObject
*_wrap_Image_SetRGBRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxImage
*arg1
= (wxImage
*) 0 ;
11247 PyObject
* obj0
= 0 ;
11248 PyObject
* obj1
= 0 ;
11249 PyObject
* obj2
= 0 ;
11250 PyObject
* obj3
= 0 ;
11251 PyObject
* obj4
= 0 ;
11252 char *kwnames
[] = {
11253 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11258 if (SWIG_arg_fail(1)) SWIG_fail
;
11261 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11264 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11265 if (SWIG_arg_fail(3)) SWIG_fail
;
11268 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11269 if (SWIG_arg_fail(4)) SWIG_fail
;
11272 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11273 if (SWIG_arg_fail(5)) SWIG_fail
;
11276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11277 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 Py_INCREF(Py_None
); resultobj
= Py_None
;
11289 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
;
11291 wxImage
*arg1
= (wxImage
*) 0 ;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 PyObject
* obj2
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self",(char *) "x",(char *) "y", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11304 if (SWIG_arg_fail(1)) SWIG_fail
;
11306 arg2
= (int)(SWIG_As_int(obj1
));
11307 if (SWIG_arg_fail(2)) SWIG_fail
;
11310 arg3
= (int)(SWIG_As_int(obj2
));
11311 if (SWIG_arg_fail(3)) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11329 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxImage
*arg1
= (wxImage
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 PyObject
* obj2
= 0 ;
11338 char *kwnames
[] = {
11339 (char *) "self",(char *) "x",(char *) "y", NULL
11342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11343 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11344 if (SWIG_arg_fail(1)) SWIG_fail
;
11346 arg2
= (int)(SWIG_As_int(obj1
));
11347 if (SWIG_arg_fail(2)) SWIG_fail
;
11350 arg3
= (int)(SWIG_As_int(obj2
));
11351 if (SWIG_arg_fail(3)) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11361 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11369 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxImage
*arg1
= (wxImage
*) 0 ;
11375 PyObject
* obj0
= 0 ;
11376 PyObject
* obj1
= 0 ;
11377 PyObject
* obj2
= 0 ;
11378 char *kwnames
[] = {
11379 (char *) "self",(char *) "x",(char *) "y", NULL
11382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11383 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11384 if (SWIG_arg_fail(1)) SWIG_fail
;
11386 arg2
= (int)(SWIG_As_int(obj1
));
11387 if (SWIG_arg_fail(2)) SWIG_fail
;
11390 arg3
= (int)(SWIG_As_int(obj2
));
11391 if (SWIG_arg_fail(3)) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11409 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxImage
*arg1
= (wxImage
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 PyObject
* obj1
= 0 ;
11417 PyObject
* obj2
= 0 ;
11418 PyObject
* obj3
= 0 ;
11419 char *kwnames
[] = {
11420 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
11423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11425 if (SWIG_arg_fail(1)) SWIG_fail
;
11427 arg2
= (int)(SWIG_As_int(obj1
));
11428 if (SWIG_arg_fail(2)) SWIG_fail
;
11431 arg3
= (int)(SWIG_As_int(obj2
));
11432 if (SWIG_arg_fail(3)) SWIG_fail
;
11435 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11436 if (SWIG_arg_fail(4)) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 Py_INCREF(Py_None
); resultobj
= Py_None
;
11452 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxImage
*arg1
= (wxImage
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 PyObject
* obj1
= 0 ;
11460 PyObject
* obj2
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self",(char *) "x",(char *) "y", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11467 if (SWIG_arg_fail(1)) SWIG_fail
;
11469 arg2
= (int)(SWIG_As_int(obj1
));
11470 if (SWIG_arg_fail(2)) SWIG_fail
;
11473 arg3
= (int)(SWIG_As_int(obj2
));
11474 if (SWIG_arg_fail(3)) SWIG_fail
;
11477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11478 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
11492 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11493 PyObject
*resultobj
;
11494 wxImage
*arg1
= (wxImage
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "self", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
11502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11503 if (SWIG_arg_fail(1)) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (bool)(arg1
)->HasAlpha();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11520 static PyObject
*_wrap_Image_InitAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxImage
*arg1
= (wxImage
*) 0 ;
11523 PyObject
* obj0
= 0 ;
11524 char *kwnames
[] = {
11525 (char *) "self", NULL
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InitAlpha",kwnames
,&obj0
)) goto fail
;
11529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11530 if (SWIG_arg_fail(1)) SWIG_fail
;
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 (arg1
)->InitAlpha();
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 Py_INCREF(Py_None
); resultobj
= Py_None
;
11545 static PyObject
*_wrap_Image_IsTransparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxImage
*arg1
= (wxImage
*) 0 ;
11550 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11552 PyObject
* obj0
= 0 ;
11553 PyObject
* obj1
= 0 ;
11554 PyObject
* obj2
= 0 ;
11555 PyObject
* obj3
= 0 ;
11556 char *kwnames
[] = {
11557 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11562 if (SWIG_arg_fail(1)) SWIG_fail
;
11564 arg2
= (int)(SWIG_As_int(obj1
));
11565 if (SWIG_arg_fail(2)) SWIG_fail
;
11568 arg3
= (int)(SWIG_As_int(obj2
));
11569 if (SWIG_arg_fail(3)) SWIG_fail
;
11573 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11574 if (SWIG_arg_fail(4)) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11593 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11594 PyObject
*resultobj
;
11595 wxImage
*arg1
= (wxImage
*) 0 ;
11596 byte
*arg2
= (byte
*) 0 ;
11597 byte
*arg3
= (byte
*) 0 ;
11598 byte
*arg4
= (byte
*) 0 ;
11599 byte arg5
= (byte
) 0 ;
11600 byte arg6
= (byte
) 0 ;
11601 byte arg7
= (byte
) 0 ;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 PyObject
* obj2
= 0 ;
11612 PyObject
* obj3
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
11617 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
11618 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
11619 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
11620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11622 if (SWIG_arg_fail(1)) SWIG_fail
;
11625 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11626 if (SWIG_arg_fail(5)) SWIG_fail
;
11631 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11632 if (SWIG_arg_fail(6)) SWIG_fail
;
11637 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11638 if (SWIG_arg_fail(7)) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11651 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
11652 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
11653 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
11654 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
11655 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
11656 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
11663 static PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
*resultobj
;
11665 wxImage
*arg1
= (wxImage
*) 0 ;
11666 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
11668 PyObject
* obj0
= 0 ;
11669 PyObject
* obj1
= 0 ;
11670 char *kwnames
[] = {
11671 (char *) "self",(char *) "threshold", NULL
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
11675 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11676 if (SWIG_arg_fail(1)) SWIG_fail
;
11679 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11680 if (SWIG_arg_fail(2)) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11699 static PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
;
11701 wxImage
*arg1
= (wxImage
*) 0 ;
11706 PyObject
* obj0
= 0 ;
11707 PyObject
* obj1
= 0 ;
11708 PyObject
* obj2
= 0 ;
11709 PyObject
* obj3
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11716 if (SWIG_arg_fail(1)) SWIG_fail
;
11718 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
11719 if (SWIG_arg_fail(2)) SWIG_fail
;
11722 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11723 if (SWIG_arg_fail(3)) SWIG_fail
;
11726 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11727 if (SWIG_arg_fail(4)) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11745 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxImage
*arg1
= (wxImage
*) 0 ;
11748 wxImage
*arg2
= 0 ;
11753 PyObject
* obj0
= 0 ;
11754 PyObject
* obj1
= 0 ;
11755 PyObject
* obj2
= 0 ;
11756 PyObject
* obj3
= 0 ;
11757 PyObject
* obj4
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11764 if (SWIG_arg_fail(1)) SWIG_fail
;
11766 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11767 if (SWIG_arg_fail(2)) SWIG_fail
;
11768 if (arg2
== NULL
) {
11769 SWIG_null_ref("wxImage");
11771 if (SWIG_arg_fail(2)) SWIG_fail
;
11774 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
11775 if (SWIG_arg_fail(3)) SWIG_fail
;
11778 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
11779 if (SWIG_arg_fail(4)) SWIG_fail
;
11782 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
11783 if (SWIG_arg_fail(5)) SWIG_fail
;
11786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11787 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
11789 wxPyEndAllowThreads(__tstate
);
11790 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11801 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxString
*arg1
= 0 ;
11805 bool temp1
= false ;
11806 PyObject
* obj0
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "filename", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
11813 arg1
= wxString_in_helper(obj0
);
11814 if (arg1
== NULL
) SWIG_fail
;
11818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11819 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
11821 wxPyEndAllowThreads(__tstate
);
11822 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11841 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxString
*arg1
= 0 ;
11844 long arg2
= (long) wxBITMAP_TYPE_ANY
;
11846 bool temp1
= false ;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "filename",(char *) "type", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11855 arg1
= wxString_in_helper(obj0
);
11856 if (arg1
== NULL
) SWIG_fail
;
11861 arg2
= (long)(SWIG_As_long(obj1
));
11862 if (SWIG_arg_fail(2)) SWIG_fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_From_int((int)(result
));
11889 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
;
11891 wxImage
*arg1
= (wxImage
*) 0 ;
11892 wxString
*arg2
= 0 ;
11893 long arg3
= (long) wxBITMAP_TYPE_ANY
;
11894 int arg4
= (int) -1 ;
11896 bool temp2
= false ;
11897 PyObject
* obj0
= 0 ;
11898 PyObject
* obj1
= 0 ;
11899 PyObject
* obj2
= 0 ;
11900 PyObject
* obj3
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11907 if (SWIG_arg_fail(1)) SWIG_fail
;
11909 arg2
= wxString_in_helper(obj1
);
11910 if (arg2
== NULL
) SWIG_fail
;
11915 arg3
= (long)(SWIG_As_long(obj2
));
11916 if (SWIG_arg_fail(3)) SWIG_fail
;
11921 arg4
= (int)(SWIG_As_int(obj3
));
11922 if (SWIG_arg_fail(4)) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11949 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxImage
*arg1
= (wxImage
*) 0 ;
11952 wxString
*arg2
= 0 ;
11953 wxString
*arg3
= 0 ;
11954 int arg4
= (int) -1 ;
11956 bool temp2
= false ;
11957 bool temp3
= false ;
11958 PyObject
* obj0
= 0 ;
11959 PyObject
* obj1
= 0 ;
11960 PyObject
* obj2
= 0 ;
11961 PyObject
* obj3
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
11968 if (SWIG_arg_fail(1)) SWIG_fail
;
11970 arg2
= wxString_in_helper(obj1
);
11971 if (arg2
== NULL
) SWIG_fail
;
11975 arg3
= wxString_in_helper(obj2
);
11976 if (arg3
== NULL
) SWIG_fail
;
11981 arg4
= (int)(SWIG_As_int(obj3
));
11982 if (SWIG_arg_fail(4)) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12017 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
;
12019 wxImage
*arg1
= (wxImage
*) 0 ;
12020 wxString
*arg2
= 0 ;
12023 bool temp2
= false ;
12024 PyObject
* obj0
= 0 ;
12025 PyObject
* obj1
= 0 ;
12026 PyObject
* obj2
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self",(char *) "name",(char *) "type", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12033 if (SWIG_arg_fail(1)) SWIG_fail
;
12035 arg2
= wxString_in_helper(obj1
);
12036 if (arg2
== NULL
) SWIG_fail
;
12040 arg3
= (int)(SWIG_As_int(obj2
));
12041 if (SWIG_arg_fail(3)) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12067 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxImage
*arg1
= (wxImage
*) 0 ;
12070 wxString
*arg2
= 0 ;
12071 wxString
*arg3
= 0 ;
12073 bool temp2
= false ;
12074 bool temp3
= false ;
12075 PyObject
* obj0
= 0 ;
12076 PyObject
* obj1
= 0 ;
12077 PyObject
* obj2
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self",(char *) "name",(char *) "mimetype", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12084 if (SWIG_arg_fail(1)) SWIG_fail
;
12086 arg2
= wxString_in_helper(obj1
);
12087 if (arg2
== NULL
) SWIG_fail
;
12091 arg3
= wxString_in_helper(obj2
);
12092 if (arg3
== NULL
) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12127 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxInputStream
*arg1
= 0 ;
12131 wxPyInputStream
*temp1
;
12133 PyObject
* obj0
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "stream", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
12140 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12141 arg1
= temp1
->m_wxis
;
12144 PyErr_Clear(); // clear the failure of the wxPyConvert above
12145 arg1
= wxPyCBInputStream_create(obj0
, false);
12146 if (arg1
== NULL
) {
12147 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (bool)wxImage::CanRead(*arg1
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12164 if (created1
) delete arg1
;
12169 if (created1
) delete arg1
;
12175 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxImage
*arg1
= (wxImage
*) 0 ;
12178 wxInputStream
*arg2
= 0 ;
12179 long arg3
= (long) wxBITMAP_TYPE_ANY
;
12180 int arg4
= (int) -1 ;
12182 wxPyInputStream
*temp2
;
12184 PyObject
* obj0
= 0 ;
12185 PyObject
* obj1
= 0 ;
12186 PyObject
* obj2
= 0 ;
12187 PyObject
* obj3
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12193 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12194 if (SWIG_arg_fail(1)) SWIG_fail
;
12196 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12197 arg2
= temp2
->m_wxis
;
12200 PyErr_Clear(); // clear the failure of the wxPyConvert above
12201 arg2
= wxPyCBInputStream_create(obj1
, false);
12202 if (arg2
== NULL
) {
12203 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12211 arg3
= (long)(SWIG_As_long(obj2
));
12212 if (SWIG_arg_fail(3)) SWIG_fail
;
12217 arg4
= (int)(SWIG_As_int(obj3
));
12218 if (SWIG_arg_fail(4)) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12232 if (created2
) delete arg2
;
12237 if (created2
) delete arg2
;
12243 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxImage
*arg1
= (wxImage
*) 0 ;
12246 wxInputStream
*arg2
= 0 ;
12247 wxString
*arg3
= 0 ;
12248 int arg4
= (int) -1 ;
12250 wxPyInputStream
*temp2
;
12252 bool temp3
= false ;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 PyObject
* obj2
= 0 ;
12256 PyObject
* obj3
= 0 ;
12257 char *kwnames
[] = {
12258 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
12261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12263 if (SWIG_arg_fail(1)) SWIG_fail
;
12265 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
12266 arg2
= temp2
->m_wxis
;
12269 PyErr_Clear(); // clear the failure of the wxPyConvert above
12270 arg2
= wxPyCBInputStream_create(obj1
, false);
12271 if (arg2
== NULL
) {
12272 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12279 arg3
= wxString_in_helper(obj2
);
12280 if (arg3
== NULL
) SWIG_fail
;
12285 arg4
= (int)(SWIG_As_int(obj3
));
12286 if (SWIG_arg_fail(4)) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12300 if (created2
) delete arg2
;
12309 if (created2
) delete arg2
;
12319 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxImage
*arg1
= (wxImage
*) 0 ;
12323 PyObject
* obj0
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
12329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12330 if (SWIG_arg_fail(1)) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 result
= (bool)(arg1
)->Ok();
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12347 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12348 PyObject
*resultobj
;
12349 wxImage
*arg1
= (wxImage
*) 0 ;
12351 PyObject
* obj0
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
12357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12358 if (SWIG_arg_fail(1)) SWIG_fail
;
12360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12361 result
= (int)(arg1
)->GetWidth();
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= SWIG_From_int((int)(result
));
12375 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxImage
*arg1
= (wxImage
*) 0 ;
12379 PyObject
* obj0
= 0 ;
12380 char *kwnames
[] = {
12381 (char *) "self", NULL
12384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
12385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12386 if (SWIG_arg_fail(1)) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (int)(arg1
)->GetHeight();
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= SWIG_From_int((int)(result
));
12403 static PyObject
*_wrap_Image_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxImage
*arg1
= (wxImage
*) 0 ;
12407 PyObject
* obj0
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
12413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12414 if (SWIG_arg_fail(1)) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 result
= wxImage_GetSize(arg1
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12423 wxSize
* resultptr
;
12424 resultptr
= new wxSize((wxSize
&)(result
));
12425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
12433 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxImage
*arg1
= (wxImage
*) 0 ;
12437 SwigValueWrapper
<wxImage
> result
;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self",(char *) "rect", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
12446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12447 if (SWIG_arg_fail(1)) SWIG_fail
;
12450 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12460 wxImage
* resultptr
;
12461 resultptr
= new wxImage((wxImage
&)(result
));
12462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12470 static PyObject
*_wrap_Image_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxImage
*arg1
= (wxImage
*) 0 ;
12474 wxPoint
*arg3
= 0 ;
12475 int arg4
= (int) -1 ;
12476 int arg5
= (int) -1 ;
12477 int arg6
= (int) -1 ;
12478 SwigValueWrapper
<wxImage
> result
;
12481 PyObject
* obj0
= 0 ;
12482 PyObject
* obj1
= 0 ;
12483 PyObject
* obj2
= 0 ;
12484 PyObject
* obj3
= 0 ;
12485 PyObject
* obj4
= 0 ;
12486 PyObject
* obj5
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12493 if (SWIG_arg_fail(1)) SWIG_fail
;
12496 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12500 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12504 arg4
= (int)(SWIG_As_int(obj3
));
12505 if (SWIG_arg_fail(4)) SWIG_fail
;
12510 arg5
= (int)(SWIG_As_int(obj4
));
12511 if (SWIG_arg_fail(5)) SWIG_fail
;
12516 arg6
= (int)(SWIG_As_int(obj5
));
12517 if (SWIG_arg_fail(6)) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12528 wxImage
* resultptr
;
12529 resultptr
= new wxImage((wxImage
&)(result
));
12530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12538 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxImage
*arg1
= (wxImage
*) 0 ;
12541 SwigValueWrapper
<wxImage
> result
;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
12548 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12549 if (SWIG_arg_fail(1)) SWIG_fail
;
12551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12552 result
= (arg1
)->Copy();
12554 wxPyEndAllowThreads(__tstate
);
12555 if (PyErr_Occurred()) SWIG_fail
;
12558 wxImage
* resultptr
;
12559 resultptr
= new wxImage((wxImage
&)(result
));
12560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
12568 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxImage
*arg1
= (wxImage
*) 0 ;
12571 wxImage
*arg2
= 0 ;
12574 PyObject
* obj0
= 0 ;
12575 PyObject
* obj1
= 0 ;
12576 PyObject
* obj2
= 0 ;
12577 PyObject
* obj3
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12583 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12584 if (SWIG_arg_fail(1)) SWIG_fail
;
12586 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12587 if (SWIG_arg_fail(2)) SWIG_fail
;
12588 if (arg2
== NULL
) {
12589 SWIG_null_ref("wxImage");
12591 if (SWIG_arg_fail(2)) SWIG_fail
;
12594 arg3
= (int)(SWIG_As_int(obj2
));
12595 if (SWIG_arg_fail(3)) SWIG_fail
;
12598 arg4
= (int)(SWIG_As_int(obj3
));
12599 if (SWIG_arg_fail(4)) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 Py_INCREF(Py_None
); resultobj
= Py_None
;
12615 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12616 PyObject
*resultobj
;
12617 wxImage
*arg1
= (wxImage
*) 0 ;
12619 PyObject
* obj0
= 0 ;
12620 char *kwnames
[] = {
12621 (char *) "self", NULL
12624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
12625 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12626 if (SWIG_arg_fail(1)) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (PyObject
*)wxImage_GetData(arg1
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= result
;
12641 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12642 PyObject
*resultobj
;
12643 wxImage
*arg1
= (wxImage
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 PyObject
* obj1
= 0 ;
12648 char *kwnames
[] = {
12649 (char *) "self",(char *) "data", NULL
12652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
12653 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12654 if (SWIG_arg_fail(1)) SWIG_fail
;
12656 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 wxImage_SetData(arg1
,arg2
,arg3
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 Py_INCREF(Py_None
); resultobj
= Py_None
;
12672 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxImage
*arg1
= (wxImage
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
12682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12683 if (SWIG_arg_fail(1)) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= result
;
12698 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxImage
*arg1
= (wxImage
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 char *kwnames
[] = {
12706 (char *) "self",(char *) "data", NULL
12709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12710 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12711 if (SWIG_arg_fail(1)) SWIG_fail
;
12713 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 Py_INCREF(Py_None
); resultobj
= Py_None
;
12729 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxImage
*arg1
= (wxImage
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
12739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12740 if (SWIG_arg_fail(1)) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= result
;
12755 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxImage
*arg1
= (wxImage
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 PyObject
* obj1
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self",(char *) "alpha", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
12767 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12768 if (SWIG_arg_fail(1)) SWIG_fail
;
12770 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 Py_INCREF(Py_None
); resultobj
= Py_None
;
12786 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
;
12788 wxImage
*arg1
= (wxImage
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self", NULL
12795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
12796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12797 if (SWIG_arg_fail(1)) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= result
;
12812 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxImage
*arg1
= (wxImage
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 PyObject
* obj1
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self",(char *) "alpha", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
12824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12825 if (SWIG_arg_fail(1)) SWIG_fail
;
12827 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 Py_INCREF(Py_None
); resultobj
= Py_None
;
12843 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxImage
*arg1
= (wxImage
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 PyObject
* obj1
= 0 ;
12851 PyObject
* obj2
= 0 ;
12852 PyObject
* obj3
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12859 if (SWIG_arg_fail(1)) SWIG_fail
;
12861 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
12862 if (SWIG_arg_fail(2)) SWIG_fail
;
12865 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
12866 if (SWIG_arg_fail(3)) SWIG_fail
;
12869 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
12870 if (SWIG_arg_fail(4)) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 Py_INCREF(Py_None
); resultobj
= Py_None
;
12886 static PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxImage
*arg1
= (wxImage
*) 0 ;
12889 byte
*arg2
= (byte
*) 0 ;
12890 byte
*arg3
= (byte
*) 0 ;
12891 byte
*arg4
= (byte
*) 0 ;
12898 PyObject
* obj0
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self", NULL
12903 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
12904 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
12905 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetOrFindMaskColour",kwnames
,&obj0
)) goto fail
;
12907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12908 if (SWIG_arg_fail(1)) SWIG_fail
;
12910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12911 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
12913 wxPyEndAllowThreads(__tstate
);
12914 if (PyErr_Occurred()) SWIG_fail
;
12916 Py_INCREF(Py_None
); resultobj
= Py_None
;
12917 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
12918 SWIG_From_unsigned_SS_char((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, 0)));
12919 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
12920 SWIG_From_unsigned_SS_char((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, 0)));
12921 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
12922 SWIG_From_unsigned_SS_char((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, 0)));
12929 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxImage
*arg1
= (wxImage
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
12939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12940 if (SWIG_arg_fail(1)) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (byte
)(arg1
)->GetMaskRed();
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12949 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12957 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxImage
*arg1
= (wxImage
*) 0 ;
12961 PyObject
* obj0
= 0 ;
12962 char *kwnames
[] = {
12963 (char *) "self", NULL
12966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
12967 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12968 if (SWIG_arg_fail(1)) SWIG_fail
;
12970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12971 result
= (byte
)(arg1
)->GetMaskGreen();
12973 wxPyEndAllowThreads(__tstate
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
12985 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxImage
*arg1
= (wxImage
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
12995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
12996 if (SWIG_arg_fail(1)) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= (byte
)(arg1
)->GetMaskBlue();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= SWIG_From_unsigned_SS_char((unsigned char)(result
));
13013 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxImage
*arg1
= (wxImage
*) 0 ;
13016 bool arg2
= (bool) true ;
13017 PyObject
* obj0
= 0 ;
13018 PyObject
* obj1
= 0 ;
13019 char *kwnames
[] = {
13020 (char *) "self",(char *) "mask", NULL
13023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
13024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13025 if (SWIG_arg_fail(1)) SWIG_fail
;
13028 arg2
= (bool)(SWIG_As_bool(obj1
));
13029 if (SWIG_arg_fail(2)) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 (arg1
)->SetMask(arg2
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 Py_INCREF(Py_None
); resultobj
= Py_None
;
13046 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13047 PyObject
*resultobj
;
13048 wxImage
*arg1
= (wxImage
*) 0 ;
13050 PyObject
* obj0
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
13056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13057 if (SWIG_arg_fail(1)) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (bool)(arg1
)->HasMask();
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13074 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxImage
*arg1
= (wxImage
*) 0 ;
13078 wxPoint
*arg3
= 0 ;
13079 bool arg4
= (bool) true ;
13080 wxPoint
*arg5
= (wxPoint
*) NULL
;
13081 SwigValueWrapper
<wxImage
> result
;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 PyObject
* obj2
= 0 ;
13086 PyObject
* obj3
= 0 ;
13087 PyObject
* obj4
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13094 if (SWIG_arg_fail(1)) SWIG_fail
;
13096 arg2
= (double)(SWIG_As_double(obj1
));
13097 if (SWIG_arg_fail(2)) SWIG_fail
;
13101 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13105 arg4
= (bool)(SWIG_As_bool(obj3
));
13106 if (SWIG_arg_fail(4)) SWIG_fail
;
13110 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
| 0);
13111 if (SWIG_arg_fail(5)) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13121 wxImage
* resultptr
;
13122 resultptr
= new wxImage((wxImage
&)(result
));
13123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13131 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxImage
*arg1
= (wxImage
*) 0 ;
13134 bool arg2
= (bool) true ;
13135 SwigValueWrapper
<wxImage
> result
;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 char *kwnames
[] = {
13139 (char *) "self",(char *) "clockwise", NULL
13142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
13143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13144 if (SWIG_arg_fail(1)) SWIG_fail
;
13147 arg2
= (bool)(SWIG_As_bool(obj1
));
13148 if (SWIG_arg_fail(2)) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (arg1
)->Rotate90(arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13159 wxImage
* resultptr
;
13160 resultptr
= new wxImage((wxImage
&)(result
));
13161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13169 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxImage
*arg1
= (wxImage
*) 0 ;
13172 bool arg2
= (bool) true ;
13173 SwigValueWrapper
<wxImage
> result
;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self",(char *) "horizontally", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
13181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13182 if (SWIG_arg_fail(1)) SWIG_fail
;
13185 arg2
= (bool)(SWIG_As_bool(obj1
));
13186 if (SWIG_arg_fail(2)) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 result
= (arg1
)->Mirror(arg2
);
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13197 wxImage
* resultptr
;
13198 resultptr
= new wxImage((wxImage
&)(result
));
13199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13207 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxImage
*arg1
= (wxImage
*) 0 ;
13216 PyObject
* obj0
= 0 ;
13217 PyObject
* obj1
= 0 ;
13218 PyObject
* obj2
= 0 ;
13219 PyObject
* obj3
= 0 ;
13220 PyObject
* obj4
= 0 ;
13221 PyObject
* obj5
= 0 ;
13222 PyObject
* obj6
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13229 if (SWIG_arg_fail(1)) SWIG_fail
;
13231 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13232 if (SWIG_arg_fail(2)) SWIG_fail
;
13235 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13236 if (SWIG_arg_fail(3)) SWIG_fail
;
13239 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13240 if (SWIG_arg_fail(4)) SWIG_fail
;
13243 arg5
= (byte
)(SWIG_As_unsigned_SS_char(obj4
));
13244 if (SWIG_arg_fail(5)) SWIG_fail
;
13247 arg6
= (byte
)(SWIG_As_unsigned_SS_char(obj5
));
13248 if (SWIG_arg_fail(6)) SWIG_fail
;
13251 arg7
= (byte
)(SWIG_As_unsigned_SS_char(obj6
));
13252 if (SWIG_arg_fail(7)) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 Py_INCREF(Py_None
); resultobj
= Py_None
;
13268 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
;
13270 wxImage
*arg1
= (wxImage
*) 0 ;
13274 SwigValueWrapper
<wxImage
> result
;
13275 PyObject
* obj0
= 0 ;
13276 PyObject
* obj1
= 0 ;
13277 PyObject
* obj2
= 0 ;
13278 PyObject
* obj3
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13285 if (SWIG_arg_fail(1)) SWIG_fail
;
13287 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13288 if (SWIG_arg_fail(2)) SWIG_fail
;
13291 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13292 if (SWIG_arg_fail(3)) SWIG_fail
;
13295 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13296 if (SWIG_arg_fail(4)) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13306 wxImage
* resultptr
;
13307 resultptr
= new wxImage((wxImage
&)(result
));
13308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
13316 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 wxImage
*arg1
= (wxImage
*) 0 ;
13319 wxString
*arg2
= 0 ;
13320 wxString
*arg3
= 0 ;
13321 bool temp2
= false ;
13322 bool temp3
= false ;
13323 PyObject
* obj0
= 0 ;
13324 PyObject
* obj1
= 0 ;
13325 PyObject
* obj2
= 0 ;
13326 char *kwnames
[] = {
13327 (char *) "self",(char *) "name",(char *) "value", NULL
13330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13332 if (SWIG_arg_fail(1)) SWIG_fail
;
13334 arg2
= wxString_in_helper(obj1
);
13335 if (arg2
== NULL
) SWIG_fail
;
13339 arg3
= wxString_in_helper(obj2
);
13340 if (arg3
== NULL
) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 Py_INCREF(Py_None
); resultobj
= Py_None
;
13373 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxImage
*arg1
= (wxImage
*) 0 ;
13376 wxString
*arg2
= 0 ;
13378 bool temp2
= false ;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 PyObject
* obj2
= 0 ;
13382 char *kwnames
[] = {
13383 (char *) "self",(char *) "name",(char *) "value", NULL
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg2
= wxString_in_helper(obj1
);
13391 if (arg2
== NULL
) SWIG_fail
;
13395 arg3
= (int)(SWIG_As_int(obj2
));
13396 if (SWIG_arg_fail(3)) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 Py_INCREF(Py_None
); resultobj
= Py_None
;
13420 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxImage
*arg1
= (wxImage
*) 0 ;
13423 wxString
*arg2
= 0 ;
13425 bool temp2
= false ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "name", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13434 if (SWIG_arg_fail(1)) SWIG_fail
;
13436 arg2
= wxString_in_helper(obj1
);
13437 if (arg2
== NULL
) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13468 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13469 PyObject
*resultobj
;
13470 wxImage
*arg1
= (wxImage
*) 0 ;
13471 wxString
*arg2
= 0 ;
13473 bool temp2
= false ;
13474 PyObject
* obj0
= 0 ;
13475 PyObject
* obj1
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self",(char *) "name", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13481 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13482 if (SWIG_arg_fail(1)) SWIG_fail
;
13484 arg2
= wxString_in_helper(obj1
);
13485 if (arg2
== NULL
) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_From_int((int)(result
));
13512 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
;
13514 wxImage
*arg1
= (wxImage
*) 0 ;
13515 wxString
*arg2
= 0 ;
13517 bool temp2
= false ;
13518 PyObject
* obj0
= 0 ;
13519 PyObject
* obj1
= 0 ;
13520 char *kwnames
[] = {
13521 (char *) "self",(char *) "name", NULL
13524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
13525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13526 if (SWIG_arg_fail(1)) SWIG_fail
;
13528 arg2
= wxString_in_helper(obj1
);
13529 if (arg2
== NULL
) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13556 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxImage
*arg1
= (wxImage
*) 0 ;
13559 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
13560 unsigned long result
;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "stopafter", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13569 if (SWIG_arg_fail(1)) SWIG_fail
;
13572 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
13573 if (SWIG_arg_fail(2)) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (unsigned long)(arg1
)->CountColours(arg2
);
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13592 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxImage
*arg1
= (wxImage
*) 0 ;
13595 wxImageHistogram
*arg2
= 0 ;
13596 unsigned long result
;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 char *kwnames
[] = {
13600 (char *) "self",(char *) "h", NULL
13603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
13604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13605 if (SWIG_arg_fail(1)) SWIG_fail
;
13607 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_EXCEPTION
| 0);
13608 if (SWIG_arg_fail(2)) SWIG_fail
;
13609 if (arg2
== NULL
) {
13610 SWIG_null_ref("wxImageHistogram");
13612 if (SWIG_arg_fail(2)) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
13630 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13633 PyObject
* obj0
= 0 ;
13634 char *kwnames
[] = {
13635 (char *) "handler", NULL
13638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
13639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13640 if (SWIG_arg_fail(1)) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 wxImage::AddHandler(arg1
);
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 Py_INCREF(Py_None
); resultobj
= Py_None
;
13655 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 char *kwnames
[] = {
13660 (char *) "handler", NULL
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
13664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImageHandler
, SWIG_POINTER_EXCEPTION
| 0);
13665 if (SWIG_arg_fail(1)) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 wxImage::InsertHandler(arg1
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 Py_INCREF(Py_None
); resultobj
= Py_None
;
13680 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxString
*arg1
= 0 ;
13684 bool temp1
= false ;
13685 PyObject
* obj0
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "name", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
13692 arg1
= wxString_in_helper(obj0
);
13693 if (arg1
== NULL
) SWIG_fail
;
13697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13698 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13720 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13721 PyObject
*resultobj
;
13723 char *kwnames
[] = {
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= wxImage::GetImageExtWildcard();
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13748 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxImage
*arg1
= (wxImage
*) 0 ;
13751 int arg2
= (int) -1 ;
13753 PyObject
* obj0
= 0 ;
13754 PyObject
* obj1
= 0 ;
13755 char *kwnames
[] = {
13756 (char *) "self",(char *) "depth", NULL
13759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13761 if (SWIG_arg_fail(1)) SWIG_fail
;
13764 arg2
= (int)(SWIG_As_int(obj1
));
13765 if (SWIG_arg_fail(2)) SWIG_fail
;
13769 if (!wxPyCheckForApp()) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13777 wxBitmap
* resultptr
;
13778 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13787 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
;
13789 wxImage
*arg1
= (wxImage
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 PyObject
* obj2
= 0 ;
13797 PyObject
* obj3
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
13804 if (SWIG_arg_fail(1)) SWIG_fail
;
13806 arg2
= (byte
)(SWIG_As_unsigned_SS_char(obj1
));
13807 if (SWIG_arg_fail(2)) SWIG_fail
;
13810 arg3
= (byte
)(SWIG_As_unsigned_SS_char(obj2
));
13811 if (SWIG_arg_fail(3)) SWIG_fail
;
13814 arg4
= (byte
)(SWIG_As_unsigned_SS_char(obj3
));
13815 if (SWIG_arg_fail(4)) SWIG_fail
;
13818 if (!wxPyCheckForApp()) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13826 wxBitmap
* resultptr
;
13827 resultptr
= new wxBitmap((wxBitmap
&)(result
));
13828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
13836 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
13838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13839 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
13841 return Py_BuildValue((char *)"");
13843 static int _wrap_NullImage_set(PyObject
*) {
13844 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
13849 static PyObject
*_wrap_NullImage_get(void) {
13852 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
13857 static int _wrap_IMAGE_OPTION_FILENAME_set(PyObject
*) {
13858 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
13863 static PyObject
*_wrap_IMAGE_OPTION_FILENAME_get(void) {
13868 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13870 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
13877 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
13878 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
13883 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get(void) {
13888 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13890 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
13897 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
13898 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
13903 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
13908 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13910 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
13917 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
13918 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
13923 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
13928 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13930 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
13937 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
13938 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
13943 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get(void) {
13948 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13950 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
13957 static int _wrap_IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
13958 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
13963 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONX_get(void) {
13968 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13970 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
13977 static int _wrap_IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
13978 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
13983 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONY_get(void) {
13988 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13990 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
13997 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
13998 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
14003 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
14008 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14010 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
14017 static int _wrap_IMAGE_OPTION_QUALITY_set(PyObject
*) {
14018 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
14023 static PyObject
*_wrap_IMAGE_OPTION_QUALITY_get(void) {
14028 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14030 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
14037 static int _wrap_IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
14038 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
14043 static PyObject
*_wrap_IMAGE_OPTION_BITSPERSAMPLE_get(void) {
14048 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14050 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
14057 static int _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
14058 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
14063 static PyObject
*_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
14068 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14070 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
14077 static int _wrap_IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
14078 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
14083 static PyObject
*_wrap_IMAGE_OPTION_COMPRESSION_get(void) {
14088 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14090 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
14097 static int _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
14098 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
14103 static PyObject
*_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
14108 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14110 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
14117 static int _wrap_IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
14118 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
14123 static PyObject
*_wrap_IMAGE_OPTION_PNG_FORMAT_get(void) {
14128 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14130 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
14137 static int _wrap_IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
14138 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
14143 static PyObject
*_wrap_IMAGE_OPTION_PNG_BITDEPTH_get(void) {
14148 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14150 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
14157 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxBMPHandler
*result
;
14160 char *kwnames
[] = {
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (wxBMPHandler
*)new wxBMPHandler();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
14179 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
14181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14182 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
14184 return Py_BuildValue((char *)"");
14186 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14187 PyObject
*resultobj
;
14188 wxICOHandler
*result
;
14189 char *kwnames
[] = {
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (wxICOHandler
*)new wxICOHandler();
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
14208 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
14210 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14211 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
14213 return Py_BuildValue((char *)"");
14215 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14216 PyObject
*resultobj
;
14217 wxCURHandler
*result
;
14218 char *kwnames
[] = {
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 result
= (wxCURHandler
*)new wxCURHandler();
14227 wxPyEndAllowThreads(__tstate
);
14228 if (PyErr_Occurred()) SWIG_fail
;
14230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
14237 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
14239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14240 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
14242 return Py_BuildValue((char *)"");
14244 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxANIHandler
*result
;
14247 char *kwnames
[] = {
14251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
14253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14254 result
= (wxANIHandler
*)new wxANIHandler();
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
14266 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
14268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14269 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
14271 return Py_BuildValue((char *)"");
14273 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxPNGHandler
*result
;
14276 char *kwnames
[] = {
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (wxPNGHandler
*)new wxPNGHandler();
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
14295 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
14297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14298 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
14300 return Py_BuildValue((char *)"");
14302 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxGIFHandler
*result
;
14305 char *kwnames
[] = {
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
14311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14312 result
= (wxGIFHandler
*)new wxGIFHandler();
14314 wxPyEndAllowThreads(__tstate
);
14315 if (PyErr_Occurred()) SWIG_fail
;
14317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
14324 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
14326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14327 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
14329 return Py_BuildValue((char *)"");
14331 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxPCXHandler
*result
;
14334 char *kwnames
[] = {
14338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14341 result
= (wxPCXHandler
*)new wxPCXHandler();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
14353 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
14355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14356 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
14358 return Py_BuildValue((char *)"");
14360 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxJPEGHandler
*result
;
14363 char *kwnames
[] = {
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (wxJPEGHandler
*)new wxJPEGHandler();
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
14382 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
14384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14385 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
14387 return Py_BuildValue((char *)"");
14389 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14390 PyObject
*resultobj
;
14391 wxPNMHandler
*result
;
14392 char *kwnames
[] = {
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
14398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14399 result
= (wxPNMHandler
*)new wxPNMHandler();
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
14411 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
14413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14414 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
14416 return Py_BuildValue((char *)"");
14418 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxXPMHandler
*result
;
14421 char *kwnames
[] = {
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (wxXPMHandler
*)new wxXPMHandler();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
14440 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
14442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14443 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
14445 return Py_BuildValue((char *)"");
14447 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxTIFFHandler
*result
;
14450 char *kwnames
[] = {
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= (wxTIFFHandler
*)new wxTIFFHandler();
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
14469 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
14471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14472 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
14474 return Py_BuildValue((char *)"");
14476 static PyObject
*_wrap_Quantize_Quantize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxImage
*arg1
= 0 ;
14479 wxImage
*arg2
= 0 ;
14480 int arg3
= (int) 236 ;
14481 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 PyObject
* obj2
= 0 ;
14486 PyObject
* obj3
= 0 ;
14487 char *kwnames
[] = {
14488 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
14491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14493 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14494 if (SWIG_arg_fail(1)) SWIG_fail
;
14495 if (arg1
== NULL
) {
14496 SWIG_null_ref("wxImage");
14498 if (SWIG_arg_fail(1)) SWIG_fail
;
14501 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxImage
, SWIG_POINTER_EXCEPTION
| 0);
14502 if (SWIG_arg_fail(2)) SWIG_fail
;
14503 if (arg2
== NULL
) {
14504 SWIG_null_ref("wxImage");
14506 if (SWIG_arg_fail(2)) SWIG_fail
;
14510 arg3
= (int)(SWIG_As_int(obj2
));
14511 if (SWIG_arg_fail(3)) SWIG_fail
;
14516 arg4
= (int)(SWIG_As_int(obj3
));
14517 if (SWIG_arg_fail(4)) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14536 static PyObject
* Quantize_swigregister(PyObject
*, PyObject
*args
) {
14538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14539 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
14541 return Py_BuildValue((char *)"");
14543 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxEvtHandler
*result
;
14546 char *kwnames
[] = {
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (wxEvtHandler
*)new wxEvtHandler();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
14565 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14568 wxEvtHandler
*result
;
14569 PyObject
* obj0
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
14575 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14576 if (SWIG_arg_fail(1)) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14585 resultobj
= wxPyMake_wxObject(result
, 0);
14593 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14596 wxEvtHandler
*result
;
14597 PyObject
* obj0
= 0 ;
14598 char *kwnames
[] = {
14599 (char *) "self", NULL
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",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 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= wxPyMake_wxObject(result
, 0);
14621 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
;
14623 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14624 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 PyObject
* obj1
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self",(char *) "handler", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14633 if (SWIG_arg_fail(1)) SWIG_fail
;
14634 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14635 if (SWIG_arg_fail(2)) SWIG_fail
;
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 (arg1
)->SetNextHandler(arg2
);
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 Py_INCREF(Py_None
); resultobj
= Py_None
;
14650 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
;
14652 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14653 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "self",(char *) "handler", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
14661 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14662 if (SWIG_arg_fail(1)) SWIG_fail
;
14663 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14664 if (SWIG_arg_fail(2)) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 (arg1
)->SetPreviousHandler(arg2
);
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 Py_INCREF(Py_None
); resultobj
= Py_None
;
14679 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
14689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14690 if (SWIG_arg_fail(1)) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14707 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self",(char *) "enabled", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
14718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14719 if (SWIG_arg_fail(1)) SWIG_fail
;
14721 arg2
= (bool)(SWIG_As_bool(obj1
));
14722 if (SWIG_arg_fail(2)) SWIG_fail
;
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 (arg1
)->SetEvtHandlerEnabled(arg2
);
14728 wxPyEndAllowThreads(__tstate
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14731 Py_INCREF(Py_None
); resultobj
= Py_None
;
14738 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
;
14740 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14741 wxEvent
*arg2
= 0 ;
14743 PyObject
* obj0
= 0 ;
14744 PyObject
* obj1
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self",(char *) "event", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14751 if (SWIG_arg_fail(1)) SWIG_fail
;
14753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14754 if (SWIG_arg_fail(2)) SWIG_fail
;
14755 if (arg2
== NULL
) {
14756 SWIG_null_ref("wxEvent");
14758 if (SWIG_arg_fail(2)) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14776 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14779 wxEvent
*arg2
= 0 ;
14780 PyObject
* obj0
= 0 ;
14781 PyObject
* obj1
= 0 ;
14782 char *kwnames
[] = {
14783 (char *) "self",(char *) "event", NULL
14786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14787 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14788 if (SWIG_arg_fail(1)) SWIG_fail
;
14790 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
14791 if (SWIG_arg_fail(2)) SWIG_fail
;
14792 if (arg2
== NULL
) {
14793 SWIG_null_ref("wxEvent");
14795 if (SWIG_arg_fail(2)) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 (arg1
)->AddPendingEvent(*arg2
);
14801 wxPyEndAllowThreads(__tstate
);
14802 if (PyErr_Occurred()) SWIG_fail
;
14804 Py_INCREF(Py_None
); resultobj
= Py_None
;
14811 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14814 PyObject
* obj0
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "self", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
14820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14821 if (SWIG_arg_fail(1)) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 (arg1
)->ProcessPendingEvents();
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 Py_INCREF(Py_None
); resultobj
= Py_None
;
14836 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
;
14838 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14842 PyObject
*arg5
= (PyObject
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 PyObject
* obj2
= 0 ;
14846 PyObject
* obj3
= 0 ;
14847 PyObject
* obj4
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14854 if (SWIG_arg_fail(1)) SWIG_fail
;
14856 arg2
= (int)(SWIG_As_int(obj1
));
14857 if (SWIG_arg_fail(2)) SWIG_fail
;
14860 arg3
= (int)(SWIG_As_int(obj2
));
14861 if (SWIG_arg_fail(3)) SWIG_fail
;
14864 arg4
= (int)(SWIG_As_int(obj3
));
14865 if (SWIG_arg_fail(4)) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 Py_INCREF(Py_None
); resultobj
= Py_None
;
14882 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14886 int arg3
= (int) -1 ;
14887 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 PyObject
* obj2
= 0 ;
14892 PyObject
* obj3
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14899 if (SWIG_arg_fail(1)) SWIG_fail
;
14901 arg2
= (int)(SWIG_As_int(obj1
));
14902 if (SWIG_arg_fail(2)) SWIG_fail
;
14906 arg3
= (int)(SWIG_As_int(obj2
));
14907 if (SWIG_arg_fail(3)) SWIG_fail
;
14912 arg4
= (wxEventType
)(SWIG_As_int(obj3
));
14913 if (SWIG_arg_fail(4)) SWIG_fail
;
14917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14918 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14932 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
14935 PyObject
*arg2
= (PyObject
*) 0 ;
14936 bool arg3
= (bool) true ;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 PyObject
* obj2
= 0 ;
14940 char *kwnames
[] = {
14941 (char *) "self",(char *) "_self",(char *) "incref", NULL
14944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
14946 if (SWIG_arg_fail(1)) SWIG_fail
;
14950 arg3
= (bool)(SWIG_As_bool(obj2
));
14951 if (SWIG_arg_fail(3)) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 Py_INCREF(Py_None
); resultobj
= Py_None
;
14968 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
14970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14971 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
14973 return Py_BuildValue((char *)"");
14975 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxEventType result
;
14978 char *kwnames
[] = {
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (wxEventType
)wxNewEventType();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_From_int((int)(result
));
14999 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxEvent
*arg1
= (wxEvent
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
15008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15009 if (SWIG_arg_fail(1)) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 Py_INCREF(Py_None
); resultobj
= Py_None
;
15024 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
;
15026 wxEvent
*arg1
= (wxEvent
*) 0 ;
15028 PyObject
* obj0
= 0 ;
15029 PyObject
* obj1
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self",(char *) "typ", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
15035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15036 if (SWIG_arg_fail(1)) SWIG_fail
;
15038 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
15039 if (SWIG_arg_fail(2)) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 (arg1
)->SetEventType(arg2
);
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15048 Py_INCREF(Py_None
); resultobj
= Py_None
;
15055 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15056 PyObject
*resultobj
;
15057 wxEvent
*arg1
= (wxEvent
*) 0 ;
15058 wxEventType result
;
15059 PyObject
* obj0
= 0 ;
15060 char *kwnames
[] = {
15061 (char *) "self", NULL
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
15065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15066 if (SWIG_arg_fail(1)) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= SWIG_From_int((int)(result
));
15083 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxEvent
*arg1
= (wxEvent
*) 0 ;
15087 PyObject
* obj0
= 0 ;
15088 char *kwnames
[] = {
15089 (char *) "self", NULL
15092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
15093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15094 if (SWIG_arg_fail(1)) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15103 resultobj
= wxPyMake_wxObject(result
, 0);
15111 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxEvent
*arg1
= (wxEvent
*) 0 ;
15114 wxObject
*arg2
= (wxObject
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 PyObject
* obj1
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self",(char *) "obj", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
15122 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15123 if (SWIG_arg_fail(1)) SWIG_fail
;
15124 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxObject
, SWIG_POINTER_EXCEPTION
| 0);
15125 if (SWIG_arg_fail(2)) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 (arg1
)->SetEventObject(arg2
);
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 Py_INCREF(Py_None
); resultobj
= Py_None
;
15140 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxEvent
*arg1
= (wxEvent
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
15150 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15151 if (SWIG_arg_fail(1)) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= SWIG_From_long((long)(result
));
15168 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxEvent
*arg1
= (wxEvent
*) 0 ;
15171 long arg2
= (long) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self",(char *) "ts", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
15179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15180 if (SWIG_arg_fail(1)) SWIG_fail
;
15183 arg2
= (long)(SWIG_As_long(obj1
));
15184 if (SWIG_arg_fail(2)) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 (arg1
)->SetTimestamp(arg2
);
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15194 Py_INCREF(Py_None
); resultobj
= Py_None
;
15201 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxEvent
*arg1
= (wxEvent
*) 0 ;
15205 PyObject
* obj0
= 0 ;
15206 char *kwnames
[] = {
15207 (char *) "self", NULL
15210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
15211 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15212 if (SWIG_arg_fail(1)) SWIG_fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= (int)((wxEvent
const *)arg1
)->GetId();
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15221 resultobj
= SWIG_From_int((int)(result
));
15229 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15230 PyObject
*resultobj
;
15231 wxEvent
*arg1
= (wxEvent
*) 0 ;
15233 PyObject
* obj0
= 0 ;
15234 PyObject
* obj1
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self",(char *) "Id", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
15240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15241 if (SWIG_arg_fail(1)) SWIG_fail
;
15243 arg2
= (int)(SWIG_As_int(obj1
));
15244 if (SWIG_arg_fail(2)) SWIG_fail
;
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 (arg1
)->SetId(arg2
);
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 Py_INCREF(Py_None
); resultobj
= Py_None
;
15260 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxEvent
*arg1
= (wxEvent
*) 0 ;
15264 PyObject
* obj0
= 0 ;
15265 char *kwnames
[] = {
15266 (char *) "self", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
15270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15271 if (SWIG_arg_fail(1)) SWIG_fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15288 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxEvent
*arg1
= (wxEvent
*) 0 ;
15291 bool arg2
= (bool) true ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self",(char *) "skip", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
15299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15300 if (SWIG_arg_fail(1)) SWIG_fail
;
15303 arg2
= (bool)(SWIG_As_bool(obj1
));
15304 if (SWIG_arg_fail(2)) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 (arg1
)->Skip(arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 Py_INCREF(Py_None
); resultobj
= Py_None
;
15321 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxEvent
*arg1
= (wxEvent
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
15331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15332 if (SWIG_arg_fail(1)) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15349 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxEvent
*arg1
= (wxEvent
*) 0 ;
15353 PyObject
* obj0
= 0 ;
15354 char *kwnames
[] = {
15355 (char *) "self", NULL
15358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
15359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15360 if (SWIG_arg_fail(1)) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15377 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxEvent
*arg1
= (wxEvent
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
15387 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15388 if (SWIG_arg_fail(1)) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 result
= (int)(arg1
)->StopPropagation();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_From_int((int)(result
));
15405 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxEvent
*arg1
= (wxEvent
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 PyObject
* obj1
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self",(char *) "propagationLevel", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
15416 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15417 if (SWIG_arg_fail(1)) SWIG_fail
;
15419 arg2
= (int)(SWIG_As_int(obj1
));
15420 if (SWIG_arg_fail(2)) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 (arg1
)->ResumePropagation(arg2
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 Py_INCREF(Py_None
); resultobj
= Py_None
;
15436 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxEvent
*arg1
= (wxEvent
*) 0 ;
15440 PyObject
* obj0
= 0 ;
15441 char *kwnames
[] = {
15442 (char *) "self", NULL
15445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
15446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15447 if (SWIG_arg_fail(1)) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= (wxEvent
*)(arg1
)->Clone();
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15462 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
15464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15465 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
15467 return Py_BuildValue((char *)"");
15469 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxEvent
*arg1
= 0 ;
15472 wxPropagationDisabler
*result
;
15473 PyObject
* obj0
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "event", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15481 if (SWIG_arg_fail(1)) SWIG_fail
;
15482 if (arg1
== NULL
) {
15483 SWIG_null_ref("wxEvent");
15485 if (SWIG_arg_fail(1)) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
15501 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "self", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
15510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_EXCEPTION
| 0);
15511 if (SWIG_arg_fail(1)) SWIG_fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 Py_INCREF(Py_None
); resultobj
= Py_None
;
15526 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
15528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15529 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
15531 return Py_BuildValue((char *)"");
15533 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15535 wxEvent
*arg1
= 0 ;
15536 wxPropagateOnce
*result
;
15537 PyObject
* obj0
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "event", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15544 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
15545 if (SWIG_arg_fail(1)) SWIG_fail
;
15546 if (arg1
== NULL
) {
15547 SWIG_null_ref("wxEvent");
15549 if (SWIG_arg_fail(1)) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
15565 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
15568 PyObject
* obj0
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
15574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_EXCEPTION
| 0);
15575 if (SWIG_arg_fail(1)) SWIG_fail
;
15577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15583 Py_INCREF(Py_None
); resultobj
= Py_None
;
15590 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
15592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15593 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
15595 return Py_BuildValue((char *)"");
15597 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
;
15599 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15600 int arg2
= (int) 0 ;
15601 wxCommandEvent
*result
;
15602 PyObject
* obj0
= 0 ;
15603 PyObject
* obj1
= 0 ;
15604 char *kwnames
[] = {
15605 (char *) "commandType",(char *) "winid", NULL
15608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15611 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15612 if (SWIG_arg_fail(1)) SWIG_fail
;
15617 arg2
= (int)(SWIG_As_int(obj1
));
15618 if (SWIG_arg_fail(2)) SWIG_fail
;
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
15625 wxPyEndAllowThreads(__tstate
);
15626 if (PyErr_Occurred()) SWIG_fail
;
15628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
15635 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15649 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_From_int((int)(result
));
15663 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
;
15665 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15666 wxString
*arg2
= 0 ;
15667 bool temp2
= false ;
15668 PyObject
* obj0
= 0 ;
15669 PyObject
* obj1
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self",(char *) "s", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) 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 arg2
= wxString_in_helper(obj1
);
15679 if (arg2
== NULL
) SWIG_fail
;
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 (arg1
)->SetString((wxString
const &)*arg2
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 Py_INCREF(Py_None
); resultobj
= Py_None
;
15704 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15705 PyObject
*resultobj
;
15706 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15708 PyObject
* obj0
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
15714 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15715 if (SWIG_arg_fail(1)) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= ((wxCommandEvent
const *)arg1
)->GetString();
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15736 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
;
15738 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15740 PyObject
* obj0
= 0 ;
15741 char *kwnames
[] = {
15742 (char *) "self", NULL
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
15746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15747 if (SWIG_arg_fail(1)) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15764 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15768 PyObject
* obj0
= 0 ;
15769 char *kwnames
[] = {
15770 (char *) "self", NULL
15773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
15774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15775 if (SWIG_arg_fail(1)) SWIG_fail
;
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15792 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15793 PyObject
*resultobj
;
15794 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15796 PyObject
* obj0
= 0 ;
15797 PyObject
* obj1
= 0 ;
15798 char *kwnames
[] = {
15799 (char *) "self",(char *) "extraLong", NULL
15802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
15803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15804 if (SWIG_arg_fail(1)) SWIG_fail
;
15806 arg2
= (long)(SWIG_As_long(obj1
));
15807 if (SWIG_arg_fail(2)) SWIG_fail
;
15810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15811 (arg1
)->SetExtraLong(arg2
);
15813 wxPyEndAllowThreads(__tstate
);
15814 if (PyErr_Occurred()) SWIG_fail
;
15816 Py_INCREF(Py_None
); resultobj
= Py_None
;
15823 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15827 PyObject
* obj0
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
15833 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15834 if (SWIG_arg_fail(1)) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15843 resultobj
= SWIG_From_long((long)(result
));
15851 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 PyObject
* obj1
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self",(char *) "i", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
15862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15863 if (SWIG_arg_fail(1)) SWIG_fail
;
15865 arg2
= (int)(SWIG_As_int(obj1
));
15866 if (SWIG_arg_fail(2)) SWIG_fail
;
15869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15870 (arg1
)->SetInt(arg2
);
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15875 Py_INCREF(Py_None
); resultobj
= Py_None
;
15882 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15886 PyObject
* obj0
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
15892 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15893 if (SWIG_arg_fail(1)) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= SWIG_From_long((long)(result
));
15910 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
15914 PyObject
* obj0
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
15920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
15921 if (SWIG_arg_fail(1)) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
15936 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
15938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15939 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
15941 return Py_BuildValue((char *)"");
15943 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15946 int arg2
= (int) 0 ;
15947 wxNotifyEvent
*result
;
15948 PyObject
* obj0
= 0 ;
15949 PyObject
* obj1
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "commandType",(char *) "winid", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15957 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
15958 if (SWIG_arg_fail(1)) SWIG_fail
;
15963 arg2
= (int)(SWIG_As_int(obj1
));
15964 if (SWIG_arg_fail(2)) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
15981 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
15984 PyObject
* obj0
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
15990 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
15991 if (SWIG_arg_fail(1)) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
15999 Py_INCREF(Py_None
); resultobj
= Py_None
;
16006 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16007 PyObject
*resultobj
;
16008 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "self", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
16015 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16016 if (SWIG_arg_fail(1)) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16024 Py_INCREF(Py_None
); resultobj
= Py_None
;
16031 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
16041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_EXCEPTION
| 0);
16042 if (SWIG_arg_fail(1)) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 result
= (bool)(arg1
)->IsAllowed();
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16059 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
16061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16062 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
16064 return Py_BuildValue((char *)"");
16066 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16067 PyObject
*resultobj
;
16068 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16069 int arg2
= (int) 0 ;
16070 int arg3
= (int) 0 ;
16071 int arg4
= (int) 0 ;
16072 wxScrollEvent
*result
;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 PyObject
* obj2
= 0 ;
16076 PyObject
* obj3
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16084 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16085 if (SWIG_arg_fail(1)) SWIG_fail
;
16090 arg2
= (int)(SWIG_As_int(obj1
));
16091 if (SWIG_arg_fail(2)) SWIG_fail
;
16096 arg3
= (int)(SWIG_As_int(obj2
));
16097 if (SWIG_arg_fail(3)) SWIG_fail
;
16102 arg4
= (int)(SWIG_As_int(obj3
));
16103 if (SWIG_arg_fail(4)) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
16120 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16130 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16131 if (SWIG_arg_fail(1)) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= SWIG_From_int((int)(result
));
16148 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16159 if (SWIG_arg_fail(1)) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= SWIG_From_int((int)(result
));
16176 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16177 PyObject
*resultobj
;
16178 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16180 PyObject
* obj0
= 0 ;
16181 PyObject
* obj1
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self",(char *) "orient", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16188 if (SWIG_arg_fail(1)) SWIG_fail
;
16190 arg2
= (int)(SWIG_As_int(obj1
));
16191 if (SWIG_arg_fail(2)) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 (arg1
)->SetOrientation(arg2
);
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16200 Py_INCREF(Py_None
); resultobj
= Py_None
;
16207 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "self",(char *) "pos", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_EXCEPTION
| 0);
16219 if (SWIG_arg_fail(1)) SWIG_fail
;
16221 arg2
= (int)(SWIG_As_int(obj1
));
16222 if (SWIG_arg_fail(2)) SWIG_fail
;
16225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16226 (arg1
)->SetPosition(arg2
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 Py_INCREF(Py_None
); resultobj
= Py_None
;
16238 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
16240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16241 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
16243 return Py_BuildValue((char *)"");
16245 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16248 int arg2
= (int) 0 ;
16249 int arg3
= (int) 0 ;
16250 wxScrollWinEvent
*result
;
16251 PyObject
* obj0
= 0 ;
16252 PyObject
* obj1
= 0 ;
16253 PyObject
* obj2
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16261 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16262 if (SWIG_arg_fail(1)) SWIG_fail
;
16267 arg2
= (int)(SWIG_As_int(obj1
));
16268 if (SWIG_arg_fail(2)) SWIG_fail
;
16273 arg3
= (int)(SWIG_As_int(obj2
));
16274 if (SWIG_arg_fail(3)) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
16291 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
16301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16302 if (SWIG_arg_fail(1)) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16311 resultobj
= SWIG_From_int((int)(result
));
16319 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16320 PyObject
*resultobj
;
16321 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16323 PyObject
* obj0
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16330 if (SWIG_arg_fail(1)) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= SWIG_From_int((int)(result
));
16347 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
;
16349 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16351 PyObject
* obj0
= 0 ;
16352 PyObject
* obj1
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self",(char *) "orient", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
16358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16359 if (SWIG_arg_fail(1)) SWIG_fail
;
16361 arg2
= (int)(SWIG_As_int(obj1
));
16362 if (SWIG_arg_fail(2)) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 (arg1
)->SetOrientation(arg2
);
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 Py_INCREF(Py_None
); resultobj
= Py_None
;
16378 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16379 PyObject
*resultobj
;
16380 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
16382 PyObject
* obj0
= 0 ;
16383 PyObject
* obj1
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self",(char *) "pos", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
16390 if (SWIG_arg_fail(1)) SWIG_fail
;
16392 arg2
= (int)(SWIG_As_int(obj1
));
16393 if (SWIG_arg_fail(2)) SWIG_fail
;
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 (arg1
)->SetPosition(arg2
);
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 Py_INCREF(Py_None
); resultobj
= Py_None
;
16409 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
16411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16412 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
16414 return Py_BuildValue((char *)"");
16416 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
;
16418 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16419 wxMouseEvent
*result
;
16420 PyObject
* obj0
= 0 ;
16421 char *kwnames
[] = {
16422 (char *) "mouseType", NULL
16425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
16428 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16429 if (SWIG_arg_fail(1)) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= wxPyMake_wxObject(result
, 1);
16448 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
16458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16459 if (SWIG_arg_fail(1)) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16476 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16479 int arg2
= (int) wxMOUSE_BTN_ANY
;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self",(char *) "but", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16489 if (SWIG_arg_fail(1)) SWIG_fail
;
16492 arg2
= (int)(SWIG_As_int(obj1
));
16493 if (SWIG_arg_fail(2)) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16512 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
;
16514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16515 int arg2
= (int) wxMOUSE_BTN_ANY
;
16517 PyObject
* obj0
= 0 ;
16518 PyObject
* obj1
= 0 ;
16519 char *kwnames
[] = {
16520 (char *) "self",(char *) "but", NULL
16523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
16524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16525 if (SWIG_arg_fail(1)) SWIG_fail
;
16528 arg2
= (int)(SWIG_As_int(obj1
));
16529 if (SWIG_arg_fail(2)) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16548 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16549 PyObject
*resultobj
;
16550 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16551 int arg2
= (int) wxMOUSE_BTN_ANY
;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self",(char *) "but", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
16560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16561 if (SWIG_arg_fail(1)) SWIG_fail
;
16564 arg2
= (int)(SWIG_As_int(obj1
));
16565 if (SWIG_arg_fail(2)) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16584 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 PyObject
* obj1
= 0 ;
16591 char *kwnames
[] = {
16592 (char *) "self",(char *) "button", NULL
16595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
16596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16597 if (SWIG_arg_fail(1)) SWIG_fail
;
16599 arg2
= (int)(SWIG_As_int(obj1
));
16600 if (SWIG_arg_fail(2)) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16618 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16623 PyObject
* obj0
= 0 ;
16624 PyObject
* obj1
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "but", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
16630 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16631 if (SWIG_arg_fail(1)) SWIG_fail
;
16633 arg2
= (int)(SWIG_As_int(obj1
));
16634 if (SWIG_arg_fail(2)) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16652 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
16662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16663 if (SWIG_arg_fail(1)) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= SWIG_From_int((int)(result
));
16680 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16684 PyObject
* obj0
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
16690 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16691 if (SWIG_arg_fail(1)) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16708 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16709 PyObject
*resultobj
;
16710 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16712 PyObject
* obj0
= 0 ;
16713 char *kwnames
[] = {
16714 (char *) "self", NULL
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
16718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16719 if (SWIG_arg_fail(1)) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16736 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16737 PyObject
*resultobj
;
16738 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16740 PyObject
* obj0
= 0 ;
16741 char *kwnames
[] = {
16742 (char *) "self", NULL
16745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
16746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16747 if (SWIG_arg_fail(1)) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16764 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16768 PyObject
* obj0
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
16774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16775 if (SWIG_arg_fail(1)) SWIG_fail
;
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16792 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16796 PyObject
* obj0
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
16802 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16803 if (SWIG_arg_fail(1)) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16820 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16824 PyObject
* obj0
= 0 ;
16825 char *kwnames
[] = {
16826 (char *) "self", NULL
16829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
16830 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16831 if (SWIG_arg_fail(1)) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16848 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16852 PyObject
* obj0
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
16858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16859 if (SWIG_arg_fail(1)) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16876 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16880 PyObject
* obj0
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
16886 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16887 if (SWIG_arg_fail(1)) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16904 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16905 PyObject
*resultobj
;
16906 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16908 PyObject
* obj0
= 0 ;
16909 char *kwnames
[] = {
16910 (char *) "self", NULL
16913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
16914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16915 if (SWIG_arg_fail(1)) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16932 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16936 PyObject
* obj0
= 0 ;
16937 char *kwnames
[] = {
16938 (char *) "self", NULL
16941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
16942 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16943 if (SWIG_arg_fail(1)) SWIG_fail
;
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16946 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16960 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16961 PyObject
*resultobj
;
16962 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16964 PyObject
* obj0
= 0 ;
16965 char *kwnames
[] = {
16966 (char *) "self", NULL
16969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
16970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16971 if (SWIG_arg_fail(1)) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16988 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16989 PyObject
*resultobj
;
16990 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
16992 PyObject
* obj0
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
16998 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
16999 if (SWIG_arg_fail(1)) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
17004 wxPyEndAllowThreads(__tstate
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17016 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
;
17018 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17020 PyObject
* obj0
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "self", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
17026 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17027 if (SWIG_arg_fail(1)) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17044 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17045 PyObject
*resultobj
;
17046 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17048 PyObject
* obj0
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
17054 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17055 if (SWIG_arg_fail(1)) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
17060 wxPyEndAllowThreads(__tstate
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17072 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
;
17074 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17076 PyObject
* obj0
= 0 ;
17077 char *kwnames
[] = {
17078 (char *) "self", NULL
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
17082 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17083 if (SWIG_arg_fail(1)) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= (bool)(arg1
)->LeftIsDown();
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17100 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
17110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17111 if (SWIG_arg_fail(1)) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (bool)(arg1
)->MiddleIsDown();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17128 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17132 PyObject
* obj0
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
17138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17139 if (SWIG_arg_fail(1)) SWIG_fail
;
17141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17142 result
= (bool)(arg1
)->RightIsDown();
17144 wxPyEndAllowThreads(__tstate
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17156 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17160 PyObject
* obj0
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
17166 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17167 if (SWIG_arg_fail(1)) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17184 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17185 PyObject
*resultobj
;
17186 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17188 PyObject
* obj0
= 0 ;
17189 char *kwnames
[] = {
17190 (char *) "self", NULL
17193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
17194 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17195 if (SWIG_arg_fail(1)) SWIG_fail
;
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17212 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17216 PyObject
* obj0
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
17222 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17223 if (SWIG_arg_fail(1)) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17240 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
;
17242 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17244 PyObject
* obj0
= 0 ;
17245 char *kwnames
[] = {
17246 (char *) "self", NULL
17249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
17250 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17251 if (SWIG_arg_fail(1)) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17268 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17269 PyObject
*resultobj
;
17270 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17272 PyObject
* obj0
= 0 ;
17273 char *kwnames
[] = {
17274 (char *) "self", NULL
17277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17278 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17279 if (SWIG_arg_fail(1)) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 result
= (arg1
)->GetPosition();
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17288 wxPoint
* resultptr
;
17289 resultptr
= new wxPoint((wxPoint
&)(result
));
17290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17298 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17301 long *arg2
= (long *) 0 ;
17302 long *arg3
= (long *) 0 ;
17307 PyObject
* obj0
= 0 ;
17308 char *kwnames
[] = {
17309 (char *) "self", NULL
17312 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17313 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
17315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17316 if (SWIG_arg_fail(1)) SWIG_fail
;
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 (arg1
)->GetPosition(arg2
,arg3
);
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 Py_INCREF(Py_None
); resultobj
= Py_None
;
17325 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17326 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
17327 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17328 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
17335 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17340 PyObject
* obj0
= 0 ;
17341 PyObject
* obj1
= 0 ;
17342 char *kwnames
[] = {
17343 (char *) "self",(char *) "dc", NULL
17346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
17347 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17348 if (SWIG_arg_fail(1)) SWIG_fail
;
17350 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
17351 if (SWIG_arg_fail(2)) SWIG_fail
;
17352 if (arg2
== NULL
) {
17353 SWIG_null_ref("wxDC");
17355 if (SWIG_arg_fail(2)) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 wxPoint
* resultptr
;
17366 resultptr
= new wxPoint((wxPoint
&)(result
));
17367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17375 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
17385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17386 if (SWIG_arg_fail(1)) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= SWIG_From_int((int)(result
));
17403 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17407 PyObject
* obj0
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
17413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17414 if (SWIG_arg_fail(1)) SWIG_fail
;
17416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17417 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
17419 wxPyEndAllowThreads(__tstate
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_From_int((int)(result
));
17431 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
;
17433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17435 PyObject
* obj0
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
17441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17442 if (SWIG_arg_fail(1)) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= SWIG_From_int((int)(result
));
17459 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
;
17461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17463 PyObject
* obj0
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
17469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17470 if (SWIG_arg_fail(1)) SWIG_fail
;
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= SWIG_From_int((int)(result
));
17487 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 char *kwnames
[] = {
17493 (char *) "self", NULL
17496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
17497 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17498 if (SWIG_arg_fail(1)) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= SWIG_From_int((int)(result
));
17515 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
17525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17526 if (SWIG_arg_fail(1)) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17543 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17547 PyObject
* obj0
= 0 ;
17548 PyObject
* obj1
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self",(char *) "m_x", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17555 if (SWIG_arg_fail(1)) SWIG_fail
;
17557 arg2
= (int)(SWIG_As_int(obj1
));
17558 if (SWIG_arg_fail(2)) SWIG_fail
;
17560 if (arg1
) (arg1
)->m_x
= arg2
;
17562 Py_INCREF(Py_None
); resultobj
= Py_None
;
17569 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 char *kwnames
[] = {
17575 (char *) "self", NULL
17578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
17579 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17580 if (SWIG_arg_fail(1)) SWIG_fail
;
17581 result
= (int) ((arg1
)->m_x
);
17584 resultobj
= SWIG_From_int((int)(result
));
17592 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17596 PyObject
* obj0
= 0 ;
17597 PyObject
* obj1
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self",(char *) "m_y", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17604 if (SWIG_arg_fail(1)) SWIG_fail
;
17606 arg2
= (int)(SWIG_As_int(obj1
));
17607 if (SWIG_arg_fail(2)) SWIG_fail
;
17609 if (arg1
) (arg1
)->m_y
= arg2
;
17611 Py_INCREF(Py_None
); resultobj
= Py_None
;
17618 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 char *kwnames
[] = {
17624 (char *) "self", NULL
17627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
17628 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17629 if (SWIG_arg_fail(1)) SWIG_fail
;
17630 result
= (int) ((arg1
)->m_y
);
17633 resultobj
= SWIG_From_int((int)(result
));
17641 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self",(char *) "m_leftDown", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17653 if (SWIG_arg_fail(1)) SWIG_fail
;
17655 arg2
= (bool)(SWIG_As_bool(obj1
));
17656 if (SWIG_arg_fail(2)) SWIG_fail
;
17658 if (arg1
) (arg1
)->m_leftDown
= arg2
;
17660 Py_INCREF(Py_None
); resultobj
= Py_None
;
17667 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
;
17669 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17671 PyObject
* obj0
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
17677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17678 if (SWIG_arg_fail(1)) SWIG_fail
;
17679 result
= (bool) ((arg1
)->m_leftDown
);
17682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17690 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
;
17692 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 PyObject
* obj1
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self",(char *) "m_middleDown", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17702 if (SWIG_arg_fail(1)) SWIG_fail
;
17704 arg2
= (bool)(SWIG_As_bool(obj1
));
17705 if (SWIG_arg_fail(2)) SWIG_fail
;
17707 if (arg1
) (arg1
)->m_middleDown
= arg2
;
17709 Py_INCREF(Py_None
); resultobj
= Py_None
;
17716 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17720 PyObject
* obj0
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
17726 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17727 if (SWIG_arg_fail(1)) SWIG_fail
;
17728 result
= (bool) ((arg1
)->m_middleDown
);
17731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17739 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17743 PyObject
* obj0
= 0 ;
17744 PyObject
* obj1
= 0 ;
17745 char *kwnames
[] = {
17746 (char *) "self",(char *) "m_rightDown", NULL
17749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17751 if (SWIG_arg_fail(1)) SWIG_fail
;
17753 arg2
= (bool)(SWIG_As_bool(obj1
));
17754 if (SWIG_arg_fail(2)) SWIG_fail
;
17756 if (arg1
) (arg1
)->m_rightDown
= arg2
;
17758 Py_INCREF(Py_None
); resultobj
= Py_None
;
17765 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17769 PyObject
* obj0
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
17775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17776 if (SWIG_arg_fail(1)) SWIG_fail
;
17777 result
= (bool) ((arg1
)->m_rightDown
);
17780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17788 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self",(char *) "m_controlDown", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17800 if (SWIG_arg_fail(1)) SWIG_fail
;
17802 arg2
= (bool)(SWIG_As_bool(obj1
));
17803 if (SWIG_arg_fail(2)) SWIG_fail
;
17805 if (arg1
) (arg1
)->m_controlDown
= arg2
;
17807 Py_INCREF(Py_None
); resultobj
= Py_None
;
17814 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17815 PyObject
*resultobj
;
17816 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17818 PyObject
* obj0
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
17824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17825 if (SWIG_arg_fail(1)) SWIG_fail
;
17826 result
= (bool) ((arg1
)->m_controlDown
);
17829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17837 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
;
17839 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "m_shiftDown", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17849 if (SWIG_arg_fail(1)) SWIG_fail
;
17851 arg2
= (bool)(SWIG_As_bool(obj1
));
17852 if (SWIG_arg_fail(2)) SWIG_fail
;
17854 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
17856 Py_INCREF(Py_None
); resultobj
= Py_None
;
17863 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17867 PyObject
* obj0
= 0 ;
17868 char *kwnames
[] = {
17869 (char *) "self", NULL
17872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
17873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17874 if (SWIG_arg_fail(1)) SWIG_fail
;
17875 result
= (bool) ((arg1
)->m_shiftDown
);
17878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17886 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 PyObject
* obj1
= 0 ;
17892 char *kwnames
[] = {
17893 (char *) "self",(char *) "m_altDown", NULL
17896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17897 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17898 if (SWIG_arg_fail(1)) SWIG_fail
;
17900 arg2
= (bool)(SWIG_As_bool(obj1
));
17901 if (SWIG_arg_fail(2)) SWIG_fail
;
17903 if (arg1
) (arg1
)->m_altDown
= arg2
;
17905 Py_INCREF(Py_None
); resultobj
= Py_None
;
17912 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17916 PyObject
* obj0
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
17922 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17923 if (SWIG_arg_fail(1)) SWIG_fail
;
17924 result
= (bool) ((arg1
)->m_altDown
);
17927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17935 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self",(char *) "m_metaDown", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17947 if (SWIG_arg_fail(1)) SWIG_fail
;
17949 arg2
= (bool)(SWIG_As_bool(obj1
));
17950 if (SWIG_arg_fail(2)) SWIG_fail
;
17952 if (arg1
) (arg1
)->m_metaDown
= arg2
;
17954 Py_INCREF(Py_None
); resultobj
= Py_None
;
17961 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
17971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17972 if (SWIG_arg_fail(1)) SWIG_fail
;
17973 result
= (bool) ((arg1
)->m_metaDown
);
17976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17984 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
17988 PyObject
* obj0
= 0 ;
17989 PyObject
* obj1
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "m_wheelRotation", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17995 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
17996 if (SWIG_arg_fail(1)) SWIG_fail
;
17998 arg2
= (int)(SWIG_As_int(obj1
));
17999 if (SWIG_arg_fail(2)) SWIG_fail
;
18001 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
18003 Py_INCREF(Py_None
); resultobj
= Py_None
;
18010 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18011 PyObject
*resultobj
;
18012 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18014 PyObject
* obj0
= 0 ;
18015 char *kwnames
[] = {
18016 (char *) "self", NULL
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
18020 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18021 if (SWIG_arg_fail(1)) SWIG_fail
;
18022 result
= (int) ((arg1
)->m_wheelRotation
);
18025 resultobj
= SWIG_From_int((int)(result
));
18033 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
;
18035 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self",(char *) "m_wheelDelta", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18045 if (SWIG_arg_fail(1)) SWIG_fail
;
18047 arg2
= (int)(SWIG_As_int(obj1
));
18048 if (SWIG_arg_fail(2)) SWIG_fail
;
18050 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
18052 Py_INCREF(Py_None
); resultobj
= Py_None
;
18059 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18063 PyObject
* obj0
= 0 ;
18064 char *kwnames
[] = {
18065 (char *) "self", NULL
18068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
18069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18070 if (SWIG_arg_fail(1)) SWIG_fail
;
18071 result
= (int) ((arg1
)->m_wheelDelta
);
18074 resultobj
= SWIG_From_int((int)(result
));
18082 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18086 PyObject
* obj0
= 0 ;
18087 PyObject
* obj1
= 0 ;
18088 char *kwnames
[] = {
18089 (char *) "self",(char *) "m_linesPerAction", NULL
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18094 if (SWIG_arg_fail(1)) SWIG_fail
;
18096 arg2
= (int)(SWIG_As_int(obj1
));
18097 if (SWIG_arg_fail(2)) SWIG_fail
;
18099 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
18101 Py_INCREF(Py_None
); resultobj
= Py_None
;
18108 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18109 PyObject
*resultobj
;
18110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 char *kwnames
[] = {
18114 (char *) "self", NULL
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
18118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseEvent
, SWIG_POINTER_EXCEPTION
| 0);
18119 if (SWIG_arg_fail(1)) SWIG_fail
;
18120 result
= (int) ((arg1
)->m_linesPerAction
);
18123 resultobj
= SWIG_From_int((int)(result
));
18131 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
18133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18134 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
18136 return Py_BuildValue((char *)"");
18138 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18140 int arg1
= (int) 0 ;
18141 int arg2
= (int) 0 ;
18142 wxSetCursorEvent
*result
;
18143 PyObject
* obj0
= 0 ;
18144 PyObject
* obj1
= 0 ;
18145 char *kwnames
[] = {
18146 (char *) "x",(char *) "y", NULL
18149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18152 arg1
= (int)(SWIG_As_int(obj0
));
18153 if (SWIG_arg_fail(1)) SWIG_fail
;
18158 arg2
= (int)(SWIG_As_int(obj1
));
18159 if (SWIG_arg_fail(2)) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
18176 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18180 PyObject
* obj0
= 0 ;
18181 char *kwnames
[] = {
18182 (char *) "self", NULL
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
18186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18187 if (SWIG_arg_fail(1)) SWIG_fail
;
18189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18190 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_From_int((int)(result
));
18204 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18206 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18208 PyObject
* obj0
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
18214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18215 if (SWIG_arg_fail(1)) SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_From_int((int)(result
));
18232 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
;
18234 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18235 wxCursor
*arg2
= 0 ;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 char *kwnames
[] = {
18239 (char *) "self",(char *) "cursor", NULL
18242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
18243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18244 if (SWIG_arg_fail(1)) SWIG_fail
;
18246 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
18247 if (SWIG_arg_fail(2)) SWIG_fail
;
18248 if (arg2
== NULL
) {
18249 SWIG_null_ref("wxCursor");
18251 if (SWIG_arg_fail(2)) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 Py_INCREF(Py_None
); resultobj
= Py_None
;
18267 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
18277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18278 if (SWIG_arg_fail(1)) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
18283 result
= (wxCursor
*) &_result_ref
;
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 wxCursor
* resultptr
= new wxCursor(*result
);
18291 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
18299 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
18303 PyObject
* obj0
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
18309 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_EXCEPTION
| 0);
18310 if (SWIG_arg_fail(1)) SWIG_fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18327 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
18329 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18330 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
18332 return Py_BuildValue((char *)"");
18334 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18337 wxKeyEvent
*result
;
18338 PyObject
* obj0
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "eventType", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
18346 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
18347 if (SWIG_arg_fail(1)) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
18364 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18366 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18368 PyObject
* obj0
= 0 ;
18369 char *kwnames
[] = {
18370 (char *) "self", NULL
18373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
18374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18375 if (SWIG_arg_fail(1)) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18392 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18396 PyObject
* obj0
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "self", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
18402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18403 if (SWIG_arg_fail(1)) SWIG_fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18420 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
18430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18431 if (SWIG_arg_fail(1)) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18448 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
18458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18459 if (SWIG_arg_fail(1)) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18476 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18480 PyObject
* obj0
= 0 ;
18481 char *kwnames
[] = {
18482 (char *) "self", NULL
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
18486 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18487 if (SWIG_arg_fail(1)) SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18504 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18508 PyObject
* obj0
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
18514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18515 if (SWIG_arg_fail(1)) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18532 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
;
18534 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18536 PyObject
* obj0
= 0 ;
18537 char *kwnames
[] = {
18538 (char *) "self", NULL
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18543 if (SWIG_arg_fail(1)) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= SWIG_From_int((int)(result
));
18560 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18561 PyObject
*resultobj
;
18562 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18564 PyObject
* obj0
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
18570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18571 if (SWIG_arg_fail(1)) SWIG_fail
;
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18580 resultobj
= SWIG_From_int((int)(result
));
18588 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18589 PyObject
*resultobj
;
18590 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18591 unsigned int result
;
18592 PyObject
* obj0
= 0 ;
18593 char *kwnames
[] = {
18594 (char *) "self", NULL
18597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
18598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18599 if (SWIG_arg_fail(1)) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
18604 wxPyEndAllowThreads(__tstate
);
18605 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18616 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
;
18618 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18619 unsigned int result
;
18620 PyObject
* obj0
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
18626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18627 if (SWIG_arg_fail(1)) SWIG_fail
;
18629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18630 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
18632 wxPyEndAllowThreads(__tstate
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
18644 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 char *kwnames
[] = {
18650 (char *) "self", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18654 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18655 if (SWIG_arg_fail(1)) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 result
= (arg1
)->GetPosition();
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18664 wxPoint
* resultptr
;
18665 resultptr
= new wxPoint((wxPoint
&)(result
));
18666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
18674 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18677 long *arg2
= (long *) 0 ;
18678 long *arg3
= (long *) 0 ;
18683 PyObject
* obj0
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "self", NULL
18688 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18689 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
18691 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18692 if (SWIG_arg_fail(1)) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 (arg1
)->GetPosition(arg2
,arg3
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 Py_INCREF(Py_None
); resultobj
= Py_None
;
18701 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18702 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
18703 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18704 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
18711 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
;
18713 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18715 PyObject
* obj0
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
18721 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18722 if (SWIG_arg_fail(1)) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= SWIG_From_int((int)(result
));
18739 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18740 PyObject
*resultobj
;
18741 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18743 PyObject
* obj0
= 0 ;
18744 char *kwnames
[] = {
18745 (char *) "self", NULL
18748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
18749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18750 if (SWIG_arg_fail(1)) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_From_int((int)(result
));
18767 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
;
18769 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self",(char *) "m_x", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18779 if (SWIG_arg_fail(1)) SWIG_fail
;
18781 arg2
= (int)(SWIG_As_int(obj1
));
18782 if (SWIG_arg_fail(2)) SWIG_fail
;
18784 if (arg1
) (arg1
)->m_x
= arg2
;
18786 Py_INCREF(Py_None
); resultobj
= Py_None
;
18793 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18797 PyObject
* obj0
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
18803 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18804 if (SWIG_arg_fail(1)) SWIG_fail
;
18805 result
= (int) ((arg1
)->m_x
);
18808 resultobj
= SWIG_From_int((int)(result
));
18816 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18820 PyObject
* obj0
= 0 ;
18821 PyObject
* obj1
= 0 ;
18822 char *kwnames
[] = {
18823 (char *) "self",(char *) "m_y", NULL
18826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18828 if (SWIG_arg_fail(1)) SWIG_fail
;
18830 arg2
= (int)(SWIG_As_int(obj1
));
18831 if (SWIG_arg_fail(2)) SWIG_fail
;
18833 if (arg1
) (arg1
)->m_y
= arg2
;
18835 Py_INCREF(Py_None
); resultobj
= Py_None
;
18842 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
18852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18853 if (SWIG_arg_fail(1)) SWIG_fail
;
18854 result
= (int) ((arg1
)->m_y
);
18857 resultobj
= SWIG_From_int((int)(result
));
18865 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self",(char *) "m_keyCode", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18877 if (SWIG_arg_fail(1)) SWIG_fail
;
18879 arg2
= (long)(SWIG_As_long(obj1
));
18880 if (SWIG_arg_fail(2)) SWIG_fail
;
18882 if (arg1
) (arg1
)->m_keyCode
= arg2
;
18884 Py_INCREF(Py_None
); resultobj
= Py_None
;
18891 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
;
18893 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18895 PyObject
* obj0
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
18901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18902 if (SWIG_arg_fail(1)) SWIG_fail
;
18903 result
= (long) ((arg1
)->m_keyCode
);
18906 resultobj
= SWIG_From_long((long)(result
));
18914 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
;
18916 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj1
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self",(char *) "m_controlDown", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18925 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18926 if (SWIG_arg_fail(1)) SWIG_fail
;
18928 arg2
= (bool)(SWIG_As_bool(obj1
));
18929 if (SWIG_arg_fail(2)) SWIG_fail
;
18931 if (arg1
) (arg1
)->m_controlDown
= arg2
;
18933 Py_INCREF(Py_None
); resultobj
= Py_None
;
18940 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18941 PyObject
*resultobj
;
18942 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18944 PyObject
* obj0
= 0 ;
18945 char *kwnames
[] = {
18946 (char *) "self", NULL
18949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
18950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18951 if (SWIG_arg_fail(1)) SWIG_fail
;
18952 result
= (bool) ((arg1
)->m_controlDown
);
18955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18963 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18967 PyObject
* obj0
= 0 ;
18968 PyObject
* obj1
= 0 ;
18969 char *kwnames
[] = {
18970 (char *) "self",(char *) "m_shiftDown", NULL
18973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
18975 if (SWIG_arg_fail(1)) SWIG_fail
;
18977 arg2
= (bool)(SWIG_As_bool(obj1
));
18978 if (SWIG_arg_fail(2)) SWIG_fail
;
18980 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
18982 Py_INCREF(Py_None
); resultobj
= Py_None
;
18989 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18990 PyObject
*resultobj
;
18991 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
18993 PyObject
* obj0
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
18999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19000 if (SWIG_arg_fail(1)) SWIG_fail
;
19001 result
= (bool) ((arg1
)->m_shiftDown
);
19004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19012 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 PyObject
* obj1
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self",(char *) "m_altDown", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19023 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19024 if (SWIG_arg_fail(1)) SWIG_fail
;
19026 arg2
= (bool)(SWIG_As_bool(obj1
));
19027 if (SWIG_arg_fail(2)) SWIG_fail
;
19029 if (arg1
) (arg1
)->m_altDown
= arg2
;
19031 Py_INCREF(Py_None
); resultobj
= Py_None
;
19038 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
19048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19049 if (SWIG_arg_fail(1)) SWIG_fail
;
19050 result
= (bool) ((arg1
)->m_altDown
);
19053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19061 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
;
19063 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 char *kwnames
[] = {
19068 (char *) "self",(char *) "m_metaDown", NULL
19071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19073 if (SWIG_arg_fail(1)) SWIG_fail
;
19075 arg2
= (bool)(SWIG_As_bool(obj1
));
19076 if (SWIG_arg_fail(2)) SWIG_fail
;
19078 if (arg1
) (arg1
)->m_metaDown
= arg2
;
19080 Py_INCREF(Py_None
); resultobj
= Py_None
;
19087 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19089 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19091 PyObject
* obj0
= 0 ;
19092 char *kwnames
[] = {
19093 (char *) "self", NULL
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
19097 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19098 if (SWIG_arg_fail(1)) SWIG_fail
;
19099 result
= (bool) ((arg1
)->m_metaDown
);
19102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19110 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19111 PyObject
*resultobj
;
19112 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19114 PyObject
* obj0
= 0 ;
19115 PyObject
* obj1
= 0 ;
19116 char *kwnames
[] = {
19117 (char *) "self",(char *) "m_scanCode", NULL
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19122 if (SWIG_arg_fail(1)) SWIG_fail
;
19124 arg2
= (bool)(SWIG_As_bool(obj1
));
19125 if (SWIG_arg_fail(2)) SWIG_fail
;
19127 if (arg1
) (arg1
)->m_scanCode
= arg2
;
19129 Py_INCREF(Py_None
); resultobj
= Py_None
;
19136 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19140 PyObject
* obj0
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
19146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19147 if (SWIG_arg_fail(1)) SWIG_fail
;
19148 result
= (bool) ((arg1
)->m_scanCode
);
19151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19159 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19162 unsigned int arg2
;
19163 PyObject
* obj0
= 0 ;
19164 PyObject
* obj1
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self",(char *) "m_rawCode", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19170 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19171 if (SWIG_arg_fail(1)) SWIG_fail
;
19173 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19174 if (SWIG_arg_fail(2)) SWIG_fail
;
19176 if (arg1
) (arg1
)->m_rawCode
= arg2
;
19178 Py_INCREF(Py_None
); resultobj
= Py_None
;
19185 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19188 unsigned int result
;
19189 PyObject
* obj0
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
19195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19196 if (SWIG_arg_fail(1)) SWIG_fail
;
19197 result
= (unsigned int) ((arg1
)->m_rawCode
);
19200 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19208 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19211 unsigned int arg2
;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self",(char *) "m_rawFlags", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19219 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19220 if (SWIG_arg_fail(1)) SWIG_fail
;
19222 arg2
= (unsigned int)(SWIG_As_unsigned_SS_int(obj1
));
19223 if (SWIG_arg_fail(2)) SWIG_fail
;
19225 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
19227 Py_INCREF(Py_None
); resultobj
= Py_None
;
19234 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
19237 unsigned int result
;
19238 PyObject
* obj0
= 0 ;
19239 char *kwnames
[] = {
19240 (char *) "self", NULL
19243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
19244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
19245 if (SWIG_arg_fail(1)) SWIG_fail
;
19246 result
= (unsigned int) ((arg1
)->m_rawFlags
);
19249 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)(result
));
19257 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
19259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19260 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
19262 return Py_BuildValue((char *)"");
19264 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxSize
const &arg1_defvalue
= wxDefaultSize
;
19267 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
19268 int arg2
= (int) 0 ;
19269 wxSizeEvent
*result
;
19271 PyObject
* obj0
= 0 ;
19272 PyObject
* obj1
= 0 ;
19273 char *kwnames
[] = {
19274 (char *) "sz",(char *) "winid", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19281 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
19286 arg2
= (int)(SWIG_As_int(obj1
));
19287 if (SWIG_arg_fail(2)) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
19304 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19308 PyObject
* obj0
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
19314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19315 if (SWIG_arg_fail(1)) SWIG_fail
;
19317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19318 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
19320 wxPyEndAllowThreads(__tstate
);
19321 if (PyErr_Occurred()) SWIG_fail
;
19324 wxSize
* resultptr
;
19325 resultptr
= new wxSize((wxSize
&)(result
));
19326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19334 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19345 if (SWIG_arg_fail(1)) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19354 wxRect
* resultptr
;
19355 resultptr
= new wxRect((wxRect
&)(result
));
19356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19364 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19368 PyObject
* obj0
= 0 ;
19369 PyObject
* obj1
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self",(char *) "rect", NULL
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19376 if (SWIG_arg_fail(1)) SWIG_fail
;
19379 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
);
19380 if (SWIG_arg_fail(2)) SWIG_fail
;
19381 if (argp
== NULL
) {
19382 SWIG_null_ref("wxRect");
19384 if (SWIG_arg_fail(2)) SWIG_fail
;
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 (arg1
)->SetRect(arg2
);
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 Py_INCREF(Py_None
); resultobj
= Py_None
;
19401 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 PyObject
* obj1
= 0 ;
19407 char *kwnames
[] = {
19408 (char *) "self",(char *) "size", NULL
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19412 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19413 if (SWIG_arg_fail(1)) SWIG_fail
;
19416 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
19417 if (SWIG_arg_fail(2)) SWIG_fail
;
19418 if (argp
== NULL
) {
19419 SWIG_null_ref("wxSize");
19421 if (SWIG_arg_fail(2)) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 wxSizeEvent_SetSize(arg1
,arg2
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 Py_INCREF(Py_None
); resultobj
= Py_None
;
19438 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19441 wxSize
*arg2
= (wxSize
*) 0 ;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self",(char *) "m_size", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19450 if (SWIG_arg_fail(1)) SWIG_fail
;
19451 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
| 0);
19452 if (SWIG_arg_fail(2)) SWIG_fail
;
19453 if (arg1
) (arg1
)->m_size
= *arg2
;
19455 Py_INCREF(Py_None
); resultobj
= Py_None
;
19462 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
19472 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19473 if (SWIG_arg_fail(1)) SWIG_fail
;
19474 result
= (wxSize
*)& ((arg1
)->m_size
);
19476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
19483 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
;
19485 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19486 wxRect
*arg2
= (wxRect
*) 0 ;
19487 PyObject
* obj0
= 0 ;
19488 PyObject
* obj1
= 0 ;
19489 char *kwnames
[] = {
19490 (char *) "self",(char *) "m_rect", NULL
19493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19495 if (SWIG_arg_fail(1)) SWIG_fail
;
19496 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
19497 if (SWIG_arg_fail(2)) SWIG_fail
;
19498 if (arg1
) (arg1
)->m_rect
= *arg2
;
19500 Py_INCREF(Py_None
); resultobj
= Py_None
;
19507 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 char *kwnames
[] = {
19513 (char *) "self", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
19517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
19518 if (SWIG_arg_fail(1)) SWIG_fail
;
19519 result
= (wxRect
*)& ((arg1
)->m_rect
);
19521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
19528 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
19530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19531 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
19533 return Py_BuildValue((char *)"");
19535 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
19538 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
19539 int arg2
= (int) 0 ;
19540 wxMoveEvent
*result
;
19542 PyObject
* obj0
= 0 ;
19543 PyObject
* obj1
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "pos",(char *) "winid", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19552 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
19557 arg2
= (int)(SWIG_As_int(obj1
));
19558 if (SWIG_arg_fail(2)) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
19575 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19586 if (SWIG_arg_fail(1)) SWIG_fail
;
19588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19589 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19595 wxPoint
* resultptr
;
19596 resultptr
= new wxPoint((wxPoint
&)(result
));
19597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19605 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
;
19607 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19609 PyObject
* obj0
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "self", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
19615 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19616 if (SWIG_arg_fail(1)) SWIG_fail
;
19618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19619 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
19621 wxPyEndAllowThreads(__tstate
);
19622 if (PyErr_Occurred()) SWIG_fail
;
19625 wxRect
* resultptr
;
19626 resultptr
= new wxRect((wxRect
&)(result
));
19627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
19635 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19637 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "rect", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19647 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19648 if (SWIG_arg_fail(1)) SWIG_fail
;
19651 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 (arg1
)->SetRect((wxRect
const &)*arg2
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 Py_INCREF(Py_None
); resultobj
= Py_None
;
19667 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
19670 wxPoint
*arg2
= 0 ;
19672 PyObject
* obj0
= 0 ;
19673 PyObject
* obj1
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "self",(char *) "pos", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19679 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_EXCEPTION
| 0);
19680 if (SWIG_arg_fail(1)) SWIG_fail
;
19683 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19692 Py_INCREF(Py_None
); resultobj
= Py_None
;
19699 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
19701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19702 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
19704 return Py_BuildValue((char *)"");
19706 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
;
19708 int arg1
= (int) 0 ;
19709 wxPaintEvent
*result
;
19710 PyObject
* obj0
= 0 ;
19711 char *kwnames
[] = {
19712 (char *) "Id", NULL
19715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
19718 arg1
= (int)(SWIG_As_int(obj0
));
19719 if (SWIG_arg_fail(1)) SWIG_fail
;
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
19736 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19739 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
19741 return Py_BuildValue((char *)"");
19743 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 int arg1
= (int) 0 ;
19746 wxNcPaintEvent
*result
;
19747 PyObject
* obj0
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "winid", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
19755 arg1
= (int)(SWIG_As_int(obj0
));
19756 if (SWIG_arg_fail(1)) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
19773 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
19775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19776 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
19778 return Py_BuildValue((char *)"");
19780 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
;
19782 int arg1
= (int) 0 ;
19783 wxDC
*arg2
= (wxDC
*) NULL
;
19784 wxEraseEvent
*result
;
19785 PyObject
* obj0
= 0 ;
19786 PyObject
* obj1
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "Id",(char *) "dc", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19794 arg1
= (int)(SWIG_As_int(obj0
));
19795 if (SWIG_arg_fail(1)) SWIG_fail
;
19799 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
19800 if (SWIG_arg_fail(2)) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
19816 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
;
19818 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
19820 PyObject
* obj0
= 0 ;
19821 char *kwnames
[] = {
19822 (char *) "self", NULL
19825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
19826 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_EXCEPTION
| 0);
19827 if (SWIG_arg_fail(1)) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19836 resultobj
= wxPyMake_wxObject(result
, 0);
19844 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
19846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19847 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
19849 return Py_BuildValue((char *)"");
19851 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19854 int arg2
= (int) 0 ;
19855 wxFocusEvent
*result
;
19856 PyObject
* obj0
= 0 ;
19857 PyObject
* obj1
= 0 ;
19858 char *kwnames
[] = {
19859 (char *) "type",(char *) "winid", NULL
19862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19865 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
19866 if (SWIG_arg_fail(1)) SWIG_fail
;
19871 arg2
= (int)(SWIG_As_int(obj1
));
19872 if (SWIG_arg_fail(2)) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
19889 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19900 if (SWIG_arg_fail(1)) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= wxPyMake_wxObject(result
, 0);
19917 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
;
19919 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
19920 wxWindow
*arg2
= (wxWindow
*) 0 ;
19921 PyObject
* obj0
= 0 ;
19922 PyObject
* obj1
= 0 ;
19923 char *kwnames
[] = {
19924 (char *) "self",(char *) "win", NULL
19927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19929 if (SWIG_arg_fail(1)) SWIG_fail
;
19930 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19931 if (SWIG_arg_fail(2)) SWIG_fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 (arg1
)->SetWindow(arg2
);
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 Py_INCREF(Py_None
); resultobj
= Py_None
;
19946 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
19948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19949 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
19951 return Py_BuildValue((char *)"");
19953 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxWindow
*arg1
= (wxWindow
*) NULL
;
19956 wxChildFocusEvent
*result
;
19957 PyObject
* obj0
= 0 ;
19958 char *kwnames
[] = {
19959 (char *) "win", NULL
19962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
19964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19965 if (SWIG_arg_fail(1)) SWIG_fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
19981 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
;
19983 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 char *kwnames
[] = {
19987 (char *) "self", NULL
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_EXCEPTION
| 0);
19992 if (SWIG_arg_fail(1)) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= wxPyMake_wxObject(result
, 0);
20009 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
20011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20012 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
20014 return Py_BuildValue((char *)"");
20016 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20018 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20019 bool arg2
= (bool) true ;
20020 int arg3
= (int) 0 ;
20021 wxActivateEvent
*result
;
20022 PyObject
* obj0
= 0 ;
20023 PyObject
* obj1
= 0 ;
20024 PyObject
* obj2
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "type",(char *) "active",(char *) "Id", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20032 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20033 if (SWIG_arg_fail(1)) SWIG_fail
;
20038 arg2
= (bool)(SWIG_As_bool(obj1
));
20039 if (SWIG_arg_fail(2)) SWIG_fail
;
20044 arg3
= (int)(SWIG_As_int(obj2
));
20045 if (SWIG_arg_fail(3)) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
20052 wxPyEndAllowThreads(__tstate
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
20062 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 char *kwnames
[] = {
20068 (char *) "self", NULL
20071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
20072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_EXCEPTION
| 0);
20073 if (SWIG_arg_fail(1)) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
20078 wxPyEndAllowThreads(__tstate
);
20079 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20090 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
20092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20093 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
20095 return Py_BuildValue((char *)"");
20097 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 int arg1
= (int) 0 ;
20100 wxInitDialogEvent
*result
;
20101 PyObject
* obj0
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "Id", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
20109 arg1
= (int)(SWIG_As_int(obj0
));
20110 if (SWIG_arg_fail(1)) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
20127 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
20129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20130 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
20132 return Py_BuildValue((char *)"");
20134 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20137 int arg2
= (int) 0 ;
20138 wxMenu
*arg3
= (wxMenu
*) NULL
;
20139 wxMenuEvent
*result
;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 PyObject
* obj2
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "type",(char *) "winid",(char *) "menu", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20150 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20151 if (SWIG_arg_fail(1)) SWIG_fail
;
20156 arg2
= (int)(SWIG_As_int(obj1
));
20157 if (SWIG_arg_fail(2)) SWIG_fail
;
20161 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
20162 if (SWIG_arg_fail(3)) SWIG_fail
;
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
20178 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 char *kwnames
[] = {
20184 (char *) "self", NULL
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
20188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20189 if (SWIG_arg_fail(1)) SWIG_fail
;
20191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20192 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
20194 wxPyEndAllowThreads(__tstate
);
20195 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= SWIG_From_int((int)(result
));
20206 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
20216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20217 if (SWIG_arg_fail(1)) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20234 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
20238 PyObject
* obj0
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
20244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
20245 if (SWIG_arg_fail(1)) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20254 resultobj
= wxPyMake_wxObject(result
, 0);
20262 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
20264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20265 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
20267 return Py_BuildValue((char *)"");
20269 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20272 int arg2
= (int) 0 ;
20273 wxCloseEvent
*result
;
20274 PyObject
* obj0
= 0 ;
20275 PyObject
* obj1
= 0 ;
20276 char *kwnames
[] = {
20277 (char *) "type",(char *) "winid", NULL
20280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20283 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
20284 if (SWIG_arg_fail(1)) SWIG_fail
;
20289 arg2
= (int)(SWIG_As_int(obj1
));
20290 if (SWIG_arg_fail(2)) SWIG_fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
20307 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 PyObject
* obj1
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self",(char *) "logOff", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
20318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20319 if (SWIG_arg_fail(1)) SWIG_fail
;
20321 arg2
= (bool)(SWIG_As_bool(obj1
));
20322 if (SWIG_arg_fail(2)) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 (arg1
)->SetLoggingOff(arg2
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 Py_INCREF(Py_None
); resultobj
= Py_None
;
20338 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20342 PyObject
* obj0
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
20348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20349 if (SWIG_arg_fail(1)) SWIG_fail
;
20351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
20354 wxPyEndAllowThreads(__tstate
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20366 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
;
20368 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20369 bool arg2
= (bool) true ;
20370 PyObject
* obj0
= 0 ;
20371 PyObject
* obj1
= 0 ;
20372 char *kwnames
[] = {
20373 (char *) "self",(char *) "veto", NULL
20376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
20377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20378 if (SWIG_arg_fail(1)) SWIG_fail
;
20381 arg2
= (bool)(SWIG_As_bool(obj1
));
20382 if (SWIG_arg_fail(2)) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 (arg1
)->Veto(arg2
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20403 PyObject
* obj0
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
20409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20410 if (SWIG_arg_fail(1)) SWIG_fail
;
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20427 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self",(char *) "canVeto", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
20438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20439 if (SWIG_arg_fail(1)) SWIG_fail
;
20441 arg2
= (bool)(SWIG_As_bool(obj1
));
20442 if (SWIG_arg_fail(2)) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 (arg1
)->SetCanVeto(arg2
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 Py_INCREF(Py_None
); resultobj
= Py_None
;
20458 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
20462 PyObject
* obj0
= 0 ;
20463 char *kwnames
[] = {
20464 (char *) "self", NULL
20467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
20468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_EXCEPTION
| 0);
20469 if (SWIG_arg_fail(1)) SWIG_fail
;
20471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20472 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20486 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
20488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20489 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
20491 return Py_BuildValue((char *)"");
20493 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
;
20495 int arg1
= (int) 0 ;
20496 bool arg2
= (bool) false ;
20497 wxShowEvent
*result
;
20498 PyObject
* obj0
= 0 ;
20499 PyObject
* obj1
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "winid",(char *) "show", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20507 arg1
= (int)(SWIG_As_int(obj0
));
20508 if (SWIG_arg_fail(1)) SWIG_fail
;
20513 arg2
= (bool)(SWIG_As_bool(obj1
));
20514 if (SWIG_arg_fail(2)) SWIG_fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
20531 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20535 PyObject
* obj0
= 0 ;
20536 PyObject
* obj1
= 0 ;
20537 char *kwnames
[] = {
20538 (char *) "self",(char *) "show", NULL
20541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
20542 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20543 if (SWIG_arg_fail(1)) SWIG_fail
;
20545 arg2
= (bool)(SWIG_As_bool(obj1
));
20546 if (SWIG_arg_fail(2)) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 (arg1
)->SetShow(arg2
);
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 Py_INCREF(Py_None
); resultobj
= Py_None
;
20562 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
20572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_EXCEPTION
| 0);
20573 if (SWIG_arg_fail(1)) SWIG_fail
;
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
20578 wxPyEndAllowThreads(__tstate
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20590 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
20592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20593 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
20595 return Py_BuildValue((char *)"");
20597 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
;
20599 int arg1
= (int) 0 ;
20600 bool arg2
= (bool) true ;
20601 wxIconizeEvent
*result
;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "id",(char *) "iconized", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20611 arg1
= (int)(SWIG_As_int(obj0
));
20612 if (SWIG_arg_fail(1)) SWIG_fail
;
20617 arg2
= (bool)(SWIG_As_bool(obj1
));
20618 if (SWIG_arg_fail(2)) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20623 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
20625 wxPyEndAllowThreads(__tstate
);
20626 if (PyErr_Occurred()) SWIG_fail
;
20628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
20635 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20636 PyObject
*resultobj
;
20637 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
20639 PyObject
* obj0
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
20645 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_EXCEPTION
| 0);
20646 if (SWIG_arg_fail(1)) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 result
= (bool)(arg1
)->Iconized();
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20663 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20666 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
20668 return Py_BuildValue((char *)"");
20670 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 int arg1
= (int) 0 ;
20673 wxMaximizeEvent
*result
;
20674 PyObject
* obj0
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "id", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
20682 arg1
= (int)(SWIG_As_int(obj0
));
20683 if (SWIG_arg_fail(1)) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
20700 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
20702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20703 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
20705 return Py_BuildValue((char *)"");
20707 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20711 PyObject
* obj0
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
20717 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20718 if (SWIG_arg_fail(1)) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (arg1
)->GetPosition();
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20727 wxPoint
* resultptr
;
20728 resultptr
= new wxPoint((wxPoint
&)(result
));
20729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20737 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
;
20739 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20741 PyObject
* obj0
= 0 ;
20742 char *kwnames
[] = {
20743 (char *) "self", NULL
20746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
20747 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20748 if (SWIG_arg_fail(1)) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (int)(arg1
)->GetNumberOfFiles();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20757 resultobj
= SWIG_From_int((int)(result
));
20765 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20766 PyObject
*resultobj
;
20767 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
20769 PyObject
* obj0
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
20775 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDropFilesEvent
, SWIG_POINTER_EXCEPTION
| 0);
20776 if (SWIG_arg_fail(1)) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= result
;
20791 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
20793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20794 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
20796 return Py_BuildValue((char *)"");
20798 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20800 int arg1
= (int) 0 ;
20801 wxUpdateUIEvent
*result
;
20802 PyObject
* obj0
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "commandId", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
20810 arg1
= (int)(SWIG_As_int(obj0
));
20811 if (SWIG_arg_fail(1)) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
20828 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
20838 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20839 if (SWIG_arg_fail(1)) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20856 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20860 PyObject
* obj0
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
20866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20867 if (SWIG_arg_fail(1)) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20884 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20885 PyObject
*resultobj
;
20886 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20888 PyObject
* obj0
= 0 ;
20889 char *kwnames
[] = {
20890 (char *) "self", NULL
20893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
20894 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20895 if (SWIG_arg_fail(1)) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20916 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20918 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20920 PyObject
* obj0
= 0 ;
20921 char *kwnames
[] = {
20922 (char *) "self", NULL
20925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
20926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20927 if (SWIG_arg_fail(1)) SWIG_fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20944 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20948 PyObject
* obj0
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
20954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20955 if (SWIG_arg_fail(1)) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20972 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
20976 PyObject
* obj0
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
20982 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
20983 if (SWIG_arg_fail(1)) SWIG_fail
;
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21000 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21001 PyObject
*resultobj
;
21002 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21004 PyObject
* obj0
= 0 ;
21005 PyObject
* obj1
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self",(char *) "check", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
21011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21012 if (SWIG_arg_fail(1)) SWIG_fail
;
21014 arg2
= (bool)(SWIG_As_bool(obj1
));
21015 if (SWIG_arg_fail(2)) SWIG_fail
;
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 (arg1
)->Check(arg2
);
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21024 Py_INCREF(Py_None
); resultobj
= Py_None
;
21031 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
;
21033 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21035 PyObject
* obj0
= 0 ;
21036 PyObject
* obj1
= 0 ;
21037 char *kwnames
[] = {
21038 (char *) "self",(char *) "enable", NULL
21041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
21042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21043 if (SWIG_arg_fail(1)) SWIG_fail
;
21045 arg2
= (bool)(SWIG_As_bool(obj1
));
21046 if (SWIG_arg_fail(2)) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 (arg1
)->Enable(arg2
);
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 Py_INCREF(Py_None
); resultobj
= Py_None
;
21062 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21064 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
21065 wxString
*arg2
= 0 ;
21066 bool temp2
= false ;
21067 PyObject
* obj0
= 0 ;
21068 PyObject
* obj1
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "self",(char *) "text", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
21074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_EXCEPTION
| 0);
21075 if (SWIG_arg_fail(1)) SWIG_fail
;
21077 arg2
= wxString_in_helper(obj1
);
21078 if (arg2
== NULL
) SWIG_fail
;
21082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21083 (arg1
)->SetText((wxString
const &)*arg2
);
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21088 Py_INCREF(Py_None
); resultobj
= Py_None
;
21103 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
;
21106 PyObject
* obj0
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "updateInterval", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
21113 arg1
= (long)(SWIG_As_long(obj0
));
21114 if (SWIG_arg_fail(1)) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 wxUpdateUIEvent::SetUpdateInterval(arg1
);
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 Py_INCREF(Py_None
); resultobj
= Py_None
;
21130 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21133 char *kwnames
[] = {
21137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= SWIG_From_long((long)(result
));
21154 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxWindow
*arg1
= (wxWindow
*) 0 ;
21158 PyObject
* obj0
= 0 ;
21159 char *kwnames
[] = {
21160 (char *) "win", NULL
21163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
21164 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21165 if (SWIG_arg_fail(1)) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
21170 wxPyEndAllowThreads(__tstate
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21182 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21184 char *kwnames
[] = {
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 wxUpdateUIEvent::ResetUpdateTime();
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 Py_INCREF(Py_None
); resultobj
= Py_None
;
21203 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21205 wxUpdateUIMode arg1
;
21206 PyObject
* obj0
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "mode", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
21213 arg1
= (wxUpdateUIMode
)(SWIG_As_int(obj0
));
21214 if (SWIG_arg_fail(1)) SWIG_fail
;
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
21220 wxPyEndAllowThreads(__tstate
);
21221 if (PyErr_Occurred()) SWIG_fail
;
21223 Py_INCREF(Py_None
); resultobj
= Py_None
;
21230 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21231 PyObject
*resultobj
;
21232 wxUpdateUIMode result
;
21233 char *kwnames
[] = {
21237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= SWIG_From_int((result
));
21252 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
21254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21255 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
21257 return Py_BuildValue((char *)"");
21259 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
;
21261 wxSysColourChangedEvent
*result
;
21262 char *kwnames
[] = {
21266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
21281 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21284 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
21286 return Py_BuildValue((char *)"");
21288 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 int arg1
= (int) 0 ;
21291 wxWindow
*arg2
= (wxWindow
*) NULL
;
21292 wxMouseCaptureChangedEvent
*result
;
21293 PyObject
* obj0
= 0 ;
21294 PyObject
* obj1
= 0 ;
21295 char *kwnames
[] = {
21296 (char *) "winid",(char *) "gainedCapture", NULL
21299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21302 arg1
= (int)(SWIG_As_int(obj0
));
21303 if (SWIG_arg_fail(1)) SWIG_fail
;
21307 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21308 if (SWIG_arg_fail(2)) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
21324 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21326 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
21328 PyObject
* obj0
= 0 ;
21329 char *kwnames
[] = {
21330 (char *) "self", NULL
21333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
21334 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21335 if (SWIG_arg_fail(1)) SWIG_fail
;
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
21340 wxPyEndAllowThreads(__tstate
);
21341 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= wxPyMake_wxObject(result
, 0);
21352 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21355 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
21357 return Py_BuildValue((char *)"");
21359 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxDisplayChangedEvent
*result
;
21362 char *kwnames
[] = {
21366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
21381 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21384 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
21386 return Py_BuildValue((char *)"");
21388 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 int arg1
= (int) 0 ;
21391 wxPaletteChangedEvent
*result
;
21392 PyObject
* obj0
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "id", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
21400 arg1
= (int)(SWIG_As_int(obj0
));
21401 if (SWIG_arg_fail(1)) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
21418 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21419 PyObject
*resultobj
;
21420 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21421 wxWindow
*arg2
= (wxWindow
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21423 PyObject
* obj1
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self",(char *) "win", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
21429 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21430 if (SWIG_arg_fail(1)) SWIG_fail
;
21431 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21432 if (SWIG_arg_fail(2)) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 (arg1
)->SetChangedWindow(arg2
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 Py_INCREF(Py_None
); resultobj
= Py_None
;
21447 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
21451 PyObject
* obj0
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
21457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_EXCEPTION
| 0);
21458 if (SWIG_arg_fail(1)) SWIG_fail
;
21460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21461 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
21463 wxPyEndAllowThreads(__tstate
);
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 resultobj
= wxPyMake_wxObject(result
, 0);
21475 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
21477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21478 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
21480 return Py_BuildValue((char *)"");
21482 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 int arg1
= (int) 0 ;
21485 wxQueryNewPaletteEvent
*result
;
21486 PyObject
* obj0
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "winid", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
21494 arg1
= (int)(SWIG_As_int(obj0
));
21495 if (SWIG_arg_fail(1)) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
21512 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
;
21514 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21516 PyObject
* obj0
= 0 ;
21517 PyObject
* obj1
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "self",(char *) "realized", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
21523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21524 if (SWIG_arg_fail(1)) SWIG_fail
;
21526 arg2
= (bool)(SWIG_As_bool(obj1
));
21527 if (SWIG_arg_fail(2)) SWIG_fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 (arg1
)->SetPaletteRealized(arg2
);
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 Py_INCREF(Py_None
); resultobj
= Py_None
;
21543 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21545 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
21547 PyObject
* obj0
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
21553 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_EXCEPTION
| 0);
21554 if (SWIG_arg_fail(1)) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21571 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
21573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21574 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
21576 return Py_BuildValue((char *)"");
21578 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxNavigationKeyEvent
*result
;
21581 char *kwnames
[] = {
21585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
21600 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
;
21602 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21604 PyObject
* obj0
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
21610 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21611 if (SWIG_arg_fail(1)) SWIG_fail
;
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21628 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21632 PyObject
* obj0
= 0 ;
21633 PyObject
* obj1
= 0 ;
21634 char *kwnames
[] = {
21635 (char *) "self",(char *) "forward", NULL
21638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
21639 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21640 if (SWIG_arg_fail(1)) SWIG_fail
;
21642 arg2
= (bool)(SWIG_As_bool(obj1
));
21643 if (SWIG_arg_fail(2)) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 (arg1
)->SetDirection(arg2
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 Py_INCREF(Py_None
); resultobj
= Py_None
;
21659 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
;
21661 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21663 PyObject
* obj0
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
21669 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21670 if (SWIG_arg_fail(1)) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21687 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21688 PyObject
*resultobj
;
21689 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21691 PyObject
* obj0
= 0 ;
21692 PyObject
* obj1
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self",(char *) "ischange", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
21698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21699 if (SWIG_arg_fail(1)) SWIG_fail
;
21701 arg2
= (bool)(SWIG_As_bool(obj1
));
21702 if (SWIG_arg_fail(2)) SWIG_fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 (arg1
)->SetWindowChange(arg2
);
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 Py_INCREF(Py_None
); resultobj
= Py_None
;
21718 static PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsFromTab",kwnames
,&obj0
)) goto fail
;
21728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21729 if (SWIG_arg_fail(1)) SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21746 static PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "bIs", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) goto fail
;
21757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21758 if (SWIG_arg_fail(1)) SWIG_fail
;
21760 arg2
= (bool)(SWIG_As_bool(obj1
));
21761 if (SWIG_arg_fail(2)) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 (arg1
)->SetFromTab(arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 Py_INCREF(Py_None
); resultobj
= Py_None
;
21777 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self",(char *) "flags", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
21788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21789 if (SWIG_arg_fail(1)) SWIG_fail
;
21791 arg2
= (long)(SWIG_As_long(obj1
));
21792 if (SWIG_arg_fail(2)) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 (arg1
)->SetFlags(arg2
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 Py_INCREF(Py_None
); resultobj
= Py_None
;
21808 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21812 PyObject
* obj0
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
21818 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21819 if (SWIG_arg_fail(1)) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= wxPyMake_wxObject(result
, 0);
21836 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
21839 wxWindow
*arg2
= (wxWindow
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "win", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
21847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21848 if (SWIG_arg_fail(1)) SWIG_fail
;
21849 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21850 if (SWIG_arg_fail(2)) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 (arg1
)->SetCurrentFocus(arg2
);
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 Py_INCREF(Py_None
); resultobj
= Py_None
;
21865 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
21867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21868 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
21870 return Py_BuildValue((char *)"");
21872 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 wxWindow
*arg1
= (wxWindow
*) NULL
;
21875 wxWindowCreateEvent
*result
;
21876 PyObject
* obj0
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "win", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
21883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21884 if (SWIG_arg_fail(1)) SWIG_fail
;
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
21900 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_EXCEPTION
| 0);
21911 if (SWIG_arg_fail(1)) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= wxPyMake_wxObject(result
, 0);
21928 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
21930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21931 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
21933 return Py_BuildValue((char *)"");
21935 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxWindow
*arg1
= (wxWindow
*) NULL
;
21938 wxWindowDestroyEvent
*result
;
21939 PyObject
* obj0
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "win", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
21946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
21947 if (SWIG_arg_fail(1)) SWIG_fail
;
21950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21951 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
21963 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
21967 PyObject
* obj0
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "self", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
21973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_EXCEPTION
| 0);
21974 if (SWIG_arg_fail(1)) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
21979 wxPyEndAllowThreads(__tstate
);
21980 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= wxPyMake_wxObject(result
, 0);
21991 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
21993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21994 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
21996 return Py_BuildValue((char *)"");
21998 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21999 PyObject
*resultobj
;
22000 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22001 int arg2
= (int) 0 ;
22002 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22003 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22004 wxContextMenuEvent
*result
;
22006 PyObject
* obj0
= 0 ;
22007 PyObject
* obj1
= 0 ;
22008 PyObject
* obj2
= 0 ;
22009 char *kwnames
[] = {
22010 (char *) "type",(char *) "winid",(char *) "pt", NULL
22013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22016 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22017 if (SWIG_arg_fail(1)) SWIG_fail
;
22022 arg2
= (int)(SWIG_As_int(obj1
));
22023 if (SWIG_arg_fail(2)) SWIG_fail
;
22029 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
22036 wxPyEndAllowThreads(__tstate
);
22037 if (PyErr_Occurred()) SWIG_fail
;
22039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
22046 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22047 PyObject
*resultobj
;
22048 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22050 PyObject
* obj0
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
22056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22057 if (SWIG_arg_fail(1)) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
22062 result
= (wxPoint
*) &_result_ref
;
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
22075 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
22078 wxPoint
*arg2
= 0 ;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self",(char *) "pos", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_EXCEPTION
| 0);
22088 if (SWIG_arg_fail(1)) SWIG_fail
;
22091 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 Py_INCREF(Py_None
); resultobj
= Py_None
;
22107 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
22109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22110 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
22112 return Py_BuildValue((char *)"");
22114 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
;
22116 wxIdleEvent
*result
;
22117 char *kwnames
[] = {
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (wxIdleEvent
*)new wxIdleEvent();
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
22136 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
;
22138 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22139 bool arg2
= (bool) true ;
22140 PyObject
* obj0
= 0 ;
22141 PyObject
* obj1
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self",(char *) "needMore", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
22147 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22148 if (SWIG_arg_fail(1)) SWIG_fail
;
22151 arg2
= (bool)(SWIG_As_bool(obj1
));
22152 if (SWIG_arg_fail(2)) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 (arg1
)->RequestMore(arg2
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 Py_INCREF(Py_None
); resultobj
= Py_None
;
22169 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
22173 PyObject
* obj0
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
22179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
22180 if (SWIG_arg_fail(1)) SWIG_fail
;
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
22185 wxPyEndAllowThreads(__tstate
);
22186 if (PyErr_Occurred()) SWIG_fail
;
22189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22197 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22200 PyObject
* obj0
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "mode", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
22207 arg1
= (wxIdleMode
)(SWIG_As_int(obj0
));
22208 if (SWIG_arg_fail(1)) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 Py_INCREF(Py_None
); resultobj
= Py_None
;
22224 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22227 char *kwnames
[] = {
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (wxIdleMode
)wxIdleEvent::GetMode();
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 resultobj
= SWIG_From_int((result
));
22246 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxWindow
*arg1
= (wxWindow
*) 0 ;
22250 PyObject
* obj0
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "win", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
22256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22257 if (SWIG_arg_fail(1)) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (bool)wxIdleEvent::CanSend(arg1
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22274 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
22276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22277 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
22279 return Py_BuildValue((char *)"");
22281 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
;
22283 int arg1
= (int) 0 ;
22284 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
22286 PyObject
* obj0
= 0 ;
22287 PyObject
* obj1
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "winid",(char *) "eventType", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22295 arg1
= (int)(SWIG_As_int(obj0
));
22296 if (SWIG_arg_fail(1)) SWIG_fail
;
22301 arg2
= (wxEventType
)(SWIG_As_int(obj1
));
22302 if (SWIG_arg_fail(2)) SWIG_fail
;
22306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22307 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
22319 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22322 PyObject
* obj0
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
22328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22329 if (SWIG_arg_fail(1)) SWIG_fail
;
22331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 Py_INCREF(Py_None
); resultobj
= Py_None
;
22344 static PyObject
*_wrap_PyEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
;
22346 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22347 PyObject
*arg2
= (PyObject
*) 0 ;
22348 PyObject
* obj0
= 0 ;
22349 PyObject
* obj1
= 0 ;
22350 char *kwnames
[] = {
22351 (char *) "self",(char *) "self", NULL
22354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22356 if (SWIG_arg_fail(1)) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 (arg1
)->SetSelf(arg2
);
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22365 Py_INCREF(Py_None
); resultobj
= Py_None
;
22372 static PyObject
*_wrap_PyEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
22376 PyObject
* obj0
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22382 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_EXCEPTION
| 0);
22383 if (SWIG_arg_fail(1)) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (PyObject
*)(arg1
)->GetSelf();
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= result
;
22398 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
22400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22401 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
22403 return Py_BuildValue((char *)"");
22405 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22408 int arg2
= (int) 0 ;
22409 wxPyCommandEvent
*result
;
22410 PyObject
* obj0
= 0 ;
22411 PyObject
* obj1
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "eventType",(char *) "id", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22419 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
22420 if (SWIG_arg_fail(1)) SWIG_fail
;
22425 arg2
= (int)(SWIG_As_int(obj1
));
22426 if (SWIG_arg_fail(2)) SWIG_fail
;
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
22443 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
;
22445 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22446 PyObject
* obj0
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
22452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22453 if (SWIG_arg_fail(1)) SWIG_fail
;
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22461 Py_INCREF(Py_None
); resultobj
= Py_None
;
22468 static PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22470 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22471 PyObject
*arg2
= (PyObject
*) 0 ;
22472 PyObject
* obj0
= 0 ;
22473 PyObject
* obj1
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self",(char *) "self", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
22479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22480 if (SWIG_arg_fail(1)) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 (arg1
)->SetSelf(arg2
);
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 Py_INCREF(Py_None
); resultobj
= Py_None
;
22496 static PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
22500 PyObject
* obj0
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent__GetSelf",kwnames
,&obj0
)) goto fail
;
22506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
22507 if (SWIG_arg_fail(1)) SWIG_fail
;
22509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22510 result
= (PyObject
*)(arg1
)->GetSelf();
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= result
;
22522 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
22524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22525 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
22527 return Py_BuildValue((char *)"");
22529 static PyObject
*_wrap_new_DateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22530 PyObject
*resultobj
;
22531 wxWindow
*arg1
= (wxWindow
*) 0 ;
22532 wxDateTime
*arg2
= 0 ;
22534 wxDateEvent
*result
;
22535 PyObject
* obj0
= 0 ;
22536 PyObject
* obj1
= 0 ;
22537 PyObject
* obj2
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "win",(char *) "dt",(char *) "type", NULL
22542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22544 if (SWIG_arg_fail(1)) SWIG_fail
;
22546 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22547 if (SWIG_arg_fail(2)) SWIG_fail
;
22548 if (arg2
== NULL
) {
22549 SWIG_null_ref("wxDateTime");
22551 if (SWIG_arg_fail(2)) SWIG_fail
;
22554 arg3
= (wxEventType
)(SWIG_As_int(obj2
));
22555 if (SWIG_arg_fail(3)) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateEvent
, 1);
22571 static PyObject
*_wrap_DateEvent_GetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22572 PyObject
*resultobj
;
22573 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22574 wxDateTime
*result
;
22575 PyObject
* obj0
= 0 ;
22576 char *kwnames
[] = {
22577 (char *) "self", NULL
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateEvent_GetDate",kwnames
,&obj0
)) goto fail
;
22581 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22582 if (SWIG_arg_fail(1)) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
22587 result
= (wxDateTime
*) &_result_ref
;
22590 wxPyEndAllowThreads(__tstate
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
22600 static PyObject
*_wrap_DateEvent_SetDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
22603 wxDateTime
*arg2
= 0 ;
22604 PyObject
* obj0
= 0 ;
22605 PyObject
* obj1
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self",(char *) "date", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) goto fail
;
22611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_EXCEPTION
| 0);
22612 if (SWIG_arg_fail(1)) SWIG_fail
;
22614 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDateTime
, SWIG_POINTER_EXCEPTION
| 0);
22615 if (SWIG_arg_fail(2)) SWIG_fail
;
22616 if (arg2
== NULL
) {
22617 SWIG_null_ref("wxDateTime");
22619 if (SWIG_arg_fail(2)) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 static PyObject
* DateEvent_swigregister(PyObject
*, PyObject
*args
) {
22637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22638 SWIG_TypeClientData(SWIGTYPE_p_wxDateEvent
, obj
);
22640 return Py_BuildValue((char *)"");
22642 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22645 char *kwnames
[] = {
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= (wxPyApp
*)new_wxPyApp();
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
22664 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
22673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22674 if (SWIG_arg_fail(1)) SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 Py_INCREF(Py_None
); resultobj
= Py_None
;
22689 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22692 PyObject
*arg2
= (PyObject
*) 0 ;
22693 PyObject
*arg3
= (PyObject
*) 0 ;
22695 PyObject
* obj0
= 0 ;
22696 PyObject
* obj1
= 0 ;
22697 PyObject
* obj2
= 0 ;
22698 PyObject
* obj3
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22705 if (SWIG_arg_fail(1)) SWIG_fail
;
22709 arg4
= (bool)(SWIG_As_bool(obj3
));
22710 if (SWIG_arg_fail(4)) SWIG_fail
;
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
22716 wxPyEndAllowThreads(__tstate
);
22717 if (PyErr_Occurred()) SWIG_fail
;
22719 Py_INCREF(Py_None
); resultobj
= Py_None
;
22726 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22727 PyObject
*resultobj
;
22728 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
22736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= ((wxPyApp
const *)arg1
)->GetAppName();
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22758 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22761 wxString
*arg2
= 0 ;
22762 bool temp2
= false ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self",(char *) "name", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
22770 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22771 if (SWIG_arg_fail(1)) SWIG_fail
;
22773 arg2
= wxString_in_helper(obj1
);
22774 if (arg2
== NULL
) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 (arg1
)->SetAppName((wxString
const &)*arg2
);
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22784 Py_INCREF(Py_None
); resultobj
= Py_None
;
22799 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22803 PyObject
* obj0
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self", NULL
22808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
22809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22810 if (SWIG_arg_fail(1)) SWIG_fail
;
22812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 result
= ((wxPyApp
const *)arg1
)->GetClassName();
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22831 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22834 wxString
*arg2
= 0 ;
22835 bool temp2
= false ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "self",(char *) "name", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
22843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22844 if (SWIG_arg_fail(1)) SWIG_fail
;
22846 arg2
= wxString_in_helper(obj1
);
22847 if (arg2
== NULL
) SWIG_fail
;
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->SetClassName((wxString
const &)*arg2
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 Py_INCREF(Py_None
); resultobj
= Py_None
;
22872 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22874 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
22882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22883 if (SWIG_arg_fail(1)) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
22888 result
= (wxString
*) &_result_ref
;
22891 wxPyEndAllowThreads(__tstate
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22896 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
22898 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
22907 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
;
22909 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22910 wxString
*arg2
= 0 ;
22911 bool temp2
= false ;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "name", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
22919 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22920 if (SWIG_arg_fail(1)) SWIG_fail
;
22922 arg2
= wxString_in_helper(obj1
);
22923 if (arg2
== NULL
) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 (arg1
)->SetVendorName((wxString
const &)*arg2
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 Py_INCREF(Py_None
); resultobj
= Py_None
;
22948 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22951 wxAppTraits
*result
;
22952 PyObject
* obj0
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
22958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22959 if (SWIG_arg_fail(1)) SWIG_fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (wxAppTraits
*)(arg1
)->GetTraits();
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
22974 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
22983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail
;
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 (arg1
)->ProcessPendingEvents();
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 Py_INCREF(Py_None
); resultobj
= Py_None
;
22999 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
;
23001 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23002 bool arg2
= (bool) false ;
23004 PyObject
* obj0
= 0 ;
23005 PyObject
* obj1
= 0 ;
23006 char *kwnames
[] = {
23007 (char *) "self",(char *) "onlyIfNeeded", NULL
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
23011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23012 if (SWIG_arg_fail(1)) SWIG_fail
;
23015 arg2
= (bool)(SWIG_As_bool(obj1
));
23016 if (SWIG_arg_fail(2)) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (bool)(arg1
)->Yield(arg2
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23035 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
23044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23045 if (SWIG_arg_fail(1)) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 (arg1
)->WakeUpIdle();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 Py_INCREF(Py_None
); resultobj
= Py_None
;
23060 static PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23063 char *kwnames
[] = {
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_IsMainLoopRunning",kwnames
)) goto fail
;
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (bool)wxPyApp::IsMainLoopRunning();
23072 wxPyEndAllowThreads(__tstate
);
23073 if (PyErr_Occurred()) SWIG_fail
;
23076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23084 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23088 PyObject
* obj0
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
23094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23095 if (SWIG_arg_fail(1)) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= (int)(arg1
)->MainLoop();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23104 resultobj
= SWIG_From_int((int)(result
));
23112 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
;
23114 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23115 PyObject
* obj0
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
23121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23122 if (SWIG_arg_fail(1)) SWIG_fail
;
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 Py_INCREF(Py_None
); resultobj
= Py_None
;
23137 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
23146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23147 if (SWIG_arg_fail(1)) SWIG_fail
;
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 (arg1
)->ExitMainLoop();
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 Py_INCREF(Py_None
); resultobj
= Py_None
;
23162 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23163 PyObject
*resultobj
;
23164 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23166 PyObject
* obj0
= 0 ;
23167 char *kwnames
[] = {
23168 (char *) "self", NULL
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
23172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23173 if (SWIG_arg_fail(1)) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (bool)(arg1
)->Pending();
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23190 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 char *kwnames
[] = {
23196 (char *) "self", NULL
23199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
23200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23201 if (SWIG_arg_fail(1)) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= (bool)(arg1
)->Dispatch();
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23218 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23219 PyObject
*resultobj
;
23220 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
23228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23229 if (SWIG_arg_fail(1)) SWIG_fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (bool)(arg1
)->ProcessIdle();
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23246 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23249 wxWindow
*arg2
= (wxWindow
*) 0 ;
23250 wxIdleEvent
*arg3
= 0 ;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 PyObject
* obj2
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self",(char *) "win",(char *) "event", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23261 if (SWIG_arg_fail(1)) SWIG_fail
;
23262 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23263 if (SWIG_arg_fail(2)) SWIG_fail
;
23265 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_EXCEPTION
| 0);
23266 if (SWIG_arg_fail(3)) SWIG_fail
;
23267 if (arg3
== NULL
) {
23268 SWIG_null_ref("wxIdleEvent");
23270 if (SWIG_arg_fail(3)) SWIG_fail
;
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23288 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23292 PyObject
* obj0
= 0 ;
23293 char *kwnames
[] = {
23294 (char *) "self", NULL
23297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
23298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23299 if (SWIG_arg_fail(1)) SWIG_fail
;
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
23304 wxPyEndAllowThreads(__tstate
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23316 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23317 PyObject
*resultobj
;
23318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23319 wxWindow
*arg2
= (wxWindow
*) 0 ;
23320 PyObject
* obj0
= 0 ;
23321 PyObject
* obj1
= 0 ;
23322 char *kwnames
[] = {
23323 (char *) "self",(char *) "win", NULL
23326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
23327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23328 if (SWIG_arg_fail(1)) SWIG_fail
;
23329 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
23330 if (SWIG_arg_fail(2)) SWIG_fail
;
23332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23333 (arg1
)->SetTopWindow(arg2
);
23335 wxPyEndAllowThreads(__tstate
);
23336 if (PyErr_Occurred()) SWIG_fail
;
23338 Py_INCREF(Py_None
); resultobj
= Py_None
;
23345 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
;
23347 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23349 PyObject
* obj0
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
23355 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23356 if (SWIG_arg_fail(1)) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23365 resultobj
= wxPyMake_wxObject(result
, 0);
23373 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 PyObject
* obj1
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "self",(char *) "flag", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
23384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23385 if (SWIG_arg_fail(1)) SWIG_fail
;
23387 arg2
= (bool)(SWIG_As_bool(obj1
));
23388 if (SWIG_arg_fail(2)) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 (arg1
)->SetExitOnFrameDelete(arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 Py_INCREF(Py_None
); resultobj
= Py_None
;
23404 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
23414 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23415 if (SWIG_arg_fail(1)) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23432 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
;
23434 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self",(char *) "flag", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
23443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23444 if (SWIG_arg_fail(1)) SWIG_fail
;
23446 arg2
= (bool)(SWIG_As_bool(obj1
));
23447 if (SWIG_arg_fail(2)) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 (arg1
)->SetUseBestVisual(arg2
);
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 Py_INCREF(Py_None
); resultobj
= Py_None
;
23463 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23467 PyObject
* obj0
= 0 ;
23468 char *kwnames
[] = {
23469 (char *) "self", NULL
23472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
23473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23474 if (SWIG_arg_fail(1)) SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23491 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23493 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23495 PyObject
* obj0
= 0 ;
23496 PyObject
* obj1
= 0 ;
23497 char *kwnames
[] = {
23498 (char *) "self",(char *) "mode", NULL
23501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23502 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23503 if (SWIG_arg_fail(1)) SWIG_fail
;
23505 arg2
= (int)(SWIG_As_int(obj1
));
23506 if (SWIG_arg_fail(2)) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 (arg1
)->SetPrintMode(arg2
);
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 Py_INCREF(Py_None
); resultobj
= Py_None
;
23522 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
;
23524 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23526 PyObject
* obj0
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
23532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23533 if (SWIG_arg_fail(1)) SWIG_fail
;
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_From_int((int)(result
));
23550 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23554 PyObject
* obj0
= 0 ;
23555 PyObject
* obj1
= 0 ;
23556 char *kwnames
[] = {
23557 (char *) "self",(char *) "mode", NULL
23560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
23561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23562 if (SWIG_arg_fail(1)) SWIG_fail
;
23564 arg2
= (int)(SWIG_As_int(obj1
));
23565 if (SWIG_arg_fail(2)) SWIG_fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 (arg1
)->SetAssertMode(arg2
);
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 Py_INCREF(Py_None
); resultobj
= Py_None
;
23581 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23583 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23585 PyObject
* obj0
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
23591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23592 if (SWIG_arg_fail(1)) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= (int)(arg1
)->GetAssertMode();
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= SWIG_From_int((int)(result
));
23609 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23612 char *kwnames
[] = {
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23633 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
;
23636 char *kwnames
[] = {
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (long)wxPyApp::GetMacAboutMenuItemId();
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= SWIG_From_long((long)(result
));
23657 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23660 char *kwnames
[] = {
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
23669 wxPyEndAllowThreads(__tstate
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_From_long((long)(result
));
23681 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23684 char *kwnames
[] = {
23688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= (long)wxPyApp::GetMacExitMenuItemId();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_From_long((long)(result
));
23705 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23708 char *kwnames
[] = {
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= wxPyApp::GetMacHelpMenuTitleName();
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23733 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23734 PyObject
*resultobj
;
23736 PyObject
* obj0
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "val", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
23743 arg1
= (bool)(SWIG_As_bool(obj0
));
23744 if (SWIG_arg_fail(1)) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23753 Py_INCREF(Py_None
); resultobj
= Py_None
;
23760 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23761 PyObject
*resultobj
;
23763 PyObject
* obj0
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "val", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
23770 arg1
= (long)(SWIG_As_long(obj0
));
23771 if (SWIG_arg_fail(1)) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 wxPyApp::SetMacAboutMenuItemId(arg1
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 Py_INCREF(Py_None
); resultobj
= Py_None
;
23787 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "val", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
23797 arg1
= (long)(SWIG_As_long(obj0
));
23798 if (SWIG_arg_fail(1)) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 Py_INCREF(Py_None
); resultobj
= Py_None
;
23814 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23817 PyObject
* obj0
= 0 ;
23818 char *kwnames
[] = {
23819 (char *) "val", NULL
23822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
23824 arg1
= (long)(SWIG_As_long(obj0
));
23825 if (SWIG_arg_fail(1)) SWIG_fail
;
23828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23829 wxPyApp::SetMacExitMenuItemId(arg1
);
23831 wxPyEndAllowThreads(__tstate
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 Py_INCREF(Py_None
); resultobj
= Py_None
;
23841 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23842 PyObject
*resultobj
;
23843 wxString
*arg1
= 0 ;
23844 bool temp1
= false ;
23845 PyObject
* obj0
= 0 ;
23846 char *kwnames
[] = {
23847 (char *) "val", NULL
23850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
23852 arg1
= wxString_in_helper(obj0
);
23853 if (arg1
== NULL
) SWIG_fail
;
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 Py_INCREF(Py_None
); resultobj
= Py_None
;
23878 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
23887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyApp
, SWIG_POINTER_EXCEPTION
| 0);
23888 if (SWIG_arg_fail(1)) SWIG_fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 (arg1
)->_BootstrapApp();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23896 Py_INCREF(Py_None
); resultobj
= Py_None
;
23903 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23906 char *kwnames
[] = {
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (int)PyApp_GetComCtl32Version();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_From_int((int)(result
));
23927 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
23929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23930 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
23932 return Py_BuildValue((char *)"");
23934 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 char *kwnames
[] = {
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23948 Py_INCREF(Py_None
); resultobj
= Py_None
;
23955 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23956 PyObject
*resultobj
;
23958 char *kwnames
[] = {
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (bool)wxYield();
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23979 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23982 char *kwnames
[] = {
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (bool)wxYieldIfNeeded();
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24003 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxWindow
*arg1
= (wxWindow
*) NULL
;
24006 bool arg2
= (bool) false ;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "win",(char *) "onlyIfNeeded", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
24016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24017 if (SWIG_arg_fail(1)) SWIG_fail
;
24021 arg2
= (bool)(SWIG_As_bool(obj1
));
24022 if (SWIG_arg_fail(2)) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 result
= (bool)wxSafeYield(arg1
,arg2
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24041 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24042 PyObject
*resultobj
;
24043 char *kwnames
[] = {
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24055 Py_INCREF(Py_None
); resultobj
= Py_None
;
24062 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24064 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
24065 wxEvent
*arg2
= 0 ;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "dest",(char *) "event", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
24074 if (SWIG_arg_fail(1)) SWIG_fail
;
24076 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvent
, SWIG_POINTER_EXCEPTION
| 0);
24077 if (SWIG_arg_fail(2)) SWIG_fail
;
24078 if (arg2
== NULL
) {
24079 SWIG_null_ref("wxEvent");
24081 if (SWIG_arg_fail(2)) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 wxPostEvent(arg1
,*arg2
);
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24090 Py_INCREF(Py_None
); resultobj
= Py_None
;
24097 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
;
24099 char *kwnames
[] = {
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 Py_INCREF(Py_None
); resultobj
= Py_None
;
24118 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24121 char *kwnames
[] = {
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24128 result
= (wxPyApp
*)wxPyGetApp();
24130 wxPyEndAllowThreads(__tstate
);
24131 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= wxPyMake_wxObject(result
, 0);
24142 static PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24143 PyObject
*resultobj
;
24144 char *arg1
= (char *) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "encoding", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) goto fail
;
24151 if (!SWIG_AsCharPtr(obj0
, (char**)&arg1
)) {
24152 SWIG_arg_fail(1);SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 wxSetDefaultPyEncoding((char const *)arg1
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 Py_INCREF(Py_None
); resultobj
= Py_None
;
24168 static PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24171 char *kwnames
[] = {
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDefaultPyEncoding",kwnames
)) goto fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (char *)wxGetDefaultPyEncoding();
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_FromCharPtr(result
);
24190 static PyObject
*_wrap_new_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxEventLoop
*result
;
24193 char *kwnames
[] = {
24197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EventLoop",kwnames
)) goto fail
;
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (wxEventLoop
*)new wxEventLoop();
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 1);
24212 static PyObject
*_wrap_delete_EventLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24214 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "self", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_EventLoop",kwnames
,&obj0
)) goto fail
;
24221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24222 if (SWIG_arg_fail(1)) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 Py_INCREF(Py_None
); resultobj
= Py_None
;
24237 static PyObject
*_wrap_EventLoop_Run(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
;
24239 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Run",kwnames
,&obj0
)) goto fail
;
24247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24248 if (SWIG_arg_fail(1)) SWIG_fail
;
24250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 result
= (int)(arg1
)->Run();
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_From_int((int)(result
));
24265 static PyObject
*_wrap_EventLoop_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
;
24267 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24268 int arg2
= (int) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 char *kwnames
[] = {
24272 (char *) "self",(char *) "rc", NULL
24275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) goto fail
;
24276 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24277 if (SWIG_arg_fail(1)) SWIG_fail
;
24280 arg2
= (int)(SWIG_As_int(obj1
));
24281 if (SWIG_arg_fail(2)) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 (arg1
)->Exit(arg2
);
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 Py_INCREF(Py_None
); resultobj
= Py_None
;
24298 static PyObject
*_wrap_EventLoop_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
;
24300 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24302 PyObject
* obj0
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Pending",kwnames
,&obj0
)) goto fail
;
24308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24309 if (SWIG_arg_fail(1)) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24326 static PyObject
*_wrap_EventLoop_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24327 PyObject
*resultobj
;
24328 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24330 PyObject
* obj0
= 0 ;
24331 char *kwnames
[] = {
24332 (char *) "self", NULL
24335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_Dispatch",kwnames
,&obj0
)) goto fail
;
24336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24337 if (SWIG_arg_fail(1)) SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 result
= (bool)(arg1
)->Dispatch();
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24354 static PyObject
*_wrap_EventLoop_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_IsRunning",kwnames
,&obj0
)) goto fail
;
24364 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24365 if (SWIG_arg_fail(1)) SWIG_fail
;
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
24370 wxPyEndAllowThreads(__tstate
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24382 static PyObject
*_wrap_EventLoop_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxEventLoop
*result
;
24385 char *kwnames
[] = {
24389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EventLoop_GetActive",kwnames
)) goto fail
;
24391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24392 result
= (wxEventLoop
*)wxEventLoop::GetActive();
24394 wxPyEndAllowThreads(__tstate
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEventLoop
, 0);
24404 static PyObject
*_wrap_EventLoop_SetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
24407 PyObject
* obj0
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "loop", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) goto fail
;
24413 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_EXCEPTION
| 0);
24414 if (SWIG_arg_fail(1)) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 wxEventLoop::SetActive(arg1
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 Py_INCREF(Py_None
); resultobj
= Py_None
;
24429 static PyObject
* EventLoop_swigregister(PyObject
*, PyObject
*args
) {
24431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24432 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop
, obj
);
24434 return Py_BuildValue((char *)"");
24436 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24437 PyObject
*resultobj
;
24438 int arg1
= (int) 0 ;
24439 int arg2
= (int) 0 ;
24440 int arg3
= (int) 0 ;
24441 wxAcceleratorEntry
*result
;
24442 PyObject
* obj0
= 0 ;
24443 PyObject
* obj1
= 0 ;
24444 PyObject
* obj2
= 0 ;
24445 char *kwnames
[] = {
24446 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
24449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24452 arg1
= (int)(SWIG_As_int(obj0
));
24453 if (SWIG_arg_fail(1)) SWIG_fail
;
24458 arg2
= (int)(SWIG_As_int(obj1
));
24459 if (SWIG_arg_fail(2)) SWIG_fail
;
24464 arg3
= (int)(SWIG_As_int(obj2
));
24465 if (SWIG_arg_fail(3)) SWIG_fail
;
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
24472 wxPyEndAllowThreads(__tstate
);
24473 if (PyErr_Occurred()) SWIG_fail
;
24475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
24482 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24483 PyObject
*resultobj
;
24484 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24485 PyObject
* obj0
= 0 ;
24486 char *kwnames
[] = {
24487 (char *) "self", NULL
24490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
24491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24492 if (SWIG_arg_fail(1)) SWIG_fail
;
24494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24500 Py_INCREF(Py_None
); resultobj
= Py_None
;
24507 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
;
24509 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 PyObject
* obj2
= 0 ;
24516 PyObject
* obj3
= 0 ;
24517 char *kwnames
[] = {
24518 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
24521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24523 if (SWIG_arg_fail(1)) SWIG_fail
;
24525 arg2
= (int)(SWIG_As_int(obj1
));
24526 if (SWIG_arg_fail(2)) SWIG_fail
;
24529 arg3
= (int)(SWIG_As_int(obj2
));
24530 if (SWIG_arg_fail(3)) SWIG_fail
;
24533 arg4
= (int)(SWIG_As_int(obj3
));
24534 if (SWIG_arg_fail(4)) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 (arg1
)->Set(arg2
,arg3
,arg4
);
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 Py_INCREF(Py_None
); resultobj
= Py_None
;
24550 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
24560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24561 if (SWIG_arg_fail(1)) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (int)(arg1
)->GetFlags();
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= SWIG_From_int((int)(result
));
24578 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 char *kwnames
[] = {
24584 (char *) "self", NULL
24587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24589 if (SWIG_arg_fail(1)) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= (int)(arg1
)->GetKeyCode();
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= SWIG_From_int((int)(result
));
24606 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
24610 PyObject
* obj0
= 0 ;
24611 char *kwnames
[] = {
24612 (char *) "self", NULL
24615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
24616 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
24617 if (SWIG_arg_fail(1)) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 result
= (int)(arg1
)->GetCommand();
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= SWIG_From_int((int)(result
));
24634 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
24636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24637 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
24639 return Py_BuildValue((char *)"");
24641 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24642 PyObject
*resultobj
;
24644 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
24645 wxAcceleratorTable
*result
;
24646 PyObject
* obj0
= 0 ;
24647 char *kwnames
[] = {
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24653 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
24654 if (arg2
) arg1
= PyList_Size(obj0
);
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
24677 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
;
24679 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24680 PyObject
* obj0
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
24686 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24687 if (SWIG_arg_fail(1)) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 char *kwnames
[] = {
24708 (char *) "self", NULL
24711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
24712 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
24713 if (SWIG_arg_fail(1)) SWIG_fail
;
24715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24716 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
24718 wxPyEndAllowThreads(__tstate
);
24719 if (PyErr_Occurred()) SWIG_fail
;
24722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24730 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
24732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24733 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
24735 return Py_BuildValue((char *)"");
24737 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
24738 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
24743 static PyObject
*_wrap_NullAcceleratorTable_get(void) {
24746 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24751 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24752 PyObject
*resultobj
;
24753 wxString
*arg1
= 0 ;
24754 wxAcceleratorEntry
*result
;
24755 bool temp1
= false ;
24756 PyObject
* obj0
= 0 ;
24757 char *kwnames
[] = {
24758 (char *) "label", NULL
24761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
24763 arg1
= wxString_in_helper(obj0
);
24764 if (arg1
== NULL
) SWIG_fail
;
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
24771 wxPyEndAllowThreads(__tstate
);
24772 if (PyErr_Occurred()) SWIG_fail
;
24774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
24789 static int _wrap_PanelNameStr_set(PyObject
*) {
24790 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
24795 static PyObject
*_wrap_PanelNameStr_get(void) {
24800 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24802 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
24809 static PyObject
*_wrap_new_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxVisualAttributes
*result
;
24812 char *kwnames
[] = {
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
24831 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 delete_wxVisualAttributes(arg1
);
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 Py_INCREF(Py_None
); resultobj
= Py_None
;
24856 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
;
24858 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24859 wxFont
*arg2
= (wxFont
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 PyObject
* obj1
= 0 ;
24862 char *kwnames
[] = {
24863 (char *) "self",(char *) "font", NULL
24866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24868 if (SWIG_arg_fail(1)) SWIG_fail
;
24869 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
24870 if (SWIG_arg_fail(2)) SWIG_fail
;
24871 if (arg1
) (arg1
)->font
= *arg2
;
24873 Py_INCREF(Py_None
); resultobj
= Py_None
;
24880 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24884 PyObject
* obj0
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
24890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24891 if (SWIG_arg_fail(1)) SWIG_fail
;
24892 result
= (wxFont
*)& ((arg1
)->font
);
24894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
24901 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24902 PyObject
*resultobj
;
24903 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24904 wxColour
*arg2
= (wxColour
*) 0 ;
24905 PyObject
* obj0
= 0 ;
24906 PyObject
* obj1
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self",(char *) "colFg", NULL
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24912 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24913 if (SWIG_arg_fail(1)) SWIG_fail
;
24914 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24915 if (SWIG_arg_fail(2)) SWIG_fail
;
24916 if (arg1
) (arg1
)->colFg
= *arg2
;
24918 Py_INCREF(Py_None
); resultobj
= Py_None
;
24925 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24929 PyObject
* obj0
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
24935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24936 if (SWIG_arg_fail(1)) SWIG_fail
;
24937 result
= (wxColour
*)& ((arg1
)->colFg
);
24939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24946 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24947 PyObject
*resultobj
;
24948 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24949 wxColour
*arg2
= (wxColour
*) 0 ;
24950 PyObject
* obj0
= 0 ;
24951 PyObject
* obj1
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "self",(char *) "colBg", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24957 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24958 if (SWIG_arg_fail(1)) SWIG_fail
;
24959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColour
, SWIG_POINTER_EXCEPTION
| 0);
24960 if (SWIG_arg_fail(2)) SWIG_fail
;
24961 if (arg1
) (arg1
)->colBg
= *arg2
;
24963 Py_INCREF(Py_None
); resultobj
= Py_None
;
24970 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "self", NULL
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
24980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_EXCEPTION
| 0);
24981 if (SWIG_arg_fail(1)) SWIG_fail
;
24982 result
= (wxColour
*)& ((arg1
)->colBg
);
24984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
24991 static PyObject
* VisualAttributes_swigregister(PyObject
*, PyObject
*args
) {
24993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24994 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
24996 return Py_BuildValue((char *)"");
24998 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
;
25000 wxWindow
*arg1
= (wxWindow
*) 0 ;
25001 int arg2
= (int) (int)-1 ;
25002 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25003 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25004 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25005 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25006 long arg5
= (long) 0 ;
25007 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
25008 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25012 bool temp6
= false ;
25013 PyObject
* obj0
= 0 ;
25014 PyObject
* obj1
= 0 ;
25015 PyObject
* obj2
= 0 ;
25016 PyObject
* obj3
= 0 ;
25017 PyObject
* obj4
= 0 ;
25018 PyObject
* obj5
= 0 ;
25019 char *kwnames
[] = {
25020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25025 if (SWIG_arg_fail(1)) SWIG_fail
;
25028 arg2
= (int const)(SWIG_As_int(obj1
));
25029 if (SWIG_arg_fail(2)) SWIG_fail
;
25035 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25041 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25046 arg5
= (long)(SWIG_As_long(obj4
));
25047 if (SWIG_arg_fail(5)) SWIG_fail
;
25052 arg6
= wxString_in_helper(obj5
);
25053 if (arg6
== NULL
) SWIG_fail
;
25058 if (!wxPyCheckForApp()) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25080 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25083 char *kwnames
[] = {
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
25089 if (!wxPyCheckForApp()) SWIG_fail
;
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (wxWindow
*)new wxWindow();
25093 wxPyEndAllowThreads(__tstate
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
25103 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
;
25105 wxWindow
*arg1
= (wxWindow
*) 0 ;
25106 wxWindow
*arg2
= (wxWindow
*) 0 ;
25107 int arg3
= (int) (int)-1 ;
25108 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25109 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25110 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25111 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25112 long arg6
= (long) 0 ;
25113 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25114 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25118 bool temp7
= false ;
25119 PyObject
* obj0
= 0 ;
25120 PyObject
* obj1
= 0 ;
25121 PyObject
* obj2
= 0 ;
25122 PyObject
* obj3
= 0 ;
25123 PyObject
* obj4
= 0 ;
25124 PyObject
* obj5
= 0 ;
25125 PyObject
* obj6
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25132 if (SWIG_arg_fail(1)) SWIG_fail
;
25133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25134 if (SWIG_arg_fail(2)) SWIG_fail
;
25137 arg3
= (int const)(SWIG_As_int(obj2
));
25138 if (SWIG_arg_fail(3)) SWIG_fail
;
25144 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25150 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25155 arg6
= (long)(SWIG_As_long(obj5
));
25156 if (SWIG_arg_fail(6)) SWIG_fail
;
25161 arg7
= wxString_in_helper(obj6
);
25162 if (arg7
== NULL
) SWIG_fail
;
25167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25168 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25170 wxPyEndAllowThreads(__tstate
);
25171 if (PyErr_Occurred()) SWIG_fail
;
25174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25190 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxWindow
*arg1
= (wxWindow
*) 0 ;
25193 bool arg2
= (bool) false ;
25195 PyObject
* obj0
= 0 ;
25196 PyObject
* obj1
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "self",(char *) "force", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
25202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25203 if (SWIG_arg_fail(1)) SWIG_fail
;
25206 arg2
= (bool)(SWIG_As_bool(obj1
));
25207 if (SWIG_arg_fail(2)) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= (bool)(arg1
)->Close(arg2
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25226 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxWindow
*arg1
= (wxWindow
*) 0 ;
25230 PyObject
* obj0
= 0 ;
25231 char *kwnames
[] = {
25232 (char *) "self", NULL
25235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
25236 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25237 if (SWIG_arg_fail(1)) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 result
= (bool)(arg1
)->Destroy();
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25254 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
;
25256 wxWindow
*arg1
= (wxWindow
*) 0 ;
25258 PyObject
* obj0
= 0 ;
25259 char *kwnames
[] = {
25260 (char *) "self", NULL
25263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
25264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25265 if (SWIG_arg_fail(1)) SWIG_fail
;
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 result
= (bool)(arg1
)->DestroyChildren();
25270 wxPyEndAllowThreads(__tstate
);
25271 if (PyErr_Occurred()) SWIG_fail
;
25274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25282 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxWindow
*arg1
= (wxWindow
*) 0 ;
25286 PyObject
* obj0
= 0 ;
25287 char *kwnames
[] = {
25288 (char *) "self", NULL
25291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
25292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25293 if (SWIG_arg_fail(1)) SWIG_fail
;
25295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25296 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25310 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxWindow
*arg1
= (wxWindow
*) 0 ;
25313 wxString
*arg2
= 0 ;
25314 bool temp2
= false ;
25315 PyObject
* obj0
= 0 ;
25316 PyObject
* obj1
= 0 ;
25317 char *kwnames
[] = {
25318 (char *) "self",(char *) "title", NULL
25321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
25322 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25323 if (SWIG_arg_fail(1)) SWIG_fail
;
25325 arg2
= wxString_in_helper(obj1
);
25326 if (arg2
== NULL
) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 (arg1
)->SetTitle((wxString
const &)*arg2
);
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25336 Py_INCREF(Py_None
); resultobj
= Py_None
;
25351 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
;
25353 wxWindow
*arg1
= (wxWindow
*) 0 ;
25355 PyObject
* obj0
= 0 ;
25356 char *kwnames
[] = {
25357 (char *) "self", NULL
25360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
25361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25362 if (SWIG_arg_fail(1)) SWIG_fail
;
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= ((wxWindow
const *)arg1
)->GetTitle();
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25383 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxWindow
*arg1
= (wxWindow
*) 0 ;
25386 wxString
*arg2
= 0 ;
25387 bool temp2
= false ;
25388 PyObject
* obj0
= 0 ;
25389 PyObject
* obj1
= 0 ;
25390 char *kwnames
[] = {
25391 (char *) "self",(char *) "label", NULL
25394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25396 if (SWIG_arg_fail(1)) SWIG_fail
;
25398 arg2
= wxString_in_helper(obj1
);
25399 if (arg2
== NULL
) SWIG_fail
;
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 (arg1
)->SetLabel((wxString
const &)*arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25409 Py_INCREF(Py_None
); resultobj
= Py_None
;
25424 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxWindow
*arg1
= (wxWindow
*) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
25434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25435 if (SWIG_arg_fail(1)) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= ((wxWindow
const *)arg1
)->GetLabel();
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25456 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxWindow
*arg1
= (wxWindow
*) 0 ;
25459 wxString
*arg2
= 0 ;
25460 bool temp2
= false ;
25461 PyObject
* obj0
= 0 ;
25462 PyObject
* obj1
= 0 ;
25463 char *kwnames
[] = {
25464 (char *) "self",(char *) "name", NULL
25467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
25468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25469 if (SWIG_arg_fail(1)) SWIG_fail
;
25471 arg2
= wxString_in_helper(obj1
);
25472 if (arg2
== NULL
) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25477 (arg1
)->SetName((wxString
const &)*arg2
);
25479 wxPyEndAllowThreads(__tstate
);
25480 if (PyErr_Occurred()) SWIG_fail
;
25482 Py_INCREF(Py_None
); resultobj
= Py_None
;
25497 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
;
25499 wxWindow
*arg1
= (wxWindow
*) 0 ;
25501 PyObject
* obj0
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
25507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25508 if (SWIG_arg_fail(1)) SWIG_fail
;
25510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25511 result
= ((wxWindow
const *)arg1
)->GetName();
25513 wxPyEndAllowThreads(__tstate
);
25514 if (PyErr_Occurred()) SWIG_fail
;
25518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25529 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxWindow
*arg1
= (wxWindow
*) 0 ;
25532 wxWindowVariant arg2
;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 char *kwnames
[] = {
25536 (char *) "self",(char *) "variant", NULL
25539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
25540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25541 if (SWIG_arg_fail(1)) SWIG_fail
;
25543 arg2
= (wxWindowVariant
)(SWIG_As_int(obj1
));
25544 if (SWIG_arg_fail(2)) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 Py_INCREF(Py_None
); resultobj
= Py_None
;
25560 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxWindow
*arg1
= (wxWindow
*) 0 ;
25563 wxWindowVariant result
;
25564 PyObject
* obj0
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "self", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
25570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25571 if (SWIG_arg_fail(1)) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= SWIG_From_int((result
));
25586 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxWindow
*arg1
= (wxWindow
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 char *kwnames
[] = {
25593 (char *) "self",(char *) "winid", NULL
25596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25598 if (SWIG_arg_fail(1)) SWIG_fail
;
25600 arg2
= (int)(SWIG_As_int(obj1
));
25601 if (SWIG_arg_fail(2)) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 (arg1
)->SetId(arg2
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 Py_INCREF(Py_None
); resultobj
= Py_None
;
25617 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxWindow
*arg1
= (wxWindow
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
25627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25628 if (SWIG_arg_fail(1)) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= (int)((wxWindow
const *)arg1
)->GetId();
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= SWIG_From_int((int)(result
));
25645 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25648 char *kwnames
[] = {
25652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 result
= (int)wxWindow::NewControlId();
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= SWIG_From_int((int)(result
));
25669 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25673 PyObject
* obj0
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "winid", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
25680 arg1
= (int)(SWIG_As_int(obj0
));
25681 if (SWIG_arg_fail(1)) SWIG_fail
;
25684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25685 result
= (int)wxWindow::NextControlId(arg1
);
25687 wxPyEndAllowThreads(__tstate
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_From_int((int)(result
));
25699 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25703 PyObject
* obj0
= 0 ;
25704 char *kwnames
[] = {
25705 (char *) "winid", NULL
25708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
25710 arg1
= (int)(SWIG_As_int(obj0
));
25711 if (SWIG_arg_fail(1)) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (int)wxWindow::PrevControlId(arg1
);
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25721 resultobj
= SWIG_From_int((int)(result
));
25729 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25730 PyObject
*resultobj
;
25731 wxWindow
*arg1
= (wxWindow
*) 0 ;
25734 PyObject
* obj0
= 0 ;
25735 PyObject
* obj1
= 0 ;
25736 char *kwnames
[] = {
25737 (char *) "self",(char *) "size", NULL
25740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25741 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25742 if (SWIG_arg_fail(1)) SWIG_fail
;
25745 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 (arg1
)->SetSize((wxSize
const &)*arg2
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 Py_INCREF(Py_None
); resultobj
= Py_None
;
25761 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25762 PyObject
*resultobj
;
25763 wxWindow
*arg1
= (wxWindow
*) 0 ;
25768 int arg6
= (int) wxSIZE_AUTO
;
25769 PyObject
* obj0
= 0 ;
25770 PyObject
* obj1
= 0 ;
25771 PyObject
* obj2
= 0 ;
25772 PyObject
* obj3
= 0 ;
25773 PyObject
* obj4
= 0 ;
25774 PyObject
* obj5
= 0 ;
25775 char *kwnames
[] = {
25776 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25780 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25781 if (SWIG_arg_fail(1)) SWIG_fail
;
25783 arg2
= (int)(SWIG_As_int(obj1
));
25784 if (SWIG_arg_fail(2)) SWIG_fail
;
25787 arg3
= (int)(SWIG_As_int(obj2
));
25788 if (SWIG_arg_fail(3)) SWIG_fail
;
25791 arg4
= (int)(SWIG_As_int(obj3
));
25792 if (SWIG_arg_fail(4)) SWIG_fail
;
25795 arg5
= (int)(SWIG_As_int(obj4
));
25796 if (SWIG_arg_fail(5)) SWIG_fail
;
25800 arg6
= (int)(SWIG_As_int(obj5
));
25801 if (SWIG_arg_fail(6)) SWIG_fail
;
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25811 Py_INCREF(Py_None
); resultobj
= Py_None
;
25818 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25819 PyObject
*resultobj
;
25820 wxWindow
*arg1
= (wxWindow
*) 0 ;
25822 int arg3
= (int) wxSIZE_AUTO
;
25824 PyObject
* obj0
= 0 ;
25825 PyObject
* obj1
= 0 ;
25826 PyObject
* obj2
= 0 ;
25827 char *kwnames
[] = {
25828 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
25831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25833 if (SWIG_arg_fail(1)) SWIG_fail
;
25836 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25840 arg3
= (int)(SWIG_As_int(obj2
));
25841 if (SWIG_arg_fail(3)) SWIG_fail
;
25845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25846 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
25848 wxPyEndAllowThreads(__tstate
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25851 Py_INCREF(Py_None
); resultobj
= Py_None
;
25858 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25859 PyObject
*resultobj
;
25860 wxWindow
*arg1
= (wxWindow
*) 0 ;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 PyObject
* obj2
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "self",(char *) "width",(char *) "height", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25872 if (SWIG_arg_fail(1)) SWIG_fail
;
25874 arg2
= (int)(SWIG_As_int(obj1
));
25875 if (SWIG_arg_fail(2)) SWIG_fail
;
25878 arg3
= (int)(SWIG_As_int(obj2
));
25879 if (SWIG_arg_fail(3)) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 (arg1
)->SetSize(arg2
,arg3
);
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25888 Py_INCREF(Py_None
); resultobj
= Py_None
;
25895 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
;
25897 wxWindow
*arg1
= (wxWindow
*) 0 ;
25898 wxPoint
*arg2
= 0 ;
25899 int arg3
= (int) wxSIZE_USE_EXISTING
;
25901 PyObject
* obj0
= 0 ;
25902 PyObject
* obj1
= 0 ;
25903 PyObject
* obj2
= 0 ;
25904 char *kwnames
[] = {
25905 (char *) "self",(char *) "pt",(char *) "flags", NULL
25908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25910 if (SWIG_arg_fail(1)) SWIG_fail
;
25913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25917 arg3
= (int)(SWIG_As_int(obj2
));
25918 if (SWIG_arg_fail(3)) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 Py_INCREF(Py_None
); resultobj
= Py_None
;
25935 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
;
25937 wxWindow
*arg1
= (wxWindow
*) 0 ;
25940 int arg4
= (int) wxSIZE_USE_EXISTING
;
25941 PyObject
* obj0
= 0 ;
25942 PyObject
* obj1
= 0 ;
25943 PyObject
* obj2
= 0 ;
25944 PyObject
* obj3
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25951 if (SWIG_arg_fail(1)) SWIG_fail
;
25953 arg2
= (int)(SWIG_As_int(obj1
));
25954 if (SWIG_arg_fail(2)) SWIG_fail
;
25957 arg3
= (int)(SWIG_As_int(obj2
));
25958 if (SWIG_arg_fail(3)) SWIG_fail
;
25962 arg4
= (int)(SWIG_As_int(obj3
));
25963 if (SWIG_arg_fail(4)) SWIG_fail
;
25967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25968 (arg1
)->Move(arg2
,arg3
,arg4
);
25970 wxPyEndAllowThreads(__tstate
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25973 Py_INCREF(Py_None
); resultobj
= Py_None
;
25980 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25981 PyObject
*resultobj
;
25982 wxWindow
*arg1
= (wxWindow
*) 0 ;
25983 wxSize
const &arg2_defvalue
= wxDefaultSize
;
25984 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
25986 PyObject
* obj0
= 0 ;
25987 PyObject
* obj1
= 0 ;
25988 char *kwnames
[] = {
25989 (char *) "self",(char *) "size", NULL
25992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
25993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25994 if (SWIG_arg_fail(1)) SWIG_fail
;
25998 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 Py_INCREF(Py_None
); resultobj
= Py_None
;
26015 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
;
26017 wxWindow
*arg1
= (wxWindow
*) 0 ;
26018 PyObject
* obj0
= 0 ;
26019 char *kwnames
[] = {
26020 (char *) "self", NULL
26023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
26024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26025 if (SWIG_arg_fail(1)) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26033 Py_INCREF(Py_None
); resultobj
= Py_None
;
26040 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxWindow
*arg1
= (wxWindow
*) 0 ;
26043 PyObject
* obj0
= 0 ;
26044 char *kwnames
[] = {
26045 (char *) "self", NULL
26048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
26049 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26050 if (SWIG_arg_fail(1)) SWIG_fail
;
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 wxPyEndAllowThreads(__tstate
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 Py_INCREF(Py_None
); resultobj
= Py_None
;
26065 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
;
26067 wxWindow
*arg1
= (wxWindow
*) 0 ;
26070 PyObject
* obj0
= 0 ;
26071 PyObject
* obj1
= 0 ;
26072 char *kwnames
[] = {
26073 (char *) "self",(char *) "size", NULL
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26078 if (SWIG_arg_fail(1)) SWIG_fail
;
26081 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
26087 wxPyEndAllowThreads(__tstate
);
26088 if (PyErr_Occurred()) SWIG_fail
;
26090 Py_INCREF(Py_None
); resultobj
= Py_None
;
26097 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
;
26099 wxWindow
*arg1
= (wxWindow
*) 0 ;
26102 PyObject
* obj0
= 0 ;
26103 PyObject
* obj1
= 0 ;
26104 PyObject
* obj2
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self",(char *) "width",(char *) "height", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26111 if (SWIG_arg_fail(1)) SWIG_fail
;
26113 arg2
= (int)(SWIG_As_int(obj1
));
26114 if (SWIG_arg_fail(2)) SWIG_fail
;
26117 arg3
= (int)(SWIG_As_int(obj2
));
26118 if (SWIG_arg_fail(3)) SWIG_fail
;
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 (arg1
)->SetClientSize(arg2
,arg3
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 Py_INCREF(Py_None
); resultobj
= Py_None
;
26134 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26135 PyObject
*resultobj
;
26136 wxWindow
*arg1
= (wxWindow
*) 0 ;
26139 PyObject
* obj0
= 0 ;
26140 PyObject
* obj1
= 0 ;
26141 char *kwnames
[] = {
26142 (char *) "self",(char *) "rect", NULL
26145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26147 if (SWIG_arg_fail(1)) SWIG_fail
;
26150 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26159 Py_INCREF(Py_None
); resultobj
= Py_None
;
26166 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26167 PyObject
*resultobj
;
26168 wxWindow
*arg1
= (wxWindow
*) 0 ;
26170 PyObject
* obj0
= 0 ;
26171 char *kwnames
[] = {
26172 (char *) "self", NULL
26175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
26176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26177 if (SWIG_arg_fail(1)) SWIG_fail
;
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 result
= (arg1
)->GetPosition();
26182 wxPyEndAllowThreads(__tstate
);
26183 if (PyErr_Occurred()) SWIG_fail
;
26186 wxPoint
* resultptr
;
26187 resultptr
= new wxPoint((wxPoint
&)(result
));
26188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26196 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
;
26198 wxWindow
*arg1
= (wxWindow
*) 0 ;
26199 int *arg2
= (int *) 0 ;
26200 int *arg3
= (int *) 0 ;
26205 PyObject
* obj0
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self", NULL
26210 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26211 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
26213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26214 if (SWIG_arg_fail(1)) SWIG_fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 (arg1
)->GetPosition(arg2
,arg3
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26222 Py_INCREF(Py_None
); resultobj
= Py_None
;
26223 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26224 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26225 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26226 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26233 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26234 PyObject
*resultobj
;
26235 wxWindow
*arg1
= (wxWindow
*) 0 ;
26237 PyObject
* obj0
= 0 ;
26238 char *kwnames
[] = {
26239 (char *) "self", NULL
26242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
26243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26244 if (SWIG_arg_fail(1)) SWIG_fail
;
26246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26247 result
= ((wxWindow
const *)arg1
)->GetSize();
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26253 wxSize
* resultptr
;
26254 resultptr
= new wxSize((wxSize
&)(result
));
26255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26263 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxWindow
*arg1
= (wxWindow
*) 0 ;
26266 int *arg2
= (int *) 0 ;
26267 int *arg3
= (int *) 0 ;
26272 PyObject
* obj0
= 0 ;
26273 char *kwnames
[] = {
26274 (char *) "self", NULL
26277 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26278 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
26280 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26281 if (SWIG_arg_fail(1)) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 Py_INCREF(Py_None
); resultobj
= Py_None
;
26290 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26291 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26292 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26293 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26300 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26301 PyObject
*resultobj
;
26302 wxWindow
*arg1
= (wxWindow
*) 0 ;
26304 PyObject
* obj0
= 0 ;
26305 char *kwnames
[] = {
26306 (char *) "self", NULL
26309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",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 result
= ((wxWindow
const *)arg1
)->GetRect();
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26320 wxRect
* resultptr
;
26321 resultptr
= new wxRect((wxRect
&)(result
));
26322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26330 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26331 PyObject
*resultobj
;
26332 wxWindow
*arg1
= (wxWindow
*) 0 ;
26334 PyObject
* obj0
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
26340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26341 if (SWIG_arg_fail(1)) SWIG_fail
;
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 result
= ((wxWindow
const *)arg1
)->GetClientSize();
26346 wxPyEndAllowThreads(__tstate
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26350 wxSize
* resultptr
;
26351 resultptr
= new wxSize((wxSize
&)(result
));
26352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26360 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxWindow
*arg1
= (wxWindow
*) 0 ;
26363 int *arg2
= (int *) 0 ;
26364 int *arg3
= (int *) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self", NULL
26374 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26375 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
26377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26378 if (SWIG_arg_fail(1)) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 Py_INCREF(Py_None
); resultobj
= Py_None
;
26387 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26388 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26389 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26390 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26397 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
;
26399 wxWindow
*arg1
= (wxWindow
*) 0 ;
26401 PyObject
* obj0
= 0 ;
26402 char *kwnames
[] = {
26403 (char *) "self", NULL
26406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
26407 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26408 if (SWIG_arg_fail(1)) SWIG_fail
;
26410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26411 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
26413 wxPyEndAllowThreads(__tstate
);
26414 if (PyErr_Occurred()) SWIG_fail
;
26417 wxPoint
* resultptr
;
26418 resultptr
= new wxPoint((wxPoint
&)(result
));
26419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26427 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26428 PyObject
*resultobj
;
26429 wxWindow
*arg1
= (wxWindow
*) 0 ;
26431 PyObject
* obj0
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
26437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26438 if (SWIG_arg_fail(1)) SWIG_fail
;
26440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26441 result
= ((wxWindow
const *)arg1
)->GetClientRect();
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26447 wxRect
* resultptr
;
26448 resultptr
= new wxRect((wxRect
&)(result
));
26449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
26457 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxWindow
*arg1
= (wxWindow
*) 0 ;
26461 PyObject
* obj0
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
26467 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26468 if (SWIG_arg_fail(1)) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= ((wxWindow
const *)arg1
)->GetBestSize();
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 wxSize
* resultptr
;
26478 resultptr
= new wxSize((wxSize
&)(result
));
26479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26487 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
;
26489 wxWindow
*arg1
= (wxWindow
*) 0 ;
26490 int *arg2
= (int *) 0 ;
26491 int *arg3
= (int *) 0 ;
26496 PyObject
* obj0
= 0 ;
26497 char *kwnames
[] = {
26498 (char *) "self", NULL
26501 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
26502 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
26503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
26504 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26505 if (SWIG_arg_fail(1)) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 Py_INCREF(Py_None
); resultobj
= Py_None
;
26514 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
26515 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
26516 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
26517 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
26524 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
;
26526 wxWindow
*arg1
= (wxWindow
*) 0 ;
26527 PyObject
* obj0
= 0 ;
26528 char *kwnames
[] = {
26529 (char *) "self", NULL
26532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
26533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26534 if (SWIG_arg_fail(1)) SWIG_fail
;
26536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 (arg1
)->InvalidateBestSize();
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 Py_INCREF(Py_None
); resultobj
= Py_None
;
26549 static PyObject
*_wrap_Window_CacheBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26550 PyObject
*resultobj
;
26551 wxWindow
*arg1
= (wxWindow
*) 0 ;
26554 PyObject
* obj0
= 0 ;
26555 PyObject
* obj1
= 0 ;
26556 char *kwnames
[] = {
26557 (char *) "self",(char *) "size", NULL
26560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
26561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26562 if (SWIG_arg_fail(1)) SWIG_fail
;
26565 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26569 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
26571 wxPyEndAllowThreads(__tstate
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26574 Py_INCREF(Py_None
); resultobj
= Py_None
;
26581 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26582 PyObject
*resultobj
;
26583 wxWindow
*arg1
= (wxWindow
*) 0 ;
26585 PyObject
* obj0
= 0 ;
26586 char *kwnames
[] = {
26587 (char *) "self", NULL
26590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
26591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26592 if (SWIG_arg_fail(1)) SWIG_fail
;
26594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26595 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26601 wxSize
* resultptr
;
26602 resultptr
= new wxSize((wxSize
&)(result
));
26603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26611 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
;
26613 wxWindow
*arg1
= (wxWindow
*) 0 ;
26615 PyObject
* obj0
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
26621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26622 if (SWIG_arg_fail(1)) SWIG_fail
;
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
26627 wxPyEndAllowThreads(__tstate
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26631 wxSize
* resultptr
;
26632 resultptr
= new wxSize((wxSize
&)(result
));
26633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
26641 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26642 PyObject
*resultobj
;
26643 wxWindow
*arg1
= (wxWindow
*) 0 ;
26644 int arg2
= (int) wxBOTH
;
26645 PyObject
* obj0
= 0 ;
26646 PyObject
* obj1
= 0 ;
26647 char *kwnames
[] = {
26648 (char *) "self",(char *) "direction", NULL
26651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
26652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26653 if (SWIG_arg_fail(1)) SWIG_fail
;
26656 arg2
= (int)(SWIG_As_int(obj1
));
26657 if (SWIG_arg_fail(2)) SWIG_fail
;
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 (arg1
)->Center(arg2
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 Py_INCREF(Py_None
); resultobj
= Py_None
;
26674 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxWindow
*arg1
= (wxWindow
*) 0 ;
26677 int arg2
= (int) wxBOTH
;
26678 PyObject
* obj0
= 0 ;
26679 PyObject
* obj1
= 0 ;
26680 char *kwnames
[] = {
26681 (char *) "self",(char *) "dir", NULL
26684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26685 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26686 if (SWIG_arg_fail(1)) SWIG_fail
;
26689 arg2
= (int)(SWIG_As_int(obj1
));
26690 if (SWIG_arg_fail(2)) SWIG_fail
;
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 (arg1
)->CenterOnScreen(arg2
);
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 Py_INCREF(Py_None
); resultobj
= Py_None
;
26707 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26708 PyObject
*resultobj
;
26709 wxWindow
*arg1
= (wxWindow
*) 0 ;
26710 int arg2
= (int) wxBOTH
;
26711 PyObject
* obj0
= 0 ;
26712 PyObject
* obj1
= 0 ;
26713 char *kwnames
[] = {
26714 (char *) "self",(char *) "dir", NULL
26717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26718 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26719 if (SWIG_arg_fail(1)) SWIG_fail
;
26722 arg2
= (int)(SWIG_As_int(obj1
));
26723 if (SWIG_arg_fail(2)) SWIG_fail
;
26727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26728 (arg1
)->CenterOnParent(arg2
);
26730 wxPyEndAllowThreads(__tstate
);
26731 if (PyErr_Occurred()) SWIG_fail
;
26733 Py_INCREF(Py_None
); resultobj
= Py_None
;
26740 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26741 PyObject
*resultobj
;
26742 wxWindow
*arg1
= (wxWindow
*) 0 ;
26743 PyObject
* obj0
= 0 ;
26744 char *kwnames
[] = {
26745 (char *) "self", NULL
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
26749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26750 if (SWIG_arg_fail(1)) SWIG_fail
;
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26758 Py_INCREF(Py_None
); resultobj
= Py_None
;
26765 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxWindow
*arg1
= (wxWindow
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 char *kwnames
[] = {
26770 (char *) "self", NULL
26773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
26774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26775 if (SWIG_arg_fail(1)) SWIG_fail
;
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 (arg1
)->FitInside();
26780 wxPyEndAllowThreads(__tstate
);
26781 if (PyErr_Occurred()) SWIG_fail
;
26783 Py_INCREF(Py_None
); resultobj
= Py_None
;
26790 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxWindow
*arg1
= (wxWindow
*) 0 ;
26795 int arg4
= (int) -1 ;
26796 int arg5
= (int) -1 ;
26797 int arg6
= (int) -1 ;
26798 int arg7
= (int) -1 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 PyObject
* obj2
= 0 ;
26802 PyObject
* obj3
= 0 ;
26803 PyObject
* obj4
= 0 ;
26804 PyObject
* obj5
= 0 ;
26805 PyObject
* obj6
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26811 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26812 if (SWIG_arg_fail(1)) SWIG_fail
;
26814 arg2
= (int)(SWIG_As_int(obj1
));
26815 if (SWIG_arg_fail(2)) SWIG_fail
;
26818 arg3
= (int)(SWIG_As_int(obj2
));
26819 if (SWIG_arg_fail(3)) SWIG_fail
;
26823 arg4
= (int)(SWIG_As_int(obj3
));
26824 if (SWIG_arg_fail(4)) SWIG_fail
;
26829 arg5
= (int)(SWIG_As_int(obj4
));
26830 if (SWIG_arg_fail(5)) SWIG_fail
;
26835 arg6
= (int)(SWIG_As_int(obj5
));
26836 if (SWIG_arg_fail(6)) SWIG_fail
;
26841 arg7
= (int)(SWIG_As_int(obj6
));
26842 if (SWIG_arg_fail(7)) SWIG_fail
;
26846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26847 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
26849 wxPyEndAllowThreads(__tstate
);
26850 if (PyErr_Occurred()) SWIG_fail
;
26852 Py_INCREF(Py_None
); resultobj
= Py_None
;
26859 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26860 PyObject
*resultobj
;
26861 wxWindow
*arg1
= (wxWindow
*) 0 ;
26863 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26864 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26865 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26866 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26870 PyObject
* obj0
= 0 ;
26871 PyObject
* obj1
= 0 ;
26872 PyObject
* obj2
= 0 ;
26873 PyObject
* obj3
= 0 ;
26874 char *kwnames
[] = {
26875 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
26878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26879 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26880 if (SWIG_arg_fail(1)) SWIG_fail
;
26883 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26888 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26894 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 Py_INCREF(Py_None
); resultobj
= Py_None
;
26911 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
;
26913 wxWindow
*arg1
= (wxWindow
*) 0 ;
26916 int arg4
= (int) -1 ;
26917 int arg5
= (int) -1 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 PyObject
* obj2
= 0 ;
26921 PyObject
* obj3
= 0 ;
26922 PyObject
* obj4
= 0 ;
26923 char *kwnames
[] = {
26924 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
26927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26929 if (SWIG_arg_fail(1)) SWIG_fail
;
26931 arg2
= (int)(SWIG_As_int(obj1
));
26932 if (SWIG_arg_fail(2)) SWIG_fail
;
26935 arg3
= (int)(SWIG_As_int(obj2
));
26936 if (SWIG_arg_fail(3)) SWIG_fail
;
26940 arg4
= (int)(SWIG_As_int(obj3
));
26941 if (SWIG_arg_fail(4)) SWIG_fail
;
26946 arg5
= (int)(SWIG_As_int(obj4
));
26947 if (SWIG_arg_fail(5)) SWIG_fail
;
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26952 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
26954 wxPyEndAllowThreads(__tstate
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 Py_INCREF(Py_None
); resultobj
= Py_None
;
26964 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26965 PyObject
*resultobj
;
26966 wxWindow
*arg1
= (wxWindow
*) 0 ;
26968 wxSize
const &arg3_defvalue
= wxDefaultSize
;
26969 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
26972 PyObject
* obj0
= 0 ;
26973 PyObject
* obj1
= 0 ;
26974 PyObject
* obj2
= 0 ;
26975 char *kwnames
[] = {
26976 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
26979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
26981 if (SWIG_arg_fail(1)) SWIG_fail
;
26984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
26989 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 Py_INCREF(Py_None
); resultobj
= Py_None
;
27006 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27007 PyObject
*resultobj
;
27008 wxWindow
*arg1
= (wxWindow
*) 0 ;
27010 PyObject
* obj0
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27016 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27017 if (SWIG_arg_fail(1)) SWIG_fail
;
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
27022 wxPyEndAllowThreads(__tstate
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27026 wxSize
* resultptr
;
27027 resultptr
= new wxSize((wxSize
&)(result
));
27028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27036 static PyObject
*_wrap_Window_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxWindow
*arg1
= (wxWindow
*) 0 ;
27040 PyObject
* obj0
= 0 ;
27041 char *kwnames
[] = {
27042 (char *) "self", NULL
27045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
27046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27047 if (SWIG_arg_fail(1)) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= ((wxWindow
const *)arg1
)->GetMinSize();
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27056 wxSize
* resultptr
;
27057 resultptr
= new wxSize((wxSize
&)(result
));
27058 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27066 static PyObject
*_wrap_Window_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
;
27068 wxWindow
*arg1
= (wxWindow
*) 0 ;
27071 PyObject
* obj0
= 0 ;
27072 PyObject
* obj1
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self",(char *) "minSize", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27079 if (SWIG_arg_fail(1)) SWIG_fail
;
27082 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27086 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27091 Py_INCREF(Py_None
); resultobj
= Py_None
;
27098 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27099 PyObject
*resultobj
;
27100 wxWindow
*arg1
= (wxWindow
*) 0 ;
27103 PyObject
* obj0
= 0 ;
27104 PyObject
* obj1
= 0 ;
27105 char *kwnames
[] = {
27106 (char *) "self",(char *) "maxSize", NULL
27109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27110 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27111 if (SWIG_arg_fail(1)) SWIG_fail
;
27114 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 Py_INCREF(Py_None
); resultobj
= Py_None
;
27130 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27131 PyObject
*resultobj
;
27132 wxWindow
*arg1
= (wxWindow
*) 0 ;
27134 PyObject
* obj0
= 0 ;
27135 char *kwnames
[] = {
27136 (char *) "self", NULL
27139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
27140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27141 if (SWIG_arg_fail(1)) SWIG_fail
;
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= SWIG_From_int((int)(result
));
27158 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27160 wxWindow
*arg1
= (wxWindow
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 char *kwnames
[] = {
27164 (char *) "self", NULL
27167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
27168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27169 if (SWIG_arg_fail(1)) SWIG_fail
;
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27178 resultobj
= SWIG_From_int((int)(result
));
27186 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
;
27188 wxWindow
*arg1
= (wxWindow
*) 0 ;
27190 PyObject
* obj0
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "self", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
27196 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27197 if (SWIG_arg_fail(1)) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= SWIG_From_int((int)(result
));
27214 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
;
27216 wxWindow
*arg1
= (wxWindow
*) 0 ;
27218 PyObject
* obj0
= 0 ;
27219 char *kwnames
[] = {
27220 (char *) "self", NULL
27223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
27224 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27225 if (SWIG_arg_fail(1)) SWIG_fail
;
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_From_int((int)(result
));
27242 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
;
27244 wxWindow
*arg1
= (wxWindow
*) 0 ;
27247 PyObject
* obj0
= 0 ;
27248 PyObject
* obj1
= 0 ;
27249 char *kwnames
[] = {
27250 (char *) "self",(char *) "size", NULL
27253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
27254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27255 if (SWIG_arg_fail(1)) SWIG_fail
;
27258 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 Py_INCREF(Py_None
); resultobj
= Py_None
;
27274 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxWindow
*arg1
= (wxWindow
*) 0 ;
27279 PyObject
* obj0
= 0 ;
27280 PyObject
* obj1
= 0 ;
27281 PyObject
* obj2
= 0 ;
27282 char *kwnames
[] = {
27283 (char *) "self",(char *) "w",(char *) "h", NULL
27286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27288 if (SWIG_arg_fail(1)) SWIG_fail
;
27290 arg2
= (int)(SWIG_As_int(obj1
));
27291 if (SWIG_arg_fail(2)) SWIG_fail
;
27294 arg3
= (int)(SWIG_As_int(obj2
));
27295 if (SWIG_arg_fail(3)) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 (arg1
)->SetVirtualSize(arg2
,arg3
);
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27304 Py_INCREF(Py_None
); resultobj
= Py_None
;
27311 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27312 PyObject
*resultobj
;
27313 wxWindow
*arg1
= (wxWindow
*) 0 ;
27315 PyObject
* obj0
= 0 ;
27316 char *kwnames
[] = {
27317 (char *) "self", NULL
27320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
27321 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27322 if (SWIG_arg_fail(1)) SWIG_fail
;
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27325 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27331 wxSize
* resultptr
;
27332 resultptr
= new wxSize((wxSize
&)(result
));
27333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27341 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
;
27343 wxWindow
*arg1
= (wxWindow
*) 0 ;
27344 int *arg2
= (int *) 0 ;
27345 int *arg3
= (int *) 0 ;
27350 PyObject
* obj0
= 0 ;
27351 char *kwnames
[] = {
27352 (char *) "self", NULL
27355 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
27356 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
27358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27359 if (SWIG_arg_fail(1)) SWIG_fail
;
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27367 Py_INCREF(Py_None
); resultobj
= Py_None
;
27368 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
27369 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
27370 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27371 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27378 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27379 PyObject
*resultobj
;
27380 wxWindow
*arg1
= (wxWindow
*) 0 ;
27382 PyObject
* obj0
= 0 ;
27383 char *kwnames
[] = {
27384 (char *) "self", NULL
27387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
27388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27389 if (SWIG_arg_fail(1)) SWIG_fail
;
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27398 wxSize
* resultptr
;
27399 resultptr
= new wxSize((wxSize
&)(result
));
27400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
27408 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27409 PyObject
*resultobj
;
27410 wxWindow
*arg1
= (wxWindow
*) 0 ;
27411 bool arg2
= (bool) true ;
27413 PyObject
* obj0
= 0 ;
27414 PyObject
* obj1
= 0 ;
27415 char *kwnames
[] = {
27416 (char *) "self",(char *) "show", NULL
27419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
27420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27421 if (SWIG_arg_fail(1)) SWIG_fail
;
27424 arg2
= (bool)(SWIG_As_bool(obj1
));
27425 if (SWIG_arg_fail(2)) SWIG_fail
;
27429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27430 result
= (bool)(arg1
)->Show(arg2
);
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27444 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
;
27446 wxWindow
*arg1
= (wxWindow
*) 0 ;
27448 PyObject
* obj0
= 0 ;
27449 char *kwnames
[] = {
27450 (char *) "self", NULL
27453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
27454 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27455 if (SWIG_arg_fail(1)) SWIG_fail
;
27457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27458 result
= (bool)(arg1
)->Hide();
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27472 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27473 PyObject
*resultobj
;
27474 wxWindow
*arg1
= (wxWindow
*) 0 ;
27475 bool arg2
= (bool) true ;
27477 PyObject
* obj0
= 0 ;
27478 PyObject
* obj1
= 0 ;
27479 char *kwnames
[] = {
27480 (char *) "self",(char *) "enable", NULL
27483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27484 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27485 if (SWIG_arg_fail(1)) SWIG_fail
;
27488 arg2
= (bool)(SWIG_As_bool(obj1
));
27489 if (SWIG_arg_fail(2)) SWIG_fail
;
27493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27494 result
= (bool)(arg1
)->Enable(arg2
);
27496 wxPyEndAllowThreads(__tstate
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27508 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
;
27510 wxWindow
*arg1
= (wxWindow
*) 0 ;
27512 PyObject
* obj0
= 0 ;
27513 char *kwnames
[] = {
27514 (char *) "self", NULL
27517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
27518 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27519 if (SWIG_arg_fail(1)) SWIG_fail
;
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 result
= (bool)(arg1
)->Disable();
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27536 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxWindow
*arg1
= (wxWindow
*) 0 ;
27540 PyObject
* obj0
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "self", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
27546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27547 if (SWIG_arg_fail(1)) SWIG_fail
;
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
27552 wxPyEndAllowThreads(__tstate
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27564 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27565 PyObject
*resultobj
;
27566 wxWindow
*arg1
= (wxWindow
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 char *kwnames
[] = {
27570 (char *) "self", NULL
27573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
27574 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27575 if (SWIG_arg_fail(1)) SWIG_fail
;
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27592 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxWindow
*arg1
= (wxWindow
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 PyObject
* obj1
= 0 ;
27598 char *kwnames
[] = {
27599 (char *) "self",(char *) "style", NULL
27602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27604 if (SWIG_arg_fail(1)) SWIG_fail
;
27606 arg2
= (long)(SWIG_As_long(obj1
));
27607 if (SWIG_arg_fail(2)) SWIG_fail
;
27610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27611 (arg1
)->SetWindowStyleFlag(arg2
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 Py_INCREF(Py_None
); resultobj
= Py_None
;
27623 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxWindow
*arg1
= (wxWindow
*) 0 ;
27627 PyObject
* obj0
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
27633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27634 if (SWIG_arg_fail(1)) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= SWIG_From_long((long)(result
));
27651 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxWindow
*arg1
= (wxWindow
*) 0 ;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 char *kwnames
[] = {
27659 (char *) "self",(char *) "flag", NULL
27662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
27663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27664 if (SWIG_arg_fail(1)) SWIG_fail
;
27666 arg2
= (int)(SWIG_As_int(obj1
));
27667 if (SWIG_arg_fail(2)) SWIG_fail
;
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27685 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
;
27687 wxWindow
*arg1
= (wxWindow
*) 0 ;
27689 PyObject
* obj0
= 0 ;
27690 char *kwnames
[] = {
27691 (char *) "self", NULL
27694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
27695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27696 if (SWIG_arg_fail(1)) SWIG_fail
;
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27713 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
;
27715 wxWindow
*arg1
= (wxWindow
*) 0 ;
27717 PyObject
* obj0
= 0 ;
27718 PyObject
* obj1
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self",(char *) "exStyle", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
27724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27725 if (SWIG_arg_fail(1)) SWIG_fail
;
27727 arg2
= (long)(SWIG_As_long(obj1
));
27728 if (SWIG_arg_fail(2)) SWIG_fail
;
27731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27732 (arg1
)->SetExtraStyle(arg2
);
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27737 Py_INCREF(Py_None
); resultobj
= Py_None
;
27744 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27745 PyObject
*resultobj
;
27746 wxWindow
*arg1
= (wxWindow
*) 0 ;
27748 PyObject
* obj0
= 0 ;
27749 char *kwnames
[] = {
27750 (char *) "self", NULL
27753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
27754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27755 if (SWIG_arg_fail(1)) SWIG_fail
;
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
27760 wxPyEndAllowThreads(__tstate
);
27761 if (PyErr_Occurred()) SWIG_fail
;
27764 resultobj
= SWIG_From_long((long)(result
));
27772 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27773 PyObject
*resultobj
;
27774 wxWindow
*arg1
= (wxWindow
*) 0 ;
27775 bool arg2
= (bool) true ;
27776 PyObject
* obj0
= 0 ;
27777 PyObject
* obj1
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self",(char *) "modal", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
27783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27784 if (SWIG_arg_fail(1)) SWIG_fail
;
27787 arg2
= (bool)(SWIG_As_bool(obj1
));
27788 if (SWIG_arg_fail(2)) SWIG_fail
;
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 (arg1
)->MakeModal(arg2
);
27795 wxPyEndAllowThreads(__tstate
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 Py_INCREF(Py_None
); resultobj
= Py_None
;
27805 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27806 PyObject
*resultobj
;
27807 wxWindow
*arg1
= (wxWindow
*) 0 ;
27809 PyObject
* obj0
= 0 ;
27810 PyObject
* obj1
= 0 ;
27811 char *kwnames
[] = {
27812 (char *) "self",(char *) "enableTheme", NULL
27815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
27816 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27817 if (SWIG_arg_fail(1)) SWIG_fail
;
27819 arg2
= (bool)(SWIG_As_bool(obj1
));
27820 if (SWIG_arg_fail(2)) SWIG_fail
;
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 (arg1
)->SetThemeEnabled(arg2
);
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 Py_INCREF(Py_None
); resultobj
= Py_None
;
27836 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27837 PyObject
*resultobj
;
27838 wxWindow
*arg1
= (wxWindow
*) 0 ;
27840 PyObject
* obj0
= 0 ;
27841 char *kwnames
[] = {
27842 (char *) "self", NULL
27845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
27846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27847 if (SWIG_arg_fail(1)) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27864 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27865 PyObject
*resultobj
;
27866 wxWindow
*arg1
= (wxWindow
*) 0 ;
27867 PyObject
* obj0
= 0 ;
27868 char *kwnames
[] = {
27869 (char *) "self", NULL
27872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
27873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27874 if (SWIG_arg_fail(1)) SWIG_fail
;
27876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27877 (arg1
)->SetFocus();
27879 wxPyEndAllowThreads(__tstate
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27882 Py_INCREF(Py_None
); resultobj
= Py_None
;
27889 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27890 PyObject
*resultobj
;
27891 wxWindow
*arg1
= (wxWindow
*) 0 ;
27892 PyObject
* obj0
= 0 ;
27893 char *kwnames
[] = {
27894 (char *) "self", NULL
27897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
27898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27899 if (SWIG_arg_fail(1)) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 (arg1
)->SetFocusFromKbd();
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27907 Py_INCREF(Py_None
); resultobj
= Py_None
;
27914 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27915 PyObject
*resultobj
;
27917 char *kwnames
[] = {
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
27923 if (!wxPyCheckForApp()) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 result
= (wxWindow
*)wxWindow::FindFocus();
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= wxPyMake_wxObject(result
, 0);
27939 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxWindow
*arg1
= (wxWindow
*) 0 ;
27943 PyObject
* obj0
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27949 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27950 if (SWIG_arg_fail(1)) SWIG_fail
;
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27967 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
;
27969 wxWindow
*arg1
= (wxWindow
*) 0 ;
27971 PyObject
* obj0
= 0 ;
27972 char *kwnames
[] = {
27973 (char *) "self", NULL
27976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27978 if (SWIG_arg_fail(1)) SWIG_fail
;
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27995 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
;
27997 wxWindow
*arg1
= (wxWindow
*) 0 ;
27999 PyObject
* obj0
= 0 ;
28000 char *kwnames
[] = {
28001 (char *) "self", NULL
28004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
28005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28006 if (SWIG_arg_fail(1)) SWIG_fail
;
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28015 resultobj
= wxPyMake_wxObject(result
, 0);
28023 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28024 PyObject
*resultobj
;
28025 wxWindow
*arg1
= (wxWindow
*) 0 ;
28026 wxWindow
*arg2
= (wxWindow
*) 0 ;
28028 PyObject
* obj0
= 0 ;
28029 PyObject
* obj1
= 0 ;
28030 char *kwnames
[] = {
28031 (char *) "self",(char *) "child", NULL
28034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28036 if (SWIG_arg_fail(1)) SWIG_fail
;
28037 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28038 if (SWIG_arg_fail(2)) SWIG_fail
;
28040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28041 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
28043 wxPyEndAllowThreads(__tstate
);
28044 if (PyErr_Occurred()) SWIG_fail
;
28047 resultobj
= wxPyMake_wxObject(result
, 0);
28055 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
;
28057 wxWindow
*arg1
= (wxWindow
*) 0 ;
28058 wxWindow
*arg2
= (wxWindow
*) 0 ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 char *kwnames
[] = {
28062 (char *) "self",(char *) "win", NULL
28065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28066 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28067 if (SWIG_arg_fail(1)) SWIG_fail
;
28068 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28069 if (SWIG_arg_fail(2)) SWIG_fail
;
28071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28072 (arg1
)->SetTmpDefaultItem(arg2
);
28074 wxPyEndAllowThreads(__tstate
);
28075 if (PyErr_Occurred()) SWIG_fail
;
28077 Py_INCREF(Py_None
); resultobj
= Py_None
;
28084 static PyObject
*_wrap_Window_Navigate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28085 PyObject
*resultobj
;
28086 wxWindow
*arg1
= (wxWindow
*) 0 ;
28087 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
28089 PyObject
* obj0
= 0 ;
28090 PyObject
* obj1
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "self",(char *) "flags", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
28096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28097 if (SWIG_arg_fail(1)) SWIG_fail
;
28100 arg2
= (int)(SWIG_As_int(obj1
));
28101 if (SWIG_arg_fail(2)) SWIG_fail
;
28105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28106 result
= (bool)(arg1
)->Navigate(arg2
);
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28120 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
;
28122 wxWindow
*arg1
= (wxWindow
*) 0 ;
28123 wxWindow
*arg2
= (wxWindow
*) 0 ;
28124 PyObject
* obj0
= 0 ;
28125 PyObject
* obj1
= 0 ;
28126 char *kwnames
[] = {
28127 (char *) "self",(char *) "win", NULL
28130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28132 if (SWIG_arg_fail(1)) SWIG_fail
;
28133 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28134 if (SWIG_arg_fail(2)) SWIG_fail
;
28136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 (arg1
)->MoveAfterInTabOrder(arg2
);
28139 wxPyEndAllowThreads(__tstate
);
28140 if (PyErr_Occurred()) SWIG_fail
;
28142 Py_INCREF(Py_None
); resultobj
= Py_None
;
28149 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28150 PyObject
*resultobj
;
28151 wxWindow
*arg1
= (wxWindow
*) 0 ;
28152 wxWindow
*arg2
= (wxWindow
*) 0 ;
28153 PyObject
* obj0
= 0 ;
28154 PyObject
* obj1
= 0 ;
28155 char *kwnames
[] = {
28156 (char *) "self",(char *) "win", NULL
28159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
28160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28161 if (SWIG_arg_fail(1)) SWIG_fail
;
28162 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28163 if (SWIG_arg_fail(2)) SWIG_fail
;
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 (arg1
)->MoveBeforeInTabOrder(arg2
);
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28171 Py_INCREF(Py_None
); resultobj
= Py_None
;
28178 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28179 PyObject
*resultobj
;
28180 wxWindow
*arg1
= (wxWindow
*) 0 ;
28182 PyObject
* obj0
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "self", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
28188 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28189 if (SWIG_arg_fail(1)) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28197 resultobj
= result
;
28204 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28205 PyObject
*resultobj
;
28206 wxWindow
*arg1
= (wxWindow
*) 0 ;
28208 PyObject
* obj0
= 0 ;
28209 char *kwnames
[] = {
28210 (char *) "self", NULL
28213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
28214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28215 if (SWIG_arg_fail(1)) SWIG_fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= wxPyMake_wxObject(result
, 0);
28232 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28233 PyObject
*resultobj
;
28234 wxWindow
*arg1
= (wxWindow
*) 0 ;
28236 PyObject
* obj0
= 0 ;
28237 char *kwnames
[] = {
28238 (char *) "self", NULL
28241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
28242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28243 if (SWIG_arg_fail(1)) SWIG_fail
;
28245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28252 resultobj
= wxPyMake_wxObject(result
, 0);
28260 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28261 PyObject
*resultobj
;
28262 wxWindow
*arg1
= (wxWindow
*) 0 ;
28264 PyObject
* obj0
= 0 ;
28265 char *kwnames
[] = {
28266 (char *) "self", NULL
28269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
28270 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28271 if (SWIG_arg_fail(1)) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28288 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxWindow
*arg1
= (wxWindow
*) 0 ;
28291 wxWindow
*arg2
= (wxWindow
*) 0 ;
28293 PyObject
* obj0
= 0 ;
28294 PyObject
* obj1
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self",(char *) "newParent", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
28300 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28301 if (SWIG_arg_fail(1)) SWIG_fail
;
28302 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28303 if (SWIG_arg_fail(2)) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (bool)(arg1
)->Reparent(arg2
);
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28320 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxWindow
*arg1
= (wxWindow
*) 0 ;
28323 wxWindow
*arg2
= (wxWindow
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 PyObject
* obj1
= 0 ;
28326 char *kwnames
[] = {
28327 (char *) "self",(char *) "child", NULL
28330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28331 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28332 if (SWIG_arg_fail(1)) SWIG_fail
;
28333 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28334 if (SWIG_arg_fail(2)) SWIG_fail
;
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 (arg1
)->AddChild(arg2
);
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 Py_INCREF(Py_None
); resultobj
= Py_None
;
28349 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28350 PyObject
*resultobj
;
28351 wxWindow
*arg1
= (wxWindow
*) 0 ;
28352 wxWindow
*arg2
= (wxWindow
*) 0 ;
28353 PyObject
* obj0
= 0 ;
28354 PyObject
* obj1
= 0 ;
28355 char *kwnames
[] = {
28356 (char *) "self",(char *) "child", NULL
28359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28361 if (SWIG_arg_fail(1)) SWIG_fail
;
28362 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28363 if (SWIG_arg_fail(2)) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 (arg1
)->RemoveChild(arg2
);
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 Py_INCREF(Py_None
); resultobj
= Py_None
;
28378 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxWindow
*arg1
= (wxWindow
*) 0 ;
28383 PyObject
* obj0
= 0 ;
28384 PyObject
* obj1
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "self",(char *) "winid", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28391 if (SWIG_arg_fail(1)) SWIG_fail
;
28393 arg2
= (long)(SWIG_As_long(obj1
));
28394 if (SWIG_arg_fail(2)) SWIG_fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28404 resultobj
= wxPyMake_wxObject(result
, 0);
28412 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxWindow
*arg1
= (wxWindow
*) 0 ;
28415 wxString
*arg2
= 0 ;
28417 bool temp2
= false ;
28418 PyObject
* obj0
= 0 ;
28419 PyObject
* obj1
= 0 ;
28420 char *kwnames
[] = {
28421 (char *) "self",(char *) "name", NULL
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28426 if (SWIG_arg_fail(1)) SWIG_fail
;
28428 arg2
= wxString_in_helper(obj1
);
28429 if (arg2
== NULL
) SWIG_fail
;
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28440 resultobj
= wxPyMake_wxObject(result
, 0);
28456 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
;
28458 wxWindow
*arg1
= (wxWindow
*) 0 ;
28459 wxEvtHandler
*result
;
28460 PyObject
* obj0
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
28466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28467 if (SWIG_arg_fail(1)) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= wxPyMake_wxObject(result
, 0);
28484 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28485 PyObject
*resultobj
;
28486 wxWindow
*arg1
= (wxWindow
*) 0 ;
28487 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "self",(char *) "handler", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28496 if (SWIG_arg_fail(1)) SWIG_fail
;
28497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28498 if (SWIG_arg_fail(2)) SWIG_fail
;
28500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28501 (arg1
)->SetEventHandler(arg2
);
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28506 Py_INCREF(Py_None
); resultobj
= Py_None
;
28513 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28514 PyObject
*resultobj
;
28515 wxWindow
*arg1
= (wxWindow
*) 0 ;
28516 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28517 PyObject
* obj0
= 0 ;
28518 PyObject
* obj1
= 0 ;
28519 char *kwnames
[] = {
28520 (char *) "self",(char *) "handler", NULL
28523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28525 if (SWIG_arg_fail(1)) SWIG_fail
;
28526 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28527 if (SWIG_arg_fail(2)) SWIG_fail
;
28529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28530 (arg1
)->PushEventHandler(arg2
);
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28535 Py_INCREF(Py_None
); resultobj
= Py_None
;
28542 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28543 PyObject
*resultobj
;
28544 wxWindow
*arg1
= (wxWindow
*) 0 ;
28545 bool arg2
= (bool) false ;
28546 wxEvtHandler
*result
;
28547 PyObject
* obj0
= 0 ;
28548 PyObject
* obj1
= 0 ;
28549 char *kwnames
[] = {
28550 (char *) "self",(char *) "deleteHandler", NULL
28553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28554 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28555 if (SWIG_arg_fail(1)) SWIG_fail
;
28558 arg2
= (bool)(SWIG_As_bool(obj1
));
28559 if (SWIG_arg_fail(2)) SWIG_fail
;
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
28566 wxPyEndAllowThreads(__tstate
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= wxPyMake_wxObject(result
, 0);
28578 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28579 PyObject
*resultobj
;
28580 wxWindow
*arg1
= (wxWindow
*) 0 ;
28581 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
28583 PyObject
* obj0
= 0 ;
28584 PyObject
* obj1
= 0 ;
28585 char *kwnames
[] = {
28586 (char *) "self",(char *) "handler", NULL
28589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
28590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28591 if (SWIG_arg_fail(1)) SWIG_fail
;
28592 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
28593 if (SWIG_arg_fail(2)) SWIG_fail
;
28595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28596 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28610 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
;
28612 wxWindow
*arg1
= (wxWindow
*) 0 ;
28613 wxValidator
*arg2
= 0 ;
28614 PyObject
* obj0
= 0 ;
28615 PyObject
* obj1
= 0 ;
28616 char *kwnames
[] = {
28617 (char *) "self",(char *) "validator", NULL
28620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
28621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28622 if (SWIG_arg_fail(1)) SWIG_fail
;
28624 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
28625 if (SWIG_arg_fail(2)) SWIG_fail
;
28626 if (arg2
== NULL
) {
28627 SWIG_null_ref("wxValidator");
28629 if (SWIG_arg_fail(2)) SWIG_fail
;
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28638 Py_INCREF(Py_None
); resultobj
= Py_None
;
28645 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxWindow
*arg1
= (wxWindow
*) 0 ;
28648 wxValidator
*result
;
28649 PyObject
* obj0
= 0 ;
28650 char *kwnames
[] = {
28651 (char *) "self", NULL
28654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
28655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28656 if (SWIG_arg_fail(1)) SWIG_fail
;
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 result
= (wxValidator
*)(arg1
)->GetValidator();
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28665 resultobj
= wxPyMake_wxObject(result
, 0);
28673 static PyObject
*_wrap_Window_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
;
28675 wxWindow
*arg1
= (wxWindow
*) 0 ;
28677 PyObject
* obj0
= 0 ;
28678 char *kwnames
[] = {
28679 (char *) "self", NULL
28682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
28683 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28684 if (SWIG_arg_fail(1)) SWIG_fail
;
28686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28687 result
= (bool)(arg1
)->Validate();
28689 wxPyEndAllowThreads(__tstate
);
28690 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28701 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28702 PyObject
*resultobj
;
28703 wxWindow
*arg1
= (wxWindow
*) 0 ;
28705 PyObject
* obj0
= 0 ;
28706 char *kwnames
[] = {
28707 (char *) "self", NULL
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28711 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28712 if (SWIG_arg_fail(1)) SWIG_fail
;
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 result
= (bool)(arg1
)->TransferDataToWindow();
28717 wxPyEndAllowThreads(__tstate
);
28718 if (PyErr_Occurred()) SWIG_fail
;
28721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28729 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28730 PyObject
*resultobj
;
28731 wxWindow
*arg1
= (wxWindow
*) 0 ;
28733 PyObject
* obj0
= 0 ;
28734 char *kwnames
[] = {
28735 (char *) "self", NULL
28738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28739 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28740 if (SWIG_arg_fail(1)) SWIG_fail
;
28742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28743 result
= (bool)(arg1
)->TransferDataFromWindow();
28745 wxPyEndAllowThreads(__tstate
);
28746 if (PyErr_Occurred()) SWIG_fail
;
28749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28757 static PyObject
*_wrap_Window_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28758 PyObject
*resultobj
;
28759 wxWindow
*arg1
= (wxWindow
*) 0 ;
28760 PyObject
* obj0
= 0 ;
28761 char *kwnames
[] = {
28762 (char *) "self", NULL
28765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
28766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28767 if (SWIG_arg_fail(1)) SWIG_fail
;
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 (arg1
)->InitDialog();
28772 wxPyEndAllowThreads(__tstate
);
28773 if (PyErr_Occurred()) SWIG_fail
;
28775 Py_INCREF(Py_None
); resultobj
= Py_None
;
28782 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28783 PyObject
*resultobj
;
28784 wxWindow
*arg1
= (wxWindow
*) 0 ;
28785 wxAcceleratorTable
*arg2
= 0 ;
28786 PyObject
* obj0
= 0 ;
28787 PyObject
* obj1
= 0 ;
28788 char *kwnames
[] = {
28789 (char *) "self",(char *) "accel", NULL
28792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
28793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28794 if (SWIG_arg_fail(1)) SWIG_fail
;
28796 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_EXCEPTION
| 0);
28797 if (SWIG_arg_fail(2)) SWIG_fail
;
28798 if (arg2
== NULL
) {
28799 SWIG_null_ref("wxAcceleratorTable");
28801 if (SWIG_arg_fail(2)) SWIG_fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 Py_INCREF(Py_None
); resultobj
= Py_None
;
28817 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28818 PyObject
*resultobj
;
28819 wxWindow
*arg1
= (wxWindow
*) 0 ;
28820 wxAcceleratorTable
*result
;
28821 PyObject
* obj0
= 0 ;
28822 char *kwnames
[] = {
28823 (char *) "self", NULL
28826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
28827 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28828 if (SWIG_arg_fail(1)) SWIG_fail
;
28830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28831 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
28833 wxPyEndAllowThreads(__tstate
);
28834 if (PyErr_Occurred()) SWIG_fail
;
28836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
28843 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
;
28845 wxWindow
*arg1
= (wxWindow
*) 0 ;
28850 PyObject
* obj0
= 0 ;
28851 PyObject
* obj1
= 0 ;
28852 PyObject
* obj2
= 0 ;
28853 PyObject
* obj3
= 0 ;
28854 char *kwnames
[] = {
28855 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
28858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28860 if (SWIG_arg_fail(1)) SWIG_fail
;
28862 arg2
= (int)(SWIG_As_int(obj1
));
28863 if (SWIG_arg_fail(2)) SWIG_fail
;
28866 arg3
= (int)(SWIG_As_int(obj2
));
28867 if (SWIG_arg_fail(3)) SWIG_fail
;
28870 arg4
= (int)(SWIG_As_int(obj3
));
28871 if (SWIG_arg_fail(4)) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28875 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
28877 wxPyEndAllowThreads(__tstate
);
28878 if (PyErr_Occurred()) SWIG_fail
;
28881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28889 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28890 PyObject
*resultobj
;
28891 wxWindow
*arg1
= (wxWindow
*) 0 ;
28894 PyObject
* obj0
= 0 ;
28895 PyObject
* obj1
= 0 ;
28896 char *kwnames
[] = {
28897 (char *) "self",(char *) "hotkeyId", NULL
28900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
28901 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28902 if (SWIG_arg_fail(1)) SWIG_fail
;
28904 arg2
= (int)(SWIG_As_int(obj1
));
28905 if (SWIG_arg_fail(2)) SWIG_fail
;
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
28911 wxPyEndAllowThreads(__tstate
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28923 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
;
28925 wxWindow
*arg1
= (wxWindow
*) 0 ;
28926 wxPoint
*arg2
= 0 ;
28929 PyObject
* obj0
= 0 ;
28930 PyObject
* obj1
= 0 ;
28931 char *kwnames
[] = {
28932 (char *) "self",(char *) "pt", NULL
28935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28936 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28937 if (SWIG_arg_fail(1)) SWIG_fail
;
28940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28950 wxPoint
* resultptr
;
28951 resultptr
= new wxPoint((wxPoint
&)(result
));
28952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28960 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28961 PyObject
*resultobj
;
28962 wxWindow
*arg1
= (wxWindow
*) 0 ;
28966 PyObject
* obj0
= 0 ;
28967 PyObject
* obj1
= 0 ;
28968 char *kwnames
[] = {
28969 (char *) "self",(char *) "sz", NULL
28972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
28973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
28974 if (SWIG_arg_fail(1)) SWIG_fail
;
28977 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28987 wxSize
* resultptr
;
28988 resultptr
= new wxSize((wxSize
&)(result
));
28989 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28997 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28998 PyObject
*resultobj
;
28999 wxWindow
*arg1
= (wxWindow
*) 0 ;
29000 wxPoint
*arg2
= 0 ;
29003 PyObject
* obj0
= 0 ;
29004 PyObject
* obj1
= 0 ;
29005 char *kwnames
[] = {
29006 (char *) "self",(char *) "pt", NULL
29009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
29010 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29011 if (SWIG_arg_fail(1)) SWIG_fail
;
29014 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29024 wxPoint
* resultptr
;
29025 resultptr
= new wxPoint((wxPoint
&)(result
));
29026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29034 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29035 PyObject
*resultobj
;
29036 wxWindow
*arg1
= (wxWindow
*) 0 ;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj1
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "self",(char *) "sz", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
29047 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29048 if (SWIG_arg_fail(1)) SWIG_fail
;
29051 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29061 wxSize
* resultptr
;
29062 resultptr
= new wxSize((wxSize
&)(result
));
29063 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29071 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
;
29073 wxWindow
*arg1
= (wxWindow
*) 0 ;
29074 wxPoint
*arg2
= 0 ;
29077 PyObject
* obj0
= 0 ;
29078 PyObject
* obj1
= 0 ;
29079 char *kwnames
[] = {
29080 (char *) "self",(char *) "pt", NULL
29083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29085 if (SWIG_arg_fail(1)) SWIG_fail
;
29088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29098 wxPoint
* resultptr
;
29099 resultptr
= new wxPoint((wxPoint
&)(result
));
29100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29108 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxWindow
*arg1
= (wxWindow
*) 0 ;
29114 PyObject
* obj0
= 0 ;
29115 PyObject
* obj1
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self",(char *) "sz", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
29121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29122 if (SWIG_arg_fail(1)) SWIG_fail
;
29125 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29129 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
29131 wxPyEndAllowThreads(__tstate
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29135 wxSize
* resultptr
;
29136 resultptr
= new wxSize((wxSize
&)(result
));
29137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29145 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29146 PyObject
*resultobj
;
29147 wxWindow
*arg1
= (wxWindow
*) 0 ;
29150 PyObject
* obj0
= 0 ;
29151 PyObject
* obj1
= 0 ;
29152 PyObject
* obj2
= 0 ;
29153 char *kwnames
[] = {
29154 (char *) "self",(char *) "x",(char *) "y", NULL
29157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29158 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29159 if (SWIG_arg_fail(1)) SWIG_fail
;
29161 arg2
= (int)(SWIG_As_int(obj1
));
29162 if (SWIG_arg_fail(2)) SWIG_fail
;
29165 arg3
= (int)(SWIG_As_int(obj2
));
29166 if (SWIG_arg_fail(3)) SWIG_fail
;
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 (arg1
)->WarpPointer(arg2
,arg3
);
29172 wxPyEndAllowThreads(__tstate
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29175 Py_INCREF(Py_None
); resultobj
= Py_None
;
29182 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29183 PyObject
*resultobj
;
29184 wxWindow
*arg1
= (wxWindow
*) 0 ;
29185 PyObject
* obj0
= 0 ;
29186 char *kwnames
[] = {
29187 (char *) "self", NULL
29190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
29191 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29192 if (SWIG_arg_fail(1)) SWIG_fail
;
29194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 (arg1
)->CaptureMouse();
29197 wxPyEndAllowThreads(__tstate
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29200 Py_INCREF(Py_None
); resultobj
= Py_None
;
29207 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29209 wxWindow
*arg1
= (wxWindow
*) 0 ;
29210 PyObject
* obj0
= 0 ;
29211 char *kwnames
[] = {
29212 (char *) "self", NULL
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
29216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29217 if (SWIG_arg_fail(1)) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 (arg1
)->ReleaseMouse();
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 Py_INCREF(Py_None
); resultobj
= Py_None
;
29232 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
;
29235 char *kwnames
[] = {
29239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
29241 if (!wxPyCheckForApp()) SWIG_fail
;
29242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 result
= (wxWindow
*)wxWindow::GetCapture();
29245 wxPyEndAllowThreads(__tstate
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29249 resultobj
= wxPyMake_wxObject(result
, 0);
29257 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29258 PyObject
*resultobj
;
29259 wxWindow
*arg1
= (wxWindow
*) 0 ;
29261 PyObject
* obj0
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "self", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
29267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29268 if (SWIG_arg_fail(1)) SWIG_fail
;
29270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29271 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29285 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
;
29287 wxWindow
*arg1
= (wxWindow
*) 0 ;
29288 bool arg2
= (bool) true ;
29289 wxRect
*arg3
= (wxRect
*) NULL
;
29290 PyObject
* obj0
= 0 ;
29291 PyObject
* obj1
= 0 ;
29292 PyObject
* obj2
= 0 ;
29293 char *kwnames
[] = {
29294 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
29297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29298 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29299 if (SWIG_arg_fail(1)) SWIG_fail
;
29302 arg2
= (bool)(SWIG_As_bool(obj1
));
29303 if (SWIG_arg_fail(2)) SWIG_fail
;
29307 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
29308 if (SWIG_arg_fail(3)) SWIG_fail
;
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 Py_INCREF(Py_None
); resultobj
= Py_None
;
29324 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
;
29326 wxWindow
*arg1
= (wxWindow
*) 0 ;
29328 bool arg3
= (bool) true ;
29330 PyObject
* obj0
= 0 ;
29331 PyObject
* obj1
= 0 ;
29332 PyObject
* obj2
= 0 ;
29333 char *kwnames
[] = {
29334 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
29337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29339 if (SWIG_arg_fail(1)) SWIG_fail
;
29342 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29346 arg3
= (bool)(SWIG_As_bool(obj2
));
29347 if (SWIG_arg_fail(3)) SWIG_fail
;
29351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29352 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29357 Py_INCREF(Py_None
); resultobj
= Py_None
;
29364 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29365 PyObject
*resultobj
;
29366 wxWindow
*arg1
= (wxWindow
*) 0 ;
29367 PyObject
* obj0
= 0 ;
29368 char *kwnames
[] = {
29369 (char *) "self", NULL
29372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
29373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29374 if (SWIG_arg_fail(1)) SWIG_fail
;
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 Py_INCREF(Py_None
); resultobj
= Py_None
;
29389 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
;
29391 wxWindow
*arg1
= (wxWindow
*) 0 ;
29392 PyObject
* obj0
= 0 ;
29393 char *kwnames
[] = {
29394 (char *) "self", NULL
29397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
29398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29399 if (SWIG_arg_fail(1)) SWIG_fail
;
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 (arg1
)->ClearBackground();
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29407 Py_INCREF(Py_None
); resultobj
= Py_None
;
29414 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
;
29416 wxWindow
*arg1
= (wxWindow
*) 0 ;
29417 PyObject
* obj0
= 0 ;
29418 char *kwnames
[] = {
29419 (char *) "self", NULL
29422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
29423 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29424 if (SWIG_arg_fail(1)) SWIG_fail
;
29426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29432 Py_INCREF(Py_None
); resultobj
= Py_None
;
29439 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29440 PyObject
*resultobj
;
29441 wxWindow
*arg1
= (wxWindow
*) 0 ;
29442 PyObject
* obj0
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
29448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29449 if (SWIG_arg_fail(1)) SWIG_fail
;
29451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 wxPyEndAllowThreads(__tstate
);
29455 if (PyErr_Occurred()) SWIG_fail
;
29457 Py_INCREF(Py_None
); resultobj
= Py_None
;
29464 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
;
29466 wxWindow
*arg1
= (wxWindow
*) 0 ;
29468 PyObject
* obj0
= 0 ;
29469 PyObject
* obj1
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self",(char *) "dc", NULL
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
29475 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29476 if (SWIG_arg_fail(1)) SWIG_fail
;
29478 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
29479 if (SWIG_arg_fail(2)) SWIG_fail
;
29480 if (arg2
== NULL
) {
29481 SWIG_null_ref("wxDC");
29483 if (SWIG_arg_fail(2)) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 (arg1
)->PrepareDC(*arg2
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 Py_INCREF(Py_None
); resultobj
= Py_None
;
29499 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29500 PyObject
*resultobj
;
29501 wxWindow
*arg1
= (wxWindow
*) 0 ;
29503 PyObject
* obj0
= 0 ;
29504 char *kwnames
[] = {
29505 (char *) "self", NULL
29508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
29509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29510 if (SWIG_arg_fail(1)) SWIG_fail
;
29512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
29515 result
= (wxRegion
*) &_result_ref
;
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
29528 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
;
29530 wxWindow
*arg1
= (wxWindow
*) 0 ;
29532 PyObject
* obj0
= 0 ;
29533 char *kwnames
[] = {
29534 (char *) "self", NULL
29537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
29538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29539 if (SWIG_arg_fail(1)) SWIG_fail
;
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29548 wxRect
* resultptr
;
29549 resultptr
= new wxRect((wxRect
&)(result
));
29550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29558 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29559 PyObject
*resultobj
;
29560 wxWindow
*arg1
= (wxWindow
*) 0 ;
29563 int arg4
= (int) 1 ;
29564 int arg5
= (int) 1 ;
29566 PyObject
* obj0
= 0 ;
29567 PyObject
* obj1
= 0 ;
29568 PyObject
* obj2
= 0 ;
29569 PyObject
* obj3
= 0 ;
29570 PyObject
* obj4
= 0 ;
29571 char *kwnames
[] = {
29572 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
29575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29577 if (SWIG_arg_fail(1)) SWIG_fail
;
29579 arg2
= (int)(SWIG_As_int(obj1
));
29580 if (SWIG_arg_fail(2)) SWIG_fail
;
29583 arg3
= (int)(SWIG_As_int(obj2
));
29584 if (SWIG_arg_fail(3)) SWIG_fail
;
29588 arg4
= (int)(SWIG_As_int(obj3
));
29589 if (SWIG_arg_fail(4)) SWIG_fail
;
29594 arg5
= (int)(SWIG_As_int(obj4
));
29595 if (SWIG_arg_fail(5)) SWIG_fail
;
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29614 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29615 PyObject
*resultobj
;
29616 wxWindow
*arg1
= (wxWindow
*) 0 ;
29617 wxPoint
*arg2
= 0 ;
29620 PyObject
* obj0
= 0 ;
29621 PyObject
* obj1
= 0 ;
29622 char *kwnames
[] = {
29623 (char *) "self",(char *) "pt", NULL
29626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
29627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29628 if (SWIG_arg_fail(1)) SWIG_fail
;
29631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29635 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
29637 wxPyEndAllowThreads(__tstate
);
29638 if (PyErr_Occurred()) SWIG_fail
;
29641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29649 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29650 PyObject
*resultobj
;
29651 wxWindow
*arg1
= (wxWindow
*) 0 ;
29655 PyObject
* obj0
= 0 ;
29656 PyObject
* obj1
= 0 ;
29657 char *kwnames
[] = {
29658 (char *) "self",(char *) "rect", NULL
29661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29663 if (SWIG_arg_fail(1)) SWIG_fail
;
29666 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29684 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29685 PyObject
*resultobj
;
29686 wxWindow
*arg1
= (wxWindow
*) 0 ;
29687 wxVisualAttributes result
;
29688 PyObject
* obj0
= 0 ;
29689 char *kwnames
[] = {
29690 (char *) "self", NULL
29693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29695 if (SWIG_arg_fail(1)) SWIG_fail
;
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29698 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29704 wxVisualAttributes
* resultptr
;
29705 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29714 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29715 PyObject
*resultobj
;
29716 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
29717 wxVisualAttributes result
;
29718 PyObject
* obj0
= 0 ;
29719 char *kwnames
[] = {
29720 (char *) "variant", NULL
29723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29726 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
29727 if (SWIG_arg_fail(1)) SWIG_fail
;
29731 if (!wxPyCheckForApp()) SWIG_fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29739 wxVisualAttributes
* resultptr
;
29740 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
29741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29749 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
;
29751 wxWindow
*arg1
= (wxWindow
*) 0 ;
29752 wxColour
*arg2
= 0 ;
29755 PyObject
* obj0
= 0 ;
29756 PyObject
* obj1
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self",(char *) "colour", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29762 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29763 if (SWIG_arg_fail(1)) SWIG_fail
;
29766 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
29772 wxPyEndAllowThreads(__tstate
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29784 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29785 PyObject
*resultobj
;
29786 wxWindow
*arg1
= (wxWindow
*) 0 ;
29787 wxColour
*arg2
= 0 ;
29789 PyObject
* obj0
= 0 ;
29790 PyObject
* obj1
= 0 ;
29791 char *kwnames
[] = {
29792 (char *) "self",(char *) "colour", NULL
29795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29796 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29797 if (SWIG_arg_fail(1)) SWIG_fail
;
29800 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29804 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
29806 wxPyEndAllowThreads(__tstate
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29809 Py_INCREF(Py_None
); resultobj
= Py_None
;
29816 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29817 PyObject
*resultobj
;
29818 wxWindow
*arg1
= (wxWindow
*) 0 ;
29819 wxColour
*arg2
= 0 ;
29822 PyObject
* obj0
= 0 ;
29823 PyObject
* obj1
= 0 ;
29824 char *kwnames
[] = {
29825 (char *) "self",(char *) "colour", NULL
29828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29830 if (SWIG_arg_fail(1)) SWIG_fail
;
29833 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29837 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
29839 wxPyEndAllowThreads(__tstate
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29851 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29852 PyObject
*resultobj
;
29853 wxWindow
*arg1
= (wxWindow
*) 0 ;
29854 wxColour
*arg2
= 0 ;
29856 PyObject
* obj0
= 0 ;
29857 PyObject
* obj1
= 0 ;
29858 char *kwnames
[] = {
29859 (char *) "self",(char *) "colour", NULL
29862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
29863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29864 if (SWIG_arg_fail(1)) SWIG_fail
;
29867 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 Py_INCREF(Py_None
); resultobj
= Py_None
;
29883 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
;
29885 wxWindow
*arg1
= (wxWindow
*) 0 ;
29887 PyObject
* obj0
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
29893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29894 if (SWIG_arg_fail(1)) SWIG_fail
;
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29903 wxColour
* resultptr
;
29904 resultptr
= new wxColour((wxColour
&)(result
));
29905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29913 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29914 PyObject
*resultobj
;
29915 wxWindow
*arg1
= (wxWindow
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 char *kwnames
[] = {
29919 (char *) "self", NULL
29922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
29923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29924 if (SWIG_arg_fail(1)) SWIG_fail
;
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29933 wxColour
* resultptr
;
29934 resultptr
= new wxColour((wxColour
&)(result
));
29935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
29943 static PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
;
29945 wxWindow
*arg1
= (wxWindow
*) 0 ;
29947 PyObject
* obj0
= 0 ;
29948 char *kwnames
[] = {
29949 (char *) "self", NULL
29952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritsBackgroundColour",kwnames
,&obj0
)) goto fail
;
29953 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29954 if (SWIG_arg_fail(1)) SWIG_fail
;
29956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29957 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
29959 wxPyEndAllowThreads(__tstate
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29971 static PyObject
*_wrap_Window_UseBgCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29972 PyObject
*resultobj
;
29973 wxWindow
*arg1
= (wxWindow
*) 0 ;
29975 PyObject
* obj0
= 0 ;
29976 char *kwnames
[] = {
29977 (char *) "self", NULL
29980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_UseBgCol",kwnames
,&obj0
)) goto fail
;
29981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
29982 if (SWIG_arg_fail(1)) SWIG_fail
;
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29999 static PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30000 PyObject
*resultobj
;
30001 wxWindow
*arg1
= (wxWindow
*) 0 ;
30002 wxBackgroundStyle arg2
;
30004 PyObject
* obj0
= 0 ;
30005 PyObject
* obj1
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self",(char *) "style", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
30011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30012 if (SWIG_arg_fail(1)) SWIG_fail
;
30014 arg2
= (wxBackgroundStyle
)(SWIG_As_int(obj1
));
30015 if (SWIG_arg_fail(2)) SWIG_fail
;
30018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30019 result
= (bool)(arg1
)->SetBackgroundStyle((wxBackgroundStyle
)arg2
);
30021 wxPyEndAllowThreads(__tstate
);
30022 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30033 static PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
;
30035 wxWindow
*arg1
= (wxWindow
*) 0 ;
30036 wxBackgroundStyle result
;
30037 PyObject
* obj0
= 0 ;
30038 char *kwnames
[] = {
30039 (char *) "self", NULL
30042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundStyle",kwnames
,&obj0
)) goto fail
;
30043 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30044 if (SWIG_arg_fail(1)) SWIG_fail
;
30046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30047 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
30049 wxPyEndAllowThreads(__tstate
);
30050 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= SWIG_From_int((result
));
30059 static PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
;
30061 wxWindow
*arg1
= (wxWindow
*) 0 ;
30063 PyObject
* obj0
= 0 ;
30064 char *kwnames
[] = {
30065 (char *) "self", NULL
30068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasTransparentBackground",kwnames
,&obj0
)) goto fail
;
30069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30070 if (SWIG_arg_fail(1)) SWIG_fail
;
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 result
= (bool)(arg1
)->HasTransparentBackground();
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30087 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
;
30089 wxWindow
*arg1
= (wxWindow
*) 0 ;
30090 wxCursor
*arg2
= 0 ;
30092 PyObject
* obj0
= 0 ;
30093 PyObject
* obj1
= 0 ;
30094 char *kwnames
[] = {
30095 (char *) "self",(char *) "cursor", NULL
30098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
30099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30100 if (SWIG_arg_fail(1)) SWIG_fail
;
30102 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCursor
, SWIG_POINTER_EXCEPTION
| 0);
30103 if (SWIG_arg_fail(2)) SWIG_fail
;
30104 if (arg2
== NULL
) {
30105 SWIG_null_ref("wxCursor");
30107 if (SWIG_arg_fail(2)) SWIG_fail
;
30110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30111 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
30113 wxPyEndAllowThreads(__tstate
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30125 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30126 PyObject
*resultobj
;
30127 wxWindow
*arg1
= (wxWindow
*) 0 ;
30129 PyObject
* obj0
= 0 ;
30130 char *kwnames
[] = {
30131 (char *) "self", NULL
30134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
30135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30136 if (SWIG_arg_fail(1)) SWIG_fail
;
30138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30139 result
= (arg1
)->GetCursor();
30141 wxPyEndAllowThreads(__tstate
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30145 wxCursor
* resultptr
;
30146 resultptr
= new wxCursor((wxCursor
&)(result
));
30147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
30155 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30156 PyObject
*resultobj
;
30157 wxWindow
*arg1
= (wxWindow
*) 0 ;
30160 PyObject
* obj0
= 0 ;
30161 PyObject
* obj1
= 0 ;
30162 char *kwnames
[] = {
30163 (char *) "self",(char *) "font", NULL
30166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30168 if (SWIG_arg_fail(1)) SWIG_fail
;
30170 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30171 if (SWIG_arg_fail(2)) SWIG_fail
;
30172 if (arg2
== NULL
) {
30173 SWIG_null_ref("wxFont");
30175 if (SWIG_arg_fail(2)) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30193 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30194 PyObject
*resultobj
;
30195 wxWindow
*arg1
= (wxWindow
*) 0 ;
30197 PyObject
* obj0
= 0 ;
30198 PyObject
* obj1
= 0 ;
30199 char *kwnames
[] = {
30200 (char *) "self",(char *) "font", NULL
30203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
30204 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30205 if (SWIG_arg_fail(1)) SWIG_fail
;
30207 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30208 if (SWIG_arg_fail(2)) SWIG_fail
;
30209 if (arg2
== NULL
) {
30210 SWIG_null_ref("wxFont");
30212 if (SWIG_arg_fail(2)) SWIG_fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30221 Py_INCREF(Py_None
); resultobj
= Py_None
;
30228 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30229 PyObject
*resultobj
;
30230 wxWindow
*arg1
= (wxWindow
*) 0 ;
30232 PyObject
* obj0
= 0 ;
30233 char *kwnames
[] = {
30234 (char *) "self", NULL
30237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
30238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30239 if (SWIG_arg_fail(1)) SWIG_fail
;
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 result
= (arg1
)->GetFont();
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30248 wxFont
* resultptr
;
30249 resultptr
= new wxFont((wxFont
&)(result
));
30250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
30258 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30259 PyObject
*resultobj
;
30260 wxWindow
*arg1
= (wxWindow
*) 0 ;
30261 wxCaret
*arg2
= (wxCaret
*) 0 ;
30262 PyObject
* obj0
= 0 ;
30263 PyObject
* obj1
= 0 ;
30264 char *kwnames
[] = {
30265 (char *) "self",(char *) "caret", NULL
30268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
30269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30270 if (SWIG_arg_fail(1)) SWIG_fail
;
30271 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCaret
, SWIG_POINTER_EXCEPTION
| 0);
30272 if (SWIG_arg_fail(2)) SWIG_fail
;
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 (arg1
)->SetCaret(arg2
);
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30280 Py_INCREF(Py_None
); resultobj
= Py_None
;
30287 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
;
30289 wxWindow
*arg1
= (wxWindow
*) 0 ;
30291 PyObject
* obj0
= 0 ;
30292 char *kwnames
[] = {
30293 (char *) "self", NULL
30296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
30297 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30298 if (SWIG_arg_fail(1)) SWIG_fail
;
30300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30301 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
30303 wxPyEndAllowThreads(__tstate
);
30304 if (PyErr_Occurred()) SWIG_fail
;
30306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
30313 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30314 PyObject
*resultobj
;
30315 wxWindow
*arg1
= (wxWindow
*) 0 ;
30317 PyObject
* obj0
= 0 ;
30318 char *kwnames
[] = {
30319 (char *) "self", NULL
30322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
30323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30324 if (SWIG_arg_fail(1)) SWIG_fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= SWIG_From_int((int)(result
));
30341 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
;
30343 wxWindow
*arg1
= (wxWindow
*) 0 ;
30345 PyObject
* obj0
= 0 ;
30346 char *kwnames
[] = {
30347 (char *) "self", NULL
30350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
30351 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30352 if (SWIG_arg_fail(1)) SWIG_fail
;
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30361 resultobj
= SWIG_From_int((int)(result
));
30369 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30370 PyObject
*resultobj
;
30371 wxWindow
*arg1
= (wxWindow
*) 0 ;
30372 wxString
*arg2
= 0 ;
30373 int *arg3
= (int *) 0 ;
30374 int *arg4
= (int *) 0 ;
30375 bool temp2
= false ;
30380 PyObject
* obj0
= 0 ;
30381 PyObject
* obj1
= 0 ;
30382 char *kwnames
[] = {
30383 (char *) "self",(char *) "string", NULL
30386 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30387 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
30389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30390 if (SWIG_arg_fail(1)) SWIG_fail
;
30392 arg2
= wxString_in_helper(obj1
);
30393 if (arg2
== NULL
) SWIG_fail
;
30397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30398 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
30400 wxPyEndAllowThreads(__tstate
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 Py_INCREF(Py_None
); resultobj
= Py_None
;
30404 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30405 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30406 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30407 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30422 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
;
30424 wxWindow
*arg1
= (wxWindow
*) 0 ;
30425 wxString
*arg2
= 0 ;
30426 int *arg3
= (int *) 0 ;
30427 int *arg4
= (int *) 0 ;
30428 int *arg5
= (int *) 0 ;
30429 int *arg6
= (int *) 0 ;
30430 wxFont
*arg7
= (wxFont
*) NULL
;
30431 bool temp2
= false ;
30440 PyObject
* obj0
= 0 ;
30441 PyObject
* obj1
= 0 ;
30442 PyObject
* obj2
= 0 ;
30443 char *kwnames
[] = {
30444 (char *) "self",(char *) "string",(char *) "font", NULL
30447 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30448 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
30449 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
30450 arg6
= &temp6
; res6
= SWIG_NEWOBJ
;
30451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30452 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30453 if (SWIG_arg_fail(1)) SWIG_fail
;
30455 arg2
= wxString_in_helper(obj1
);
30456 if (arg2
== NULL
) SWIG_fail
;
30460 SWIG_Python_ConvertPtr(obj2
, (void **)&arg7
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
30461 if (SWIG_arg_fail(7)) SWIG_fail
;
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
30467 wxPyEndAllowThreads(__tstate
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30470 Py_INCREF(Py_None
); resultobj
= Py_None
;
30471 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30472 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30473 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
30474 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
30475 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
30476 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
30477 resultobj
= t_output_helper(resultobj
, ((res6
== SWIG_NEWOBJ
) ?
30478 SWIG_From_int((*arg6
)) : SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, 0)));
30493 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
;
30495 wxWindow
*arg1
= (wxWindow
*) 0 ;
30496 int *arg2
= (int *) 0 ;
30497 int *arg3
= (int *) 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 PyObject
* obj2
= 0 ;
30505 char *kwnames
[] = {
30506 (char *) "self",(char *) "x",(char *) "y", NULL
30509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30511 if (SWIG_arg_fail(1)) SWIG_fail
;
30513 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30514 temp2
= SWIG_As_int(obj1
);
30515 if (SWIG_arg_fail(2)) SWIG_fail
;
30517 res2
= SWIG_NEWOBJ
;
30521 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30522 temp3
= SWIG_As_int(obj2
);
30523 if (SWIG_arg_fail(3)) SWIG_fail
;
30525 res3
= SWIG_NEWOBJ
;
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 Py_INCREF(Py_None
); resultobj
= Py_None
;
30536 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30537 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30538 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30539 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30546 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30547 PyObject
*resultobj
;
30548 wxWindow
*arg1
= (wxWindow
*) 0 ;
30549 int *arg2
= (int *) 0 ;
30550 int *arg3
= (int *) 0 ;
30555 PyObject
* obj0
= 0 ;
30556 PyObject
* obj1
= 0 ;
30557 PyObject
* obj2
= 0 ;
30558 char *kwnames
[] = {
30559 (char *) "self",(char *) "x",(char *) "y", NULL
30562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30564 if (SWIG_arg_fail(1)) SWIG_fail
;
30566 if (!(SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,0) != -1)) {
30567 temp2
= SWIG_As_int(obj1
);
30568 if (SWIG_arg_fail(2)) SWIG_fail
;
30570 res2
= SWIG_NEWOBJ
;
30574 if (!(SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,0) != -1)) {
30575 temp3
= SWIG_As_int(obj2
);
30576 if (SWIG_arg_fail(3)) SWIG_fail
;
30578 res3
= SWIG_NEWOBJ
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30588 Py_INCREF(Py_None
); resultobj
= Py_None
;
30589 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30590 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30591 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30592 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30599 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
;
30601 wxWindow
*arg1
= (wxWindow
*) 0 ;
30602 wxPoint
*arg2
= 0 ;
30605 PyObject
* obj0
= 0 ;
30606 PyObject
* obj1
= 0 ;
30607 char *kwnames
[] = {
30608 (char *) "self",(char *) "pt", NULL
30611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
30612 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30613 if (SWIG_arg_fail(1)) SWIG_fail
;
30616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
30622 wxPyEndAllowThreads(__tstate
);
30623 if (PyErr_Occurred()) SWIG_fail
;
30626 wxPoint
* resultptr
;
30627 resultptr
= new wxPoint((wxPoint
&)(result
));
30628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30636 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30637 PyObject
*resultobj
;
30638 wxWindow
*arg1
= (wxWindow
*) 0 ;
30639 wxPoint
*arg2
= 0 ;
30642 PyObject
* obj0
= 0 ;
30643 PyObject
* obj1
= 0 ;
30644 char *kwnames
[] = {
30645 (char *) "self",(char *) "pt", NULL
30648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
30649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30650 if (SWIG_arg_fail(1)) SWIG_fail
;
30653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
30659 wxPyEndAllowThreads(__tstate
);
30660 if (PyErr_Occurred()) SWIG_fail
;
30663 wxPoint
* resultptr
;
30664 resultptr
= new wxPoint((wxPoint
&)(result
));
30665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30673 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30674 PyObject
*resultobj
;
30675 wxWindow
*arg1
= (wxWindow
*) 0 ;
30679 PyObject
* obj0
= 0 ;
30680 PyObject
* obj1
= 0 ;
30681 PyObject
* obj2
= 0 ;
30682 char *kwnames
[] = {
30683 (char *) "self",(char *) "x",(char *) "y", NULL
30686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30688 if (SWIG_arg_fail(1)) SWIG_fail
;
30690 arg2
= (int)(SWIG_As_int(obj1
));
30691 if (SWIG_arg_fail(2)) SWIG_fail
;
30694 arg3
= (int)(SWIG_As_int(obj2
));
30695 if (SWIG_arg_fail(3)) SWIG_fail
;
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
30701 wxPyEndAllowThreads(__tstate
);
30702 if (PyErr_Occurred()) SWIG_fail
;
30704 resultobj
= SWIG_From_int((result
));
30711 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30712 PyObject
*resultobj
;
30713 wxWindow
*arg1
= (wxWindow
*) 0 ;
30714 wxPoint
*arg2
= 0 ;
30717 PyObject
* obj0
= 0 ;
30718 PyObject
* obj1
= 0 ;
30719 char *kwnames
[] = {
30720 (char *) "self",(char *) "pt", NULL
30723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
30724 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30725 if (SWIG_arg_fail(1)) SWIG_fail
;
30728 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30737 resultobj
= SWIG_From_int((result
));
30744 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
30745 PyObject
*resultobj
;
30746 wxWindow
*arg1
= (wxWindow
*) 0 ;
30749 PyObject
* obj0
= 0 ;
30750 PyObject
* obj1
= 0 ;
30752 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
30753 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30754 if (SWIG_arg_fail(1)) SWIG_fail
;
30756 arg2
= (long)(SWIG_As_long(obj1
));
30757 if (SWIG_arg_fail(2)) SWIG_fail
;
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30761 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30766 resultobj
= SWIG_From_int((result
));
30773 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
30774 PyObject
*resultobj
;
30775 wxWindow
*arg1
= (wxWindow
*) 0 ;
30777 PyObject
* obj0
= 0 ;
30779 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&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 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
30786 wxPyEndAllowThreads(__tstate
);
30787 if (PyErr_Occurred()) SWIG_fail
;
30789 resultobj
= SWIG_From_int((result
));
30796 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
30801 argc
= PyObject_Length(args
);
30802 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
30803 argv
[ii
] = PyTuple_GetItem(args
,ii
);
30809 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30817 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
30824 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
30832 _v
= SWIG_Check_long(argv
[1]);
30834 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
30839 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
30844 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30845 PyObject
*resultobj
;
30846 wxWindow
*arg1
= (wxWindow
*) 0 ;
30847 long arg2
= (long) wxUPDATE_UI_NONE
;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 char *kwnames
[] = {
30851 (char *) "self",(char *) "flags", NULL
30854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30855 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30856 if (SWIG_arg_fail(1)) SWIG_fail
;
30859 arg2
= (long)(SWIG_As_long(obj1
));
30860 if (SWIG_arg_fail(2)) SWIG_fail
;
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 (arg1
)->UpdateWindowUI(arg2
);
30867 wxPyEndAllowThreads(__tstate
);
30868 if (PyErr_Occurred()) SWIG_fail
;
30870 Py_INCREF(Py_None
); resultobj
= Py_None
;
30877 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30878 PyObject
*resultobj
;
30879 wxWindow
*arg1
= (wxWindow
*) 0 ;
30880 wxMenu
*arg2
= (wxMenu
*) 0 ;
30881 int arg3
= (int) -1 ;
30882 int arg4
= (int) -1 ;
30884 PyObject
* obj0
= 0 ;
30885 PyObject
* obj1
= 0 ;
30886 PyObject
* obj2
= 0 ;
30887 PyObject
* obj3
= 0 ;
30888 char *kwnames
[] = {
30889 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
30892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30893 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30894 if (SWIG_arg_fail(1)) SWIG_fail
;
30895 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30896 if (SWIG_arg_fail(2)) SWIG_fail
;
30899 arg3
= (int)(SWIG_As_int(obj2
));
30900 if (SWIG_arg_fail(3)) SWIG_fail
;
30905 arg4
= (int)(SWIG_As_int(obj3
));
30906 if (SWIG_arg_fail(4)) SWIG_fail
;
30910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30911 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
30913 wxPyEndAllowThreads(__tstate
);
30914 if (PyErr_Occurred()) SWIG_fail
;
30917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30925 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30926 PyObject
*resultobj
;
30927 wxWindow
*arg1
= (wxWindow
*) 0 ;
30928 wxMenu
*arg2
= (wxMenu
*) 0 ;
30929 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30930 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30933 PyObject
* obj0
= 0 ;
30934 PyObject
* obj1
= 0 ;
30935 PyObject
* obj2
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self",(char *) "menu",(char *) "pos", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30941 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30942 if (SWIG_arg_fail(1)) SWIG_fail
;
30943 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
30944 if (SWIG_arg_fail(2)) SWIG_fail
;
30948 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30953 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
30955 wxPyEndAllowThreads(__tstate
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30967 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30968 PyObject
*resultobj
;
30969 wxWindow
*arg1
= (wxWindow
*) 0 ;
30971 PyObject
* obj0
= 0 ;
30972 char *kwnames
[] = {
30973 (char *) "self", NULL
30976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
30977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
30978 if (SWIG_arg_fail(1)) SWIG_fail
;
30980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30981 result
= (long)wxWindow_GetHandle(arg1
);
30983 wxPyEndAllowThreads(__tstate
);
30984 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_From_long((long)(result
));
30995 static PyObject
*_wrap_Window_AssociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30996 PyObject
*resultobj
;
30997 wxWindow
*arg1
= (wxWindow
*) 0 ;
30999 PyObject
* obj0
= 0 ;
31000 PyObject
* obj1
= 0 ;
31001 char *kwnames
[] = {
31002 (char *) "self",(char *) "handle", NULL
31005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
31006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31007 if (SWIG_arg_fail(1)) SWIG_fail
;
31009 arg2
= (long)(SWIG_As_long(obj1
));
31010 if (SWIG_arg_fail(2)) SWIG_fail
;
31013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31014 wxWindow_AssociateHandle(arg1
,arg2
);
31016 wxPyEndAllowThreads(__tstate
);
31017 if (PyErr_Occurred()) SWIG_fail
;
31019 Py_INCREF(Py_None
); resultobj
= Py_None
;
31026 static PyObject
*_wrap_Window_DissociateHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31027 PyObject
*resultobj
;
31028 wxWindow
*arg1
= (wxWindow
*) 0 ;
31029 PyObject
* obj0
= 0 ;
31030 char *kwnames
[] = {
31031 (char *) "self", NULL
31034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DissociateHandle",kwnames
,&obj0
)) goto fail
;
31035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31036 if (SWIG_arg_fail(1)) SWIG_fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 (arg1
)->DissociateHandle();
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31044 Py_INCREF(Py_None
); resultobj
= Py_None
;
31051 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxWindow
*arg1
= (wxWindow
*) 0 ;
31056 PyObject
* obj0
= 0 ;
31057 PyObject
* obj1
= 0 ;
31058 char *kwnames
[] = {
31059 (char *) "self",(char *) "orient", NULL
31062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
31063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31064 if (SWIG_arg_fail(1)) SWIG_fail
;
31066 arg2
= (int)(SWIG_As_int(obj1
));
31067 if (SWIG_arg_fail(2)) SWIG_fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31085 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31086 PyObject
*resultobj
;
31087 wxWindow
*arg1
= (wxWindow
*) 0 ;
31092 bool arg6
= (bool) true ;
31093 PyObject
* obj0
= 0 ;
31094 PyObject
* obj1
= 0 ;
31095 PyObject
* obj2
= 0 ;
31096 PyObject
* obj3
= 0 ;
31097 PyObject
* obj4
= 0 ;
31098 PyObject
* obj5
= 0 ;
31099 char *kwnames
[] = {
31100 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
31103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31104 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31105 if (SWIG_arg_fail(1)) SWIG_fail
;
31107 arg2
= (int)(SWIG_As_int(obj1
));
31108 if (SWIG_arg_fail(2)) SWIG_fail
;
31111 arg3
= (int)(SWIG_As_int(obj2
));
31112 if (SWIG_arg_fail(3)) SWIG_fail
;
31115 arg4
= (int)(SWIG_As_int(obj3
));
31116 if (SWIG_arg_fail(4)) SWIG_fail
;
31119 arg5
= (int)(SWIG_As_int(obj4
));
31120 if (SWIG_arg_fail(5)) SWIG_fail
;
31124 arg6
= (bool)(SWIG_As_bool(obj5
));
31125 if (SWIG_arg_fail(6)) SWIG_fail
;
31129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31130 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 Py_INCREF(Py_None
); resultobj
= Py_None
;
31142 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31143 PyObject
*resultobj
;
31144 wxWindow
*arg1
= (wxWindow
*) 0 ;
31147 bool arg4
= (bool) true ;
31148 PyObject
* obj0
= 0 ;
31149 PyObject
* obj1
= 0 ;
31150 PyObject
* obj2
= 0 ;
31151 PyObject
* obj3
= 0 ;
31152 char *kwnames
[] = {
31153 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
31156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31158 if (SWIG_arg_fail(1)) SWIG_fail
;
31160 arg2
= (int)(SWIG_As_int(obj1
));
31161 if (SWIG_arg_fail(2)) SWIG_fail
;
31164 arg3
= (int)(SWIG_As_int(obj2
));
31165 if (SWIG_arg_fail(3)) SWIG_fail
;
31169 arg4
= (bool)(SWIG_As_bool(obj3
));
31170 if (SWIG_arg_fail(4)) SWIG_fail
;
31174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31175 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
31177 wxPyEndAllowThreads(__tstate
);
31178 if (PyErr_Occurred()) SWIG_fail
;
31180 Py_INCREF(Py_None
); resultobj
= Py_None
;
31187 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31188 PyObject
*resultobj
;
31189 wxWindow
*arg1
= (wxWindow
*) 0 ;
31192 PyObject
* obj0
= 0 ;
31193 PyObject
* obj1
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self",(char *) "orientation", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
31199 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31200 if (SWIG_arg_fail(1)) SWIG_fail
;
31202 arg2
= (int)(SWIG_As_int(obj1
));
31203 if (SWIG_arg_fail(2)) SWIG_fail
;
31206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31207 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= SWIG_From_int((int)(result
));
31221 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31222 PyObject
*resultobj
;
31223 wxWindow
*arg1
= (wxWindow
*) 0 ;
31226 PyObject
* obj0
= 0 ;
31227 PyObject
* obj1
= 0 ;
31228 char *kwnames
[] = {
31229 (char *) "self",(char *) "orientation", NULL
31232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
31233 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31234 if (SWIG_arg_fail(1)) SWIG_fail
;
31236 arg2
= (int)(SWIG_As_int(obj1
));
31237 if (SWIG_arg_fail(2)) SWIG_fail
;
31240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31241 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
31243 wxPyEndAllowThreads(__tstate
);
31244 if (PyErr_Occurred()) SWIG_fail
;
31247 resultobj
= SWIG_From_int((int)(result
));
31255 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
;
31257 wxWindow
*arg1
= (wxWindow
*) 0 ;
31260 PyObject
* obj0
= 0 ;
31261 PyObject
* obj1
= 0 ;
31262 char *kwnames
[] = {
31263 (char *) "self",(char *) "orientation", NULL
31266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
31267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31268 if (SWIG_arg_fail(1)) SWIG_fail
;
31270 arg2
= (int)(SWIG_As_int(obj1
));
31271 if (SWIG_arg_fail(2)) SWIG_fail
;
31274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31275 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31281 resultobj
= SWIG_From_int((int)(result
));
31289 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31290 PyObject
*resultobj
;
31291 wxWindow
*arg1
= (wxWindow
*) 0 ;
31294 wxRect
*arg4
= (wxRect
*) NULL
;
31295 PyObject
* obj0
= 0 ;
31296 PyObject
* obj1
= 0 ;
31297 PyObject
* obj2
= 0 ;
31298 PyObject
* obj3
= 0 ;
31299 char *kwnames
[] = {
31300 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
31303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31305 if (SWIG_arg_fail(1)) SWIG_fail
;
31307 arg2
= (int)(SWIG_As_int(obj1
));
31308 if (SWIG_arg_fail(2)) SWIG_fail
;
31311 arg3
= (int)(SWIG_As_int(obj2
));
31312 if (SWIG_arg_fail(3)) SWIG_fail
;
31315 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
31316 if (SWIG_arg_fail(4)) SWIG_fail
;
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
31322 wxPyEndAllowThreads(__tstate
);
31323 if (PyErr_Occurred()) SWIG_fail
;
31325 Py_INCREF(Py_None
); resultobj
= Py_None
;
31332 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31333 PyObject
*resultobj
;
31334 wxWindow
*arg1
= (wxWindow
*) 0 ;
31337 PyObject
* obj0
= 0 ;
31338 PyObject
* obj1
= 0 ;
31339 char *kwnames
[] = {
31340 (char *) "self",(char *) "lines", NULL
31343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
31344 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31345 if (SWIG_arg_fail(1)) SWIG_fail
;
31347 arg2
= (int)(SWIG_As_int(obj1
));
31348 if (SWIG_arg_fail(2)) SWIG_fail
;
31351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31352 result
= (bool)(arg1
)->ScrollLines(arg2
);
31354 wxPyEndAllowThreads(__tstate
);
31355 if (PyErr_Occurred()) SWIG_fail
;
31358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31366 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31367 PyObject
*resultobj
;
31368 wxWindow
*arg1
= (wxWindow
*) 0 ;
31371 PyObject
* obj0
= 0 ;
31372 PyObject
* obj1
= 0 ;
31373 char *kwnames
[] = {
31374 (char *) "self",(char *) "pages", NULL
31377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
31378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31379 if (SWIG_arg_fail(1)) SWIG_fail
;
31381 arg2
= (int)(SWIG_As_int(obj1
));
31382 if (SWIG_arg_fail(2)) SWIG_fail
;
31385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31386 result
= (bool)(arg1
)->ScrollPages(arg2
);
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31400 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31401 PyObject
*resultobj
;
31402 wxWindow
*arg1
= (wxWindow
*) 0 ;
31404 PyObject
* obj0
= 0 ;
31405 char *kwnames
[] = {
31406 (char *) "self", NULL
31409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
31410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31411 if (SWIG_arg_fail(1)) SWIG_fail
;
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= (bool)(arg1
)->LineUp();
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31428 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
;
31430 wxWindow
*arg1
= (wxWindow
*) 0 ;
31432 PyObject
* obj0
= 0 ;
31433 char *kwnames
[] = {
31434 (char *) "self", NULL
31437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
31438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31439 if (SWIG_arg_fail(1)) SWIG_fail
;
31441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31442 result
= (bool)(arg1
)->LineDown();
31444 wxPyEndAllowThreads(__tstate
);
31445 if (PyErr_Occurred()) SWIG_fail
;
31448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31456 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31457 PyObject
*resultobj
;
31458 wxWindow
*arg1
= (wxWindow
*) 0 ;
31460 PyObject
* obj0
= 0 ;
31461 char *kwnames
[] = {
31462 (char *) "self", NULL
31465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
31466 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31467 if (SWIG_arg_fail(1)) SWIG_fail
;
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= (bool)(arg1
)->PageUp();
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31484 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxWindow
*arg1
= (wxWindow
*) 0 ;
31488 PyObject
* obj0
= 0 ;
31489 char *kwnames
[] = {
31490 (char *) "self", NULL
31493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
31494 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31495 if (SWIG_arg_fail(1)) SWIG_fail
;
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 result
= (bool)(arg1
)->PageDown();
31500 wxPyEndAllowThreads(__tstate
);
31501 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31512 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31513 PyObject
*resultobj
;
31514 wxWindow
*arg1
= (wxWindow
*) 0 ;
31515 wxString
*arg2
= 0 ;
31516 bool temp2
= false ;
31517 PyObject
* obj0
= 0 ;
31518 PyObject
* obj1
= 0 ;
31519 char *kwnames
[] = {
31520 (char *) "self",(char *) "text", NULL
31523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
31524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31525 if (SWIG_arg_fail(1)) SWIG_fail
;
31527 arg2
= wxString_in_helper(obj1
);
31528 if (arg2
== NULL
) SWIG_fail
;
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 (arg1
)->SetHelpText((wxString
const &)*arg2
);
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31538 Py_INCREF(Py_None
); resultobj
= Py_None
;
31553 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
;
31555 wxWindow
*arg1
= (wxWindow
*) 0 ;
31556 wxString
*arg2
= 0 ;
31557 bool temp2
= false ;
31558 PyObject
* obj0
= 0 ;
31559 PyObject
* obj1
= 0 ;
31560 char *kwnames
[] = {
31561 (char *) "self",(char *) "text", NULL
31564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
31565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31566 if (SWIG_arg_fail(1)) SWIG_fail
;
31568 arg2
= wxString_in_helper(obj1
);
31569 if (arg2
== NULL
) SWIG_fail
;
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31579 Py_INCREF(Py_None
); resultobj
= Py_None
;
31594 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31595 PyObject
*resultobj
;
31596 wxWindow
*arg1
= (wxWindow
*) 0 ;
31598 PyObject
* obj0
= 0 ;
31599 char *kwnames
[] = {
31600 (char *) "self", NULL
31603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
31604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31605 if (SWIG_arg_fail(1)) SWIG_fail
;
31607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31608 result
= ((wxWindow
const *)arg1
)->GetHelpText();
31610 wxPyEndAllowThreads(__tstate
);
31611 if (PyErr_Occurred()) SWIG_fail
;
31615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31626 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31627 PyObject
*resultobj
;
31628 wxWindow
*arg1
= (wxWindow
*) 0 ;
31629 wxString
*arg2
= 0 ;
31630 bool temp2
= false ;
31631 PyObject
* obj0
= 0 ;
31632 PyObject
* obj1
= 0 ;
31633 char *kwnames
[] = {
31634 (char *) "self",(char *) "tip", NULL
31637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
31638 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31639 if (SWIG_arg_fail(1)) SWIG_fail
;
31641 arg2
= wxString_in_helper(obj1
);
31642 if (arg2
== NULL
) SWIG_fail
;
31646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31647 (arg1
)->SetToolTip((wxString
const &)*arg2
);
31649 wxPyEndAllowThreads(__tstate
);
31650 if (PyErr_Occurred()) SWIG_fail
;
31652 Py_INCREF(Py_None
); resultobj
= Py_None
;
31667 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
;
31669 wxWindow
*arg1
= (wxWindow
*) 0 ;
31670 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
31671 PyObject
* obj0
= 0 ;
31672 PyObject
* obj1
= 0 ;
31673 char *kwnames
[] = {
31674 (char *) "self",(char *) "tip", NULL
31677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
31678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31679 if (SWIG_arg_fail(1)) SWIG_fail
;
31680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolTip
, SWIG_POINTER_EXCEPTION
| 0);
31681 if (SWIG_arg_fail(2)) SWIG_fail
;
31683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31684 (arg1
)->SetToolTip(arg2
);
31686 wxPyEndAllowThreads(__tstate
);
31687 if (PyErr_Occurred()) SWIG_fail
;
31689 Py_INCREF(Py_None
); resultobj
= Py_None
;
31696 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31697 PyObject
*resultobj
;
31698 wxWindow
*arg1
= (wxWindow
*) 0 ;
31700 PyObject
* obj0
= 0 ;
31701 char *kwnames
[] = {
31702 (char *) "self", NULL
31705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
31706 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31707 if (SWIG_arg_fail(1)) SWIG_fail
;
31709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31710 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
31712 wxPyEndAllowThreads(__tstate
);
31713 if (PyErr_Occurred()) SWIG_fail
;
31716 resultobj
= wxPyMake_wxObject(result
, 0);
31724 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31725 PyObject
*resultobj
;
31726 wxWindow
*arg1
= (wxWindow
*) 0 ;
31727 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
31728 PyObject
* obj0
= 0 ;
31729 PyObject
* obj1
= 0 ;
31730 char *kwnames
[] = {
31731 (char *) "self",(char *) "dropTarget", NULL
31734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
31735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31736 if (SWIG_arg_fail(1)) SWIG_fail
;
31737 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
);
31738 if (SWIG_arg_fail(2)) SWIG_fail
;
31740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31741 (arg1
)->SetDropTarget(arg2
);
31743 wxPyEndAllowThreads(__tstate
);
31744 if (PyErr_Occurred()) SWIG_fail
;
31746 Py_INCREF(Py_None
); resultobj
= Py_None
;
31753 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31754 PyObject
*resultobj
;
31755 wxWindow
*arg1
= (wxWindow
*) 0 ;
31756 wxPyDropTarget
*result
;
31757 PyObject
* obj0
= 0 ;
31758 char *kwnames
[] = {
31759 (char *) "self", NULL
31762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
31763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31764 if (SWIG_arg_fail(1)) SWIG_fail
;
31766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31767 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
31769 wxPyEndAllowThreads(__tstate
);
31770 if (PyErr_Occurred()) SWIG_fail
;
31772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
31779 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31780 PyObject
*resultobj
;
31781 wxWindow
*arg1
= (wxWindow
*) 0 ;
31783 PyObject
* obj0
= 0 ;
31784 PyObject
* obj1
= 0 ;
31785 char *kwnames
[] = {
31786 (char *) "self",(char *) "accept", NULL
31789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
31790 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31791 if (SWIG_arg_fail(1)) SWIG_fail
;
31793 arg2
= (bool)(SWIG_As_bool(obj1
));
31794 if (SWIG_arg_fail(2)) SWIG_fail
;
31797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31798 wxWindow_DragAcceptFiles(arg1
,arg2
);
31800 wxPyEndAllowThreads(__tstate
);
31801 if (PyErr_Occurred()) SWIG_fail
;
31803 Py_INCREF(Py_None
); resultobj
= Py_None
;
31810 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31811 PyObject
*resultobj
;
31812 wxWindow
*arg1
= (wxWindow
*) 0 ;
31813 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
31814 PyObject
* obj0
= 0 ;
31815 PyObject
* obj1
= 0 ;
31816 char *kwnames
[] = {
31817 (char *) "self",(char *) "constraints", NULL
31820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
31821 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31822 if (SWIG_arg_fail(1)) SWIG_fail
;
31823 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
31824 if (SWIG_arg_fail(2)) SWIG_fail
;
31826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31827 (arg1
)->SetConstraints(arg2
);
31829 wxPyEndAllowThreads(__tstate
);
31830 if (PyErr_Occurred()) SWIG_fail
;
31832 Py_INCREF(Py_None
); resultobj
= Py_None
;
31839 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31840 PyObject
*resultobj
;
31841 wxWindow
*arg1
= (wxWindow
*) 0 ;
31842 wxLayoutConstraints
*result
;
31843 PyObject
* obj0
= 0 ;
31844 char *kwnames
[] = {
31845 (char *) "self", NULL
31848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
31849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31850 if (SWIG_arg_fail(1)) SWIG_fail
;
31852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31853 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
31855 wxPyEndAllowThreads(__tstate
);
31856 if (PyErr_Occurred()) SWIG_fail
;
31858 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
31865 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31866 PyObject
*resultobj
;
31867 wxWindow
*arg1
= (wxWindow
*) 0 ;
31869 PyObject
* obj0
= 0 ;
31870 PyObject
* obj1
= 0 ;
31871 char *kwnames
[] = {
31872 (char *) "self",(char *) "autoLayout", NULL
31875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
31876 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31877 if (SWIG_arg_fail(1)) SWIG_fail
;
31879 arg2
= (bool)(SWIG_As_bool(obj1
));
31880 if (SWIG_arg_fail(2)) SWIG_fail
;
31883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31884 (arg1
)->SetAutoLayout(arg2
);
31886 wxPyEndAllowThreads(__tstate
);
31887 if (PyErr_Occurred()) SWIG_fail
;
31889 Py_INCREF(Py_None
); resultobj
= Py_None
;
31896 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
;
31898 wxWindow
*arg1
= (wxWindow
*) 0 ;
31900 PyObject
* obj0
= 0 ;
31901 char *kwnames
[] = {
31902 (char *) "self", NULL
31905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
31906 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31907 if (SWIG_arg_fail(1)) SWIG_fail
;
31909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
31912 wxPyEndAllowThreads(__tstate
);
31913 if (PyErr_Occurred()) SWIG_fail
;
31916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31924 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31925 PyObject
*resultobj
;
31926 wxWindow
*arg1
= (wxWindow
*) 0 ;
31928 PyObject
* obj0
= 0 ;
31929 char *kwnames
[] = {
31930 (char *) "self", NULL
31933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
31934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31935 if (SWIG_arg_fail(1)) SWIG_fail
;
31937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31938 result
= (bool)(arg1
)->Layout();
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31952 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31953 PyObject
*resultobj
;
31954 wxWindow
*arg1
= (wxWindow
*) 0 ;
31955 wxSizer
*arg2
= (wxSizer
*) 0 ;
31956 bool arg3
= (bool) true ;
31957 PyObject
* obj0
= 0 ;
31958 PyObject
* obj1
= 0 ;
31959 PyObject
* obj2
= 0 ;
31960 char *kwnames
[] = {
31961 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
31964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31965 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
31966 if (SWIG_arg_fail(1)) SWIG_fail
;
31967 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
31968 if (SWIG_arg_fail(2)) SWIG_fail
;
31971 arg3
= (bool)(SWIG_As_bool(obj2
));
31972 if (SWIG_arg_fail(3)) SWIG_fail
;
31976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31977 (arg1
)->SetSizer(arg2
,arg3
);
31979 wxPyEndAllowThreads(__tstate
);
31980 if (PyErr_Occurred()) SWIG_fail
;
31982 Py_INCREF(Py_None
); resultobj
= Py_None
;
31989 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31990 PyObject
*resultobj
;
31991 wxWindow
*arg1
= (wxWindow
*) 0 ;
31992 wxSizer
*arg2
= (wxSizer
*) 0 ;
31993 bool arg3
= (bool) true ;
31994 PyObject
* obj0
= 0 ;
31995 PyObject
* obj1
= 0 ;
31996 PyObject
* obj2
= 0 ;
31997 char *kwnames
[] = {
31998 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
32001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32003 if (SWIG_arg_fail(1)) SWIG_fail
;
32004 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32005 if (SWIG_arg_fail(2)) SWIG_fail
;
32008 arg3
= (bool)(SWIG_As_bool(obj2
));
32009 if (SWIG_arg_fail(3)) SWIG_fail
;
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 (arg1
)->SetSizerAndFit(arg2
,arg3
);
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 Py_INCREF(Py_None
); resultobj
= Py_None
;
32026 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxWindow
*arg1
= (wxWindow
*) 0 ;
32030 PyObject
* obj0
= 0 ;
32031 char *kwnames
[] = {
32032 (char *) "self", NULL
32035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
32036 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32037 if (SWIG_arg_fail(1)) SWIG_fail
;
32039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32040 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32046 resultobj
= wxPyMake_wxObject(result
, 0);
32054 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
;
32056 wxWindow
*arg1
= (wxWindow
*) 0 ;
32057 wxSizer
*arg2
= (wxSizer
*) 0 ;
32058 PyObject
* obj0
= 0 ;
32059 PyObject
* obj1
= 0 ;
32060 char *kwnames
[] = {
32061 (char *) "self",(char *) "sizer", NULL
32064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32065 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32066 if (SWIG_arg_fail(1)) SWIG_fail
;
32067 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
32068 if (SWIG_arg_fail(2)) SWIG_fail
;
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 (arg1
)->SetContainingSizer(arg2
);
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32076 Py_INCREF(Py_None
); resultobj
= Py_None
;
32083 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
;
32085 wxWindow
*arg1
= (wxWindow
*) 0 ;
32087 PyObject
* obj0
= 0 ;
32088 char *kwnames
[] = {
32089 (char *) "self", NULL
32092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
32093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32094 if (SWIG_arg_fail(1)) SWIG_fail
;
32096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32097 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
32099 wxPyEndAllowThreads(__tstate
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32103 resultobj
= wxPyMake_wxObject(result
, 0);
32111 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32112 PyObject
*resultobj
;
32113 wxWindow
*arg1
= (wxWindow
*) 0 ;
32114 PyObject
* obj0
= 0 ;
32115 char *kwnames
[] = {
32116 (char *) "self", NULL
32119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
32120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32121 if (SWIG_arg_fail(1)) SWIG_fail
;
32123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32124 (arg1
)->InheritAttributes();
32126 wxPyEndAllowThreads(__tstate
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32129 Py_INCREF(Py_None
); resultobj
= Py_None
;
32136 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32137 PyObject
*resultobj
;
32138 wxWindow
*arg1
= (wxWindow
*) 0 ;
32140 PyObject
* obj0
= 0 ;
32141 char *kwnames
[] = {
32142 (char *) "self", NULL
32145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
32146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32147 if (SWIG_arg_fail(1)) SWIG_fail
;
32149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32150 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
32152 wxPyEndAllowThreads(__tstate
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32164 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
32166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32167 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
32169 return Py_BuildValue((char *)"");
32171 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32172 PyObject
*resultobj
;
32174 wxWindow
*arg2
= (wxWindow
*) NULL
;
32176 PyObject
* obj0
= 0 ;
32177 PyObject
* obj1
= 0 ;
32178 char *kwnames
[] = {
32179 (char *) "id",(char *) "parent", NULL
32182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
32184 arg1
= (long)(SWIG_As_long(obj0
));
32185 if (SWIG_arg_fail(1)) SWIG_fail
;
32188 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32189 if (SWIG_arg_fail(2)) SWIG_fail
;
32192 if (!wxPyCheckForApp()) SWIG_fail
;
32193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32194 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32200 resultobj
= wxPyMake_wxObject(result
, 0);
32208 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32209 PyObject
*resultobj
;
32210 wxString
*arg1
= 0 ;
32211 wxWindow
*arg2
= (wxWindow
*) NULL
;
32213 bool temp1
= false ;
32214 PyObject
* obj0
= 0 ;
32215 PyObject
* obj1
= 0 ;
32216 char *kwnames
[] = {
32217 (char *) "name",(char *) "parent", NULL
32220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
32222 arg1
= wxString_in_helper(obj0
);
32223 if (arg1
== NULL
) SWIG_fail
;
32227 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32228 if (SWIG_arg_fail(2)) SWIG_fail
;
32231 if (!wxPyCheckForApp()) SWIG_fail
;
32232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32233 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32235 wxPyEndAllowThreads(__tstate
);
32236 if (PyErr_Occurred()) SWIG_fail
;
32239 resultobj
= wxPyMake_wxObject(result
, 0);
32255 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32256 PyObject
*resultobj
;
32257 wxString
*arg1
= 0 ;
32258 wxWindow
*arg2
= (wxWindow
*) NULL
;
32260 bool temp1
= false ;
32261 PyObject
* obj0
= 0 ;
32262 PyObject
* obj1
= 0 ;
32263 char *kwnames
[] = {
32264 (char *) "label",(char *) "parent", NULL
32267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32269 arg1
= wxString_in_helper(obj0
);
32270 if (arg1
== NULL
) SWIG_fail
;
32274 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32275 if (SWIG_arg_fail(2)) SWIG_fail
;
32278 if (!wxPyCheckForApp()) SWIG_fail
;
32279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32280 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
32282 wxPyEndAllowThreads(__tstate
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= wxPyMake_wxObject(result
, 0);
32302 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32303 PyObject
*resultobj
;
32304 wxWindow
*arg1
= (wxWindow
*) 0 ;
32305 unsigned long arg2
;
32307 PyObject
* obj0
= 0 ;
32308 PyObject
* obj1
= 0 ;
32309 char *kwnames
[] = {
32310 (char *) "parent",(char *) "_hWnd", NULL
32313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
32314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32315 if (SWIG_arg_fail(1)) SWIG_fail
;
32317 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
32318 if (SWIG_arg_fail(2)) SWIG_fail
;
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32328 resultobj
= wxPyMake_wxObject(result
, 0);
32336 static PyObject
*_wrap_GetTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32337 PyObject
*resultobj
;
32339 char *kwnames
[] = {
32343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetTopLevelWindows",kwnames
)) goto fail
;
32345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32346 result
= (PyObject
*)GetTopLevelWindows();
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32351 resultobj
= result
;
32358 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32359 PyObject
*resultobj
;
32360 wxValidator
*result
;
32361 char *kwnames
[] = {
32365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
32367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32368 result
= (wxValidator
*)new wxValidator();
32370 wxPyEndAllowThreads(__tstate
);
32371 if (PyErr_Occurred()) SWIG_fail
;
32373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
32380 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32381 PyObject
*resultobj
;
32382 wxValidator
*arg1
= (wxValidator
*) 0 ;
32383 wxValidator
*result
;
32384 PyObject
* obj0
= 0 ;
32385 char *kwnames
[] = {
32386 (char *) "self", NULL
32389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
32390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32391 if (SWIG_arg_fail(1)) SWIG_fail
;
32393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32394 result
= (wxValidator
*)(arg1
)->Clone();
32396 wxPyEndAllowThreads(__tstate
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32400 resultobj
= wxPyMake_wxObject(result
, 0);
32408 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32409 PyObject
*resultobj
;
32410 wxValidator
*arg1
= (wxValidator
*) 0 ;
32411 wxWindow
*arg2
= (wxWindow
*) 0 ;
32413 PyObject
* obj0
= 0 ;
32414 PyObject
* obj1
= 0 ;
32415 char *kwnames
[] = {
32416 (char *) "self",(char *) "parent", NULL
32419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
32420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32421 if (SWIG_arg_fail(1)) SWIG_fail
;
32422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32423 if (SWIG_arg_fail(2)) SWIG_fail
;
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 result
= (bool)(arg1
)->Validate(arg2
);
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32440 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32441 PyObject
*resultobj
;
32442 wxValidator
*arg1
= (wxValidator
*) 0 ;
32444 PyObject
* obj0
= 0 ;
32445 char *kwnames
[] = {
32446 (char *) "self", NULL
32449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
32450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32451 if (SWIG_arg_fail(1)) SWIG_fail
;
32453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32454 result
= (bool)(arg1
)->TransferToWindow();
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32468 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32469 PyObject
*resultobj
;
32470 wxValidator
*arg1
= (wxValidator
*) 0 ;
32472 PyObject
* obj0
= 0 ;
32473 char *kwnames
[] = {
32474 (char *) "self", NULL
32477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
32478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32479 if (SWIG_arg_fail(1)) SWIG_fail
;
32481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32482 result
= (bool)(arg1
)->TransferFromWindow();
32484 wxPyEndAllowThreads(__tstate
);
32485 if (PyErr_Occurred()) SWIG_fail
;
32488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32496 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32497 PyObject
*resultobj
;
32498 wxValidator
*arg1
= (wxValidator
*) 0 ;
32500 PyObject
* obj0
= 0 ;
32501 char *kwnames
[] = {
32502 (char *) "self", NULL
32505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
32506 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32507 if (SWIG_arg_fail(1)) SWIG_fail
;
32509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32510 result
= (wxWindow
*)(arg1
)->GetWindow();
32512 wxPyEndAllowThreads(__tstate
);
32513 if (PyErr_Occurred()) SWIG_fail
;
32516 resultobj
= wxPyMake_wxObject(result
, 0);
32524 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32525 PyObject
*resultobj
;
32526 wxValidator
*arg1
= (wxValidator
*) 0 ;
32527 wxWindow
*arg2
= (wxWindow
*) 0 ;
32528 PyObject
* obj0
= 0 ;
32529 PyObject
* obj1
= 0 ;
32530 char *kwnames
[] = {
32531 (char *) "self",(char *) "window", NULL
32534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32535 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
32536 if (SWIG_arg_fail(1)) SWIG_fail
;
32537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
32538 if (SWIG_arg_fail(2)) SWIG_fail
;
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 (arg1
)->SetWindow(arg2
);
32543 wxPyEndAllowThreads(__tstate
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 Py_INCREF(Py_None
); resultobj
= Py_None
;
32553 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32554 PyObject
*resultobj
;
32556 char *kwnames
[] = {
32560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
32562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32563 result
= (bool)wxValidator::IsSilent();
32565 wxPyEndAllowThreads(__tstate
);
32566 if (PyErr_Occurred()) SWIG_fail
;
32569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32577 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32578 PyObject
*resultobj
;
32579 int arg1
= (int) true ;
32580 PyObject
* obj0
= 0 ;
32581 char *kwnames
[] = {
32582 (char *) "doIt", NULL
32585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
32588 arg1
= (int)(SWIG_As_int(obj0
));
32589 if (SWIG_arg_fail(1)) SWIG_fail
;
32593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32594 wxValidator::SetBellOnError(arg1
);
32596 wxPyEndAllowThreads(__tstate
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32599 Py_INCREF(Py_None
); resultobj
= Py_None
;
32606 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
32608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32609 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
32611 return Py_BuildValue((char *)"");
32613 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32614 PyObject
*resultobj
;
32615 wxPyValidator
*result
;
32616 char *kwnames
[] = {
32620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
32622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32623 result
= (wxPyValidator
*)new wxPyValidator();
32625 wxPyEndAllowThreads(__tstate
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
32635 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32636 PyObject
*resultobj
;
32637 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
32638 PyObject
*arg2
= (PyObject
*) 0 ;
32639 PyObject
*arg3
= (PyObject
*) 0 ;
32640 int arg4
= (int) true ;
32641 PyObject
* obj0
= 0 ;
32642 PyObject
* obj1
= 0 ;
32643 PyObject
* obj2
= 0 ;
32644 PyObject
* obj3
= 0 ;
32645 char *kwnames
[] = {
32646 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
32649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_EXCEPTION
| 0);
32651 if (SWIG_arg_fail(1)) SWIG_fail
;
32656 arg4
= (int)(SWIG_As_int(obj3
));
32657 if (SWIG_arg_fail(4)) SWIG_fail
;
32661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32662 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
32664 wxPyEndAllowThreads(__tstate
);
32665 if (PyErr_Occurred()) SWIG_fail
;
32667 Py_INCREF(Py_None
); resultobj
= Py_None
;
32674 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
32676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32677 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
32679 return Py_BuildValue((char *)"");
32681 static int _wrap_DefaultValidator_set(PyObject
*) {
32682 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
32687 static PyObject
*_wrap_DefaultValidator_get(void) {
32690 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
32695 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32696 PyObject
*resultobj
;
32697 wxString
const &arg1_defvalue
= wxPyEmptyString
;
32698 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
32699 long arg2
= (long) 0 ;
32701 bool temp1
= false ;
32702 PyObject
* obj0
= 0 ;
32703 PyObject
* obj1
= 0 ;
32704 char *kwnames
[] = {
32705 (char *) "title",(char *) "style", NULL
32708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
32711 arg1
= wxString_in_helper(obj0
);
32712 if (arg1
== NULL
) SWIG_fail
;
32718 arg2
= (long)(SWIG_As_long(obj1
));
32719 if (SWIG_arg_fail(2)) SWIG_fail
;
32723 if (!wxPyCheckForApp()) SWIG_fail
;
32724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32725 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
32727 wxPyEndAllowThreads(__tstate
);
32728 if (PyErr_Occurred()) SWIG_fail
;
32730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
32745 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32746 PyObject
*resultobj
;
32747 wxMenu
*arg1
= (wxMenu
*) 0 ;
32749 wxString
*arg3
= 0 ;
32750 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32751 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32752 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
32753 wxMenuItem
*result
;
32754 bool temp3
= false ;
32755 bool temp4
= false ;
32756 PyObject
* obj0
= 0 ;
32757 PyObject
* obj1
= 0 ;
32758 PyObject
* obj2
= 0 ;
32759 PyObject
* obj3
= 0 ;
32760 PyObject
* obj4
= 0 ;
32761 char *kwnames
[] = {
32762 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
32765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32767 if (SWIG_arg_fail(1)) SWIG_fail
;
32769 arg2
= (int)(SWIG_As_int(obj1
));
32770 if (SWIG_arg_fail(2)) SWIG_fail
;
32773 arg3
= wxString_in_helper(obj2
);
32774 if (arg3
== NULL
) SWIG_fail
;
32779 arg4
= wxString_in_helper(obj3
);
32780 if (arg4
== NULL
) SWIG_fail
;
32786 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
32787 if (SWIG_arg_fail(5)) SWIG_fail
;
32791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32792 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
32794 wxPyEndAllowThreads(__tstate
);
32795 if (PyErr_Occurred()) SWIG_fail
;
32798 resultobj
= wxPyMake_wxObject(result
, 0);
32822 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
;
32824 wxMenu
*arg1
= (wxMenu
*) 0 ;
32825 wxMenuItem
*result
;
32826 PyObject
* obj0
= 0 ;
32827 char *kwnames
[] = {
32828 (char *) "self", NULL
32831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
32832 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32833 if (SWIG_arg_fail(1)) SWIG_fail
;
32835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32836 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
32838 wxPyEndAllowThreads(__tstate
);
32839 if (PyErr_Occurred()) SWIG_fail
;
32842 resultobj
= wxPyMake_wxObject(result
, 0);
32850 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32851 PyObject
*resultobj
;
32852 wxMenu
*arg1
= (wxMenu
*) 0 ;
32854 wxString
*arg3
= 0 ;
32855 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32856 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32857 wxMenuItem
*result
;
32858 bool temp3
= false ;
32859 bool temp4
= false ;
32860 PyObject
* obj0
= 0 ;
32861 PyObject
* obj1
= 0 ;
32862 PyObject
* obj2
= 0 ;
32863 PyObject
* obj3
= 0 ;
32864 char *kwnames
[] = {
32865 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32869 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32870 if (SWIG_arg_fail(1)) SWIG_fail
;
32872 arg2
= (int)(SWIG_As_int(obj1
));
32873 if (SWIG_arg_fail(2)) SWIG_fail
;
32876 arg3
= wxString_in_helper(obj2
);
32877 if (arg3
== NULL
) SWIG_fail
;
32882 arg4
= wxString_in_helper(obj3
);
32883 if (arg4
== NULL
) SWIG_fail
;
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32889 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32891 wxPyEndAllowThreads(__tstate
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32895 resultobj
= wxPyMake_wxObject(result
, 0);
32919 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32920 PyObject
*resultobj
;
32921 wxMenu
*arg1
= (wxMenu
*) 0 ;
32923 wxString
*arg3
= 0 ;
32924 wxString
const &arg4_defvalue
= wxPyEmptyString
;
32925 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
32926 wxMenuItem
*result
;
32927 bool temp3
= false ;
32928 bool temp4
= false ;
32929 PyObject
* obj0
= 0 ;
32930 PyObject
* obj1
= 0 ;
32931 PyObject
* obj2
= 0 ;
32932 PyObject
* obj3
= 0 ;
32933 char *kwnames
[] = {
32934 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
32937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
32939 if (SWIG_arg_fail(1)) SWIG_fail
;
32941 arg2
= (int)(SWIG_As_int(obj1
));
32942 if (SWIG_arg_fail(2)) SWIG_fail
;
32945 arg3
= wxString_in_helper(obj2
);
32946 if (arg3
== NULL
) SWIG_fail
;
32951 arg4
= wxString_in_helper(obj3
);
32952 if (arg4
== NULL
) SWIG_fail
;
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
32960 wxPyEndAllowThreads(__tstate
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32964 resultobj
= wxPyMake_wxObject(result
, 0);
32988 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32989 PyObject
*resultobj
;
32990 wxMenu
*arg1
= (wxMenu
*) 0 ;
32992 wxString
*arg3
= 0 ;
32993 wxMenu
*arg4
= (wxMenu
*) 0 ;
32994 wxString
const &arg5_defvalue
= wxPyEmptyString
;
32995 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
32996 wxMenuItem
*result
;
32997 bool temp3
= false ;
32998 bool temp5
= false ;
32999 PyObject
* obj0
= 0 ;
33000 PyObject
* obj1
= 0 ;
33001 PyObject
* obj2
= 0 ;
33002 PyObject
* obj3
= 0 ;
33003 PyObject
* obj4
= 0 ;
33004 char *kwnames
[] = {
33005 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33010 if (SWIG_arg_fail(1)) SWIG_fail
;
33012 arg2
= (int)(SWIG_As_int(obj1
));
33013 if (SWIG_arg_fail(2)) SWIG_fail
;
33016 arg3
= wxString_in_helper(obj2
);
33017 if (arg3
== NULL
) SWIG_fail
;
33020 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33021 if (SWIG_arg_fail(4)) SWIG_fail
;
33024 arg5
= wxString_in_helper(obj4
);
33025 if (arg5
== NULL
) SWIG_fail
;
33030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33031 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33033 wxPyEndAllowThreads(__tstate
);
33034 if (PyErr_Occurred()) SWIG_fail
;
33037 resultobj
= wxPyMake_wxObject(result
, 0);
33061 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
;
33063 wxMenu
*arg1
= (wxMenu
*) 0 ;
33064 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33065 wxMenuItem
*result
;
33066 PyObject
* obj0
= 0 ;
33067 PyObject
* obj1
= 0 ;
33068 char *kwnames
[] = {
33069 (char *) "self",(char *) "item", NULL
33072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33073 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33074 if (SWIG_arg_fail(1)) SWIG_fail
;
33075 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33076 if (SWIG_arg_fail(2)) SWIG_fail
;
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33079 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
33081 wxPyEndAllowThreads(__tstate
);
33082 if (PyErr_Occurred()) SWIG_fail
;
33085 resultobj
= wxPyMake_wxObject(result
, 0);
33093 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33094 PyObject
*resultobj
;
33095 wxMenu
*arg1
= (wxMenu
*) 0 ;
33096 PyObject
* obj0
= 0 ;
33097 char *kwnames
[] = {
33098 (char *) "self", NULL
33101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
33102 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33103 if (SWIG_arg_fail(1)) SWIG_fail
;
33105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33111 Py_INCREF(Py_None
); resultobj
= Py_None
;
33118 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33119 PyObject
*resultobj
;
33120 wxMenu
*arg1
= (wxMenu
*) 0 ;
33122 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
33123 wxMenuItem
*result
;
33124 PyObject
* obj0
= 0 ;
33125 PyObject
* obj1
= 0 ;
33126 PyObject
* obj2
= 0 ;
33127 char *kwnames
[] = {
33128 (char *) "self",(char *) "pos",(char *) "item", NULL
33131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33132 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33133 if (SWIG_arg_fail(1)) SWIG_fail
;
33135 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33136 if (SWIG_arg_fail(2)) SWIG_fail
;
33138 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33139 if (SWIG_arg_fail(3)) SWIG_fail
;
33141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33142 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
33144 wxPyEndAllowThreads(__tstate
);
33145 if (PyErr_Occurred()) SWIG_fail
;
33148 resultobj
= wxPyMake_wxObject(result
, 0);
33156 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33157 PyObject
*resultobj
;
33158 wxMenu
*arg1
= (wxMenu
*) 0 ;
33161 wxString
*arg4
= 0 ;
33162 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33163 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33164 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
33165 wxMenuItem
*result
;
33166 bool temp4
= false ;
33167 bool temp5
= false ;
33168 PyObject
* obj0
= 0 ;
33169 PyObject
* obj1
= 0 ;
33170 PyObject
* obj2
= 0 ;
33171 PyObject
* obj3
= 0 ;
33172 PyObject
* obj4
= 0 ;
33173 PyObject
* obj5
= 0 ;
33174 char *kwnames
[] = {
33175 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33180 if (SWIG_arg_fail(1)) SWIG_fail
;
33182 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33183 if (SWIG_arg_fail(2)) SWIG_fail
;
33186 arg3
= (int)(SWIG_As_int(obj2
));
33187 if (SWIG_arg_fail(3)) SWIG_fail
;
33190 arg4
= wxString_in_helper(obj3
);
33191 if (arg4
== NULL
) SWIG_fail
;
33196 arg5
= wxString_in_helper(obj4
);
33197 if (arg5
== NULL
) SWIG_fail
;
33203 arg6
= (wxItemKind
)(SWIG_As_int(obj5
));
33204 if (SWIG_arg_fail(6)) SWIG_fail
;
33208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33209 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
33211 wxPyEndAllowThreads(__tstate
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33215 resultobj
= wxPyMake_wxObject(result
, 0);
33239 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33240 PyObject
*resultobj
;
33241 wxMenu
*arg1
= (wxMenu
*) 0 ;
33243 wxMenuItem
*result
;
33244 PyObject
* obj0
= 0 ;
33245 PyObject
* obj1
= 0 ;
33246 char *kwnames
[] = {
33247 (char *) "self",(char *) "pos", NULL
33250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
33251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33252 if (SWIG_arg_fail(1)) SWIG_fail
;
33254 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33255 if (SWIG_arg_fail(2)) SWIG_fail
;
33258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33259 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
33261 wxPyEndAllowThreads(__tstate
);
33262 if (PyErr_Occurred()) SWIG_fail
;
33265 resultobj
= wxPyMake_wxObject(result
, 0);
33273 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33274 PyObject
*resultobj
;
33275 wxMenu
*arg1
= (wxMenu
*) 0 ;
33278 wxString
*arg4
= 0 ;
33279 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33280 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33281 wxMenuItem
*result
;
33282 bool temp4
= false ;
33283 bool temp5
= false ;
33284 PyObject
* obj0
= 0 ;
33285 PyObject
* obj1
= 0 ;
33286 PyObject
* obj2
= 0 ;
33287 PyObject
* obj3
= 0 ;
33288 PyObject
* obj4
= 0 ;
33289 char *kwnames
[] = {
33290 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33294 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33295 if (SWIG_arg_fail(1)) SWIG_fail
;
33297 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33298 if (SWIG_arg_fail(2)) SWIG_fail
;
33301 arg3
= (int)(SWIG_As_int(obj2
));
33302 if (SWIG_arg_fail(3)) SWIG_fail
;
33305 arg4
= wxString_in_helper(obj3
);
33306 if (arg4
== NULL
) SWIG_fail
;
33311 arg5
= wxString_in_helper(obj4
);
33312 if (arg5
== NULL
) SWIG_fail
;
33317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33318 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33320 wxPyEndAllowThreads(__tstate
);
33321 if (PyErr_Occurred()) SWIG_fail
;
33324 resultobj
= wxPyMake_wxObject(result
, 0);
33348 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33349 PyObject
*resultobj
;
33350 wxMenu
*arg1
= (wxMenu
*) 0 ;
33353 wxString
*arg4
= 0 ;
33354 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33355 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33356 wxMenuItem
*result
;
33357 bool temp4
= false ;
33358 bool temp5
= false ;
33359 PyObject
* obj0
= 0 ;
33360 PyObject
* obj1
= 0 ;
33361 PyObject
* obj2
= 0 ;
33362 PyObject
* obj3
= 0 ;
33363 PyObject
* obj4
= 0 ;
33364 char *kwnames
[] = {
33365 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
33368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33370 if (SWIG_arg_fail(1)) SWIG_fail
;
33372 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33373 if (SWIG_arg_fail(2)) SWIG_fail
;
33376 arg3
= (int)(SWIG_As_int(obj2
));
33377 if (SWIG_arg_fail(3)) SWIG_fail
;
33380 arg4
= wxString_in_helper(obj3
);
33381 if (arg4
== NULL
) SWIG_fail
;
33386 arg5
= wxString_in_helper(obj4
);
33387 if (arg5
== NULL
) SWIG_fail
;
33392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
33395 wxPyEndAllowThreads(__tstate
);
33396 if (PyErr_Occurred()) SWIG_fail
;
33399 resultobj
= wxPyMake_wxObject(result
, 0);
33423 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33424 PyObject
*resultobj
;
33425 wxMenu
*arg1
= (wxMenu
*) 0 ;
33428 wxString
*arg4
= 0 ;
33429 wxMenu
*arg5
= (wxMenu
*) 0 ;
33430 wxString
const &arg6_defvalue
= wxPyEmptyString
;
33431 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
33432 wxMenuItem
*result
;
33433 bool temp4
= false ;
33434 bool temp6
= false ;
33435 PyObject
* obj0
= 0 ;
33436 PyObject
* obj1
= 0 ;
33437 PyObject
* obj2
= 0 ;
33438 PyObject
* obj3
= 0 ;
33439 PyObject
* obj4
= 0 ;
33440 PyObject
* obj5
= 0 ;
33441 char *kwnames
[] = {
33442 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33447 if (SWIG_arg_fail(1)) SWIG_fail
;
33449 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
33450 if (SWIG_arg_fail(2)) SWIG_fail
;
33453 arg3
= (int)(SWIG_As_int(obj2
));
33454 if (SWIG_arg_fail(3)) SWIG_fail
;
33457 arg4
= wxString_in_helper(obj3
);
33458 if (arg4
== NULL
) SWIG_fail
;
33461 SWIG_Python_ConvertPtr(obj4
, (void **)&arg5
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33462 if (SWIG_arg_fail(5)) SWIG_fail
;
33465 arg6
= wxString_in_helper(obj5
);
33466 if (arg6
== NULL
) SWIG_fail
;
33471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33472 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
33474 wxPyEndAllowThreads(__tstate
);
33475 if (PyErr_Occurred()) SWIG_fail
;
33478 resultobj
= wxPyMake_wxObject(result
, 0);
33502 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33503 PyObject
*resultobj
;
33504 wxMenu
*arg1
= (wxMenu
*) 0 ;
33505 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33506 wxMenuItem
*result
;
33507 PyObject
* obj0
= 0 ;
33508 PyObject
* obj1
= 0 ;
33509 char *kwnames
[] = {
33510 (char *) "self",(char *) "item", NULL
33513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33514 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33515 if (SWIG_arg_fail(1)) SWIG_fail
;
33516 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33517 if (SWIG_arg_fail(2)) SWIG_fail
;
33519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33520 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
33522 wxPyEndAllowThreads(__tstate
);
33523 if (PyErr_Occurred()) SWIG_fail
;
33526 resultobj
= wxPyMake_wxObject(result
, 0);
33534 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33535 PyObject
*resultobj
;
33536 wxMenu
*arg1
= (wxMenu
*) 0 ;
33538 wxString
*arg3
= 0 ;
33539 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33540 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33541 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
33542 wxMenuItem
*result
;
33543 bool temp3
= false ;
33544 bool temp4
= false ;
33545 PyObject
* obj0
= 0 ;
33546 PyObject
* obj1
= 0 ;
33547 PyObject
* obj2
= 0 ;
33548 PyObject
* obj3
= 0 ;
33549 PyObject
* obj4
= 0 ;
33550 char *kwnames
[] = {
33551 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
33554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33555 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33556 if (SWIG_arg_fail(1)) SWIG_fail
;
33558 arg2
= (int)(SWIG_As_int(obj1
));
33559 if (SWIG_arg_fail(2)) SWIG_fail
;
33562 arg3
= wxString_in_helper(obj2
);
33563 if (arg3
== NULL
) SWIG_fail
;
33568 arg4
= wxString_in_helper(obj3
);
33569 if (arg4
== NULL
) SWIG_fail
;
33575 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
33576 if (SWIG_arg_fail(5)) SWIG_fail
;
33580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33581 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
33583 wxPyEndAllowThreads(__tstate
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33587 resultobj
= wxPyMake_wxObject(result
, 0);
33611 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33612 PyObject
*resultobj
;
33613 wxMenu
*arg1
= (wxMenu
*) 0 ;
33614 wxMenuItem
*result
;
33615 PyObject
* obj0
= 0 ;
33616 char *kwnames
[] = {
33617 (char *) "self", NULL
33620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
33621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33622 if (SWIG_arg_fail(1)) SWIG_fail
;
33624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33625 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
33627 wxPyEndAllowThreads(__tstate
);
33628 if (PyErr_Occurred()) SWIG_fail
;
33631 resultobj
= wxPyMake_wxObject(result
, 0);
33639 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
;
33641 wxMenu
*arg1
= (wxMenu
*) 0 ;
33643 wxString
*arg3
= 0 ;
33644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33646 wxMenuItem
*result
;
33647 bool temp3
= false ;
33648 bool temp4
= false ;
33649 PyObject
* obj0
= 0 ;
33650 PyObject
* obj1
= 0 ;
33651 PyObject
* obj2
= 0 ;
33652 PyObject
* obj3
= 0 ;
33653 char *kwnames
[] = {
33654 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33659 if (SWIG_arg_fail(1)) SWIG_fail
;
33661 arg2
= (int)(SWIG_As_int(obj1
));
33662 if (SWIG_arg_fail(2)) SWIG_fail
;
33665 arg3
= wxString_in_helper(obj2
);
33666 if (arg3
== NULL
) SWIG_fail
;
33671 arg4
= wxString_in_helper(obj3
);
33672 if (arg4
== NULL
) SWIG_fail
;
33677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33678 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33680 wxPyEndAllowThreads(__tstate
);
33681 if (PyErr_Occurred()) SWIG_fail
;
33684 resultobj
= wxPyMake_wxObject(result
, 0);
33708 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33709 PyObject
*resultobj
;
33710 wxMenu
*arg1
= (wxMenu
*) 0 ;
33712 wxString
*arg3
= 0 ;
33713 wxString
const &arg4_defvalue
= wxPyEmptyString
;
33714 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
33715 wxMenuItem
*result
;
33716 bool temp3
= false ;
33717 bool temp4
= false ;
33718 PyObject
* obj0
= 0 ;
33719 PyObject
* obj1
= 0 ;
33720 PyObject
* obj2
= 0 ;
33721 PyObject
* obj3
= 0 ;
33722 char *kwnames
[] = {
33723 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
33726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33728 if (SWIG_arg_fail(1)) SWIG_fail
;
33730 arg2
= (int)(SWIG_As_int(obj1
));
33731 if (SWIG_arg_fail(2)) SWIG_fail
;
33734 arg3
= wxString_in_helper(obj2
);
33735 if (arg3
== NULL
) SWIG_fail
;
33740 arg4
= wxString_in_helper(obj3
);
33741 if (arg4
== NULL
) SWIG_fail
;
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33753 resultobj
= wxPyMake_wxObject(result
, 0);
33777 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33778 PyObject
*resultobj
;
33779 wxMenu
*arg1
= (wxMenu
*) 0 ;
33781 wxString
*arg3
= 0 ;
33782 wxMenu
*arg4
= (wxMenu
*) 0 ;
33783 wxString
const &arg5_defvalue
= wxPyEmptyString
;
33784 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
33785 wxMenuItem
*result
;
33786 bool temp3
= false ;
33787 bool temp5
= false ;
33788 PyObject
* obj0
= 0 ;
33789 PyObject
* obj1
= 0 ;
33790 PyObject
* obj2
= 0 ;
33791 PyObject
* obj3
= 0 ;
33792 PyObject
* obj4
= 0 ;
33793 char *kwnames
[] = {
33794 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
33797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33799 if (SWIG_arg_fail(1)) SWIG_fail
;
33801 arg2
= (int)(SWIG_As_int(obj1
));
33802 if (SWIG_arg_fail(2)) SWIG_fail
;
33805 arg3
= wxString_in_helper(obj2
);
33806 if (arg3
== NULL
) SWIG_fail
;
33809 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33810 if (SWIG_arg_fail(4)) SWIG_fail
;
33813 arg5
= wxString_in_helper(obj4
);
33814 if (arg5
== NULL
) SWIG_fail
;
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33826 resultobj
= wxPyMake_wxObject(result
, 0);
33850 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33851 PyObject
*resultobj
;
33852 wxMenu
*arg1
= (wxMenu
*) 0 ;
33854 wxMenuItem
*result
;
33855 PyObject
* obj0
= 0 ;
33856 PyObject
* obj1
= 0 ;
33857 char *kwnames
[] = {
33858 (char *) "self",(char *) "id", NULL
33861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33862 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33863 if (SWIG_arg_fail(1)) SWIG_fail
;
33865 arg2
= (int)(SWIG_As_int(obj1
));
33866 if (SWIG_arg_fail(2)) SWIG_fail
;
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33876 resultobj
= wxPyMake_wxObject(result
, 0);
33884 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33885 PyObject
*resultobj
;
33886 wxMenu
*arg1
= (wxMenu
*) 0 ;
33887 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33888 wxMenuItem
*result
;
33889 PyObject
* obj0
= 0 ;
33890 PyObject
* obj1
= 0 ;
33891 char *kwnames
[] = {
33892 (char *) "self",(char *) "item", NULL
33895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33897 if (SWIG_arg_fail(1)) SWIG_fail
;
33898 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33899 if (SWIG_arg_fail(2)) SWIG_fail
;
33901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33902 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
33904 wxPyEndAllowThreads(__tstate
);
33905 if (PyErr_Occurred()) SWIG_fail
;
33908 resultobj
= wxPyMake_wxObject(result
, 0);
33916 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33917 PyObject
*resultobj
;
33918 wxMenu
*arg1
= (wxMenu
*) 0 ;
33921 PyObject
* obj0
= 0 ;
33922 PyObject
* obj1
= 0 ;
33923 char *kwnames
[] = {
33924 (char *) "self",(char *) "id", NULL
33927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33928 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33929 if (SWIG_arg_fail(1)) SWIG_fail
;
33931 arg2
= (int)(SWIG_As_int(obj1
));
33932 if (SWIG_arg_fail(2)) SWIG_fail
;
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 result
= (bool)(arg1
)->Delete(arg2
);
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33950 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33951 PyObject
*resultobj
;
33952 wxMenu
*arg1
= (wxMenu
*) 0 ;
33953 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
33955 PyObject
* obj0
= 0 ;
33956 PyObject
* obj1
= 0 ;
33957 char *kwnames
[] = {
33958 (char *) "self",(char *) "item", NULL
33961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33963 if (SWIG_arg_fail(1)) SWIG_fail
;
33964 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
33965 if (SWIG_arg_fail(2)) SWIG_fail
;
33967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33968 result
= (bool)(arg1
)->Delete(arg2
);
33970 wxPyEndAllowThreads(__tstate
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33982 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33983 PyObject
*resultobj
;
33984 wxMenu
*arg1
= (wxMenu
*) 0 ;
33985 PyObject
* obj0
= 0 ;
33986 char *kwnames
[] = {
33987 (char *) "self", NULL
33990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
33991 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
33992 if (SWIG_arg_fail(1)) SWIG_fail
;
33994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33995 wxMenu_Destroy(arg1
);
33997 wxPyEndAllowThreads(__tstate
);
33998 if (PyErr_Occurred()) SWIG_fail
;
34000 Py_INCREF(Py_None
); resultobj
= Py_None
;
34007 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34008 PyObject
*resultobj
;
34009 wxMenu
*arg1
= (wxMenu
*) 0 ;
34012 PyObject
* obj0
= 0 ;
34013 PyObject
* obj1
= 0 ;
34014 char *kwnames
[] = {
34015 (char *) "self",(char *) "id", NULL
34018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
34019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34020 if (SWIG_arg_fail(1)) SWIG_fail
;
34022 arg2
= (int)(SWIG_As_int(obj1
));
34023 if (SWIG_arg_fail(2)) SWIG_fail
;
34026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34027 result
= (bool)(arg1
)->Destroy(arg2
);
34029 wxPyEndAllowThreads(__tstate
);
34030 if (PyErr_Occurred()) SWIG_fail
;
34033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34041 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34042 PyObject
*resultobj
;
34043 wxMenu
*arg1
= (wxMenu
*) 0 ;
34044 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
34046 PyObject
* obj0
= 0 ;
34047 PyObject
* obj1
= 0 ;
34048 char *kwnames
[] = {
34049 (char *) "self",(char *) "item", NULL
34052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34054 if (SWIG_arg_fail(1)) SWIG_fail
;
34055 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
34056 if (SWIG_arg_fail(2)) SWIG_fail
;
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= (bool)(arg1
)->Destroy(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_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34074 PyObject
*resultobj
;
34075 wxMenu
*arg1
= (wxMenu
*) 0 ;
34077 PyObject
* obj0
= 0 ;
34078 char *kwnames
[] = {
34079 (char *) "self", NULL
34082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
34083 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34084 if (SWIG_arg_fail(1)) SWIG_fail
;
34086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34087 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
34089 wxPyEndAllowThreads(__tstate
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34093 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
34101 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34102 PyObject
*resultobj
;
34103 wxMenu
*arg1
= (wxMenu
*) 0 ;
34105 PyObject
* obj0
= 0 ;
34106 char *kwnames
[] = {
34107 (char *) "self", NULL
34110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
34111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34112 if (SWIG_arg_fail(1)) SWIG_fail
;
34114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34115 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
34117 wxPyEndAllowThreads(__tstate
);
34118 if (PyErr_Occurred()) SWIG_fail
;
34120 resultobj
= result
;
34127 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34128 PyObject
*resultobj
;
34129 wxMenu
*arg1
= (wxMenu
*) 0 ;
34130 wxString
*arg2
= 0 ;
34132 bool temp2
= false ;
34133 PyObject
* obj0
= 0 ;
34134 PyObject
* obj1
= 0 ;
34135 char *kwnames
[] = {
34136 (char *) "self",(char *) "item", NULL
34139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34141 if (SWIG_arg_fail(1)) SWIG_fail
;
34143 arg2
= wxString_in_helper(obj1
);
34144 if (arg2
== NULL
) SWIG_fail
;
34148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34149 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
34151 wxPyEndAllowThreads(__tstate
);
34152 if (PyErr_Occurred()) SWIG_fail
;
34155 resultobj
= SWIG_From_int((int)(result
));
34171 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34172 PyObject
*resultobj
;
34173 wxMenu
*arg1
= (wxMenu
*) 0 ;
34175 wxMenuItem
*result
;
34176 PyObject
* obj0
= 0 ;
34177 PyObject
* obj1
= 0 ;
34178 char *kwnames
[] = {
34179 (char *) "self",(char *) "id", NULL
34182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
34183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34184 if (SWIG_arg_fail(1)) SWIG_fail
;
34186 arg2
= (int)(SWIG_As_int(obj1
));
34187 if (SWIG_arg_fail(2)) SWIG_fail
;
34190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34191 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
34193 wxPyEndAllowThreads(__tstate
);
34194 if (PyErr_Occurred()) SWIG_fail
;
34197 resultobj
= wxPyMake_wxObject(result
, 0);
34205 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34206 PyObject
*resultobj
;
34207 wxMenu
*arg1
= (wxMenu
*) 0 ;
34209 wxMenuItem
*result
;
34210 PyObject
* obj0
= 0 ;
34211 PyObject
* obj1
= 0 ;
34212 char *kwnames
[] = {
34213 (char *) "self",(char *) "position", NULL
34216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",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
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
34221 if (SWIG_arg_fail(2)) SWIG_fail
;
34224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34225 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
34227 wxPyEndAllowThreads(__tstate
);
34228 if (PyErr_Occurred()) SWIG_fail
;
34231 resultobj
= wxPyMake_wxObject(result
, 0);
34239 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34240 PyObject
*resultobj
;
34241 wxMenu
*arg1
= (wxMenu
*) 0 ;
34244 PyObject
* obj0
= 0 ;
34245 PyObject
* obj1
= 0 ;
34246 PyObject
* obj2
= 0 ;
34247 char *kwnames
[] = {
34248 (char *) "self",(char *) "id",(char *) "enable", NULL
34251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34253 if (SWIG_arg_fail(1)) SWIG_fail
;
34255 arg2
= (int)(SWIG_As_int(obj1
));
34256 if (SWIG_arg_fail(2)) SWIG_fail
;
34259 arg3
= (bool)(SWIG_As_bool(obj2
));
34260 if (SWIG_arg_fail(3)) SWIG_fail
;
34263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34264 (arg1
)->Enable(arg2
,arg3
);
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34269 Py_INCREF(Py_None
); resultobj
= Py_None
;
34276 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34277 PyObject
*resultobj
;
34278 wxMenu
*arg1
= (wxMenu
*) 0 ;
34281 PyObject
* obj0
= 0 ;
34282 PyObject
* obj1
= 0 ;
34283 char *kwnames
[] = {
34284 (char *) "self",(char *) "id", NULL
34287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
34288 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34289 if (SWIG_arg_fail(1)) SWIG_fail
;
34291 arg2
= (int)(SWIG_As_int(obj1
));
34292 if (SWIG_arg_fail(2)) SWIG_fail
;
34295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34296 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
34298 wxPyEndAllowThreads(__tstate
);
34299 if (PyErr_Occurred()) SWIG_fail
;
34302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34310 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34311 PyObject
*resultobj
;
34312 wxMenu
*arg1
= (wxMenu
*) 0 ;
34315 PyObject
* obj0
= 0 ;
34316 PyObject
* obj1
= 0 ;
34317 PyObject
* obj2
= 0 ;
34318 char *kwnames
[] = {
34319 (char *) "self",(char *) "id",(char *) "check", NULL
34322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34323 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34324 if (SWIG_arg_fail(1)) SWIG_fail
;
34326 arg2
= (int)(SWIG_As_int(obj1
));
34327 if (SWIG_arg_fail(2)) SWIG_fail
;
34330 arg3
= (bool)(SWIG_As_bool(obj2
));
34331 if (SWIG_arg_fail(3)) SWIG_fail
;
34334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34335 (arg1
)->Check(arg2
,arg3
);
34337 wxPyEndAllowThreads(__tstate
);
34338 if (PyErr_Occurred()) SWIG_fail
;
34340 Py_INCREF(Py_None
); resultobj
= Py_None
;
34347 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34348 PyObject
*resultobj
;
34349 wxMenu
*arg1
= (wxMenu
*) 0 ;
34352 PyObject
* obj0
= 0 ;
34353 PyObject
* obj1
= 0 ;
34354 char *kwnames
[] = {
34355 (char *) "self",(char *) "id", NULL
34358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
34359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34360 if (SWIG_arg_fail(1)) SWIG_fail
;
34362 arg2
= (int)(SWIG_As_int(obj1
));
34363 if (SWIG_arg_fail(2)) SWIG_fail
;
34366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34367 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
34369 wxPyEndAllowThreads(__tstate
);
34370 if (PyErr_Occurred()) SWIG_fail
;
34373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34381 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34382 PyObject
*resultobj
;
34383 wxMenu
*arg1
= (wxMenu
*) 0 ;
34385 wxString
*arg3
= 0 ;
34386 bool temp3
= false ;
34387 PyObject
* obj0
= 0 ;
34388 PyObject
* obj1
= 0 ;
34389 PyObject
* obj2
= 0 ;
34390 char *kwnames
[] = {
34391 (char *) "self",(char *) "id",(char *) "label", NULL
34394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34396 if (SWIG_arg_fail(1)) SWIG_fail
;
34398 arg2
= (int)(SWIG_As_int(obj1
));
34399 if (SWIG_arg_fail(2)) SWIG_fail
;
34402 arg3
= wxString_in_helper(obj2
);
34403 if (arg3
== NULL
) SWIG_fail
;
34407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34408 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
34410 wxPyEndAllowThreads(__tstate
);
34411 if (PyErr_Occurred()) SWIG_fail
;
34413 Py_INCREF(Py_None
); resultobj
= Py_None
;
34428 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34429 PyObject
*resultobj
;
34430 wxMenu
*arg1
= (wxMenu
*) 0 ;
34433 PyObject
* obj0
= 0 ;
34434 PyObject
* obj1
= 0 ;
34435 char *kwnames
[] = {
34436 (char *) "self",(char *) "id", NULL
34439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) 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 arg2
= (int)(SWIG_As_int(obj1
));
34444 if (SWIG_arg_fail(2)) SWIG_fail
;
34447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34448 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
34450 wxPyEndAllowThreads(__tstate
);
34451 if (PyErr_Occurred()) SWIG_fail
;
34455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34466 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34467 PyObject
*resultobj
;
34468 wxMenu
*arg1
= (wxMenu
*) 0 ;
34470 wxString
*arg3
= 0 ;
34471 bool temp3
= false ;
34472 PyObject
* obj0
= 0 ;
34473 PyObject
* obj1
= 0 ;
34474 PyObject
* obj2
= 0 ;
34475 char *kwnames
[] = {
34476 (char *) "self",(char *) "id",(char *) "helpString", NULL
34479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34480 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34481 if (SWIG_arg_fail(1)) SWIG_fail
;
34483 arg2
= (int)(SWIG_As_int(obj1
));
34484 if (SWIG_arg_fail(2)) SWIG_fail
;
34487 arg3
= wxString_in_helper(obj2
);
34488 if (arg3
== NULL
) SWIG_fail
;
34492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34493 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
34495 wxPyEndAllowThreads(__tstate
);
34496 if (PyErr_Occurred()) SWIG_fail
;
34498 Py_INCREF(Py_None
); resultobj
= Py_None
;
34513 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34514 PyObject
*resultobj
;
34515 wxMenu
*arg1
= (wxMenu
*) 0 ;
34518 PyObject
* obj0
= 0 ;
34519 PyObject
* obj1
= 0 ;
34520 char *kwnames
[] = {
34521 (char *) "self",(char *) "id", NULL
34524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
34525 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34526 if (SWIG_arg_fail(1)) SWIG_fail
;
34528 arg2
= (int)(SWIG_As_int(obj1
));
34529 if (SWIG_arg_fail(2)) SWIG_fail
;
34532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34533 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
34535 wxPyEndAllowThreads(__tstate
);
34536 if (PyErr_Occurred()) SWIG_fail
;
34540 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34542 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34551 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34552 PyObject
*resultobj
;
34553 wxMenu
*arg1
= (wxMenu
*) 0 ;
34554 wxString
*arg2
= 0 ;
34555 bool temp2
= false ;
34556 PyObject
* obj0
= 0 ;
34557 PyObject
* obj1
= 0 ;
34558 char *kwnames
[] = {
34559 (char *) "self",(char *) "title", NULL
34562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
34563 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34564 if (SWIG_arg_fail(1)) SWIG_fail
;
34566 arg2
= wxString_in_helper(obj1
);
34567 if (arg2
== NULL
) SWIG_fail
;
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 (arg1
)->SetTitle((wxString
const &)*arg2
);
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34577 Py_INCREF(Py_None
); resultobj
= Py_None
;
34592 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34593 PyObject
*resultobj
;
34594 wxMenu
*arg1
= (wxMenu
*) 0 ;
34596 PyObject
* obj0
= 0 ;
34597 char *kwnames
[] = {
34598 (char *) "self", NULL
34601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
34602 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34603 if (SWIG_arg_fail(1)) SWIG_fail
;
34605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34606 result
= ((wxMenu
const *)arg1
)->GetTitle();
34608 wxPyEndAllowThreads(__tstate
);
34609 if (PyErr_Occurred()) SWIG_fail
;
34613 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34615 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34624 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34625 PyObject
*resultobj
;
34626 wxMenu
*arg1
= (wxMenu
*) 0 ;
34627 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
34628 PyObject
* obj0
= 0 ;
34629 PyObject
* obj1
= 0 ;
34630 char *kwnames
[] = {
34631 (char *) "self",(char *) "handler", NULL
34634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
34635 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34636 if (SWIG_arg_fail(1)) SWIG_fail
;
34637 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34638 if (SWIG_arg_fail(2)) SWIG_fail
;
34640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34641 (arg1
)->SetEventHandler(arg2
);
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34646 Py_INCREF(Py_None
); resultobj
= Py_None
;
34653 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34654 PyObject
*resultobj
;
34655 wxMenu
*arg1
= (wxMenu
*) 0 ;
34656 wxEvtHandler
*result
;
34657 PyObject
* obj0
= 0 ;
34658 char *kwnames
[] = {
34659 (char *) "self", NULL
34662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
34663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34664 if (SWIG_arg_fail(1)) SWIG_fail
;
34666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34667 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
34669 wxPyEndAllowThreads(__tstate
);
34670 if (PyErr_Occurred()) SWIG_fail
;
34673 resultobj
= wxPyMake_wxObject(result
, 0);
34681 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34682 PyObject
*resultobj
;
34683 wxMenu
*arg1
= (wxMenu
*) 0 ;
34684 wxWindow
*arg2
= (wxWindow
*) 0 ;
34685 PyObject
* obj0
= 0 ;
34686 PyObject
* obj1
= 0 ;
34687 char *kwnames
[] = {
34688 (char *) "self",(char *) "win", NULL
34691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34693 if (SWIG_arg_fail(1)) SWIG_fail
;
34694 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
34695 if (SWIG_arg_fail(2)) SWIG_fail
;
34697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34698 (arg1
)->SetInvokingWindow(arg2
);
34700 wxPyEndAllowThreads(__tstate
);
34701 if (PyErr_Occurred()) SWIG_fail
;
34703 Py_INCREF(Py_None
); resultobj
= Py_None
;
34710 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34711 PyObject
*resultobj
;
34712 wxMenu
*arg1
= (wxMenu
*) 0 ;
34714 PyObject
* obj0
= 0 ;
34715 char *kwnames
[] = {
34716 (char *) "self", NULL
34719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
34720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34721 if (SWIG_arg_fail(1)) SWIG_fail
;
34723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34724 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
34726 wxPyEndAllowThreads(__tstate
);
34727 if (PyErr_Occurred()) SWIG_fail
;
34730 resultobj
= wxPyMake_wxObject(result
, 0);
34738 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34739 PyObject
*resultobj
;
34740 wxMenu
*arg1
= (wxMenu
*) 0 ;
34742 PyObject
* obj0
= 0 ;
34743 char *kwnames
[] = {
34744 (char *) "self", NULL
34747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
34748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34749 if (SWIG_arg_fail(1)) SWIG_fail
;
34751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34752 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
34754 wxPyEndAllowThreads(__tstate
);
34755 if (PyErr_Occurred()) SWIG_fail
;
34758 resultobj
= SWIG_From_long((long)(result
));
34766 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34767 PyObject
*resultobj
;
34768 wxMenu
*arg1
= (wxMenu
*) 0 ;
34769 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
34770 PyObject
* obj0
= 0 ;
34771 PyObject
* obj1
= 0 ;
34772 char *kwnames
[] = {
34773 (char *) "self",(char *) "source", NULL
34776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
34777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34778 if (SWIG_arg_fail(1)) SWIG_fail
;
34780 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_EXCEPTION
| 0);
34781 if (SWIG_arg_fail(2)) SWIG_fail
;
34784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34785 (arg1
)->UpdateUI(arg2
);
34787 wxPyEndAllowThreads(__tstate
);
34788 if (PyErr_Occurred()) SWIG_fail
;
34790 Py_INCREF(Py_None
); resultobj
= Py_None
;
34797 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34798 PyObject
*resultobj
;
34799 wxMenu
*arg1
= (wxMenu
*) 0 ;
34801 PyObject
* obj0
= 0 ;
34802 char *kwnames
[] = {
34803 (char *) "self", NULL
34806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
34807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34808 if (SWIG_arg_fail(1)) SWIG_fail
;
34810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34811 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
34813 wxPyEndAllowThreads(__tstate
);
34814 if (PyErr_Occurred()) SWIG_fail
;
34817 resultobj
= wxPyMake_wxObject(result
, 0);
34825 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34826 PyObject
*resultobj
;
34827 wxMenu
*arg1
= (wxMenu
*) 0 ;
34828 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
34829 PyObject
* obj0
= 0 ;
34830 PyObject
* obj1
= 0 ;
34831 char *kwnames
[] = {
34832 (char *) "self",(char *) "menubar", NULL
34835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
34836 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34837 if (SWIG_arg_fail(1)) SWIG_fail
;
34838 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBarBase
, SWIG_POINTER_EXCEPTION
| 0);
34839 if (SWIG_arg_fail(2)) SWIG_fail
;
34841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34842 (arg1
)->Attach(arg2
);
34844 wxPyEndAllowThreads(__tstate
);
34845 if (PyErr_Occurred()) SWIG_fail
;
34847 Py_INCREF(Py_None
); resultobj
= Py_None
;
34854 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34855 PyObject
*resultobj
;
34856 wxMenu
*arg1
= (wxMenu
*) 0 ;
34857 PyObject
* obj0
= 0 ;
34858 char *kwnames
[] = {
34859 (char *) "self", NULL
34862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
34863 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34864 if (SWIG_arg_fail(1)) SWIG_fail
;
34866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34869 wxPyEndAllowThreads(__tstate
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34872 Py_INCREF(Py_None
); resultobj
= Py_None
;
34879 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34880 PyObject
*resultobj
;
34881 wxMenu
*arg1
= (wxMenu
*) 0 ;
34883 PyObject
* obj0
= 0 ;
34884 char *kwnames
[] = {
34885 (char *) "self", NULL
34888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
34889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34890 if (SWIG_arg_fail(1)) SWIG_fail
;
34892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34893 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
34895 wxPyEndAllowThreads(__tstate
);
34896 if (PyErr_Occurred()) SWIG_fail
;
34899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34907 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34908 PyObject
*resultobj
;
34909 wxMenu
*arg1
= (wxMenu
*) 0 ;
34910 wxMenu
*arg2
= (wxMenu
*) 0 ;
34911 PyObject
* obj0
= 0 ;
34912 PyObject
* obj1
= 0 ;
34913 char *kwnames
[] = {
34914 (char *) "self",(char *) "parent", NULL
34917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
34918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34919 if (SWIG_arg_fail(1)) SWIG_fail
;
34920 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34921 if (SWIG_arg_fail(2)) SWIG_fail
;
34923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34924 (arg1
)->SetParent(arg2
);
34926 wxPyEndAllowThreads(__tstate
);
34927 if (PyErr_Occurred()) SWIG_fail
;
34929 Py_INCREF(Py_None
); resultobj
= Py_None
;
34936 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34937 PyObject
*resultobj
;
34938 wxMenu
*arg1
= (wxMenu
*) 0 ;
34940 PyObject
* obj0
= 0 ;
34941 char *kwnames
[] = {
34942 (char *) "self", NULL
34945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
34946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
34947 if (SWIG_arg_fail(1)) SWIG_fail
;
34949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34950 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
34952 wxPyEndAllowThreads(__tstate
);
34953 if (PyErr_Occurred()) SWIG_fail
;
34956 resultobj
= wxPyMake_wxObject(result
, 0);
34964 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
34966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34967 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
34969 return Py_BuildValue((char *)"");
34971 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34972 PyObject
*resultobj
;
34973 long arg1
= (long) 0 ;
34975 PyObject
* obj0
= 0 ;
34976 char *kwnames
[] = {
34977 (char *) "style", NULL
34980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
34983 arg1
= (long)(SWIG_As_long(obj0
));
34984 if (SWIG_arg_fail(1)) SWIG_fail
;
34988 if (!wxPyCheckForApp()) SWIG_fail
;
34989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34990 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
34992 wxPyEndAllowThreads(__tstate
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
35002 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35003 PyObject
*resultobj
;
35004 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35005 wxMenu
*arg2
= (wxMenu
*) 0 ;
35006 wxString
*arg3
= 0 ;
35008 bool temp3
= false ;
35009 PyObject
* obj0
= 0 ;
35010 PyObject
* obj1
= 0 ;
35011 PyObject
* obj2
= 0 ;
35012 char *kwnames
[] = {
35013 (char *) "self",(char *) "menu",(char *) "title", NULL
35016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35018 if (SWIG_arg_fail(1)) SWIG_fail
;
35019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35020 if (SWIG_arg_fail(2)) SWIG_fail
;
35022 arg3
= wxString_in_helper(obj2
);
35023 if (arg3
== NULL
) SWIG_fail
;
35027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35028 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
35030 wxPyEndAllowThreads(__tstate
);
35031 if (PyErr_Occurred()) SWIG_fail
;
35034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35050 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35051 PyObject
*resultobj
;
35052 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35054 wxMenu
*arg3
= (wxMenu
*) 0 ;
35055 wxString
*arg4
= 0 ;
35057 bool temp4
= false ;
35058 PyObject
* obj0
= 0 ;
35059 PyObject
* obj1
= 0 ;
35060 PyObject
* obj2
= 0 ;
35061 PyObject
* obj3
= 0 ;
35062 char *kwnames
[] = {
35063 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35068 if (SWIG_arg_fail(1)) SWIG_fail
;
35070 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35071 if (SWIG_arg_fail(2)) SWIG_fail
;
35073 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35074 if (SWIG_arg_fail(3)) SWIG_fail
;
35076 arg4
= wxString_in_helper(obj3
);
35077 if (arg4
== NULL
) SWIG_fail
;
35081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35082 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35104 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35105 PyObject
*resultobj
;
35106 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35108 PyObject
* obj0
= 0 ;
35109 char *kwnames
[] = {
35110 (char *) "self", NULL
35113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
35114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35115 if (SWIG_arg_fail(1)) SWIG_fail
;
35117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35118 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
35120 wxPyEndAllowThreads(__tstate
);
35121 if (PyErr_Occurred()) SWIG_fail
;
35124 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
35132 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35133 PyObject
*resultobj
;
35134 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35137 PyObject
* obj0
= 0 ;
35138 PyObject
* obj1
= 0 ;
35139 char *kwnames
[] = {
35140 (char *) "self",(char *) "pos", NULL
35143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35145 if (SWIG_arg_fail(1)) SWIG_fail
;
35147 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35148 if (SWIG_arg_fail(2)) SWIG_fail
;
35151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35152 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
35154 wxPyEndAllowThreads(__tstate
);
35155 if (PyErr_Occurred()) SWIG_fail
;
35158 resultobj
= wxPyMake_wxObject(result
, 0);
35166 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35167 PyObject
*resultobj
;
35168 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35170 wxMenu
*arg3
= (wxMenu
*) 0 ;
35171 wxString
*arg4
= 0 ;
35173 bool temp4
= false ;
35174 PyObject
* obj0
= 0 ;
35175 PyObject
* obj1
= 0 ;
35176 PyObject
* obj2
= 0 ;
35177 PyObject
* obj3
= 0 ;
35178 char *kwnames
[] = {
35179 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
35182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35183 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35184 if (SWIG_arg_fail(1)) SWIG_fail
;
35186 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35187 if (SWIG_arg_fail(2)) SWIG_fail
;
35189 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
35190 if (SWIG_arg_fail(3)) SWIG_fail
;
35192 arg4
= wxString_in_helper(obj3
);
35193 if (arg4
== NULL
) SWIG_fail
;
35197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35198 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
35200 wxPyEndAllowThreads(__tstate
);
35201 if (PyErr_Occurred()) SWIG_fail
;
35204 resultobj
= wxPyMake_wxObject(result
, 0);
35220 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35221 PyObject
*resultobj
;
35222 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35225 PyObject
* obj0
= 0 ;
35226 PyObject
* obj1
= 0 ;
35227 char *kwnames
[] = {
35228 (char *) "self",(char *) "pos", NULL
35231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35232 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35233 if (SWIG_arg_fail(1)) SWIG_fail
;
35235 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35236 if (SWIG_arg_fail(2)) SWIG_fail
;
35239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35240 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
35242 wxPyEndAllowThreads(__tstate
);
35243 if (PyErr_Occurred()) SWIG_fail
;
35246 resultobj
= wxPyMake_wxObject(result
, 0);
35254 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35255 PyObject
*resultobj
;
35256 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35259 PyObject
* obj0
= 0 ;
35260 PyObject
* obj1
= 0 ;
35261 PyObject
* obj2
= 0 ;
35262 char *kwnames
[] = {
35263 (char *) "self",(char *) "pos",(char *) "enable", NULL
35266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35267 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35268 if (SWIG_arg_fail(1)) SWIG_fail
;
35270 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35271 if (SWIG_arg_fail(2)) SWIG_fail
;
35274 arg3
= (bool)(SWIG_As_bool(obj2
));
35275 if (SWIG_arg_fail(3)) SWIG_fail
;
35278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35279 (arg1
)->EnableTop(arg2
,arg3
);
35281 wxPyEndAllowThreads(__tstate
);
35282 if (PyErr_Occurred()) SWIG_fail
;
35284 Py_INCREF(Py_None
); resultobj
= Py_None
;
35291 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35292 PyObject
*resultobj
;
35293 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35296 PyObject
* obj0
= 0 ;
35297 PyObject
* obj1
= 0 ;
35298 char *kwnames
[] = {
35299 (char *) "self",(char *) "pos", NULL
35302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35303 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35304 if (SWIG_arg_fail(1)) SWIG_fail
;
35306 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35307 if (SWIG_arg_fail(2)) SWIG_fail
;
35310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35311 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35325 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35326 PyObject
*resultobj
;
35327 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35329 wxString
*arg3
= 0 ;
35330 bool temp3
= false ;
35331 PyObject
* obj0
= 0 ;
35332 PyObject
* obj1
= 0 ;
35333 PyObject
* obj2
= 0 ;
35334 char *kwnames
[] = {
35335 (char *) "self",(char *) "pos",(char *) "label", NULL
35338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35340 if (SWIG_arg_fail(1)) SWIG_fail
;
35342 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35343 if (SWIG_arg_fail(2)) SWIG_fail
;
35346 arg3
= wxString_in_helper(obj2
);
35347 if (arg3
== NULL
) SWIG_fail
;
35351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35352 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
35354 wxPyEndAllowThreads(__tstate
);
35355 if (PyErr_Occurred()) SWIG_fail
;
35357 Py_INCREF(Py_None
); resultobj
= Py_None
;
35372 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35373 PyObject
*resultobj
;
35374 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35377 PyObject
* obj0
= 0 ;
35378 PyObject
* obj1
= 0 ;
35379 char *kwnames
[] = {
35380 (char *) "self",(char *) "pos", NULL
35383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
35384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35385 if (SWIG_arg_fail(1)) SWIG_fail
;
35387 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
35388 if (SWIG_arg_fail(2)) SWIG_fail
;
35391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35392 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
35394 wxPyEndAllowThreads(__tstate
);
35395 if (PyErr_Occurred()) SWIG_fail
;
35399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35410 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35411 PyObject
*resultobj
;
35412 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35413 wxString
*arg2
= 0 ;
35414 wxString
*arg3
= 0 ;
35416 bool temp2
= false ;
35417 bool temp3
= false ;
35418 PyObject
* obj0
= 0 ;
35419 PyObject
* obj1
= 0 ;
35420 PyObject
* obj2
= 0 ;
35421 char *kwnames
[] = {
35422 (char *) "self",(char *) "menu",(char *) "item", NULL
35425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35427 if (SWIG_arg_fail(1)) SWIG_fail
;
35429 arg2
= wxString_in_helper(obj1
);
35430 if (arg2
== NULL
) SWIG_fail
;
35434 arg3
= wxString_in_helper(obj2
);
35435 if (arg3
== NULL
) SWIG_fail
;
35439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35440 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
35442 wxPyEndAllowThreads(__tstate
);
35443 if (PyErr_Occurred()) SWIG_fail
;
35446 resultobj
= SWIG_From_int((int)(result
));
35470 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
;
35472 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35474 wxMenuItem
*result
;
35475 PyObject
* obj0
= 0 ;
35476 PyObject
* obj1
= 0 ;
35477 char *kwnames
[] = {
35478 (char *) "self",(char *) "id", NULL
35481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
35482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35483 if (SWIG_arg_fail(1)) SWIG_fail
;
35485 arg2
= (int)(SWIG_As_int(obj1
));
35486 if (SWIG_arg_fail(2)) SWIG_fail
;
35489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35490 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
35492 wxPyEndAllowThreads(__tstate
);
35493 if (PyErr_Occurred()) SWIG_fail
;
35496 resultobj
= wxPyMake_wxObject(result
, 0);
35504 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35505 PyObject
*resultobj
;
35506 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35507 wxString
*arg2
= 0 ;
35509 bool temp2
= false ;
35510 PyObject
* obj0
= 0 ;
35511 PyObject
* obj1
= 0 ;
35512 char *kwnames
[] = {
35513 (char *) "self",(char *) "title", NULL
35516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
35517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35518 if (SWIG_arg_fail(1)) SWIG_fail
;
35520 arg2
= wxString_in_helper(obj1
);
35521 if (arg2
== NULL
) SWIG_fail
;
35525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35526 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
35528 wxPyEndAllowThreads(__tstate
);
35529 if (PyErr_Occurred()) SWIG_fail
;
35532 resultobj
= SWIG_From_int((int)(result
));
35548 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35549 PyObject
*resultobj
;
35550 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35553 PyObject
* obj0
= 0 ;
35554 PyObject
* obj1
= 0 ;
35555 PyObject
* obj2
= 0 ;
35556 char *kwnames
[] = {
35557 (char *) "self",(char *) "id",(char *) "enable", NULL
35560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35561 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35562 if (SWIG_arg_fail(1)) SWIG_fail
;
35564 arg2
= (int)(SWIG_As_int(obj1
));
35565 if (SWIG_arg_fail(2)) SWIG_fail
;
35568 arg3
= (bool)(SWIG_As_bool(obj2
));
35569 if (SWIG_arg_fail(3)) SWIG_fail
;
35572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35573 (arg1
)->Enable(arg2
,arg3
);
35575 wxPyEndAllowThreads(__tstate
);
35576 if (PyErr_Occurred()) SWIG_fail
;
35578 Py_INCREF(Py_None
); resultobj
= Py_None
;
35585 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35586 PyObject
*resultobj
;
35587 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35590 PyObject
* obj0
= 0 ;
35591 PyObject
* obj1
= 0 ;
35592 PyObject
* obj2
= 0 ;
35593 char *kwnames
[] = {
35594 (char *) "self",(char *) "id",(char *) "check", NULL
35597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35598 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35599 if (SWIG_arg_fail(1)) SWIG_fail
;
35601 arg2
= (int)(SWIG_As_int(obj1
));
35602 if (SWIG_arg_fail(2)) SWIG_fail
;
35605 arg3
= (bool)(SWIG_As_bool(obj2
));
35606 if (SWIG_arg_fail(3)) SWIG_fail
;
35609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35610 (arg1
)->Check(arg2
,arg3
);
35612 wxPyEndAllowThreads(__tstate
);
35613 if (PyErr_Occurred()) SWIG_fail
;
35615 Py_INCREF(Py_None
); resultobj
= Py_None
;
35622 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35623 PyObject
*resultobj
;
35624 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35627 PyObject
* obj0
= 0 ;
35628 PyObject
* obj1
= 0 ;
35629 char *kwnames
[] = {
35630 (char *) "self",(char *) "id", NULL
35633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
35634 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35635 if (SWIG_arg_fail(1)) SWIG_fail
;
35637 arg2
= (int)(SWIG_As_int(obj1
));
35638 if (SWIG_arg_fail(2)) SWIG_fail
;
35641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35642 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
35644 wxPyEndAllowThreads(__tstate
);
35645 if (PyErr_Occurred()) SWIG_fail
;
35648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35656 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35661 PyObject
* obj0
= 0 ;
35662 PyObject
* obj1
= 0 ;
35663 char *kwnames
[] = {
35664 (char *) "self",(char *) "id", NULL
35667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
35668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35669 if (SWIG_arg_fail(1)) SWIG_fail
;
35671 arg2
= (int)(SWIG_As_int(obj1
));
35672 if (SWIG_arg_fail(2)) SWIG_fail
;
35675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35676 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
35678 wxPyEndAllowThreads(__tstate
);
35679 if (PyErr_Occurred()) SWIG_fail
;
35682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35690 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35691 PyObject
*resultobj
;
35692 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35694 wxString
*arg3
= 0 ;
35695 bool temp3
= false ;
35696 PyObject
* obj0
= 0 ;
35697 PyObject
* obj1
= 0 ;
35698 PyObject
* obj2
= 0 ;
35699 char *kwnames
[] = {
35700 (char *) "self",(char *) "id",(char *) "label", NULL
35703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35704 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35705 if (SWIG_arg_fail(1)) SWIG_fail
;
35707 arg2
= (int)(SWIG_As_int(obj1
));
35708 if (SWIG_arg_fail(2)) SWIG_fail
;
35711 arg3
= wxString_in_helper(obj2
);
35712 if (arg3
== NULL
) SWIG_fail
;
35716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35717 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35722 Py_INCREF(Py_None
); resultobj
= Py_None
;
35737 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35738 PyObject
*resultobj
;
35739 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35742 PyObject
* obj0
= 0 ;
35743 PyObject
* obj1
= 0 ;
35744 char *kwnames
[] = {
35745 (char *) "self",(char *) "id", NULL
35748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
35749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35750 if (SWIG_arg_fail(1)) SWIG_fail
;
35752 arg2
= (int)(SWIG_As_int(obj1
));
35753 if (SWIG_arg_fail(2)) SWIG_fail
;
35756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35757 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35775 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35776 PyObject
*resultobj
;
35777 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35779 wxString
*arg3
= 0 ;
35780 bool temp3
= false ;
35781 PyObject
* obj0
= 0 ;
35782 PyObject
* obj1
= 0 ;
35783 PyObject
* obj2
= 0 ;
35784 char *kwnames
[] = {
35785 (char *) "self",(char *) "id",(char *) "helpString", NULL
35788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35789 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35790 if (SWIG_arg_fail(1)) SWIG_fail
;
35792 arg2
= (int)(SWIG_As_int(obj1
));
35793 if (SWIG_arg_fail(2)) SWIG_fail
;
35796 arg3
= wxString_in_helper(obj2
);
35797 if (arg3
== NULL
) SWIG_fail
;
35801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35802 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
35804 wxPyEndAllowThreads(__tstate
);
35805 if (PyErr_Occurred()) SWIG_fail
;
35807 Py_INCREF(Py_None
); resultobj
= Py_None
;
35822 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35823 PyObject
*resultobj
;
35824 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35827 PyObject
* obj0
= 0 ;
35828 PyObject
* obj1
= 0 ;
35829 char *kwnames
[] = {
35830 (char *) "self",(char *) "id", NULL
35833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
35834 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35835 if (SWIG_arg_fail(1)) SWIG_fail
;
35837 arg2
= (int)(SWIG_As_int(obj1
));
35838 if (SWIG_arg_fail(2)) SWIG_fail
;
35841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35842 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
35844 wxPyEndAllowThreads(__tstate
);
35845 if (PyErr_Occurred()) SWIG_fail
;
35849 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
35851 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
35860 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35861 PyObject
*resultobj
;
35862 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35864 PyObject
* obj0
= 0 ;
35865 char *kwnames
[] = {
35866 (char *) "self", NULL
35869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
35870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35871 if (SWIG_arg_fail(1)) SWIG_fail
;
35873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35874 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
35876 wxPyEndAllowThreads(__tstate
);
35877 if (PyErr_Occurred()) SWIG_fail
;
35880 resultobj
= wxPyMake_wxObject(result
, 0);
35888 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35889 PyObject
*resultobj
;
35890 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35892 PyObject
* obj0
= 0 ;
35893 char *kwnames
[] = {
35894 (char *) "self", NULL
35897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
35898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35899 if (SWIG_arg_fail(1)) SWIG_fail
;
35901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35902 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
35904 wxPyEndAllowThreads(__tstate
);
35905 if (PyErr_Occurred()) SWIG_fail
;
35908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35916 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
;
35918 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35919 wxFrame
*arg2
= (wxFrame
*) 0 ;
35920 PyObject
* obj0
= 0 ;
35921 PyObject
* obj1
= 0 ;
35922 char *kwnames
[] = {
35923 (char *) "self",(char *) "frame", NULL
35926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
35927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35928 if (SWIG_arg_fail(1)) SWIG_fail
;
35929 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
35930 if (SWIG_arg_fail(2)) SWIG_fail
;
35932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35933 (arg1
)->Attach(arg2
);
35935 wxPyEndAllowThreads(__tstate
);
35936 if (PyErr_Occurred()) SWIG_fail
;
35938 Py_INCREF(Py_None
); resultobj
= Py_None
;
35945 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35946 PyObject
*resultobj
;
35947 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
35948 PyObject
* obj0
= 0 ;
35949 char *kwnames
[] = {
35950 (char *) "self", NULL
35953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
35954 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
35955 if (SWIG_arg_fail(1)) SWIG_fail
;
35957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 wxPyEndAllowThreads(__tstate
);
35961 if (PyErr_Occurred()) SWIG_fail
;
35963 Py_INCREF(Py_None
); resultobj
= Py_None
;
35970 static PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35971 PyObject
*resultobj
;
35973 PyObject
* obj0
= 0 ;
35974 char *kwnames
[] = {
35975 (char *) "enable", NULL
35978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) goto fail
;
35980 arg1
= (bool)(SWIG_As_bool(obj0
));
35981 if (SWIG_arg_fail(1)) SWIG_fail
;
35984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35985 MenuBar_SetAutoWindowMenu(arg1
);
35987 wxPyEndAllowThreads(__tstate
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35990 Py_INCREF(Py_None
); resultobj
= Py_None
;
35997 static PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35998 PyObject
*resultobj
;
36000 char *kwnames
[] = {
36004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuBar_GetAutoWindowMenu",kwnames
)) goto fail
;
36006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36007 result
= (bool)MenuBar_GetAutoWindowMenu();
36009 wxPyEndAllowThreads(__tstate
);
36010 if (PyErr_Occurred()) SWIG_fail
;
36013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36021 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
36023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36024 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
36026 return Py_BuildValue((char *)"");
36028 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36029 PyObject
*resultobj
;
36030 wxMenu
*arg1
= (wxMenu
*) NULL
;
36031 int arg2
= (int) wxID_ANY
;
36032 wxString
const &arg3_defvalue
= wxPyEmptyString
;
36033 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36034 wxString
const &arg4_defvalue
= wxPyEmptyString
;
36035 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
36036 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
36037 wxMenu
*arg6
= (wxMenu
*) NULL
;
36038 wxMenuItem
*result
;
36039 bool temp3
= false ;
36040 bool temp4
= false ;
36041 PyObject
* obj0
= 0 ;
36042 PyObject
* obj1
= 0 ;
36043 PyObject
* obj2
= 0 ;
36044 PyObject
* obj3
= 0 ;
36045 PyObject
* obj4
= 0 ;
36046 PyObject
* obj5
= 0 ;
36047 char *kwnames
[] = {
36048 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
36051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36053 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36054 if (SWIG_arg_fail(1)) SWIG_fail
;
36058 arg2
= (int)(SWIG_As_int(obj1
));
36059 if (SWIG_arg_fail(2)) SWIG_fail
;
36064 arg3
= wxString_in_helper(obj2
);
36065 if (arg3
== NULL
) SWIG_fail
;
36071 arg4
= wxString_in_helper(obj3
);
36072 if (arg4
== NULL
) SWIG_fail
;
36078 arg5
= (wxItemKind
)(SWIG_As_int(obj4
));
36079 if (SWIG_arg_fail(5)) SWIG_fail
;
36083 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36084 if (SWIG_arg_fail(6)) SWIG_fail
;
36087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36088 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
36090 wxPyEndAllowThreads(__tstate
);
36091 if (PyErr_Occurred()) SWIG_fail
;
36094 resultobj
= wxPyMake_wxObject(result
, 1);
36118 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36119 PyObject
*resultobj
;
36120 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36122 PyObject
* obj0
= 0 ;
36123 char *kwnames
[] = {
36124 (char *) "self", NULL
36127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
36128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36129 if (SWIG_arg_fail(1)) SWIG_fail
;
36131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36132 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
36134 wxPyEndAllowThreads(__tstate
);
36135 if (PyErr_Occurred()) SWIG_fail
;
36138 resultobj
= wxPyMake_wxObject(result
, 0);
36146 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36147 PyObject
*resultobj
;
36148 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36149 wxMenu
*arg2
= (wxMenu
*) 0 ;
36150 PyObject
* obj0
= 0 ;
36151 PyObject
* obj1
= 0 ;
36152 char *kwnames
[] = {
36153 (char *) "self",(char *) "menu", NULL
36156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36158 if (SWIG_arg_fail(1)) SWIG_fail
;
36159 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36160 if (SWIG_arg_fail(2)) SWIG_fail
;
36162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36163 (arg1
)->SetMenu(arg2
);
36165 wxPyEndAllowThreads(__tstate
);
36166 if (PyErr_Occurred()) SWIG_fail
;
36168 Py_INCREF(Py_None
); resultobj
= Py_None
;
36175 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36176 PyObject
*resultobj
;
36177 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36179 PyObject
* obj0
= 0 ;
36180 PyObject
* obj1
= 0 ;
36181 char *kwnames
[] = {
36182 (char *) "self",(char *) "id", NULL
36185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
36186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36187 if (SWIG_arg_fail(1)) SWIG_fail
;
36189 arg2
= (int)(SWIG_As_int(obj1
));
36190 if (SWIG_arg_fail(2)) SWIG_fail
;
36193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36194 (arg1
)->SetId(arg2
);
36196 wxPyEndAllowThreads(__tstate
);
36197 if (PyErr_Occurred()) SWIG_fail
;
36199 Py_INCREF(Py_None
); resultobj
= Py_None
;
36206 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36207 PyObject
*resultobj
;
36208 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36210 PyObject
* obj0
= 0 ;
36211 char *kwnames
[] = {
36212 (char *) "self", NULL
36215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
36216 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36217 if (SWIG_arg_fail(1)) SWIG_fail
;
36219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36220 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
36222 wxPyEndAllowThreads(__tstate
);
36223 if (PyErr_Occurred()) SWIG_fail
;
36226 resultobj
= SWIG_From_int((int)(result
));
36234 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36235 PyObject
*resultobj
;
36236 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36238 PyObject
* obj0
= 0 ;
36239 char *kwnames
[] = {
36240 (char *) "self", NULL
36243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
36244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36245 if (SWIG_arg_fail(1)) SWIG_fail
;
36247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36248 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
36250 wxPyEndAllowThreads(__tstate
);
36251 if (PyErr_Occurred()) SWIG_fail
;
36254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36262 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36263 PyObject
*resultobj
;
36264 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36265 wxString
*arg2
= 0 ;
36266 bool temp2
= false ;
36267 PyObject
* obj0
= 0 ;
36268 PyObject
* obj1
= 0 ;
36269 char *kwnames
[] = {
36270 (char *) "self",(char *) "str", NULL
36273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
36274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36275 if (SWIG_arg_fail(1)) SWIG_fail
;
36277 arg2
= wxString_in_helper(obj1
);
36278 if (arg2
== NULL
) SWIG_fail
;
36282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36283 (arg1
)->SetText((wxString
const &)*arg2
);
36285 wxPyEndAllowThreads(__tstate
);
36286 if (PyErr_Occurred()) SWIG_fail
;
36288 Py_INCREF(Py_None
); resultobj
= Py_None
;
36303 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36304 PyObject
*resultobj
;
36305 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36307 PyObject
* obj0
= 0 ;
36308 char *kwnames
[] = {
36309 (char *) "self", NULL
36312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
36313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36314 if (SWIG_arg_fail(1)) SWIG_fail
;
36316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36317 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
36319 wxPyEndAllowThreads(__tstate
);
36320 if (PyErr_Occurred()) SWIG_fail
;
36324 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36326 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36335 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36336 PyObject
*resultobj
;
36337 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36339 PyObject
* obj0
= 0 ;
36340 char *kwnames
[] = {
36341 (char *) "self", NULL
36344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
36345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36346 if (SWIG_arg_fail(1)) SWIG_fail
;
36348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36350 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
36351 result
= (wxString
*) &_result_ref
;
36354 wxPyEndAllowThreads(__tstate
);
36355 if (PyErr_Occurred()) SWIG_fail
;
36359 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36361 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36370 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36371 PyObject
*resultobj
;
36372 wxString
*arg1
= 0 ;
36374 bool temp1
= false ;
36375 PyObject
* obj0
= 0 ;
36376 char *kwnames
[] = {
36377 (char *) "text", NULL
36380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
36382 arg1
= wxString_in_helper(obj0
);
36383 if (arg1
== NULL
) SWIG_fail
;
36387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36388 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
36390 wxPyEndAllowThreads(__tstate
);
36391 if (PyErr_Occurred()) SWIG_fail
;
36395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36414 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36415 PyObject
*resultobj
;
36416 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36418 PyObject
* obj0
= 0 ;
36419 char *kwnames
[] = {
36420 (char *) "self", NULL
36423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
36424 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36425 if (SWIG_arg_fail(1)) SWIG_fail
;
36427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36428 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
36430 wxPyEndAllowThreads(__tstate
);
36431 if (PyErr_Occurred()) SWIG_fail
;
36433 resultobj
= SWIG_From_int((result
));
36440 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36441 PyObject
*resultobj
;
36442 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36444 PyObject
* obj0
= 0 ;
36445 PyObject
* obj1
= 0 ;
36446 char *kwnames
[] = {
36447 (char *) "self",(char *) "kind", NULL
36450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
36451 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36452 if (SWIG_arg_fail(1)) SWIG_fail
;
36454 arg2
= (wxItemKind
)(SWIG_As_int(obj1
));
36455 if (SWIG_arg_fail(2)) SWIG_fail
;
36458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36459 (arg1
)->SetKind((wxItemKind
)arg2
);
36461 wxPyEndAllowThreads(__tstate
);
36462 if (PyErr_Occurred()) SWIG_fail
;
36464 Py_INCREF(Py_None
); resultobj
= Py_None
;
36471 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36472 PyObject
*resultobj
;
36473 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36475 PyObject
* obj0
= 0 ;
36476 PyObject
* obj1
= 0 ;
36477 char *kwnames
[] = {
36478 (char *) "self",(char *) "checkable", NULL
36481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
36482 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36483 if (SWIG_arg_fail(1)) SWIG_fail
;
36485 arg2
= (bool)(SWIG_As_bool(obj1
));
36486 if (SWIG_arg_fail(2)) SWIG_fail
;
36489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36490 (arg1
)->SetCheckable(arg2
);
36492 wxPyEndAllowThreads(__tstate
);
36493 if (PyErr_Occurred()) SWIG_fail
;
36495 Py_INCREF(Py_None
); resultobj
= Py_None
;
36502 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36503 PyObject
*resultobj
;
36504 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36506 PyObject
* obj0
= 0 ;
36507 char *kwnames
[] = {
36508 (char *) "self", NULL
36511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
36512 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36513 if (SWIG_arg_fail(1)) SWIG_fail
;
36515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36516 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
36518 wxPyEndAllowThreads(__tstate
);
36519 if (PyErr_Occurred()) SWIG_fail
;
36522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36530 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36531 PyObject
*resultobj
;
36532 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36534 PyObject
* obj0
= 0 ;
36535 char *kwnames
[] = {
36536 (char *) "self", NULL
36539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
36540 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36541 if (SWIG_arg_fail(1)) SWIG_fail
;
36543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36544 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
36546 wxPyEndAllowThreads(__tstate
);
36547 if (PyErr_Occurred()) SWIG_fail
;
36550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36558 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36559 PyObject
*resultobj
;
36560 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36561 wxMenu
*arg2
= (wxMenu
*) 0 ;
36562 PyObject
* obj0
= 0 ;
36563 PyObject
* obj1
= 0 ;
36564 char *kwnames
[] = {
36565 (char *) "self",(char *) "menu", NULL
36568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
36569 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36570 if (SWIG_arg_fail(1)) SWIG_fail
;
36571 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
36572 if (SWIG_arg_fail(2)) SWIG_fail
;
36574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36575 (arg1
)->SetSubMenu(arg2
);
36577 wxPyEndAllowThreads(__tstate
);
36578 if (PyErr_Occurred()) SWIG_fail
;
36580 Py_INCREF(Py_None
); resultobj
= Py_None
;
36587 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36588 PyObject
*resultobj
;
36589 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36591 PyObject
* obj0
= 0 ;
36592 char *kwnames
[] = {
36593 (char *) "self", NULL
36596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
36597 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36598 if (SWIG_arg_fail(1)) SWIG_fail
;
36600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36601 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
36603 wxPyEndAllowThreads(__tstate
);
36604 if (PyErr_Occurred()) SWIG_fail
;
36607 resultobj
= wxPyMake_wxObject(result
, 0);
36615 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36616 PyObject
*resultobj
;
36617 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36618 bool arg2
= (bool) true ;
36619 PyObject
* obj0
= 0 ;
36620 PyObject
* obj1
= 0 ;
36621 char *kwnames
[] = {
36622 (char *) "self",(char *) "enable", NULL
36625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
36626 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36627 if (SWIG_arg_fail(1)) SWIG_fail
;
36630 arg2
= (bool)(SWIG_As_bool(obj1
));
36631 if (SWIG_arg_fail(2)) SWIG_fail
;
36635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36636 (arg1
)->Enable(arg2
);
36638 wxPyEndAllowThreads(__tstate
);
36639 if (PyErr_Occurred()) SWIG_fail
;
36641 Py_INCREF(Py_None
); resultobj
= Py_None
;
36648 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36649 PyObject
*resultobj
;
36650 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36652 PyObject
* obj0
= 0 ;
36653 char *kwnames
[] = {
36654 (char *) "self", NULL
36657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
36658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36659 if (SWIG_arg_fail(1)) SWIG_fail
;
36661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36662 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36676 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36677 PyObject
*resultobj
;
36678 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36679 bool arg2
= (bool) true ;
36680 PyObject
* obj0
= 0 ;
36681 PyObject
* obj1
= 0 ;
36682 char *kwnames
[] = {
36683 (char *) "self",(char *) "check", NULL
36686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
36687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36688 if (SWIG_arg_fail(1)) SWIG_fail
;
36691 arg2
= (bool)(SWIG_As_bool(obj1
));
36692 if (SWIG_arg_fail(2)) SWIG_fail
;
36696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36697 (arg1
)->Check(arg2
);
36699 wxPyEndAllowThreads(__tstate
);
36700 if (PyErr_Occurred()) SWIG_fail
;
36702 Py_INCREF(Py_None
); resultobj
= Py_None
;
36709 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36710 PyObject
*resultobj
;
36711 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36713 PyObject
* obj0
= 0 ;
36714 char *kwnames
[] = {
36715 (char *) "self", NULL
36718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
36719 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36720 if (SWIG_arg_fail(1)) SWIG_fail
;
36722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36723 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
36725 wxPyEndAllowThreads(__tstate
);
36726 if (PyErr_Occurred()) SWIG_fail
;
36729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36737 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36738 PyObject
*resultobj
;
36739 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36740 PyObject
* obj0
= 0 ;
36741 char *kwnames
[] = {
36742 (char *) "self", NULL
36745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
36746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36747 if (SWIG_arg_fail(1)) SWIG_fail
;
36749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36752 wxPyEndAllowThreads(__tstate
);
36753 if (PyErr_Occurred()) SWIG_fail
;
36755 Py_INCREF(Py_None
); resultobj
= Py_None
;
36762 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36763 PyObject
*resultobj
;
36764 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36765 wxString
*arg2
= 0 ;
36766 bool temp2
= false ;
36767 PyObject
* obj0
= 0 ;
36768 PyObject
* obj1
= 0 ;
36769 char *kwnames
[] = {
36770 (char *) "self",(char *) "str", NULL
36773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
36774 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36775 if (SWIG_arg_fail(1)) SWIG_fail
;
36777 arg2
= wxString_in_helper(obj1
);
36778 if (arg2
== NULL
) SWIG_fail
;
36782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36783 (arg1
)->SetHelp((wxString
const &)*arg2
);
36785 wxPyEndAllowThreads(__tstate
);
36786 if (PyErr_Occurred()) SWIG_fail
;
36788 Py_INCREF(Py_None
); resultobj
= Py_None
;
36803 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36804 PyObject
*resultobj
;
36805 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36807 PyObject
* obj0
= 0 ;
36808 char *kwnames
[] = {
36809 (char *) "self", NULL
36812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
36813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36814 if (SWIG_arg_fail(1)) SWIG_fail
;
36816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36818 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
36819 result
= (wxString
*) &_result_ref
;
36822 wxPyEndAllowThreads(__tstate
);
36823 if (PyErr_Occurred()) SWIG_fail
;
36827 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
36829 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
36838 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36839 PyObject
*resultobj
;
36840 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36841 wxAcceleratorEntry
*result
;
36842 PyObject
* obj0
= 0 ;
36843 char *kwnames
[] = {
36844 (char *) "self", NULL
36847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
36848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36849 if (SWIG_arg_fail(1)) SWIG_fail
;
36851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36852 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
36854 wxPyEndAllowThreads(__tstate
);
36855 if (PyErr_Occurred()) SWIG_fail
;
36857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
36864 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36865 PyObject
*resultobj
;
36866 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36867 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
36868 PyObject
* obj0
= 0 ;
36869 PyObject
* obj1
= 0 ;
36870 char *kwnames
[] = {
36871 (char *) "self",(char *) "accel", NULL
36874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
36875 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36876 if (SWIG_arg_fail(1)) SWIG_fail
;
36877 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_EXCEPTION
| 0);
36878 if (SWIG_arg_fail(2)) SWIG_fail
;
36880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36881 (arg1
)->SetAccel(arg2
);
36883 wxPyEndAllowThreads(__tstate
);
36884 if (PyErr_Occurred()) SWIG_fail
;
36886 Py_INCREF(Py_None
); resultobj
= Py_None
;
36893 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36894 PyObject
*resultobj
;
36895 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36897 PyObject
* obj0
= 0 ;
36898 PyObject
* obj1
= 0 ;
36899 char *kwnames
[] = {
36900 (char *) "self",(char *) "font", NULL
36903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
36904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36905 if (SWIG_arg_fail(1)) SWIG_fail
;
36907 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
36908 if (SWIG_arg_fail(2)) SWIG_fail
;
36909 if (arg2
== NULL
) {
36910 SWIG_null_ref("wxFont");
36912 if (SWIG_arg_fail(2)) SWIG_fail
;
36915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36916 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
36918 wxPyEndAllowThreads(__tstate
);
36919 if (PyErr_Occurred()) SWIG_fail
;
36921 Py_INCREF(Py_None
); resultobj
= Py_None
;
36928 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36929 PyObject
*resultobj
;
36930 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36932 PyObject
* obj0
= 0 ;
36933 char *kwnames
[] = {
36934 (char *) "self", NULL
36937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
36938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36939 if (SWIG_arg_fail(1)) SWIG_fail
;
36941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36942 result
= wxMenuItem_GetFont(arg1
);
36944 wxPyEndAllowThreads(__tstate
);
36945 if (PyErr_Occurred()) SWIG_fail
;
36948 wxFont
* resultptr
;
36949 resultptr
= new wxFont((wxFont
&)(result
));
36950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
36958 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36959 PyObject
*resultobj
;
36960 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36961 wxColour
*arg2
= 0 ;
36963 PyObject
* obj0
= 0 ;
36964 PyObject
* obj1
= 0 ;
36965 char *kwnames
[] = {
36966 (char *) "self",(char *) "colText", NULL
36969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
36970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
36971 if (SWIG_arg_fail(1)) SWIG_fail
;
36974 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
36977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36978 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
36980 wxPyEndAllowThreads(__tstate
);
36981 if (PyErr_Occurred()) SWIG_fail
;
36983 Py_INCREF(Py_None
); resultobj
= Py_None
;
36990 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36991 PyObject
*resultobj
;
36992 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
36994 PyObject
* obj0
= 0 ;
36995 char *kwnames
[] = {
36996 (char *) "self", NULL
36999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
37000 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37001 if (SWIG_arg_fail(1)) SWIG_fail
;
37003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37004 result
= wxMenuItem_GetTextColour(arg1
);
37006 wxPyEndAllowThreads(__tstate
);
37007 if (PyErr_Occurred()) SWIG_fail
;
37010 wxColour
* resultptr
;
37011 resultptr
= new wxColour((wxColour
&)(result
));
37012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37020 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37021 PyObject
*resultobj
;
37022 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37023 wxColour
*arg2
= 0 ;
37025 PyObject
* obj0
= 0 ;
37026 PyObject
* obj1
= 0 ;
37027 char *kwnames
[] = {
37028 (char *) "self",(char *) "colBack", NULL
37031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
37032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37033 if (SWIG_arg_fail(1)) SWIG_fail
;
37036 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
37039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37040 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
37042 wxPyEndAllowThreads(__tstate
);
37043 if (PyErr_Occurred()) SWIG_fail
;
37045 Py_INCREF(Py_None
); resultobj
= Py_None
;
37052 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37053 PyObject
*resultobj
;
37054 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37056 PyObject
* obj0
= 0 ;
37057 char *kwnames
[] = {
37058 (char *) "self", NULL
37061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
37062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37063 if (SWIG_arg_fail(1)) SWIG_fail
;
37065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37066 result
= wxMenuItem_GetBackgroundColour(arg1
);
37068 wxPyEndAllowThreads(__tstate
);
37069 if (PyErr_Occurred()) SWIG_fail
;
37072 wxColour
* resultptr
;
37073 resultptr
= new wxColour((wxColour
&)(result
));
37074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
37082 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37083 PyObject
*resultobj
;
37084 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37085 wxBitmap
*arg2
= 0 ;
37086 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
37087 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
37088 PyObject
* obj0
= 0 ;
37089 PyObject
* obj1
= 0 ;
37090 PyObject
* obj2
= 0 ;
37091 char *kwnames
[] = {
37092 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
37095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37096 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37097 if (SWIG_arg_fail(1)) SWIG_fail
;
37099 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37100 if (SWIG_arg_fail(2)) SWIG_fail
;
37101 if (arg2
== NULL
) {
37102 SWIG_null_ref("wxBitmap");
37104 if (SWIG_arg_fail(2)) SWIG_fail
;
37108 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37109 if (SWIG_arg_fail(3)) SWIG_fail
;
37110 if (arg3
== NULL
) {
37111 SWIG_null_ref("wxBitmap");
37113 if (SWIG_arg_fail(3)) SWIG_fail
;
37117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37118 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
37120 wxPyEndAllowThreads(__tstate
);
37121 if (PyErr_Occurred()) SWIG_fail
;
37123 Py_INCREF(Py_None
); resultobj
= Py_None
;
37130 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37131 PyObject
*resultobj
;
37132 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37133 wxBitmap
*arg2
= 0 ;
37134 PyObject
* obj0
= 0 ;
37135 PyObject
* obj1
= 0 ;
37136 char *kwnames
[] = {
37137 (char *) "self",(char *) "bmpDisabled", NULL
37140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37141 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37142 if (SWIG_arg_fail(1)) SWIG_fail
;
37144 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37145 if (SWIG_arg_fail(2)) SWIG_fail
;
37146 if (arg2
== NULL
) {
37147 SWIG_null_ref("wxBitmap");
37149 if (SWIG_arg_fail(2)) SWIG_fail
;
37152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37153 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
37155 wxPyEndAllowThreads(__tstate
);
37156 if (PyErr_Occurred()) SWIG_fail
;
37158 Py_INCREF(Py_None
); resultobj
= Py_None
;
37165 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37166 PyObject
*resultobj
;
37167 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37169 PyObject
* obj0
= 0 ;
37170 char *kwnames
[] = {
37171 (char *) "self", NULL
37174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
37175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37176 if (SWIG_arg_fail(1)) SWIG_fail
;
37178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
37181 result
= (wxBitmap
*) &_result_ref
;
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37188 wxBitmap
* resultptr
= new wxBitmap(*result
);
37189 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37197 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37198 PyObject
*resultobj
;
37199 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37201 PyObject
* obj0
= 0 ;
37202 PyObject
* obj1
= 0 ;
37203 char *kwnames
[] = {
37204 (char *) "self",(char *) "nWidth", NULL
37207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
37208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37209 if (SWIG_arg_fail(1)) SWIG_fail
;
37211 arg2
= (int)(SWIG_As_int(obj1
));
37212 if (SWIG_arg_fail(2)) SWIG_fail
;
37215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37216 wxMenuItem_SetMarginWidth(arg1
,arg2
);
37218 wxPyEndAllowThreads(__tstate
);
37219 if (PyErr_Occurred()) SWIG_fail
;
37221 Py_INCREF(Py_None
); resultobj
= Py_None
;
37228 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37229 PyObject
*resultobj
;
37230 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37232 PyObject
* obj0
= 0 ;
37233 char *kwnames
[] = {
37234 (char *) "self", NULL
37237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
37238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37239 if (SWIG_arg_fail(1)) SWIG_fail
;
37241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37242 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
37244 wxPyEndAllowThreads(__tstate
);
37245 if (PyErr_Occurred()) SWIG_fail
;
37248 resultobj
= SWIG_From_int((int)(result
));
37256 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37257 PyObject
*resultobj
;
37259 char *kwnames
[] = {
37263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
37265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37266 result
= (int)MenuItem_GetDefaultMarginWidth();
37268 wxPyEndAllowThreads(__tstate
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37272 resultobj
= SWIG_From_int((int)(result
));
37280 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37281 PyObject
*resultobj
;
37282 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37284 PyObject
* obj0
= 0 ;
37285 char *kwnames
[] = {
37286 (char *) "self", NULL
37289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37291 if (SWIG_arg_fail(1)) SWIG_fail
;
37293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37294 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
37296 wxPyEndAllowThreads(__tstate
);
37297 if (PyErr_Occurred()) SWIG_fail
;
37300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37308 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37309 PyObject
*resultobj
;
37310 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37311 bool arg2
= (bool) true ;
37312 PyObject
* obj0
= 0 ;
37313 PyObject
* obj1
= 0 ;
37314 char *kwnames
[] = {
37315 (char *) "self",(char *) "ownerDrawn", NULL
37318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
37319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37320 if (SWIG_arg_fail(1)) SWIG_fail
;
37323 arg2
= (bool)(SWIG_As_bool(obj1
));
37324 if (SWIG_arg_fail(2)) SWIG_fail
;
37328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37329 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
37331 wxPyEndAllowThreads(__tstate
);
37332 if (PyErr_Occurred()) SWIG_fail
;
37334 Py_INCREF(Py_None
); resultobj
= Py_None
;
37341 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37342 PyObject
*resultobj
;
37343 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37344 PyObject
* obj0
= 0 ;
37345 char *kwnames
[] = {
37346 (char *) "self", NULL
37349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
37350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37351 if (SWIG_arg_fail(1)) SWIG_fail
;
37353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37354 wxMenuItem_ResetOwnerDrawn(arg1
);
37356 wxPyEndAllowThreads(__tstate
);
37357 if (PyErr_Occurred()) SWIG_fail
;
37359 Py_INCREF(Py_None
); resultobj
= Py_None
;
37366 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37367 PyObject
*resultobj
;
37368 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37369 wxBitmap
*arg2
= 0 ;
37370 PyObject
* obj0
= 0 ;
37371 PyObject
* obj1
= 0 ;
37372 char *kwnames
[] = {
37373 (char *) "self",(char *) "bitmap", NULL
37376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
37377 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37378 if (SWIG_arg_fail(1)) SWIG_fail
;
37380 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
37381 if (SWIG_arg_fail(2)) SWIG_fail
;
37382 if (arg2
== NULL
) {
37383 SWIG_null_ref("wxBitmap");
37385 if (SWIG_arg_fail(2)) SWIG_fail
;
37388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37389 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
37391 wxPyEndAllowThreads(__tstate
);
37392 if (PyErr_Occurred()) SWIG_fail
;
37394 Py_INCREF(Py_None
); resultobj
= Py_None
;
37401 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37402 PyObject
*resultobj
;
37403 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
37405 PyObject
* obj0
= 0 ;
37406 char *kwnames
[] = {
37407 (char *) "self", NULL
37410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
37411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_EXCEPTION
| 0);
37412 if (SWIG_arg_fail(1)) SWIG_fail
;
37414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37416 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
37417 result
= (wxBitmap
*) &_result_ref
;
37420 wxPyEndAllowThreads(__tstate
);
37421 if (PyErr_Occurred()) SWIG_fail
;
37424 wxBitmap
* resultptr
= new wxBitmap(*result
);
37425 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
37433 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
37435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37436 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
37438 return Py_BuildValue((char *)"");
37440 static int _wrap_ControlNameStr_set(PyObject
*) {
37441 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
37446 static PyObject
*_wrap_ControlNameStr_get(void) {
37451 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37453 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
37460 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37461 PyObject
*resultobj
;
37462 wxWindow
*arg1
= (wxWindow
*) 0 ;
37463 int arg2
= (int) -1 ;
37464 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37465 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37466 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37467 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37468 long arg5
= (long) 0 ;
37469 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
37470 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
37471 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
37472 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37476 bool temp7
= false ;
37477 PyObject
* obj0
= 0 ;
37478 PyObject
* obj1
= 0 ;
37479 PyObject
* obj2
= 0 ;
37480 PyObject
* obj3
= 0 ;
37481 PyObject
* obj4
= 0 ;
37482 PyObject
* obj5
= 0 ;
37483 PyObject
* obj6
= 0 ;
37484 char *kwnames
[] = {
37485 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37490 if (SWIG_arg_fail(1)) SWIG_fail
;
37493 arg2
= (int)(SWIG_As_int(obj1
));
37494 if (SWIG_arg_fail(2)) SWIG_fail
;
37500 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37506 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37511 arg5
= (long)(SWIG_As_long(obj4
));
37512 if (SWIG_arg_fail(5)) SWIG_fail
;
37517 SWIG_Python_ConvertPtr(obj5
, (void **)&arg6
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37518 if (SWIG_arg_fail(6)) SWIG_fail
;
37519 if (arg6
== NULL
) {
37520 SWIG_null_ref("wxValidator");
37522 if (SWIG_arg_fail(6)) SWIG_fail
;
37527 arg7
= wxString_in_helper(obj6
);
37528 if (arg7
== NULL
) SWIG_fail
;
37533 if (!wxPyCheckForApp()) SWIG_fail
;
37534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37535 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
37537 wxPyEndAllowThreads(__tstate
);
37538 if (PyErr_Occurred()) SWIG_fail
;
37540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37555 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37556 PyObject
*resultobj
;
37558 char *kwnames
[] = {
37562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
37564 if (!wxPyCheckForApp()) SWIG_fail
;
37565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37566 result
= (wxControl
*)new wxControl();
37568 wxPyEndAllowThreads(__tstate
);
37569 if (PyErr_Occurred()) SWIG_fail
;
37571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
37578 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37579 PyObject
*resultobj
;
37580 wxControl
*arg1
= (wxControl
*) 0 ;
37581 wxWindow
*arg2
= (wxWindow
*) 0 ;
37582 int arg3
= (int) -1 ;
37583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37587 long arg6
= (long) 0 ;
37588 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
37589 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
37590 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
37591 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37595 bool temp8
= false ;
37596 PyObject
* obj0
= 0 ;
37597 PyObject
* obj1
= 0 ;
37598 PyObject
* obj2
= 0 ;
37599 PyObject
* obj3
= 0 ;
37600 PyObject
* obj4
= 0 ;
37601 PyObject
* obj5
= 0 ;
37602 PyObject
* obj6
= 0 ;
37603 PyObject
* obj7
= 0 ;
37604 char *kwnames
[] = {
37605 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
37608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
37609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37610 if (SWIG_arg_fail(1)) SWIG_fail
;
37611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
37612 if (SWIG_arg_fail(2)) SWIG_fail
;
37615 arg3
= (int)(SWIG_As_int(obj2
));
37616 if (SWIG_arg_fail(3)) SWIG_fail
;
37622 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37628 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37633 arg6
= (long)(SWIG_As_long(obj5
));
37634 if (SWIG_arg_fail(6)) SWIG_fail
;
37639 SWIG_Python_ConvertPtr(obj6
, (void **)&arg7
, SWIGTYPE_p_wxValidator
, SWIG_POINTER_EXCEPTION
| 0);
37640 if (SWIG_arg_fail(7)) SWIG_fail
;
37641 if (arg7
== NULL
) {
37642 SWIG_null_ref("wxValidator");
37644 if (SWIG_arg_fail(7)) SWIG_fail
;
37649 arg8
= wxString_in_helper(obj7
);
37650 if (arg8
== NULL
) SWIG_fail
;
37655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37656 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
37658 wxPyEndAllowThreads(__tstate
);
37659 if (PyErr_Occurred()) SWIG_fail
;
37662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37678 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37679 PyObject
*resultobj
;
37680 wxControl
*arg1
= (wxControl
*) 0 ;
37681 wxCommandEvent
*arg2
= 0 ;
37682 PyObject
* obj0
= 0 ;
37683 PyObject
* obj1
= 0 ;
37684 char *kwnames
[] = {
37685 (char *) "self",(char *) "event", NULL
37688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
37689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37690 if (SWIG_arg_fail(1)) SWIG_fail
;
37692 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_EXCEPTION
| 0);
37693 if (SWIG_arg_fail(2)) SWIG_fail
;
37694 if (arg2
== NULL
) {
37695 SWIG_null_ref("wxCommandEvent");
37697 if (SWIG_arg_fail(2)) SWIG_fail
;
37700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37701 (arg1
)->Command(*arg2
);
37703 wxPyEndAllowThreads(__tstate
);
37704 if (PyErr_Occurred()) SWIG_fail
;
37706 Py_INCREF(Py_None
); resultobj
= Py_None
;
37713 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37714 PyObject
*resultobj
;
37715 wxControl
*arg1
= (wxControl
*) 0 ;
37717 PyObject
* obj0
= 0 ;
37718 char *kwnames
[] = {
37719 (char *) "self", NULL
37722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
37723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37724 if (SWIG_arg_fail(1)) SWIG_fail
;
37726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37727 result
= (arg1
)->GetLabel();
37729 wxPyEndAllowThreads(__tstate
);
37730 if (PyErr_Occurred()) SWIG_fail
;
37734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37745 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37746 PyObject
*resultobj
;
37747 wxControl
*arg1
= (wxControl
*) 0 ;
37748 wxString
*arg2
= 0 ;
37749 bool temp2
= false ;
37750 PyObject
* obj0
= 0 ;
37751 PyObject
* obj1
= 0 ;
37752 char *kwnames
[] = {
37753 (char *) "self",(char *) "label", NULL
37756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
37757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxControl
, SWIG_POINTER_EXCEPTION
| 0);
37758 if (SWIG_arg_fail(1)) SWIG_fail
;
37760 arg2
= wxString_in_helper(obj1
);
37761 if (arg2
== NULL
) SWIG_fail
;
37765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37766 (arg1
)->SetLabel((wxString
const &)*arg2
);
37768 wxPyEndAllowThreads(__tstate
);
37769 if (PyErr_Occurred()) SWIG_fail
;
37771 Py_INCREF(Py_None
); resultobj
= Py_None
;
37786 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37787 PyObject
*resultobj
;
37788 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37789 wxVisualAttributes result
;
37790 PyObject
* obj0
= 0 ;
37791 char *kwnames
[] = {
37792 (char *) "variant", NULL
37795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
37798 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
37799 if (SWIG_arg_fail(1)) SWIG_fail
;
37803 if (!wxPyCheckForApp()) SWIG_fail
;
37804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37805 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
37807 wxPyEndAllowThreads(__tstate
);
37808 if (PyErr_Occurred()) SWIG_fail
;
37811 wxVisualAttributes
* resultptr
;
37812 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
37813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
37821 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
37823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37824 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
37826 return Py_BuildValue((char *)"");
37828 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37829 PyObject
*resultobj
;
37830 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37831 wxString
*arg2
= 0 ;
37832 PyObject
*arg3
= (PyObject
*) NULL
;
37834 bool temp2
= false ;
37835 PyObject
* obj0
= 0 ;
37836 PyObject
* obj1
= 0 ;
37837 PyObject
* obj2
= 0 ;
37838 char *kwnames
[] = {
37839 (char *) "self",(char *) "item",(char *) "clientData", NULL
37842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37844 if (SWIG_arg_fail(1)) SWIG_fail
;
37846 arg2
= wxString_in_helper(obj1
);
37847 if (arg2
== NULL
) SWIG_fail
;
37854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37855 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
37857 wxPyEndAllowThreads(__tstate
);
37858 if (PyErr_Occurred()) SWIG_fail
;
37861 resultobj
= SWIG_From_int((int)(result
));
37877 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37878 PyObject
*resultobj
;
37879 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37880 wxArrayString
*arg2
= 0 ;
37881 bool temp2
= false ;
37882 PyObject
* obj0
= 0 ;
37883 PyObject
* obj1
= 0 ;
37884 char *kwnames
[] = {
37885 (char *) "self",(char *) "strings", NULL
37888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
37889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37890 if (SWIG_arg_fail(1)) SWIG_fail
;
37892 if (! PySequence_Check(obj1
)) {
37893 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
37896 arg2
= new wxArrayString
;
37898 int i
, len
=PySequence_Length(obj1
);
37899 for (i
=0; i
<len
; i
++) {
37900 PyObject
* item
= PySequence_GetItem(obj1
, i
);
37901 wxString
* s
= wxString_in_helper(item
);
37902 if (PyErr_Occurred()) SWIG_fail
;
37909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37910 (arg1
)->Append((wxArrayString
const &)*arg2
);
37912 wxPyEndAllowThreads(__tstate
);
37913 if (PyErr_Occurred()) SWIG_fail
;
37915 Py_INCREF(Py_None
); resultobj
= Py_None
;
37917 if (temp2
) delete arg2
;
37922 if (temp2
) delete arg2
;
37928 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37929 PyObject
*resultobj
;
37930 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37931 wxString
*arg2
= 0 ;
37933 PyObject
*arg4
= (PyObject
*) NULL
;
37935 bool temp2
= false ;
37936 PyObject
* obj0
= 0 ;
37937 PyObject
* obj1
= 0 ;
37938 PyObject
* obj2
= 0 ;
37939 PyObject
* obj3
= 0 ;
37940 char *kwnames
[] = {
37941 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
37944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37946 if (SWIG_arg_fail(1)) SWIG_fail
;
37948 arg2
= wxString_in_helper(obj1
);
37949 if (arg2
== NULL
) SWIG_fail
;
37953 arg3
= (int)(SWIG_As_int(obj2
));
37954 if (SWIG_arg_fail(3)) SWIG_fail
;
37960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37961 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
37963 wxPyEndAllowThreads(__tstate
);
37964 if (PyErr_Occurred()) SWIG_fail
;
37967 resultobj
= SWIG_From_int((int)(result
));
37983 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37984 PyObject
*resultobj
;
37985 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
37986 PyObject
* obj0
= 0 ;
37987 char *kwnames
[] = {
37988 (char *) "self", NULL
37991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
37992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
37993 if (SWIG_arg_fail(1)) SWIG_fail
;
37995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37998 wxPyEndAllowThreads(__tstate
);
37999 if (PyErr_Occurred()) SWIG_fail
;
38001 Py_INCREF(Py_None
); resultobj
= Py_None
;
38008 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38009 PyObject
*resultobj
;
38010 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38012 PyObject
* obj0
= 0 ;
38013 PyObject
* obj1
= 0 ;
38014 char *kwnames
[] = {
38015 (char *) "self",(char *) "n", NULL
38018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
38019 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38020 if (SWIG_arg_fail(1)) SWIG_fail
;
38022 arg2
= (int)(SWIG_As_int(obj1
));
38023 if (SWIG_arg_fail(2)) SWIG_fail
;
38026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38027 (arg1
)->Delete(arg2
);
38029 wxPyEndAllowThreads(__tstate
);
38030 if (PyErr_Occurred()) SWIG_fail
;
38032 Py_INCREF(Py_None
); resultobj
= Py_None
;
38039 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38040 PyObject
*resultobj
;
38041 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38044 PyObject
* obj0
= 0 ;
38045 PyObject
* obj1
= 0 ;
38046 char *kwnames
[] = {
38047 (char *) "self",(char *) "n", NULL
38050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
38051 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38052 if (SWIG_arg_fail(1)) SWIG_fail
;
38054 arg2
= (int)(SWIG_As_int(obj1
));
38055 if (SWIG_arg_fail(2)) SWIG_fail
;
38058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38059 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
38061 wxPyEndAllowThreads(__tstate
);
38062 if (PyErr_Occurred()) SWIG_fail
;
38064 resultobj
= result
;
38071 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38072 PyObject
*resultobj
;
38073 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38075 PyObject
*arg3
= (PyObject
*) 0 ;
38076 PyObject
* obj0
= 0 ;
38077 PyObject
* obj1
= 0 ;
38078 PyObject
* obj2
= 0 ;
38079 char *kwnames
[] = {
38080 (char *) "self",(char *) "n",(char *) "clientData", NULL
38083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38084 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38085 if (SWIG_arg_fail(1)) SWIG_fail
;
38087 arg2
= (int)(SWIG_As_int(obj1
));
38088 if (SWIG_arg_fail(2)) SWIG_fail
;
38092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38093 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
38095 wxPyEndAllowThreads(__tstate
);
38096 if (PyErr_Occurred()) SWIG_fail
;
38098 Py_INCREF(Py_None
); resultobj
= Py_None
;
38105 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38106 PyObject
*resultobj
;
38107 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38109 PyObject
* obj0
= 0 ;
38110 char *kwnames
[] = {
38111 (char *) "self", NULL
38114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
38115 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38116 if (SWIG_arg_fail(1)) SWIG_fail
;
38118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38119 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
38121 wxPyEndAllowThreads(__tstate
);
38122 if (PyErr_Occurred()) SWIG_fail
;
38125 resultobj
= SWIG_From_int((int)(result
));
38133 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38134 PyObject
*resultobj
;
38135 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38137 PyObject
* obj0
= 0 ;
38138 char *kwnames
[] = {
38139 (char *) "self", NULL
38142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
38143 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38144 if (SWIG_arg_fail(1)) SWIG_fail
;
38146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38147 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
38149 wxPyEndAllowThreads(__tstate
);
38150 if (PyErr_Occurred()) SWIG_fail
;
38153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38161 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38162 PyObject
*resultobj
;
38163 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38166 PyObject
* obj0
= 0 ;
38167 PyObject
* obj1
= 0 ;
38168 char *kwnames
[] = {
38169 (char *) "self",(char *) "n", NULL
38172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
38173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38174 if (SWIG_arg_fail(1)) SWIG_fail
;
38176 arg2
= (int)(SWIG_As_int(obj1
));
38177 if (SWIG_arg_fail(2)) SWIG_fail
;
38180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38181 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
38183 wxPyEndAllowThreads(__tstate
);
38184 if (PyErr_Occurred()) SWIG_fail
;
38188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38199 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38200 PyObject
*resultobj
;
38201 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38202 wxArrayString result
;
38203 PyObject
* obj0
= 0 ;
38204 char *kwnames
[] = {
38205 (char *) "self", NULL
38208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
38209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38210 if (SWIG_arg_fail(1)) SWIG_fail
;
38212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38213 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
38215 wxPyEndAllowThreads(__tstate
);
38216 if (PyErr_Occurred()) SWIG_fail
;
38219 resultobj
= wxArrayString2PyList_helper(result
);
38227 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38228 PyObject
*resultobj
;
38229 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38231 wxString
*arg3
= 0 ;
38232 bool temp3
= false ;
38233 PyObject
* obj0
= 0 ;
38234 PyObject
* obj1
= 0 ;
38235 PyObject
* obj2
= 0 ;
38236 char *kwnames
[] = {
38237 (char *) "self",(char *) "n",(char *) "s", NULL
38240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38241 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38242 if (SWIG_arg_fail(1)) SWIG_fail
;
38244 arg2
= (int)(SWIG_As_int(obj1
));
38245 if (SWIG_arg_fail(2)) SWIG_fail
;
38248 arg3
= wxString_in_helper(obj2
);
38249 if (arg3
== NULL
) SWIG_fail
;
38253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38254 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
38256 wxPyEndAllowThreads(__tstate
);
38257 if (PyErr_Occurred()) SWIG_fail
;
38259 Py_INCREF(Py_None
); resultobj
= Py_None
;
38274 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38275 PyObject
*resultobj
;
38276 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38277 wxString
*arg2
= 0 ;
38279 bool temp2
= false ;
38280 PyObject
* obj0
= 0 ;
38281 PyObject
* obj1
= 0 ;
38282 char *kwnames
[] = {
38283 (char *) "self",(char *) "s", NULL
38286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
38287 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38288 if (SWIG_arg_fail(1)) SWIG_fail
;
38290 arg2
= wxString_in_helper(obj1
);
38291 if (arg2
== NULL
) SWIG_fail
;
38295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38296 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
38298 wxPyEndAllowThreads(__tstate
);
38299 if (PyErr_Occurred()) SWIG_fail
;
38302 resultobj
= SWIG_From_int((int)(result
));
38318 static PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38319 PyObject
*resultobj
;
38320 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38322 PyObject
* obj0
= 0 ;
38323 PyObject
* obj1
= 0 ;
38324 char *kwnames
[] = {
38325 (char *) "self",(char *) "n", NULL
38328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38329 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38330 if (SWIG_arg_fail(1)) SWIG_fail
;
38332 arg2
= (int)(SWIG_As_int(obj1
));
38333 if (SWIG_arg_fail(2)) SWIG_fail
;
38336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38337 (arg1
)->SetSelection(arg2
);
38339 wxPyEndAllowThreads(__tstate
);
38340 if (PyErr_Occurred()) SWIG_fail
;
38342 Py_INCREF(Py_None
); resultobj
= Py_None
;
38349 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38350 PyObject
*resultobj
;
38351 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38353 PyObject
* obj0
= 0 ;
38354 char *kwnames
[] = {
38355 (char *) "self", NULL
38358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
38359 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38360 if (SWIG_arg_fail(1)) SWIG_fail
;
38362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38363 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
38365 wxPyEndAllowThreads(__tstate
);
38366 if (PyErr_Occurred()) SWIG_fail
;
38369 resultobj
= SWIG_From_int((int)(result
));
38377 static PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38378 PyObject
*resultobj
;
38379 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38380 wxString
*arg2
= 0 ;
38382 bool temp2
= false ;
38383 PyObject
* obj0
= 0 ;
38384 PyObject
* obj1
= 0 ;
38385 char *kwnames
[] = {
38386 (char *) "self",(char *) "s", NULL
38389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
38390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38391 if (SWIG_arg_fail(1)) SWIG_fail
;
38393 arg2
= wxString_in_helper(obj1
);
38394 if (arg2
== NULL
) SWIG_fail
;
38398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38399 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
38401 wxPyEndAllowThreads(__tstate
);
38402 if (PyErr_Occurred()) SWIG_fail
;
38405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38421 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38422 PyObject
*resultobj
;
38423 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38425 PyObject
* obj0
= 0 ;
38426 char *kwnames
[] = {
38427 (char *) "self", NULL
38430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
38431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38432 if (SWIG_arg_fail(1)) SWIG_fail
;
38434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38435 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
38437 wxPyEndAllowThreads(__tstate
);
38438 if (PyErr_Occurred()) SWIG_fail
;
38442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38453 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38454 PyObject
*resultobj
;
38455 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
38457 PyObject
* obj0
= 0 ;
38458 PyObject
* obj1
= 0 ;
38459 char *kwnames
[] = {
38460 (char *) "self",(char *) "n", NULL
38463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
38464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxItemContainer
, SWIG_POINTER_EXCEPTION
| 0);
38465 if (SWIG_arg_fail(1)) SWIG_fail
;
38467 arg2
= (int)(SWIG_As_int(obj1
));
38468 if (SWIG_arg_fail(2)) SWIG_fail
;
38471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38472 (arg1
)->Select(arg2
);
38474 wxPyEndAllowThreads(__tstate
);
38475 if (PyErr_Occurred()) SWIG_fail
;
38477 Py_INCREF(Py_None
); resultobj
= Py_None
;
38484 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
38486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38487 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
38489 return Py_BuildValue((char *)"");
38491 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
38493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38494 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
38496 return Py_BuildValue((char *)"");
38498 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38499 PyObject
*resultobj
;
38500 wxSizerItem
*result
;
38501 char *kwnames
[] = {
38505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 result
= (wxSizerItem
*)new wxSizerItem();
38510 wxPyEndAllowThreads(__tstate
);
38511 if (PyErr_Occurred()) SWIG_fail
;
38513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38520 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38521 PyObject
*resultobj
;
38522 wxWindow
*arg1
= (wxWindow
*) 0 ;
38526 PyObject
*arg5
= (PyObject
*) NULL
;
38527 wxSizerItem
*result
;
38528 PyObject
* obj0
= 0 ;
38529 PyObject
* obj1
= 0 ;
38530 PyObject
* obj2
= 0 ;
38531 PyObject
* obj3
= 0 ;
38532 PyObject
* obj4
= 0 ;
38533 char *kwnames
[] = {
38534 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
38539 if (SWIG_arg_fail(1)) SWIG_fail
;
38541 arg2
= (int)(SWIG_As_int(obj1
));
38542 if (SWIG_arg_fail(2)) SWIG_fail
;
38545 arg3
= (int)(SWIG_As_int(obj2
));
38546 if (SWIG_arg_fail(3)) SWIG_fail
;
38549 arg4
= (int)(SWIG_As_int(obj3
));
38550 if (SWIG_arg_fail(4)) SWIG_fail
;
38556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38557 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38559 wxPyEndAllowThreads(__tstate
);
38560 if (PyErr_Occurred()) SWIG_fail
;
38562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38569 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38570 PyObject
*resultobj
;
38576 PyObject
*arg6
= (PyObject
*) NULL
;
38577 wxSizerItem
*result
;
38578 PyObject
* obj0
= 0 ;
38579 PyObject
* obj1
= 0 ;
38580 PyObject
* obj2
= 0 ;
38581 PyObject
* obj3
= 0 ;
38582 PyObject
* obj4
= 0 ;
38583 PyObject
* obj5
= 0 ;
38584 char *kwnames
[] = {
38585 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38590 arg1
= (int)(SWIG_As_int(obj0
));
38591 if (SWIG_arg_fail(1)) SWIG_fail
;
38594 arg2
= (int)(SWIG_As_int(obj1
));
38595 if (SWIG_arg_fail(2)) SWIG_fail
;
38598 arg3
= (int)(SWIG_As_int(obj2
));
38599 if (SWIG_arg_fail(3)) SWIG_fail
;
38602 arg4
= (int)(SWIG_As_int(obj3
));
38603 if (SWIG_arg_fail(4)) SWIG_fail
;
38606 arg5
= (int)(SWIG_As_int(obj4
));
38607 if (SWIG_arg_fail(5)) SWIG_fail
;
38613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38614 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
38616 wxPyEndAllowThreads(__tstate
);
38617 if (PyErr_Occurred()) SWIG_fail
;
38619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38626 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38627 PyObject
*resultobj
;
38628 wxSizer
*arg1
= (wxSizer
*) 0 ;
38632 PyObject
*arg5
= (PyObject
*) NULL
;
38633 wxSizerItem
*result
;
38634 PyObject
* obj0
= 0 ;
38635 PyObject
* obj1
= 0 ;
38636 PyObject
* obj2
= 0 ;
38637 PyObject
* obj3
= 0 ;
38638 PyObject
* obj4
= 0 ;
38639 char *kwnames
[] = {
38640 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
38643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
38644 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
38645 if (SWIG_arg_fail(1)) SWIG_fail
;
38647 arg2
= (int)(SWIG_As_int(obj1
));
38648 if (SWIG_arg_fail(2)) SWIG_fail
;
38651 arg3
= (int)(SWIG_As_int(obj2
));
38652 if (SWIG_arg_fail(3)) SWIG_fail
;
38655 arg4
= (int)(SWIG_As_int(obj3
));
38656 if (SWIG_arg_fail(4)) SWIG_fail
;
38662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38663 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
38665 wxPyEndAllowThreads(__tstate
);
38666 if (PyErr_Occurred()) SWIG_fail
;
38668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
38675 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38676 PyObject
*resultobj
;
38677 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38678 PyObject
* obj0
= 0 ;
38679 char *kwnames
[] = {
38680 (char *) "self", NULL
38683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
38684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38685 if (SWIG_arg_fail(1)) SWIG_fail
;
38687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38688 (arg1
)->DeleteWindows();
38690 wxPyEndAllowThreads(__tstate
);
38691 if (PyErr_Occurred()) SWIG_fail
;
38693 Py_INCREF(Py_None
); resultobj
= Py_None
;
38700 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38701 PyObject
*resultobj
;
38702 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38703 PyObject
* obj0
= 0 ;
38704 char *kwnames
[] = {
38705 (char *) "self", NULL
38708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
38709 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38710 if (SWIG_arg_fail(1)) SWIG_fail
;
38712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38713 (arg1
)->DetachSizer();
38715 wxPyEndAllowThreads(__tstate
);
38716 if (PyErr_Occurred()) SWIG_fail
;
38718 Py_INCREF(Py_None
); resultobj
= Py_None
;
38725 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38726 PyObject
*resultobj
;
38727 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38729 PyObject
* obj0
= 0 ;
38730 char *kwnames
[] = {
38731 (char *) "self", NULL
38734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
38735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38736 if (SWIG_arg_fail(1)) SWIG_fail
;
38738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38739 result
= (arg1
)->GetSize();
38741 wxPyEndAllowThreads(__tstate
);
38742 if (PyErr_Occurred()) SWIG_fail
;
38745 wxSize
* resultptr
;
38746 resultptr
= new wxSize((wxSize
&)(result
));
38747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38755 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38756 PyObject
*resultobj
;
38757 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38759 PyObject
* obj0
= 0 ;
38760 char *kwnames
[] = {
38761 (char *) "self", NULL
38764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
38765 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38766 if (SWIG_arg_fail(1)) SWIG_fail
;
38768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38769 result
= (arg1
)->CalcMin();
38771 wxPyEndAllowThreads(__tstate
);
38772 if (PyErr_Occurred()) SWIG_fail
;
38775 wxSize
* resultptr
;
38776 resultptr
= new wxSize((wxSize
&)(result
));
38777 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38785 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38786 PyObject
*resultobj
;
38787 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38790 PyObject
* obj0
= 0 ;
38791 PyObject
* obj1
= 0 ;
38792 PyObject
* obj2
= 0 ;
38793 char *kwnames
[] = {
38794 (char *) "self",(char *) "pos",(char *) "size", NULL
38797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38798 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38799 if (SWIG_arg_fail(1)) SWIG_fail
;
38802 SWIG_Python_ConvertPtr(obj1
, (void **)&argp
, SWIGTYPE_p_wxPoint
, SWIG_POINTER_EXCEPTION
);
38803 if (SWIG_arg_fail(2)) SWIG_fail
;
38804 if (argp
== NULL
) {
38805 SWIG_null_ref("wxPoint");
38807 if (SWIG_arg_fail(2)) SWIG_fail
;
38812 SWIG_Python_ConvertPtr(obj2
, (void **)&argp
, SWIGTYPE_p_wxSize
, SWIG_POINTER_EXCEPTION
);
38813 if (SWIG_arg_fail(3)) SWIG_fail
;
38814 if (argp
== NULL
) {
38815 SWIG_null_ref("wxSize");
38817 if (SWIG_arg_fail(3)) SWIG_fail
;
38821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38822 (arg1
)->SetDimension(arg2
,arg3
);
38824 wxPyEndAllowThreads(__tstate
);
38825 if (PyErr_Occurred()) SWIG_fail
;
38827 Py_INCREF(Py_None
); resultobj
= Py_None
;
38834 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38835 PyObject
*resultobj
;
38836 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38838 PyObject
* obj0
= 0 ;
38839 char *kwnames
[] = {
38840 (char *) "self", NULL
38843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
38844 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38845 if (SWIG_arg_fail(1)) SWIG_fail
;
38847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38848 result
= (arg1
)->GetMinSize();
38850 wxPyEndAllowThreads(__tstate
);
38851 if (PyErr_Occurred()) SWIG_fail
;
38854 wxSize
* resultptr
;
38855 resultptr
= new wxSize((wxSize
&)(result
));
38856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38864 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38865 PyObject
*resultobj
;
38866 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38868 PyObject
* obj0
= 0 ;
38869 char *kwnames
[] = {
38870 (char *) "self", NULL
38873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
38874 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38875 if (SWIG_arg_fail(1)) SWIG_fail
;
38877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38878 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
38880 wxPyEndAllowThreads(__tstate
);
38881 if (PyErr_Occurred()) SWIG_fail
;
38884 wxSize
* resultptr
;
38885 resultptr
= new wxSize((wxSize
&)(result
));
38886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38894 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38895 PyObject
*resultobj
;
38896 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38899 PyObject
* obj0
= 0 ;
38900 PyObject
* obj1
= 0 ;
38901 PyObject
* obj2
= 0 ;
38902 char *kwnames
[] = {
38903 (char *) "self",(char *) "x",(char *) "y", NULL
38906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38908 if (SWIG_arg_fail(1)) SWIG_fail
;
38910 arg2
= (int)(SWIG_As_int(obj1
));
38911 if (SWIG_arg_fail(2)) SWIG_fail
;
38914 arg3
= (int)(SWIG_As_int(obj2
));
38915 if (SWIG_arg_fail(3)) SWIG_fail
;
38918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38919 (arg1
)->SetInitSize(arg2
,arg3
);
38921 wxPyEndAllowThreads(__tstate
);
38922 if (PyErr_Occurred()) SWIG_fail
;
38924 Py_INCREF(Py_None
); resultobj
= Py_None
;
38931 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38932 PyObject
*resultobj
;
38933 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38936 PyObject
* obj0
= 0 ;
38937 PyObject
* obj1
= 0 ;
38938 PyObject
* obj2
= 0 ;
38939 char *kwnames
[] = {
38940 (char *) "self",(char *) "width",(char *) "height", NULL
38943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38945 if (SWIG_arg_fail(1)) SWIG_fail
;
38947 arg2
= (int)(SWIG_As_int(obj1
));
38948 if (SWIG_arg_fail(2)) SWIG_fail
;
38951 arg3
= (int)(SWIG_As_int(obj2
));
38952 if (SWIG_arg_fail(3)) SWIG_fail
;
38955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38956 (arg1
)->SetRatio(arg2
,arg3
);
38958 wxPyEndAllowThreads(__tstate
);
38959 if (PyErr_Occurred()) SWIG_fail
;
38961 Py_INCREF(Py_None
); resultobj
= Py_None
;
38968 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38969 PyObject
*resultobj
;
38970 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
38973 PyObject
* obj0
= 0 ;
38974 PyObject
* obj1
= 0 ;
38975 char *kwnames
[] = {
38976 (char *) "self",(char *) "size", NULL
38979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38980 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
38981 if (SWIG_arg_fail(1)) SWIG_fail
;
38984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38988 (arg1
)->SetRatio((wxSize
const &)*arg2
);
38990 wxPyEndAllowThreads(__tstate
);
38991 if (PyErr_Occurred()) SWIG_fail
;
38993 Py_INCREF(Py_None
); resultobj
= Py_None
;
39000 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39001 PyObject
*resultobj
;
39002 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39004 PyObject
* obj0
= 0 ;
39005 PyObject
* obj1
= 0 ;
39006 char *kwnames
[] = {
39007 (char *) "self",(char *) "ratio", NULL
39010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
39011 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39012 if (SWIG_arg_fail(1)) SWIG_fail
;
39014 arg2
= (float)(SWIG_As_float(obj1
));
39015 if (SWIG_arg_fail(2)) SWIG_fail
;
39018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39019 (arg1
)->SetRatio(arg2
);
39021 wxPyEndAllowThreads(__tstate
);
39022 if (PyErr_Occurred()) SWIG_fail
;
39024 Py_INCREF(Py_None
); resultobj
= Py_None
;
39031 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39032 PyObject
*resultobj
;
39033 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39035 PyObject
* obj0
= 0 ;
39036 char *kwnames
[] = {
39037 (char *) "self", NULL
39040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
39041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39042 if (SWIG_arg_fail(1)) SWIG_fail
;
39044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39045 result
= (float)(arg1
)->GetRatio();
39047 wxPyEndAllowThreads(__tstate
);
39048 if (PyErr_Occurred()) SWIG_fail
;
39051 resultobj
= SWIG_From_float((float)(result
));
39059 static PyObject
*_wrap_SizerItem_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39060 PyObject
*resultobj
;
39061 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39063 PyObject
* obj0
= 0 ;
39064 char *kwnames
[] = {
39065 (char *) "self", NULL
39068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRect",kwnames
,&obj0
)) goto fail
;
39069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39070 if (SWIG_arg_fail(1)) SWIG_fail
;
39072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39073 result
= (arg1
)->GetRect();
39075 wxPyEndAllowThreads(__tstate
);
39076 if (PyErr_Occurred()) SWIG_fail
;
39079 wxRect
* resultptr
;
39080 resultptr
= new wxRect((wxRect
&)(result
));
39081 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
39089 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39090 PyObject
*resultobj
;
39091 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39093 PyObject
* obj0
= 0 ;
39094 char *kwnames
[] = {
39095 (char *) "self", NULL
39098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
39099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39100 if (SWIG_arg_fail(1)) SWIG_fail
;
39102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39103 result
= (bool)(arg1
)->IsWindow();
39105 wxPyEndAllowThreads(__tstate
);
39106 if (PyErr_Occurred()) SWIG_fail
;
39109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39117 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39118 PyObject
*resultobj
;
39119 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39121 PyObject
* obj0
= 0 ;
39122 char *kwnames
[] = {
39123 (char *) "self", NULL
39126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
39127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39128 if (SWIG_arg_fail(1)) SWIG_fail
;
39130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39131 result
= (bool)(arg1
)->IsSizer();
39133 wxPyEndAllowThreads(__tstate
);
39134 if (PyErr_Occurred()) SWIG_fail
;
39137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39145 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39146 PyObject
*resultobj
;
39147 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39149 PyObject
* obj0
= 0 ;
39150 char *kwnames
[] = {
39151 (char *) "self", NULL
39154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
39155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39156 if (SWIG_arg_fail(1)) SWIG_fail
;
39158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39159 result
= (bool)(arg1
)->IsSpacer();
39161 wxPyEndAllowThreads(__tstate
);
39162 if (PyErr_Occurred()) SWIG_fail
;
39165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39173 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39174 PyObject
*resultobj
;
39175 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39177 PyObject
* obj0
= 0 ;
39178 PyObject
* obj1
= 0 ;
39179 char *kwnames
[] = {
39180 (char *) "self",(char *) "proportion", NULL
39183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
39184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39185 if (SWIG_arg_fail(1)) SWIG_fail
;
39187 arg2
= (int)(SWIG_As_int(obj1
));
39188 if (SWIG_arg_fail(2)) SWIG_fail
;
39191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39192 (arg1
)->SetProportion(arg2
);
39194 wxPyEndAllowThreads(__tstate
);
39195 if (PyErr_Occurred()) SWIG_fail
;
39197 Py_INCREF(Py_None
); resultobj
= Py_None
;
39204 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39205 PyObject
*resultobj
;
39206 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39208 PyObject
* obj0
= 0 ;
39209 char *kwnames
[] = {
39210 (char *) "self", NULL
39213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
39214 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39215 if (SWIG_arg_fail(1)) SWIG_fail
;
39217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39218 result
= (int)(arg1
)->GetProportion();
39220 wxPyEndAllowThreads(__tstate
);
39221 if (PyErr_Occurred()) SWIG_fail
;
39224 resultobj
= SWIG_From_int((int)(result
));
39232 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39233 PyObject
*resultobj
;
39234 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39236 PyObject
* obj0
= 0 ;
39237 PyObject
* obj1
= 0 ;
39238 char *kwnames
[] = {
39239 (char *) "self",(char *) "flag", NULL
39242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
39243 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39244 if (SWIG_arg_fail(1)) SWIG_fail
;
39246 arg2
= (int)(SWIG_As_int(obj1
));
39247 if (SWIG_arg_fail(2)) SWIG_fail
;
39250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39251 (arg1
)->SetFlag(arg2
);
39253 wxPyEndAllowThreads(__tstate
);
39254 if (PyErr_Occurred()) SWIG_fail
;
39256 Py_INCREF(Py_None
); resultobj
= Py_None
;
39263 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39264 PyObject
*resultobj
;
39265 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39267 PyObject
* obj0
= 0 ;
39268 char *kwnames
[] = {
39269 (char *) "self", NULL
39272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
39273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39274 if (SWIG_arg_fail(1)) SWIG_fail
;
39276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39277 result
= (int)(arg1
)->GetFlag();
39279 wxPyEndAllowThreads(__tstate
);
39280 if (PyErr_Occurred()) SWIG_fail
;
39283 resultobj
= SWIG_From_int((int)(result
));
39291 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39292 PyObject
*resultobj
;
39293 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39295 PyObject
* obj0
= 0 ;
39296 PyObject
* obj1
= 0 ;
39297 char *kwnames
[] = {
39298 (char *) "self",(char *) "border", NULL
39301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
39302 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39303 if (SWIG_arg_fail(1)) SWIG_fail
;
39305 arg2
= (int)(SWIG_As_int(obj1
));
39306 if (SWIG_arg_fail(2)) SWIG_fail
;
39309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39310 (arg1
)->SetBorder(arg2
);
39312 wxPyEndAllowThreads(__tstate
);
39313 if (PyErr_Occurred()) SWIG_fail
;
39315 Py_INCREF(Py_None
); resultobj
= Py_None
;
39322 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39323 PyObject
*resultobj
;
39324 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39326 PyObject
* obj0
= 0 ;
39327 char *kwnames
[] = {
39328 (char *) "self", NULL
39331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
39332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39333 if (SWIG_arg_fail(1)) SWIG_fail
;
39335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39336 result
= (int)(arg1
)->GetBorder();
39338 wxPyEndAllowThreads(__tstate
);
39339 if (PyErr_Occurred()) SWIG_fail
;
39342 resultobj
= SWIG_From_int((int)(result
));
39350 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39351 PyObject
*resultobj
;
39352 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39354 PyObject
* obj0
= 0 ;
39355 char *kwnames
[] = {
39356 (char *) "self", NULL
39359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
39360 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39361 if (SWIG_arg_fail(1)) SWIG_fail
;
39363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39364 result
= (wxWindow
*)(arg1
)->GetWindow();
39366 wxPyEndAllowThreads(__tstate
);
39367 if (PyErr_Occurred()) SWIG_fail
;
39370 resultobj
= wxPyMake_wxObject(result
, 0);
39378 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39379 PyObject
*resultobj
;
39380 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39381 wxWindow
*arg2
= (wxWindow
*) 0 ;
39382 PyObject
* obj0
= 0 ;
39383 PyObject
* obj1
= 0 ;
39384 char *kwnames
[] = {
39385 (char *) "self",(char *) "window", NULL
39388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
39389 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39390 if (SWIG_arg_fail(1)) SWIG_fail
;
39391 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
39392 if (SWIG_arg_fail(2)) SWIG_fail
;
39394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39395 (arg1
)->SetWindow(arg2
);
39397 wxPyEndAllowThreads(__tstate
);
39398 if (PyErr_Occurred()) SWIG_fail
;
39400 Py_INCREF(Py_None
); resultobj
= Py_None
;
39407 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39408 PyObject
*resultobj
;
39409 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39411 PyObject
* obj0
= 0 ;
39412 char *kwnames
[] = {
39413 (char *) "self", NULL
39416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
39417 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39418 if (SWIG_arg_fail(1)) SWIG_fail
;
39420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39421 result
= (wxSizer
*)(arg1
)->GetSizer();
39423 wxPyEndAllowThreads(__tstate
);
39424 if (PyErr_Occurred()) SWIG_fail
;
39427 resultobj
= wxPyMake_wxObject(result
, 0);
39435 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39436 PyObject
*resultobj
;
39437 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39438 wxSizer
*arg2
= (wxSizer
*) 0 ;
39439 PyObject
* obj0
= 0 ;
39440 PyObject
* obj1
= 0 ;
39441 char *kwnames
[] = {
39442 (char *) "self",(char *) "sizer", NULL
39445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
39446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39447 if (SWIG_arg_fail(1)) SWIG_fail
;
39448 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39449 if (SWIG_arg_fail(2)) SWIG_fail
;
39451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39452 (arg1
)->SetSizer(arg2
);
39454 wxPyEndAllowThreads(__tstate
);
39455 if (PyErr_Occurred()) SWIG_fail
;
39457 Py_INCREF(Py_None
); resultobj
= Py_None
;
39464 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39465 PyObject
*resultobj
;
39466 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39468 PyObject
* obj0
= 0 ;
39469 char *kwnames
[] = {
39470 (char *) "self", NULL
39473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
39474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39475 if (SWIG_arg_fail(1)) SWIG_fail
;
39477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39479 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
39480 result
= (wxSize
*) &_result_ref
;
39483 wxPyEndAllowThreads(__tstate
);
39484 if (PyErr_Occurred()) SWIG_fail
;
39486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
39493 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39494 PyObject
*resultobj
;
39495 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39498 PyObject
* obj0
= 0 ;
39499 PyObject
* obj1
= 0 ;
39500 char *kwnames
[] = {
39501 (char *) "self",(char *) "size", NULL
39504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
39505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39506 if (SWIG_arg_fail(1)) SWIG_fail
;
39509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
39512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39513 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
39515 wxPyEndAllowThreads(__tstate
);
39516 if (PyErr_Occurred()) SWIG_fail
;
39518 Py_INCREF(Py_None
); resultobj
= Py_None
;
39525 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39526 PyObject
*resultobj
;
39527 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39529 PyObject
* obj0
= 0 ;
39530 PyObject
* obj1
= 0 ;
39531 char *kwnames
[] = {
39532 (char *) "self",(char *) "show", NULL
39535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
39536 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39537 if (SWIG_arg_fail(1)) SWIG_fail
;
39539 arg2
= (bool)(SWIG_As_bool(obj1
));
39540 if (SWIG_arg_fail(2)) SWIG_fail
;
39543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39544 (arg1
)->Show(arg2
);
39546 wxPyEndAllowThreads(__tstate
);
39547 if (PyErr_Occurred()) SWIG_fail
;
39549 Py_INCREF(Py_None
); resultobj
= Py_None
;
39556 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39557 PyObject
*resultobj
;
39558 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39560 PyObject
* obj0
= 0 ;
39561 char *kwnames
[] = {
39562 (char *) "self", NULL
39565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
39566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39567 if (SWIG_arg_fail(1)) SWIG_fail
;
39569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39570 result
= (bool)(arg1
)->IsShown();
39572 wxPyEndAllowThreads(__tstate
);
39573 if (PyErr_Occurred()) SWIG_fail
;
39576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39584 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39585 PyObject
*resultobj
;
39586 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39588 PyObject
* obj0
= 0 ;
39589 char *kwnames
[] = {
39590 (char *) "self", NULL
39593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
39594 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39595 if (SWIG_arg_fail(1)) SWIG_fail
;
39597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39598 result
= (arg1
)->GetPosition();
39600 wxPyEndAllowThreads(__tstate
);
39601 if (PyErr_Occurred()) SWIG_fail
;
39604 wxPoint
* resultptr
;
39605 resultptr
= new wxPoint((wxPoint
&)(result
));
39606 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
39614 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39615 PyObject
*resultobj
;
39616 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
39618 PyObject
* obj0
= 0 ;
39619 char *kwnames
[] = {
39620 (char *) "self", NULL
39623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
39624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39625 if (SWIG_arg_fail(1)) SWIG_fail
;
39627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39628 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
39630 wxPyEndAllowThreads(__tstate
);
39631 if (PyErr_Occurred()) SWIG_fail
;
39633 resultobj
= result
;
39640 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
39642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39643 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
39645 return Py_BuildValue((char *)"");
39647 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39648 PyObject
*resultobj
;
39649 wxSizer
*arg1
= (wxSizer
*) 0 ;
39650 PyObject
*arg2
= (PyObject
*) 0 ;
39651 PyObject
* obj0
= 0 ;
39652 PyObject
* obj1
= 0 ;
39653 char *kwnames
[] = {
39654 (char *) "self",(char *) "_self", NULL
39657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
39658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39659 if (SWIG_arg_fail(1)) SWIG_fail
;
39662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39663 wxSizer__setOORInfo(arg1
,arg2
);
39665 wxPyEndAllowThreads(__tstate
);
39666 if (PyErr_Occurred()) SWIG_fail
;
39668 Py_INCREF(Py_None
); resultobj
= Py_None
;
39675 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39676 PyObject
*resultobj
;
39677 wxSizer
*arg1
= (wxSizer
*) 0 ;
39678 PyObject
*arg2
= (PyObject
*) 0 ;
39679 int arg3
= (int) 0 ;
39680 int arg4
= (int) 0 ;
39681 int arg5
= (int) 0 ;
39682 PyObject
*arg6
= (PyObject
*) NULL
;
39683 wxSizerItem
*result
;
39684 PyObject
* obj0
= 0 ;
39685 PyObject
* obj1
= 0 ;
39686 PyObject
* obj2
= 0 ;
39687 PyObject
* obj3
= 0 ;
39688 PyObject
* obj4
= 0 ;
39689 PyObject
* obj5
= 0 ;
39690 char *kwnames
[] = {
39691 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39695 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39696 if (SWIG_arg_fail(1)) SWIG_fail
;
39700 arg3
= (int)(SWIG_As_int(obj2
));
39701 if (SWIG_arg_fail(3)) SWIG_fail
;
39706 arg4
= (int)(SWIG_As_int(obj3
));
39707 if (SWIG_arg_fail(4)) SWIG_fail
;
39712 arg5
= (int)(SWIG_As_int(obj4
));
39713 if (SWIG_arg_fail(5)) SWIG_fail
;
39720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39721 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39723 wxPyEndAllowThreads(__tstate
);
39724 if (PyErr_Occurred()) SWIG_fail
;
39726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39733 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39734 PyObject
*resultobj
;
39735 wxSizer
*arg1
= (wxSizer
*) 0 ;
39737 PyObject
*arg3
= (PyObject
*) 0 ;
39738 int arg4
= (int) 0 ;
39739 int arg5
= (int) 0 ;
39740 int arg6
= (int) 0 ;
39741 PyObject
*arg7
= (PyObject
*) NULL
;
39742 wxSizerItem
*result
;
39743 PyObject
* obj0
= 0 ;
39744 PyObject
* obj1
= 0 ;
39745 PyObject
* obj2
= 0 ;
39746 PyObject
* obj3
= 0 ;
39747 PyObject
* obj4
= 0 ;
39748 PyObject
* obj5
= 0 ;
39749 PyObject
* obj6
= 0 ;
39750 char *kwnames
[] = {
39751 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
39755 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39756 if (SWIG_arg_fail(1)) SWIG_fail
;
39758 arg2
= (int)(SWIG_As_int(obj1
));
39759 if (SWIG_arg_fail(2)) SWIG_fail
;
39764 arg4
= (int)(SWIG_As_int(obj3
));
39765 if (SWIG_arg_fail(4)) SWIG_fail
;
39770 arg5
= (int)(SWIG_As_int(obj4
));
39771 if (SWIG_arg_fail(5)) SWIG_fail
;
39776 arg6
= (int)(SWIG_As_int(obj5
));
39777 if (SWIG_arg_fail(6)) SWIG_fail
;
39784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39785 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
39787 wxPyEndAllowThreads(__tstate
);
39788 if (PyErr_Occurred()) SWIG_fail
;
39790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39797 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39798 PyObject
*resultobj
;
39799 wxSizer
*arg1
= (wxSizer
*) 0 ;
39800 PyObject
*arg2
= (PyObject
*) 0 ;
39801 int arg3
= (int) 0 ;
39802 int arg4
= (int) 0 ;
39803 int arg5
= (int) 0 ;
39804 PyObject
*arg6
= (PyObject
*) NULL
;
39805 wxSizerItem
*result
;
39806 PyObject
* obj0
= 0 ;
39807 PyObject
* obj1
= 0 ;
39808 PyObject
* obj2
= 0 ;
39809 PyObject
* obj3
= 0 ;
39810 PyObject
* obj4
= 0 ;
39811 PyObject
* obj5
= 0 ;
39812 char *kwnames
[] = {
39813 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
39816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39818 if (SWIG_arg_fail(1)) SWIG_fail
;
39822 arg3
= (int)(SWIG_As_int(obj2
));
39823 if (SWIG_arg_fail(3)) SWIG_fail
;
39828 arg4
= (int)(SWIG_As_int(obj3
));
39829 if (SWIG_arg_fail(4)) SWIG_fail
;
39834 arg5
= (int)(SWIG_As_int(obj4
));
39835 if (SWIG_arg_fail(5)) SWIG_fail
;
39842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39843 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
39845 wxPyEndAllowThreads(__tstate
);
39846 if (PyErr_Occurred()) SWIG_fail
;
39848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39855 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39856 PyObject
*resultobj
;
39857 wxSizer
*arg1
= (wxSizer
*) 0 ;
39858 PyObject
*arg2
= (PyObject
*) 0 ;
39860 PyObject
* obj0
= 0 ;
39861 PyObject
* obj1
= 0 ;
39862 char *kwnames
[] = {
39863 (char *) "self",(char *) "item", NULL
39866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
39867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39868 if (SWIG_arg_fail(1)) SWIG_fail
;
39871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39872 result
= (bool)wxSizer_Remove(arg1
,arg2
);
39874 wxPyEndAllowThreads(__tstate
);
39875 if (PyErr_Occurred()) SWIG_fail
;
39878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39886 static PyObject
*_wrap_Sizer_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39887 PyObject
*resultobj
;
39888 wxSizer
*arg1
= (wxSizer
*) 0 ;
39889 PyObject
*arg2
= (PyObject
*) 0 ;
39891 PyObject
* obj0
= 0 ;
39892 PyObject
* obj1
= 0 ;
39893 char *kwnames
[] = {
39894 (char *) "self",(char *) "item", NULL
39897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
39898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39899 if (SWIG_arg_fail(1)) SWIG_fail
;
39902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39903 result
= (bool)wxSizer_Detach(arg1
,arg2
);
39905 wxPyEndAllowThreads(__tstate
);
39906 if (PyErr_Occurred()) SWIG_fail
;
39909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39917 static PyObject
*_wrap_Sizer_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39918 PyObject
*resultobj
;
39919 wxSizer
*arg1
= (wxSizer
*) 0 ;
39920 PyObject
*arg2
= (PyObject
*) 0 ;
39921 wxSizerItem
*result
;
39922 PyObject
* obj0
= 0 ;
39923 PyObject
* obj1
= 0 ;
39924 char *kwnames
[] = {
39925 (char *) "self",(char *) "item", NULL
39928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39930 if (SWIG_arg_fail(1)) SWIG_fail
;
39933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39934 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
39936 wxPyEndAllowThreads(__tstate
);
39937 if (PyErr_Occurred()) SWIG_fail
;
39939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
39946 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39947 PyObject
*resultobj
;
39948 wxSizer
*arg1
= (wxSizer
*) 0 ;
39949 PyObject
*arg2
= (PyObject
*) 0 ;
39952 PyObject
* obj0
= 0 ;
39953 PyObject
* obj1
= 0 ;
39954 PyObject
* obj2
= 0 ;
39955 char *kwnames
[] = {
39956 (char *) "self",(char *) "item",(char *) "size", NULL
39959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39960 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39961 if (SWIG_arg_fail(1)) SWIG_fail
;
39965 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
39968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39969 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
39971 wxPyEndAllowThreads(__tstate
);
39972 if (PyErr_Occurred()) SWIG_fail
;
39974 Py_INCREF(Py_None
); resultobj
= Py_None
;
39981 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39982 PyObject
*resultobj
;
39983 wxSizer
*arg1
= (wxSizer
*) 0 ;
39984 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
39985 wxSizerItem
*result
;
39986 PyObject
* obj0
= 0 ;
39987 PyObject
* obj1
= 0 ;
39988 char *kwnames
[] = {
39989 (char *) "self",(char *) "item", NULL
39992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
39993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
39994 if (SWIG_arg_fail(1)) SWIG_fail
;
39995 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
39996 if (SWIG_arg_fail(2)) SWIG_fail
;
39998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39999 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
40001 wxPyEndAllowThreads(__tstate
);
40002 if (PyErr_Occurred()) SWIG_fail
;
40004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40011 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40012 PyObject
*resultobj
;
40013 wxSizer
*arg1
= (wxSizer
*) 0 ;
40015 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
40016 wxSizerItem
*result
;
40017 PyObject
* obj0
= 0 ;
40018 PyObject
* obj1
= 0 ;
40019 PyObject
* obj2
= 0 ;
40020 char *kwnames
[] = {
40021 (char *) "self",(char *) "index",(char *) "item", NULL
40024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40025 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40026 if (SWIG_arg_fail(1)) SWIG_fail
;
40028 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
40029 if (SWIG_arg_fail(2)) SWIG_fail
;
40031 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40032 if (SWIG_arg_fail(3)) SWIG_fail
;
40034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40035 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
40037 wxPyEndAllowThreads(__tstate
);
40038 if (PyErr_Occurred()) SWIG_fail
;
40040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40047 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40048 PyObject
*resultobj
;
40049 wxSizer
*arg1
= (wxSizer
*) 0 ;
40050 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
40051 wxSizerItem
*result
;
40052 PyObject
* obj0
= 0 ;
40053 PyObject
* obj1
= 0 ;
40054 char *kwnames
[] = {
40055 (char *) "self",(char *) "item", NULL
40058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
40059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40060 if (SWIG_arg_fail(1)) SWIG_fail
;
40061 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
40062 if (SWIG_arg_fail(2)) SWIG_fail
;
40064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40065 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
40067 wxPyEndAllowThreads(__tstate
);
40068 if (PyErr_Occurred()) SWIG_fail
;
40070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 0);
40077 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40078 PyObject
*resultobj
;
40079 wxSizer
*arg1
= (wxSizer
*) 0 ;
40084 PyObject
* obj0
= 0 ;
40085 PyObject
* obj1
= 0 ;
40086 PyObject
* obj2
= 0 ;
40087 PyObject
* obj3
= 0 ;
40088 PyObject
* obj4
= 0 ;
40089 char *kwnames
[] = {
40090 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
40093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
40094 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40095 if (SWIG_arg_fail(1)) SWIG_fail
;
40097 arg2
= (int)(SWIG_As_int(obj1
));
40098 if (SWIG_arg_fail(2)) SWIG_fail
;
40101 arg3
= (int)(SWIG_As_int(obj2
));
40102 if (SWIG_arg_fail(3)) SWIG_fail
;
40105 arg4
= (int)(SWIG_As_int(obj3
));
40106 if (SWIG_arg_fail(4)) SWIG_fail
;
40109 arg5
= (int)(SWIG_As_int(obj4
));
40110 if (SWIG_arg_fail(5)) SWIG_fail
;
40113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40114 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
40116 wxPyEndAllowThreads(__tstate
);
40117 if (PyErr_Occurred()) SWIG_fail
;
40119 Py_INCREF(Py_None
); resultobj
= Py_None
;
40126 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40127 PyObject
*resultobj
;
40128 wxSizer
*arg1
= (wxSizer
*) 0 ;
40131 PyObject
* obj0
= 0 ;
40132 PyObject
* obj1
= 0 ;
40133 char *kwnames
[] = {
40134 (char *) "self",(char *) "size", NULL
40137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
40138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40139 if (SWIG_arg_fail(1)) SWIG_fail
;
40142 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
40145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40146 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
40148 wxPyEndAllowThreads(__tstate
);
40149 if (PyErr_Occurred()) SWIG_fail
;
40151 Py_INCREF(Py_None
); resultobj
= Py_None
;
40158 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40159 PyObject
*resultobj
;
40160 wxSizer
*arg1
= (wxSizer
*) 0 ;
40162 PyObject
* obj0
= 0 ;
40163 char *kwnames
[] = {
40164 (char *) "self", NULL
40167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
40168 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40169 if (SWIG_arg_fail(1)) SWIG_fail
;
40171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40172 result
= (arg1
)->GetSize();
40174 wxPyEndAllowThreads(__tstate
);
40175 if (PyErr_Occurred()) SWIG_fail
;
40178 wxSize
* resultptr
;
40179 resultptr
= new wxSize((wxSize
&)(result
));
40180 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40188 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40189 PyObject
*resultobj
;
40190 wxSizer
*arg1
= (wxSizer
*) 0 ;
40192 PyObject
* obj0
= 0 ;
40193 char *kwnames
[] = {
40194 (char *) "self", NULL
40197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
40198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40199 if (SWIG_arg_fail(1)) SWIG_fail
;
40201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40202 result
= (arg1
)->GetPosition();
40204 wxPyEndAllowThreads(__tstate
);
40205 if (PyErr_Occurred()) SWIG_fail
;
40208 wxPoint
* resultptr
;
40209 resultptr
= new wxPoint((wxPoint
&)(result
));
40210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
40218 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40219 PyObject
*resultobj
;
40220 wxSizer
*arg1
= (wxSizer
*) 0 ;
40222 PyObject
* obj0
= 0 ;
40223 char *kwnames
[] = {
40224 (char *) "self", NULL
40227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
40228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40229 if (SWIG_arg_fail(1)) SWIG_fail
;
40231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40232 result
= (arg1
)->GetMinSize();
40234 wxPyEndAllowThreads(__tstate
);
40235 if (PyErr_Occurred()) SWIG_fail
;
40238 wxSize
* resultptr
;
40239 resultptr
= new wxSize((wxSize
&)(result
));
40240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40248 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40249 PyObject
*resultobj
;
40250 wxSizer
*arg1
= (wxSizer
*) 0 ;
40251 PyObject
* obj0
= 0 ;
40252 char *kwnames
[] = {
40253 (char *) "self", NULL
40256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
40257 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40258 if (SWIG_arg_fail(1)) SWIG_fail
;
40260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40261 (arg1
)->RecalcSizes();
40263 wxPyEndAllowThreads(__tstate
);
40264 if (PyErr_Occurred()) SWIG_fail
;
40266 Py_INCREF(Py_None
); resultobj
= Py_None
;
40273 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40274 PyObject
*resultobj
;
40275 wxSizer
*arg1
= (wxSizer
*) 0 ;
40277 PyObject
* obj0
= 0 ;
40278 char *kwnames
[] = {
40279 (char *) "self", NULL
40282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
40283 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40284 if (SWIG_arg_fail(1)) SWIG_fail
;
40286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40287 result
= (arg1
)->CalcMin();
40289 wxPyEndAllowThreads(__tstate
);
40290 if (PyErr_Occurred()) SWIG_fail
;
40293 wxSize
* resultptr
;
40294 resultptr
= new wxSize((wxSize
&)(result
));
40295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40303 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40304 PyObject
*resultobj
;
40305 wxSizer
*arg1
= (wxSizer
*) 0 ;
40306 PyObject
* obj0
= 0 ;
40307 char *kwnames
[] = {
40308 (char *) "self", NULL
40311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
40312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40313 if (SWIG_arg_fail(1)) SWIG_fail
;
40315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40318 wxPyEndAllowThreads(__tstate
);
40319 if (PyErr_Occurred()) SWIG_fail
;
40321 Py_INCREF(Py_None
); resultobj
= Py_None
;
40328 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40329 PyObject
*resultobj
;
40330 wxSizer
*arg1
= (wxSizer
*) 0 ;
40331 wxWindow
*arg2
= (wxWindow
*) 0 ;
40333 PyObject
* obj0
= 0 ;
40334 PyObject
* obj1
= 0 ;
40335 char *kwnames
[] = {
40336 (char *) "self",(char *) "window", NULL
40339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
40340 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40341 if (SWIG_arg_fail(1)) SWIG_fail
;
40342 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40343 if (SWIG_arg_fail(2)) SWIG_fail
;
40345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40346 result
= (arg1
)->Fit(arg2
);
40348 wxPyEndAllowThreads(__tstate
);
40349 if (PyErr_Occurred()) SWIG_fail
;
40352 wxSize
* resultptr
;
40353 resultptr
= new wxSize((wxSize
&)(result
));
40354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
40362 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40363 PyObject
*resultobj
;
40364 wxSizer
*arg1
= (wxSizer
*) 0 ;
40365 wxWindow
*arg2
= (wxWindow
*) 0 ;
40366 PyObject
* obj0
= 0 ;
40367 PyObject
* obj1
= 0 ;
40368 char *kwnames
[] = {
40369 (char *) "self",(char *) "window", NULL
40372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
40373 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40374 if (SWIG_arg_fail(1)) SWIG_fail
;
40375 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40376 if (SWIG_arg_fail(2)) SWIG_fail
;
40378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40379 (arg1
)->FitInside(arg2
);
40381 wxPyEndAllowThreads(__tstate
);
40382 if (PyErr_Occurred()) SWIG_fail
;
40384 Py_INCREF(Py_None
); resultobj
= Py_None
;
40391 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40392 PyObject
*resultobj
;
40393 wxSizer
*arg1
= (wxSizer
*) 0 ;
40394 wxWindow
*arg2
= (wxWindow
*) 0 ;
40395 PyObject
* obj0
= 0 ;
40396 PyObject
* obj1
= 0 ;
40397 char *kwnames
[] = {
40398 (char *) "self",(char *) "window", NULL
40401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40403 if (SWIG_arg_fail(1)) SWIG_fail
;
40404 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40405 if (SWIG_arg_fail(2)) SWIG_fail
;
40407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40408 (arg1
)->SetSizeHints(arg2
);
40410 wxPyEndAllowThreads(__tstate
);
40411 if (PyErr_Occurred()) SWIG_fail
;
40413 Py_INCREF(Py_None
); resultobj
= Py_None
;
40420 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40421 PyObject
*resultobj
;
40422 wxSizer
*arg1
= (wxSizer
*) 0 ;
40423 wxWindow
*arg2
= (wxWindow
*) 0 ;
40424 PyObject
* obj0
= 0 ;
40425 PyObject
* obj1
= 0 ;
40426 char *kwnames
[] = {
40427 (char *) "self",(char *) "window", NULL
40430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
40431 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40432 if (SWIG_arg_fail(1)) SWIG_fail
;
40433 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
40434 if (SWIG_arg_fail(2)) SWIG_fail
;
40436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40437 (arg1
)->SetVirtualSizeHints(arg2
);
40439 wxPyEndAllowThreads(__tstate
);
40440 if (PyErr_Occurred()) SWIG_fail
;
40442 Py_INCREF(Py_None
); resultobj
= Py_None
;
40449 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40450 PyObject
*resultobj
;
40451 wxSizer
*arg1
= (wxSizer
*) 0 ;
40452 bool arg2
= (bool) false ;
40453 PyObject
* obj0
= 0 ;
40454 PyObject
* obj1
= 0 ;
40455 char *kwnames
[] = {
40456 (char *) "self",(char *) "deleteWindows", NULL
40459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
40460 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40461 if (SWIG_arg_fail(1)) SWIG_fail
;
40464 arg2
= (bool)(SWIG_As_bool(obj1
));
40465 if (SWIG_arg_fail(2)) SWIG_fail
;
40469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40470 (arg1
)->Clear(arg2
);
40472 wxPyEndAllowThreads(__tstate
);
40473 if (PyErr_Occurred()) SWIG_fail
;
40475 Py_INCREF(Py_None
); resultobj
= Py_None
;
40482 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40483 PyObject
*resultobj
;
40484 wxSizer
*arg1
= (wxSizer
*) 0 ;
40485 PyObject
* obj0
= 0 ;
40486 char *kwnames
[] = {
40487 (char *) "self", NULL
40490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
40491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40492 if (SWIG_arg_fail(1)) SWIG_fail
;
40494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40495 (arg1
)->DeleteWindows();
40497 wxPyEndAllowThreads(__tstate
);
40498 if (PyErr_Occurred()) SWIG_fail
;
40500 Py_INCREF(Py_None
); resultobj
= Py_None
;
40507 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40508 PyObject
*resultobj
;
40509 wxSizer
*arg1
= (wxSizer
*) 0 ;
40511 PyObject
* obj0
= 0 ;
40512 char *kwnames
[] = {
40513 (char *) "self", NULL
40516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
40517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40518 if (SWIG_arg_fail(1)) SWIG_fail
;
40520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40521 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
40523 wxPyEndAllowThreads(__tstate
);
40524 if (PyErr_Occurred()) SWIG_fail
;
40526 resultobj
= result
;
40533 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40534 PyObject
*resultobj
;
40535 wxSizer
*arg1
= (wxSizer
*) 0 ;
40536 PyObject
*arg2
= (PyObject
*) 0 ;
40537 bool arg3
= (bool) true ;
40538 bool arg4
= (bool) false ;
40540 PyObject
* obj0
= 0 ;
40541 PyObject
* obj1
= 0 ;
40542 PyObject
* obj2
= 0 ;
40543 PyObject
* obj3
= 0 ;
40544 char *kwnames
[] = {
40545 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
40548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40549 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40550 if (SWIG_arg_fail(1)) SWIG_fail
;
40554 arg3
= (bool)(SWIG_As_bool(obj2
));
40555 if (SWIG_arg_fail(3)) SWIG_fail
;
40560 arg4
= (bool)(SWIG_As_bool(obj3
));
40561 if (SWIG_arg_fail(4)) SWIG_fail
;
40565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40566 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
40568 wxPyEndAllowThreads(__tstate
);
40569 if (PyErr_Occurred()) SWIG_fail
;
40572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40580 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40581 PyObject
*resultobj
;
40582 wxSizer
*arg1
= (wxSizer
*) 0 ;
40583 PyObject
*arg2
= (PyObject
*) 0 ;
40585 PyObject
* obj0
= 0 ;
40586 PyObject
* obj1
= 0 ;
40587 char *kwnames
[] = {
40588 (char *) "self",(char *) "item", NULL
40591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
40592 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40593 if (SWIG_arg_fail(1)) SWIG_fail
;
40596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40597 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
40599 wxPyEndAllowThreads(__tstate
);
40600 if (PyErr_Occurred()) SWIG_fail
;
40603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40611 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40612 PyObject
*resultobj
;
40613 wxSizer
*arg1
= (wxSizer
*) 0 ;
40615 PyObject
* obj0
= 0 ;
40616 PyObject
* obj1
= 0 ;
40617 char *kwnames
[] = {
40618 (char *) "self",(char *) "show", NULL
40621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
40622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40623 if (SWIG_arg_fail(1)) SWIG_fail
;
40625 arg2
= (bool)(SWIG_As_bool(obj1
));
40626 if (SWIG_arg_fail(2)) SWIG_fail
;
40629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40630 (arg1
)->ShowItems(arg2
);
40632 wxPyEndAllowThreads(__tstate
);
40633 if (PyErr_Occurred()) SWIG_fail
;
40635 Py_INCREF(Py_None
); resultobj
= Py_None
;
40642 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
40644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40645 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
40647 return Py_BuildValue((char *)"");
40649 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40650 PyObject
*resultobj
;
40652 char *kwnames
[] = {
40656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
40658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40659 result
= (wxPySizer
*)new wxPySizer();
40661 wxPyEndAllowThreads(__tstate
);
40662 if (PyErr_Occurred()) SWIG_fail
;
40664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
40671 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40672 PyObject
*resultobj
;
40673 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
40674 PyObject
*arg2
= (PyObject
*) 0 ;
40675 PyObject
*arg3
= (PyObject
*) 0 ;
40676 PyObject
* obj0
= 0 ;
40677 PyObject
* obj1
= 0 ;
40678 PyObject
* obj2
= 0 ;
40679 char *kwnames
[] = {
40680 (char *) "self",(char *) "self",(char *) "_class", NULL
40683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPySizer
, SWIG_POINTER_EXCEPTION
| 0);
40685 if (SWIG_arg_fail(1)) SWIG_fail
;
40689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40690 (arg1
)->_setCallbackInfo(arg2
,arg3
);
40692 wxPyEndAllowThreads(__tstate
);
40693 if (PyErr_Occurred()) SWIG_fail
;
40695 Py_INCREF(Py_None
); resultobj
= Py_None
;
40702 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
40704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40705 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
40707 return Py_BuildValue((char *)"");
40709 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40710 PyObject
*resultobj
;
40711 int arg1
= (int) wxHORIZONTAL
;
40712 wxBoxSizer
*result
;
40713 PyObject
* obj0
= 0 ;
40714 char *kwnames
[] = {
40715 (char *) "orient", NULL
40718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
40721 arg1
= (int)(SWIG_As_int(obj0
));
40722 if (SWIG_arg_fail(1)) SWIG_fail
;
40726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40727 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
40729 wxPyEndAllowThreads(__tstate
);
40730 if (PyErr_Occurred()) SWIG_fail
;
40732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
40739 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40740 PyObject
*resultobj
;
40741 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40743 PyObject
* obj0
= 0 ;
40744 char *kwnames
[] = {
40745 (char *) "self", NULL
40748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
40749 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40750 if (SWIG_arg_fail(1)) SWIG_fail
;
40752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40753 result
= (int)(arg1
)->GetOrientation();
40755 wxPyEndAllowThreads(__tstate
);
40756 if (PyErr_Occurred()) SWIG_fail
;
40759 resultobj
= SWIG_From_int((int)(result
));
40767 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40768 PyObject
*resultobj
;
40769 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
40771 PyObject
* obj0
= 0 ;
40772 PyObject
* obj1
= 0 ;
40773 char *kwnames
[] = {
40774 (char *) "self",(char *) "orient", NULL
40777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
40778 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40779 if (SWIG_arg_fail(1)) SWIG_fail
;
40781 arg2
= (int)(SWIG_As_int(obj1
));
40782 if (SWIG_arg_fail(2)) SWIG_fail
;
40785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40786 (arg1
)->SetOrientation(arg2
);
40788 wxPyEndAllowThreads(__tstate
);
40789 if (PyErr_Occurred()) SWIG_fail
;
40791 Py_INCREF(Py_None
); resultobj
= Py_None
;
40798 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40801 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
40803 return Py_BuildValue((char *)"");
40805 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40806 PyObject
*resultobj
;
40807 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
40808 int arg2
= (int) wxHORIZONTAL
;
40809 wxStaticBoxSizer
*result
;
40810 PyObject
* obj0
= 0 ;
40811 PyObject
* obj1
= 0 ;
40812 char *kwnames
[] = {
40813 (char *) "box",(char *) "orient", NULL
40816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
40817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_EXCEPTION
| 0);
40818 if (SWIG_arg_fail(1)) SWIG_fail
;
40821 arg2
= (int)(SWIG_As_int(obj1
));
40822 if (SWIG_arg_fail(2)) SWIG_fail
;
40826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40827 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
40829 wxPyEndAllowThreads(__tstate
);
40830 if (PyErr_Occurred()) SWIG_fail
;
40832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
40839 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40840 PyObject
*resultobj
;
40841 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
40842 wxStaticBox
*result
;
40843 PyObject
* obj0
= 0 ;
40844 char *kwnames
[] = {
40845 (char *) "self", NULL
40848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
40849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_EXCEPTION
| 0);
40850 if (SWIG_arg_fail(1)) SWIG_fail
;
40852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40853 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
40855 wxPyEndAllowThreads(__tstate
);
40856 if (PyErr_Occurred()) SWIG_fail
;
40859 resultobj
= wxPyMake_wxObject(result
, 0);
40867 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
40869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40870 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
40872 return Py_BuildValue((char *)"");
40874 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40875 PyObject
*resultobj
;
40876 int arg1
= (int) 1 ;
40877 int arg2
= (int) 0 ;
40878 int arg3
= (int) 0 ;
40879 int arg4
= (int) 0 ;
40880 wxGridSizer
*result
;
40881 PyObject
* obj0
= 0 ;
40882 PyObject
* obj1
= 0 ;
40883 PyObject
* obj2
= 0 ;
40884 PyObject
* obj3
= 0 ;
40885 char *kwnames
[] = {
40886 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
40889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40892 arg1
= (int)(SWIG_As_int(obj0
));
40893 if (SWIG_arg_fail(1)) SWIG_fail
;
40898 arg2
= (int)(SWIG_As_int(obj1
));
40899 if (SWIG_arg_fail(2)) SWIG_fail
;
40904 arg3
= (int)(SWIG_As_int(obj2
));
40905 if (SWIG_arg_fail(3)) SWIG_fail
;
40910 arg4
= (int)(SWIG_As_int(obj3
));
40911 if (SWIG_arg_fail(4)) SWIG_fail
;
40915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40916 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
40918 wxPyEndAllowThreads(__tstate
);
40919 if (PyErr_Occurred()) SWIG_fail
;
40921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
40928 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40929 PyObject
*resultobj
;
40930 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40932 PyObject
* obj0
= 0 ;
40933 PyObject
* obj1
= 0 ;
40934 char *kwnames
[] = {
40935 (char *) "self",(char *) "cols", NULL
40938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
40939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40940 if (SWIG_arg_fail(1)) SWIG_fail
;
40942 arg2
= (int)(SWIG_As_int(obj1
));
40943 if (SWIG_arg_fail(2)) SWIG_fail
;
40946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40947 (arg1
)->SetCols(arg2
);
40949 wxPyEndAllowThreads(__tstate
);
40950 if (PyErr_Occurred()) SWIG_fail
;
40952 Py_INCREF(Py_None
); resultobj
= Py_None
;
40959 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40960 PyObject
*resultobj
;
40961 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40963 PyObject
* obj0
= 0 ;
40964 PyObject
* obj1
= 0 ;
40965 char *kwnames
[] = {
40966 (char *) "self",(char *) "rows", NULL
40969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
40970 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
40971 if (SWIG_arg_fail(1)) SWIG_fail
;
40973 arg2
= (int)(SWIG_As_int(obj1
));
40974 if (SWIG_arg_fail(2)) SWIG_fail
;
40977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40978 (arg1
)->SetRows(arg2
);
40980 wxPyEndAllowThreads(__tstate
);
40981 if (PyErr_Occurred()) SWIG_fail
;
40983 Py_INCREF(Py_None
); resultobj
= Py_None
;
40990 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
40991 PyObject
*resultobj
;
40992 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
40994 PyObject
* obj0
= 0 ;
40995 PyObject
* obj1
= 0 ;
40996 char *kwnames
[] = {
40997 (char *) "self",(char *) "gap", NULL
41000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41001 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41002 if (SWIG_arg_fail(1)) SWIG_fail
;
41004 arg2
= (int)(SWIG_As_int(obj1
));
41005 if (SWIG_arg_fail(2)) SWIG_fail
;
41008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41009 (arg1
)->SetVGap(arg2
);
41011 wxPyEndAllowThreads(__tstate
);
41012 if (PyErr_Occurred()) SWIG_fail
;
41014 Py_INCREF(Py_None
); resultobj
= Py_None
;
41021 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41022 PyObject
*resultobj
;
41023 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41025 PyObject
* obj0
= 0 ;
41026 PyObject
* obj1
= 0 ;
41027 char *kwnames
[] = {
41028 (char *) "self",(char *) "gap", NULL
41031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
41032 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41033 if (SWIG_arg_fail(1)) SWIG_fail
;
41035 arg2
= (int)(SWIG_As_int(obj1
));
41036 if (SWIG_arg_fail(2)) SWIG_fail
;
41039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41040 (arg1
)->SetHGap(arg2
);
41042 wxPyEndAllowThreads(__tstate
);
41043 if (PyErr_Occurred()) SWIG_fail
;
41045 Py_INCREF(Py_None
); resultobj
= Py_None
;
41052 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41053 PyObject
*resultobj
;
41054 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41056 PyObject
* obj0
= 0 ;
41057 char *kwnames
[] = {
41058 (char *) "self", NULL
41061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
41062 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41063 if (SWIG_arg_fail(1)) SWIG_fail
;
41065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41066 result
= (int)(arg1
)->GetCols();
41068 wxPyEndAllowThreads(__tstate
);
41069 if (PyErr_Occurred()) SWIG_fail
;
41072 resultobj
= SWIG_From_int((int)(result
));
41080 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41081 PyObject
*resultobj
;
41082 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41084 PyObject
* obj0
= 0 ;
41085 char *kwnames
[] = {
41086 (char *) "self", NULL
41089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
41090 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41091 if (SWIG_arg_fail(1)) SWIG_fail
;
41093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41094 result
= (int)(arg1
)->GetRows();
41096 wxPyEndAllowThreads(__tstate
);
41097 if (PyErr_Occurred()) SWIG_fail
;
41100 resultobj
= SWIG_From_int((int)(result
));
41108 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41109 PyObject
*resultobj
;
41110 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41112 PyObject
* obj0
= 0 ;
41113 char *kwnames
[] = {
41114 (char *) "self", NULL
41117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
41118 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41119 if (SWIG_arg_fail(1)) SWIG_fail
;
41121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41122 result
= (int)(arg1
)->GetVGap();
41124 wxPyEndAllowThreads(__tstate
);
41125 if (PyErr_Occurred()) SWIG_fail
;
41128 resultobj
= SWIG_From_int((int)(result
));
41136 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41137 PyObject
*resultobj
;
41138 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
41140 PyObject
* obj0
= 0 ;
41141 char *kwnames
[] = {
41142 (char *) "self", NULL
41145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
41146 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41147 if (SWIG_arg_fail(1)) SWIG_fail
;
41149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41150 result
= (int)(arg1
)->GetHGap();
41152 wxPyEndAllowThreads(__tstate
);
41153 if (PyErr_Occurred()) SWIG_fail
;
41156 resultobj
= SWIG_From_int((int)(result
));
41164 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
41166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41167 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
41169 return Py_BuildValue((char *)"");
41171 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41172 PyObject
*resultobj
;
41173 int arg1
= (int) 1 ;
41174 int arg2
= (int) 0 ;
41175 int arg3
= (int) 0 ;
41176 int arg4
= (int) 0 ;
41177 wxFlexGridSizer
*result
;
41178 PyObject
* obj0
= 0 ;
41179 PyObject
* obj1
= 0 ;
41180 PyObject
* obj2
= 0 ;
41181 PyObject
* obj3
= 0 ;
41182 char *kwnames
[] = {
41183 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
41186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
41189 arg1
= (int)(SWIG_As_int(obj0
));
41190 if (SWIG_arg_fail(1)) SWIG_fail
;
41195 arg2
= (int)(SWIG_As_int(obj1
));
41196 if (SWIG_arg_fail(2)) SWIG_fail
;
41201 arg3
= (int)(SWIG_As_int(obj2
));
41202 if (SWIG_arg_fail(3)) SWIG_fail
;
41207 arg4
= (int)(SWIG_As_int(obj3
));
41208 if (SWIG_arg_fail(4)) SWIG_fail
;
41212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41213 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
41215 wxPyEndAllowThreads(__tstate
);
41216 if (PyErr_Occurred()) SWIG_fail
;
41218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
41225 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41226 PyObject
*resultobj
;
41227 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41229 int arg3
= (int) 0 ;
41230 PyObject
* obj0
= 0 ;
41231 PyObject
* obj1
= 0 ;
41232 PyObject
* obj2
= 0 ;
41233 char *kwnames
[] = {
41234 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41239 if (SWIG_arg_fail(1)) SWIG_fail
;
41241 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41242 if (SWIG_arg_fail(2)) SWIG_fail
;
41246 arg3
= (int)(SWIG_As_int(obj2
));
41247 if (SWIG_arg_fail(3)) SWIG_fail
;
41251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41252 (arg1
)->AddGrowableRow(arg2
,arg3
);
41254 wxPyEndAllowThreads(__tstate
);
41255 if (PyErr_Occurred()) SWIG_fail
;
41257 Py_INCREF(Py_None
); resultobj
= Py_None
;
41264 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41265 PyObject
*resultobj
;
41266 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41268 PyObject
* obj0
= 0 ;
41269 PyObject
* obj1
= 0 ;
41270 char *kwnames
[] = {
41271 (char *) "self",(char *) "idx", NULL
41274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41275 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41276 if (SWIG_arg_fail(1)) SWIG_fail
;
41278 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41279 if (SWIG_arg_fail(2)) SWIG_fail
;
41282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41283 (arg1
)->RemoveGrowableRow(arg2
);
41285 wxPyEndAllowThreads(__tstate
);
41286 if (PyErr_Occurred()) SWIG_fail
;
41288 Py_INCREF(Py_None
); resultobj
= Py_None
;
41295 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41296 PyObject
*resultobj
;
41297 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41299 int arg3
= (int) 0 ;
41300 PyObject
* obj0
= 0 ;
41301 PyObject
* obj1
= 0 ;
41302 PyObject
* obj2
= 0 ;
41303 char *kwnames
[] = {
41304 (char *) "self",(char *) "idx",(char *) "proportion", NULL
41307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
41308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41309 if (SWIG_arg_fail(1)) SWIG_fail
;
41311 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41312 if (SWIG_arg_fail(2)) SWIG_fail
;
41316 arg3
= (int)(SWIG_As_int(obj2
));
41317 if (SWIG_arg_fail(3)) SWIG_fail
;
41321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41322 (arg1
)->AddGrowableCol(arg2
,arg3
);
41324 wxPyEndAllowThreads(__tstate
);
41325 if (PyErr_Occurred()) SWIG_fail
;
41327 Py_INCREF(Py_None
); resultobj
= Py_None
;
41334 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41335 PyObject
*resultobj
;
41336 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41338 PyObject
* obj0
= 0 ;
41339 PyObject
* obj1
= 0 ;
41340 char *kwnames
[] = {
41341 (char *) "self",(char *) "idx", NULL
41344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
41345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41346 if (SWIG_arg_fail(1)) SWIG_fail
;
41348 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
41349 if (SWIG_arg_fail(2)) SWIG_fail
;
41352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41353 (arg1
)->RemoveGrowableCol(arg2
);
41355 wxPyEndAllowThreads(__tstate
);
41356 if (PyErr_Occurred()) SWIG_fail
;
41358 Py_INCREF(Py_None
); resultobj
= Py_None
;
41365 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41366 PyObject
*resultobj
;
41367 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41369 PyObject
* obj0
= 0 ;
41370 PyObject
* obj1
= 0 ;
41371 char *kwnames
[] = {
41372 (char *) "self",(char *) "direction", NULL
41375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
41376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41377 if (SWIG_arg_fail(1)) SWIG_fail
;
41379 arg2
= (int)(SWIG_As_int(obj1
));
41380 if (SWIG_arg_fail(2)) SWIG_fail
;
41383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41384 (arg1
)->SetFlexibleDirection(arg2
);
41386 wxPyEndAllowThreads(__tstate
);
41387 if (PyErr_Occurred()) SWIG_fail
;
41389 Py_INCREF(Py_None
); resultobj
= Py_None
;
41396 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41397 PyObject
*resultobj
;
41398 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41400 PyObject
* obj0
= 0 ;
41401 char *kwnames
[] = {
41402 (char *) "self", NULL
41405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
41406 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41407 if (SWIG_arg_fail(1)) SWIG_fail
;
41409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41410 result
= (int)(arg1
)->GetFlexibleDirection();
41412 wxPyEndAllowThreads(__tstate
);
41413 if (PyErr_Occurred()) SWIG_fail
;
41416 resultobj
= SWIG_From_int((int)(result
));
41424 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41425 PyObject
*resultobj
;
41426 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41427 wxFlexSizerGrowMode arg2
;
41428 PyObject
* obj0
= 0 ;
41429 PyObject
* obj1
= 0 ;
41430 char *kwnames
[] = {
41431 (char *) "self",(char *) "mode", NULL
41434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
41435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41436 if (SWIG_arg_fail(1)) SWIG_fail
;
41438 arg2
= (wxFlexSizerGrowMode
)(SWIG_As_int(obj1
));
41439 if (SWIG_arg_fail(2)) SWIG_fail
;
41442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41443 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
41445 wxPyEndAllowThreads(__tstate
);
41446 if (PyErr_Occurred()) SWIG_fail
;
41448 Py_INCREF(Py_None
); resultobj
= Py_None
;
41455 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41456 PyObject
*resultobj
;
41457 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41458 wxFlexSizerGrowMode result
;
41459 PyObject
* obj0
= 0 ;
41460 char *kwnames
[] = {
41461 (char *) "self", NULL
41464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
41465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41466 if (SWIG_arg_fail(1)) SWIG_fail
;
41468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41469 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
41471 wxPyEndAllowThreads(__tstate
);
41472 if (PyErr_Occurred()) SWIG_fail
;
41474 resultobj
= SWIG_From_int((result
));
41481 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41482 PyObject
*resultobj
;
41483 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41484 wxArrayInt
*result
;
41485 PyObject
* obj0
= 0 ;
41486 char *kwnames
[] = {
41487 (char *) "self", NULL
41490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
41491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41492 if (SWIG_arg_fail(1)) SWIG_fail
;
41494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41496 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
41497 result
= (wxArrayInt
*) &_result_ref
;
41500 wxPyEndAllowThreads(__tstate
);
41501 if (PyErr_Occurred()) SWIG_fail
;
41504 resultobj
= PyList_New(0);
41506 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41507 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41508 PyList_Append(resultobj
, val
);
41518 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41519 PyObject
*resultobj
;
41520 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
41521 wxArrayInt
*result
;
41522 PyObject
* obj0
= 0 ;
41523 char *kwnames
[] = {
41524 (char *) "self", NULL
41527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
41528 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_EXCEPTION
| 0);
41529 if (SWIG_arg_fail(1)) SWIG_fail
;
41531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41533 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
41534 result
= (wxArrayInt
*) &_result_ref
;
41537 wxPyEndAllowThreads(__tstate
);
41538 if (PyErr_Occurred()) SWIG_fail
;
41541 resultobj
= PyList_New(0);
41543 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
41544 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
41545 PyList_Append(resultobj
, val
);
41555 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
41557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41558 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
41560 return Py_BuildValue((char *)"");
41562 static PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41563 PyObject
*resultobj
;
41564 wxStdDialogButtonSizer
*result
;
41565 char *kwnames
[] = {
41569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StdDialogButtonSizer",kwnames
)) goto fail
;
41571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41572 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
41574 wxPyEndAllowThreads(__tstate
);
41575 if (PyErr_Occurred()) SWIG_fail
;
41577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 1);
41584 static PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41585 PyObject
*resultobj
;
41586 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41587 wxButton
*arg2
= (wxButton
*) 0 ;
41588 PyObject
* obj0
= 0 ;
41589 PyObject
* obj1
= 0 ;
41590 char *kwnames
[] = {
41591 (char *) "self",(char *) "button", NULL
41594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41596 if (SWIG_arg_fail(1)) SWIG_fail
;
41597 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41598 if (SWIG_arg_fail(2)) SWIG_fail
;
41600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41601 (arg1
)->AddButton(arg2
);
41603 wxPyEndAllowThreads(__tstate
);
41604 if (PyErr_Occurred()) SWIG_fail
;
41606 Py_INCREF(Py_None
); resultobj
= Py_None
;
41613 static PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41614 PyObject
*resultobj
;
41615 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41616 PyObject
* obj0
= 0 ;
41617 char *kwnames
[] = {
41618 (char *) "self", NULL
41621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_Realize",kwnames
,&obj0
)) goto fail
;
41622 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41623 if (SWIG_arg_fail(1)) SWIG_fail
;
41625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41628 wxPyEndAllowThreads(__tstate
);
41629 if (PyErr_Occurred()) SWIG_fail
;
41631 Py_INCREF(Py_None
); resultobj
= Py_None
;
41638 static PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41639 PyObject
*resultobj
;
41640 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41641 wxButton
*arg2
= (wxButton
*) 0 ;
41642 PyObject
* obj0
= 0 ;
41643 PyObject
* obj1
= 0 ;
41644 char *kwnames
[] = {
41645 (char *) "self",(char *) "button", NULL
41648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41650 if (SWIG_arg_fail(1)) SWIG_fail
;
41651 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41652 if (SWIG_arg_fail(2)) SWIG_fail
;
41654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41655 (arg1
)->SetAffirmativeButton(arg2
);
41657 wxPyEndAllowThreads(__tstate
);
41658 if (PyErr_Occurred()) SWIG_fail
;
41660 Py_INCREF(Py_None
); resultobj
= Py_None
;
41667 static PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41668 PyObject
*resultobj
;
41669 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41670 wxButton
*arg2
= (wxButton
*) 0 ;
41671 PyObject
* obj0
= 0 ;
41672 PyObject
* obj1
= 0 ;
41673 char *kwnames
[] = {
41674 (char *) "self",(char *) "button", NULL
41677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41678 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41679 if (SWIG_arg_fail(1)) SWIG_fail
;
41680 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41681 if (SWIG_arg_fail(2)) SWIG_fail
;
41683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41684 (arg1
)->SetNegativeButton(arg2
);
41686 wxPyEndAllowThreads(__tstate
);
41687 if (PyErr_Occurred()) SWIG_fail
;
41689 Py_INCREF(Py_None
); resultobj
= Py_None
;
41696 static PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41697 PyObject
*resultobj
;
41698 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41699 wxButton
*arg2
= (wxButton
*) 0 ;
41700 PyObject
* obj0
= 0 ;
41701 PyObject
* obj1
= 0 ;
41702 char *kwnames
[] = {
41703 (char *) "self",(char *) "button", NULL
41706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) goto fail
;
41707 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41708 if (SWIG_arg_fail(1)) SWIG_fail
;
41709 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxButton
, SWIG_POINTER_EXCEPTION
| 0);
41710 if (SWIG_arg_fail(2)) SWIG_fail
;
41712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41713 (arg1
)->SetCancelButton(arg2
);
41715 wxPyEndAllowThreads(__tstate
);
41716 if (PyErr_Occurred()) SWIG_fail
;
41718 Py_INCREF(Py_None
); resultobj
= Py_None
;
41725 static PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41726 PyObject
*resultobj
;
41727 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41729 PyObject
* obj0
= 0 ;
41730 char *kwnames
[] = {
41731 (char *) "self", NULL
41734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetAffirmativeButton",kwnames
,&obj0
)) goto fail
;
41735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41736 if (SWIG_arg_fail(1)) SWIG_fail
;
41738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41739 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
41741 wxPyEndAllowThreads(__tstate
);
41742 if (PyErr_Occurred()) SWIG_fail
;
41745 resultobj
= wxPyMake_wxObject(result
, 0);
41753 static PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41754 PyObject
*resultobj
;
41755 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41757 PyObject
* obj0
= 0 ;
41758 char *kwnames
[] = {
41759 (char *) "self", NULL
41762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetApplyButton",kwnames
,&obj0
)) goto fail
;
41763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41764 if (SWIG_arg_fail(1)) SWIG_fail
;
41766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41767 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
41769 wxPyEndAllowThreads(__tstate
);
41770 if (PyErr_Occurred()) SWIG_fail
;
41773 resultobj
= wxPyMake_wxObject(result
, 0);
41781 static PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41782 PyObject
*resultobj
;
41783 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41785 PyObject
* obj0
= 0 ;
41786 char *kwnames
[] = {
41787 (char *) "self", NULL
41790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetNegativeButton",kwnames
,&obj0
)) goto fail
;
41791 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41792 if (SWIG_arg_fail(1)) SWIG_fail
;
41794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41795 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
41797 wxPyEndAllowThreads(__tstate
);
41798 if (PyErr_Occurred()) SWIG_fail
;
41801 resultobj
= wxPyMake_wxObject(result
, 0);
41809 static PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41810 PyObject
*resultobj
;
41811 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41813 PyObject
* obj0
= 0 ;
41814 char *kwnames
[] = {
41815 (char *) "self", NULL
41818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetCancelButton",kwnames
,&obj0
)) goto fail
;
41819 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41820 if (SWIG_arg_fail(1)) SWIG_fail
;
41822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41823 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
41825 wxPyEndAllowThreads(__tstate
);
41826 if (PyErr_Occurred()) SWIG_fail
;
41829 resultobj
= wxPyMake_wxObject(result
, 0);
41837 static PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41838 PyObject
*resultobj
;
41839 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
41841 PyObject
* obj0
= 0 ;
41842 char *kwnames
[] = {
41843 (char *) "self", NULL
41846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StdDialogButtonSizer_GetHelpButton",kwnames
,&obj0
)) goto fail
;
41847 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_EXCEPTION
| 0);
41848 if (SWIG_arg_fail(1)) SWIG_fail
;
41850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41851 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
41853 wxPyEndAllowThreads(__tstate
);
41854 if (PyErr_Occurred()) SWIG_fail
;
41857 resultobj
= wxPyMake_wxObject(result
, 0);
41865 static PyObject
* StdDialogButtonSizer_swigregister(PyObject
*, PyObject
*args
) {
41867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
41868 SWIG_TypeClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, obj
);
41870 return Py_BuildValue((char *)"");
41872 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41873 PyObject
*resultobj
;
41874 int arg1
= (int) 0 ;
41875 int arg2
= (int) 0 ;
41876 wxGBPosition
*result
;
41877 PyObject
* obj0
= 0 ;
41878 PyObject
* obj1
= 0 ;
41879 char *kwnames
[] = {
41880 (char *) "row",(char *) "col", NULL
41883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
41886 arg1
= (int)(SWIG_As_int(obj0
));
41887 if (SWIG_arg_fail(1)) SWIG_fail
;
41892 arg2
= (int)(SWIG_As_int(obj1
));
41893 if (SWIG_arg_fail(2)) SWIG_fail
;
41897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41898 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
41900 wxPyEndAllowThreads(__tstate
);
41901 if (PyErr_Occurred()) SWIG_fail
;
41903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
41910 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41911 PyObject
*resultobj
;
41912 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41914 PyObject
* obj0
= 0 ;
41915 char *kwnames
[] = {
41916 (char *) "self", NULL
41919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
41920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41921 if (SWIG_arg_fail(1)) SWIG_fail
;
41923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41924 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
41926 wxPyEndAllowThreads(__tstate
);
41927 if (PyErr_Occurred()) SWIG_fail
;
41930 resultobj
= SWIG_From_int((int)(result
));
41938 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41939 PyObject
*resultobj
;
41940 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41942 PyObject
* obj0
= 0 ;
41943 char *kwnames
[] = {
41944 (char *) "self", NULL
41947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
41948 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41949 if (SWIG_arg_fail(1)) SWIG_fail
;
41951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41952 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
41954 wxPyEndAllowThreads(__tstate
);
41955 if (PyErr_Occurred()) SWIG_fail
;
41958 resultobj
= SWIG_From_int((int)(result
));
41966 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41967 PyObject
*resultobj
;
41968 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
41970 PyObject
* obj0
= 0 ;
41971 PyObject
* obj1
= 0 ;
41972 char *kwnames
[] = {
41973 (char *) "self",(char *) "row", NULL
41976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
41977 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
41978 if (SWIG_arg_fail(1)) SWIG_fail
;
41980 arg2
= (int)(SWIG_As_int(obj1
));
41981 if (SWIG_arg_fail(2)) SWIG_fail
;
41984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41985 (arg1
)->SetRow(arg2
);
41987 wxPyEndAllowThreads(__tstate
);
41988 if (PyErr_Occurred()) SWIG_fail
;
41990 Py_INCREF(Py_None
); resultobj
= Py_None
;
41997 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
41998 PyObject
*resultobj
;
41999 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42001 PyObject
* obj0
= 0 ;
42002 PyObject
* obj1
= 0 ;
42003 char *kwnames
[] = {
42004 (char *) "self",(char *) "col", NULL
42007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
42008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42009 if (SWIG_arg_fail(1)) SWIG_fail
;
42011 arg2
= (int)(SWIG_As_int(obj1
));
42012 if (SWIG_arg_fail(2)) SWIG_fail
;
42015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42016 (arg1
)->SetCol(arg2
);
42018 wxPyEndAllowThreads(__tstate
);
42019 if (PyErr_Occurred()) SWIG_fail
;
42021 Py_INCREF(Py_None
); resultobj
= Py_None
;
42028 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42029 PyObject
*resultobj
;
42030 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42031 wxGBPosition
*arg2
= 0 ;
42033 wxGBPosition temp2
;
42034 PyObject
* obj0
= 0 ;
42035 PyObject
* obj1
= 0 ;
42036 char *kwnames
[] = {
42037 (char *) "self",(char *) "other", NULL
42040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42041 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42042 if (SWIG_arg_fail(1)) SWIG_fail
;
42045 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42049 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
42051 wxPyEndAllowThreads(__tstate
);
42052 if (PyErr_Occurred()) SWIG_fail
;
42055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42063 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42064 PyObject
*resultobj
;
42065 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42066 wxGBPosition
*arg2
= 0 ;
42068 wxGBPosition temp2
;
42069 PyObject
* obj0
= 0 ;
42070 PyObject
* obj1
= 0 ;
42071 char *kwnames
[] = {
42072 (char *) "self",(char *) "other", NULL
42075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42076 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42077 if (SWIG_arg_fail(1)) SWIG_fail
;
42080 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42084 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
42086 wxPyEndAllowThreads(__tstate
);
42087 if (PyErr_Occurred()) SWIG_fail
;
42090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42098 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42099 PyObject
*resultobj
;
42100 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42101 int arg2
= (int) 0 ;
42102 int arg3
= (int) 0 ;
42103 PyObject
* obj0
= 0 ;
42104 PyObject
* obj1
= 0 ;
42105 PyObject
* obj2
= 0 ;
42106 char *kwnames
[] = {
42107 (char *) "self",(char *) "row",(char *) "col", NULL
42110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42112 if (SWIG_arg_fail(1)) SWIG_fail
;
42115 arg2
= (int)(SWIG_As_int(obj1
));
42116 if (SWIG_arg_fail(2)) SWIG_fail
;
42121 arg3
= (int)(SWIG_As_int(obj2
));
42122 if (SWIG_arg_fail(3)) SWIG_fail
;
42126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42127 wxGBPosition_Set(arg1
,arg2
,arg3
);
42129 wxPyEndAllowThreads(__tstate
);
42130 if (PyErr_Occurred()) SWIG_fail
;
42132 Py_INCREF(Py_None
); resultobj
= Py_None
;
42139 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42140 PyObject
*resultobj
;
42141 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
42143 PyObject
* obj0
= 0 ;
42144 char *kwnames
[] = {
42145 (char *) "self", NULL
42148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
42149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_EXCEPTION
| 0);
42150 if (SWIG_arg_fail(1)) SWIG_fail
;
42152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42153 result
= (PyObject
*)wxGBPosition_Get(arg1
);
42155 wxPyEndAllowThreads(__tstate
);
42156 if (PyErr_Occurred()) SWIG_fail
;
42158 resultobj
= result
;
42165 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
42167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42168 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
42170 return Py_BuildValue((char *)"");
42172 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42173 PyObject
*resultobj
;
42174 int arg1
= (int) 1 ;
42175 int arg2
= (int) 1 ;
42177 PyObject
* obj0
= 0 ;
42178 PyObject
* obj1
= 0 ;
42179 char *kwnames
[] = {
42180 (char *) "rowspan",(char *) "colspan", NULL
42183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42186 arg1
= (int)(SWIG_As_int(obj0
));
42187 if (SWIG_arg_fail(1)) SWIG_fail
;
42192 arg2
= (int)(SWIG_As_int(obj1
));
42193 if (SWIG_arg_fail(2)) SWIG_fail
;
42197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42198 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
42200 wxPyEndAllowThreads(__tstate
);
42201 if (PyErr_Occurred()) SWIG_fail
;
42203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
42210 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42211 PyObject
*resultobj
;
42212 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42214 PyObject
* obj0
= 0 ;
42215 char *kwnames
[] = {
42216 (char *) "self", NULL
42219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
42220 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42221 if (SWIG_arg_fail(1)) SWIG_fail
;
42223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42224 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
42226 wxPyEndAllowThreads(__tstate
);
42227 if (PyErr_Occurred()) SWIG_fail
;
42230 resultobj
= SWIG_From_int((int)(result
));
42238 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42239 PyObject
*resultobj
;
42240 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42242 PyObject
* obj0
= 0 ;
42243 char *kwnames
[] = {
42244 (char *) "self", NULL
42247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
42248 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42249 if (SWIG_arg_fail(1)) SWIG_fail
;
42251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42252 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
42254 wxPyEndAllowThreads(__tstate
);
42255 if (PyErr_Occurred()) SWIG_fail
;
42258 resultobj
= SWIG_From_int((int)(result
));
42266 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42267 PyObject
*resultobj
;
42268 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42270 PyObject
* obj0
= 0 ;
42271 PyObject
* obj1
= 0 ;
42272 char *kwnames
[] = {
42273 (char *) "self",(char *) "rowspan", NULL
42276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42277 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42278 if (SWIG_arg_fail(1)) SWIG_fail
;
42280 arg2
= (int)(SWIG_As_int(obj1
));
42281 if (SWIG_arg_fail(2)) SWIG_fail
;
42284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42285 (arg1
)->SetRowspan(arg2
);
42287 wxPyEndAllowThreads(__tstate
);
42288 if (PyErr_Occurred()) SWIG_fail
;
42290 Py_INCREF(Py_None
); resultobj
= Py_None
;
42297 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42298 PyObject
*resultobj
;
42299 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42301 PyObject
* obj0
= 0 ;
42302 PyObject
* obj1
= 0 ;
42303 char *kwnames
[] = {
42304 (char *) "self",(char *) "colspan", NULL
42307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
42308 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42309 if (SWIG_arg_fail(1)) SWIG_fail
;
42311 arg2
= (int)(SWIG_As_int(obj1
));
42312 if (SWIG_arg_fail(2)) SWIG_fail
;
42315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42316 (arg1
)->SetColspan(arg2
);
42318 wxPyEndAllowThreads(__tstate
);
42319 if (PyErr_Occurred()) SWIG_fail
;
42321 Py_INCREF(Py_None
); resultobj
= Py_None
;
42328 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42329 PyObject
*resultobj
;
42330 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42331 wxGBSpan
*arg2
= 0 ;
42334 PyObject
* obj0
= 0 ;
42335 PyObject
* obj1
= 0 ;
42336 char *kwnames
[] = {
42337 (char *) "self",(char *) "other", NULL
42340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
42341 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42342 if (SWIG_arg_fail(1)) SWIG_fail
;
42345 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42349 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
42351 wxPyEndAllowThreads(__tstate
);
42352 if (PyErr_Occurred()) SWIG_fail
;
42355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42363 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42364 PyObject
*resultobj
;
42365 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42366 wxGBSpan
*arg2
= 0 ;
42369 PyObject
* obj0
= 0 ;
42370 PyObject
* obj1
= 0 ;
42371 char *kwnames
[] = {
42372 (char *) "self",(char *) "other", NULL
42375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
42376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42377 if (SWIG_arg_fail(1)) SWIG_fail
;
42380 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42384 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
42386 wxPyEndAllowThreads(__tstate
);
42387 if (PyErr_Occurred()) SWIG_fail
;
42390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42398 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42399 PyObject
*resultobj
;
42400 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42401 int arg2
= (int) 1 ;
42402 int arg3
= (int) 1 ;
42403 PyObject
* obj0
= 0 ;
42404 PyObject
* obj1
= 0 ;
42405 PyObject
* obj2
= 0 ;
42406 char *kwnames
[] = {
42407 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
42410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42412 if (SWIG_arg_fail(1)) SWIG_fail
;
42415 arg2
= (int)(SWIG_As_int(obj1
));
42416 if (SWIG_arg_fail(2)) SWIG_fail
;
42421 arg3
= (int)(SWIG_As_int(obj2
));
42422 if (SWIG_arg_fail(3)) SWIG_fail
;
42426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42427 wxGBSpan_Set(arg1
,arg2
,arg3
);
42429 wxPyEndAllowThreads(__tstate
);
42430 if (PyErr_Occurred()) SWIG_fail
;
42432 Py_INCREF(Py_None
); resultobj
= Py_None
;
42439 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42440 PyObject
*resultobj
;
42441 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
42443 PyObject
* obj0
= 0 ;
42444 char *kwnames
[] = {
42445 (char *) "self", NULL
42448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
42449 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_EXCEPTION
| 0);
42450 if (SWIG_arg_fail(1)) SWIG_fail
;
42452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42453 result
= (PyObject
*)wxGBSpan_Get(arg1
);
42455 wxPyEndAllowThreads(__tstate
);
42456 if (PyErr_Occurred()) SWIG_fail
;
42458 resultobj
= result
;
42465 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
42467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42468 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
42470 return Py_BuildValue((char *)"");
42472 static int _wrap_DefaultSpan_set(PyObject
*) {
42473 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
42478 static PyObject
*_wrap_DefaultSpan_get(void) {
42481 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
42486 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42487 PyObject
*resultobj
;
42488 wxGBSizerItem
*result
;
42489 char *kwnames
[] = {
42493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
42495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42496 result
= (wxGBSizerItem
*)new wxGBSizerItem();
42498 wxPyEndAllowThreads(__tstate
);
42499 if (PyErr_Occurred()) SWIG_fail
;
42501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42508 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42509 PyObject
*resultobj
;
42510 wxWindow
*arg1
= (wxWindow
*) 0 ;
42511 wxGBPosition
*arg2
= 0 ;
42512 wxGBSpan
*arg3
= 0 ;
42515 PyObject
*arg6
= (PyObject
*) NULL
;
42516 wxGBSizerItem
*result
;
42517 wxGBPosition temp2
;
42519 PyObject
* obj0
= 0 ;
42520 PyObject
* obj1
= 0 ;
42521 PyObject
* obj2
= 0 ;
42522 PyObject
* obj3
= 0 ;
42523 PyObject
* obj4
= 0 ;
42524 PyObject
* obj5
= 0 ;
42525 char *kwnames
[] = {
42526 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42530 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
42531 if (SWIG_arg_fail(1)) SWIG_fail
;
42534 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42538 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42541 arg4
= (int)(SWIG_As_int(obj3
));
42542 if (SWIG_arg_fail(4)) SWIG_fail
;
42545 arg5
= (int)(SWIG_As_int(obj4
));
42546 if (SWIG_arg_fail(5)) SWIG_fail
;
42552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42553 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42555 wxPyEndAllowThreads(__tstate
);
42556 if (PyErr_Occurred()) SWIG_fail
;
42558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42565 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42566 PyObject
*resultobj
;
42567 wxSizer
*arg1
= (wxSizer
*) 0 ;
42568 wxGBPosition
*arg2
= 0 ;
42569 wxGBSpan
*arg3
= 0 ;
42572 PyObject
*arg6
= (PyObject
*) NULL
;
42573 wxGBSizerItem
*result
;
42574 wxGBPosition temp2
;
42576 PyObject
* obj0
= 0 ;
42577 PyObject
* obj1
= 0 ;
42578 PyObject
* obj2
= 0 ;
42579 PyObject
* obj3
= 0 ;
42580 PyObject
* obj4
= 0 ;
42581 PyObject
* obj5
= 0 ;
42582 char *kwnames
[] = {
42583 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
42587 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
42588 if (SWIG_arg_fail(1)) SWIG_fail
;
42591 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42595 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42598 arg4
= (int)(SWIG_As_int(obj3
));
42599 if (SWIG_arg_fail(4)) SWIG_fail
;
42602 arg5
= (int)(SWIG_As_int(obj4
));
42603 if (SWIG_arg_fail(5)) SWIG_fail
;
42609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42610 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
42612 wxPyEndAllowThreads(__tstate
);
42613 if (PyErr_Occurred()) SWIG_fail
;
42615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42622 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42623 PyObject
*resultobj
;
42626 wxGBPosition
*arg3
= 0 ;
42627 wxGBSpan
*arg4
= 0 ;
42630 PyObject
*arg7
= (PyObject
*) NULL
;
42631 wxGBSizerItem
*result
;
42632 wxGBPosition temp3
;
42634 PyObject
* obj0
= 0 ;
42635 PyObject
* obj1
= 0 ;
42636 PyObject
* obj2
= 0 ;
42637 PyObject
* obj3
= 0 ;
42638 PyObject
* obj4
= 0 ;
42639 PyObject
* obj5
= 0 ;
42640 PyObject
* obj6
= 0 ;
42641 char *kwnames
[] = {
42642 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
42645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
42647 arg1
= (int)(SWIG_As_int(obj0
));
42648 if (SWIG_arg_fail(1)) SWIG_fail
;
42651 arg2
= (int)(SWIG_As_int(obj1
));
42652 if (SWIG_arg_fail(2)) SWIG_fail
;
42656 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
42660 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
42663 arg5
= (int)(SWIG_As_int(obj4
));
42664 if (SWIG_arg_fail(5)) SWIG_fail
;
42667 arg6
= (int)(SWIG_As_int(obj5
));
42668 if (SWIG_arg_fail(6)) SWIG_fail
;
42674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42675 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
42677 wxPyEndAllowThreads(__tstate
);
42678 if (PyErr_Occurred()) SWIG_fail
;
42680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
42687 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42688 PyObject
*resultobj
;
42689 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42690 wxGBPosition result
;
42691 PyObject
* obj0
= 0 ;
42692 char *kwnames
[] = {
42693 (char *) "self", NULL
42696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
42697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42698 if (SWIG_arg_fail(1)) SWIG_fail
;
42700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42701 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
42703 wxPyEndAllowThreads(__tstate
);
42704 if (PyErr_Occurred()) SWIG_fail
;
42707 wxGBPosition
* resultptr
;
42708 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42717 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42718 PyObject
*resultobj
;
42719 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42721 PyObject
* obj0
= 0 ;
42722 char *kwnames
[] = {
42723 (char *) "self", NULL
42726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
42727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42728 if (SWIG_arg_fail(1)) SWIG_fail
;
42730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42731 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
42733 wxPyEndAllowThreads(__tstate
);
42734 if (PyErr_Occurred()) SWIG_fail
;
42737 wxGBSpan
* resultptr
;
42738 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
42739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
42747 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42748 PyObject
*resultobj
;
42749 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42750 wxGBPosition
*arg2
= 0 ;
42752 wxGBPosition temp2
;
42753 PyObject
* obj0
= 0 ;
42754 PyObject
* obj1
= 0 ;
42755 char *kwnames
[] = {
42756 (char *) "self",(char *) "pos", NULL
42759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
42760 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42761 if (SWIG_arg_fail(1)) SWIG_fail
;
42764 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42768 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
42770 wxPyEndAllowThreads(__tstate
);
42771 if (PyErr_Occurred()) SWIG_fail
;
42774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42782 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42783 PyObject
*resultobj
;
42784 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42785 wxGBSpan
*arg2
= 0 ;
42788 PyObject
* obj0
= 0 ;
42789 PyObject
* obj1
= 0 ;
42790 char *kwnames
[] = {
42791 (char *) "self",(char *) "span", NULL
42794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
42795 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42796 if (SWIG_arg_fail(1)) SWIG_fail
;
42799 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
42802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42803 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
42805 wxPyEndAllowThreads(__tstate
);
42806 if (PyErr_Occurred()) SWIG_fail
;
42809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42817 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42818 PyObject
*resultobj
;
42819 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42820 wxGBSizerItem
*arg2
= 0 ;
42822 PyObject
* obj0
= 0 ;
42823 PyObject
* obj1
= 0 ;
42824 char *kwnames
[] = {
42825 (char *) "self",(char *) "other", NULL
42828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
42829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42830 if (SWIG_arg_fail(1)) SWIG_fail
;
42832 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42833 if (SWIG_arg_fail(2)) SWIG_fail
;
42834 if (arg2
== NULL
) {
42835 SWIG_null_ref("wxGBSizerItem");
42837 if (SWIG_arg_fail(2)) SWIG_fail
;
42840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42841 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
42843 wxPyEndAllowThreads(__tstate
);
42844 if (PyErr_Occurred()) SWIG_fail
;
42847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42855 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42856 PyObject
*resultobj
;
42857 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42858 wxGBPosition
*arg2
= 0 ;
42859 wxGBSpan
*arg3
= 0 ;
42861 wxGBPosition temp2
;
42863 PyObject
* obj0
= 0 ;
42864 PyObject
* obj1
= 0 ;
42865 PyObject
* obj2
= 0 ;
42866 char *kwnames
[] = {
42867 (char *) "self",(char *) "pos",(char *) "span", NULL
42870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
42871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42872 if (SWIG_arg_fail(1)) SWIG_fail
;
42875 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
42879 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
42882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42883 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
42885 wxPyEndAllowThreads(__tstate
);
42886 if (PyErr_Occurred()) SWIG_fail
;
42889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42897 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42898 PyObject
*resultobj
;
42899 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42900 wxGBPosition result
;
42901 PyObject
* obj0
= 0 ;
42902 char *kwnames
[] = {
42903 (char *) "self", NULL
42906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
42907 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42908 if (SWIG_arg_fail(1)) SWIG_fail
;
42910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42911 result
= wxGBSizerItem_GetEndPos(arg1
);
42913 wxPyEndAllowThreads(__tstate
);
42914 if (PyErr_Occurred()) SWIG_fail
;
42917 wxGBPosition
* resultptr
;
42918 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
42919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
42927 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42928 PyObject
*resultobj
;
42929 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42930 wxGridBagSizer
*result
;
42931 PyObject
* obj0
= 0 ;
42932 char *kwnames
[] = {
42933 (char *) "self", NULL
42936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
42937 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42938 if (SWIG_arg_fail(1)) SWIG_fail
;
42940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42941 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
42943 wxPyEndAllowThreads(__tstate
);
42944 if (PyErr_Occurred()) SWIG_fail
;
42946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
42953 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42954 PyObject
*resultobj
;
42955 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
42956 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
42957 PyObject
* obj0
= 0 ;
42958 PyObject
* obj1
= 0 ;
42959 char *kwnames
[] = {
42960 (char *) "self",(char *) "sizer", NULL
42963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
42964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
42965 if (SWIG_arg_fail(1)) SWIG_fail
;
42966 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
42967 if (SWIG_arg_fail(2)) SWIG_fail
;
42969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42970 (arg1
)->SetGBSizer(arg2
);
42972 wxPyEndAllowThreads(__tstate
);
42973 if (PyErr_Occurred()) SWIG_fail
;
42975 Py_INCREF(Py_None
); resultobj
= Py_None
;
42982 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
42984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
42985 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
42987 return Py_BuildValue((char *)"");
42989 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
42990 PyObject
*resultobj
;
42991 int arg1
= (int) 0 ;
42992 int arg2
= (int) 0 ;
42993 wxGridBagSizer
*result
;
42994 PyObject
* obj0
= 0 ;
42995 PyObject
* obj1
= 0 ;
42996 char *kwnames
[] = {
42997 (char *) "vgap",(char *) "hgap", NULL
43000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
43003 arg1
= (int)(SWIG_As_int(obj0
));
43004 if (SWIG_arg_fail(1)) SWIG_fail
;
43009 arg2
= (int)(SWIG_As_int(obj1
));
43010 if (SWIG_arg_fail(2)) SWIG_fail
;
43014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43015 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
43017 wxPyEndAllowThreads(__tstate
);
43018 if (PyErr_Occurred()) SWIG_fail
;
43020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
43027 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43028 PyObject
*resultobj
;
43029 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43030 PyObject
*arg2
= (PyObject
*) 0 ;
43031 wxGBPosition
*arg3
= 0 ;
43032 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
43033 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
43034 int arg5
= (int) 0 ;
43035 int arg6
= (int) 0 ;
43036 PyObject
*arg7
= (PyObject
*) NULL
;
43037 wxGBSizerItem
*result
;
43038 wxGBPosition temp3
;
43040 PyObject
* obj0
= 0 ;
43041 PyObject
* obj1
= 0 ;
43042 PyObject
* obj2
= 0 ;
43043 PyObject
* obj3
= 0 ;
43044 PyObject
* obj4
= 0 ;
43045 PyObject
* obj5
= 0 ;
43046 PyObject
* obj6
= 0 ;
43047 char *kwnames
[] = {
43048 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
43051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
43052 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43053 if (SWIG_arg_fail(1)) SWIG_fail
;
43057 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43062 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
43067 arg5
= (int)(SWIG_As_int(obj4
));
43068 if (SWIG_arg_fail(5)) SWIG_fail
;
43073 arg6
= (int)(SWIG_As_int(obj5
));
43074 if (SWIG_arg_fail(6)) SWIG_fail
;
43081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43082 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
43084 wxPyEndAllowThreads(__tstate
);
43085 if (PyErr_Occurred()) SWIG_fail
;
43087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43094 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43095 PyObject
*resultobj
;
43096 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43097 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
43098 wxGBSizerItem
*result
;
43099 PyObject
* obj0
= 0 ;
43100 PyObject
* obj1
= 0 ;
43101 char *kwnames
[] = {
43102 (char *) "self",(char *) "item", NULL
43105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) 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_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
43109 if (SWIG_arg_fail(2)) SWIG_fail
;
43111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43112 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
43114 wxPyEndAllowThreads(__tstate
);
43115 if (PyErr_Occurred()) SWIG_fail
;
43117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
43124 static PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43125 PyObject
*resultobj
;
43126 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43130 PyObject
* obj0
= 0 ;
43131 PyObject
* obj1
= 0 ;
43132 PyObject
* obj2
= 0 ;
43133 char *kwnames
[] = {
43134 (char *) "self",(char *) "row",(char *) "col", NULL
43137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
43138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43139 if (SWIG_arg_fail(1)) SWIG_fail
;
43141 arg2
= (int)(SWIG_As_int(obj1
));
43142 if (SWIG_arg_fail(2)) SWIG_fail
;
43145 arg3
= (int)(SWIG_As_int(obj2
));
43146 if (SWIG_arg_fail(3)) SWIG_fail
;
43149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43150 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
43152 wxPyEndAllowThreads(__tstate
);
43153 if (PyErr_Occurred()) SWIG_fail
;
43156 wxSize
* resultptr
;
43157 resultptr
= new wxSize((wxSize
&)(result
));
43158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43166 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43167 PyObject
*resultobj
;
43168 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43170 PyObject
* obj0
= 0 ;
43171 char *kwnames
[] = {
43172 (char *) "self", NULL
43175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
43176 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43177 if (SWIG_arg_fail(1)) SWIG_fail
;
43179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43180 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
43182 wxPyEndAllowThreads(__tstate
);
43183 if (PyErr_Occurred()) SWIG_fail
;
43186 wxSize
* resultptr
;
43187 resultptr
= new wxSize((wxSize
&)(result
));
43188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
43196 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
43197 PyObject
*resultobj
;
43198 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43201 PyObject
* obj0
= 0 ;
43202 PyObject
* obj1
= 0 ;
43203 char *kwnames
[] = {
43204 (char *) "self",(char *) "sz", NULL
43207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
43208 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43209 if (SWIG_arg_fail(1)) SWIG_fail
;
43212 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
43215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43216 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
43218 wxPyEndAllowThreads(__tstate
);
43219 if (PyErr_Occurred()) SWIG_fail
;
43221 Py_INCREF(Py_None
); resultobj
= Py_None
;
43228 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43229 PyObject
*resultobj
;
43230 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43231 wxWindow
*arg2
= (wxWindow
*) 0 ;
43232 wxGBPosition result
;
43233 PyObject
* obj0
= 0 ;
43234 PyObject
* obj1
= 0 ;
43236 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43238 if (SWIG_arg_fail(1)) SWIG_fail
;
43239 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43240 if (SWIG_arg_fail(2)) SWIG_fail
;
43242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43243 result
= (arg1
)->GetItemPosition(arg2
);
43245 wxPyEndAllowThreads(__tstate
);
43246 if (PyErr_Occurred()) SWIG_fail
;
43249 wxGBPosition
* resultptr
;
43250 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43251 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43259 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43260 PyObject
*resultobj
;
43261 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43262 wxSizer
*arg2
= (wxSizer
*) 0 ;
43263 wxGBPosition result
;
43264 PyObject
* obj0
= 0 ;
43265 PyObject
* obj1
= 0 ;
43267 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43269 if (SWIG_arg_fail(1)) SWIG_fail
;
43270 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43271 if (SWIG_arg_fail(2)) SWIG_fail
;
43273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43274 result
= (arg1
)->GetItemPosition(arg2
);
43276 wxPyEndAllowThreads(__tstate
);
43277 if (PyErr_Occurred()) SWIG_fail
;
43280 wxGBPosition
* resultptr
;
43281 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43282 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43290 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43291 PyObject
*resultobj
;
43292 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43294 wxGBPosition result
;
43295 PyObject
* obj0
= 0 ;
43296 PyObject
* obj1
= 0 ;
43298 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
43299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43300 if (SWIG_arg_fail(1)) SWIG_fail
;
43302 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43303 if (SWIG_arg_fail(2)) SWIG_fail
;
43306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43307 result
= (arg1
)->GetItemPosition(arg2
);
43309 wxPyEndAllowThreads(__tstate
);
43310 if (PyErr_Occurred()) SWIG_fail
;
43313 wxGBPosition
* resultptr
;
43314 resultptr
= new wxGBPosition((wxGBPosition
&)(result
));
43315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
43323 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
43328 argc
= PyObject_Length(args
);
43329 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43330 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43336 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43346 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43354 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
43362 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43372 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43380 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
43388 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43396 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43398 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
43403 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
43408 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
43409 PyObject
*resultobj
;
43410 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43411 wxWindow
*arg2
= (wxWindow
*) 0 ;
43412 wxGBPosition
*arg3
= 0 ;
43414 wxGBPosition temp3
;
43415 PyObject
* obj0
= 0 ;
43416 PyObject
* obj1
= 0 ;
43417 PyObject
* obj2
= 0 ;
43419 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43421 if (SWIG_arg_fail(1)) SWIG_fail
;
43422 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43423 if (SWIG_arg_fail(2)) SWIG_fail
;
43426 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43430 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43432 wxPyEndAllowThreads(__tstate
);
43433 if (PyErr_Occurred()) SWIG_fail
;
43436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43444 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
43445 PyObject
*resultobj
;
43446 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43447 wxSizer
*arg2
= (wxSizer
*) 0 ;
43448 wxGBPosition
*arg3
= 0 ;
43450 wxGBPosition temp3
;
43451 PyObject
* obj0
= 0 ;
43452 PyObject
* obj1
= 0 ;
43453 PyObject
* obj2
= 0 ;
43455 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43457 if (SWIG_arg_fail(1)) SWIG_fail
;
43458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43459 if (SWIG_arg_fail(2)) SWIG_fail
;
43462 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43466 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43468 wxPyEndAllowThreads(__tstate
);
43469 if (PyErr_Occurred()) SWIG_fail
;
43472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43480 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
43481 PyObject
*resultobj
;
43482 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43484 wxGBPosition
*arg3
= 0 ;
43486 wxGBPosition temp3
;
43487 PyObject
* obj0
= 0 ;
43488 PyObject
* obj1
= 0 ;
43489 PyObject
* obj2
= 0 ;
43491 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
43492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43493 if (SWIG_arg_fail(1)) SWIG_fail
;
43495 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43496 if (SWIG_arg_fail(2)) SWIG_fail
;
43500 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
43503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43504 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
43506 wxPyEndAllowThreads(__tstate
);
43507 if (PyErr_Occurred()) SWIG_fail
;
43510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43518 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
43523 argc
= PyObject_Length(args
);
43524 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43525 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43531 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43541 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43550 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43553 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
43562 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43572 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43581 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43584 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
43593 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43601 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43604 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
43607 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
43613 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
43618 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43619 PyObject
*resultobj
;
43620 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43621 wxWindow
*arg2
= (wxWindow
*) 0 ;
43623 PyObject
* obj0
= 0 ;
43624 PyObject
* obj1
= 0 ;
43626 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43627 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43628 if (SWIG_arg_fail(1)) SWIG_fail
;
43629 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43630 if (SWIG_arg_fail(2)) SWIG_fail
;
43632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43633 result
= (arg1
)->GetItemSpan(arg2
);
43635 wxPyEndAllowThreads(__tstate
);
43636 if (PyErr_Occurred()) SWIG_fail
;
43639 wxGBSpan
* resultptr
;
43640 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43649 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43650 PyObject
*resultobj
;
43651 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43652 wxSizer
*arg2
= (wxSizer
*) 0 ;
43654 PyObject
* obj0
= 0 ;
43655 PyObject
* obj1
= 0 ;
43657 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43658 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43659 if (SWIG_arg_fail(1)) SWIG_fail
;
43660 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43661 if (SWIG_arg_fail(2)) SWIG_fail
;
43663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43664 result
= (arg1
)->GetItemSpan(arg2
);
43666 wxPyEndAllowThreads(__tstate
);
43667 if (PyErr_Occurred()) SWIG_fail
;
43670 wxGBSpan
* resultptr
;
43671 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43680 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43681 PyObject
*resultobj
;
43682 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43685 PyObject
* obj0
= 0 ;
43686 PyObject
* obj1
= 0 ;
43688 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
43689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43690 if (SWIG_arg_fail(1)) SWIG_fail
;
43692 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43693 if (SWIG_arg_fail(2)) SWIG_fail
;
43696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43697 result
= (arg1
)->GetItemSpan(arg2
);
43699 wxPyEndAllowThreads(__tstate
);
43700 if (PyErr_Occurred()) SWIG_fail
;
43703 wxGBSpan
* resultptr
;
43704 resultptr
= new wxGBSpan((wxGBSpan
&)(result
));
43705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
43713 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
43718 argc
= PyObject_Length(args
);
43719 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
43720 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43726 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43736 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43744 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
43752 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43762 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43770 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
43778 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43786 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43788 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
43793 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
43798 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
43799 PyObject
*resultobj
;
43800 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43801 wxWindow
*arg2
= (wxWindow
*) 0 ;
43802 wxGBSpan
*arg3
= 0 ;
43805 PyObject
* obj0
= 0 ;
43806 PyObject
* obj1
= 0 ;
43807 PyObject
* obj2
= 0 ;
43809 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43811 if (SWIG_arg_fail(1)) SWIG_fail
;
43812 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
43813 if (SWIG_arg_fail(2)) SWIG_fail
;
43816 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43820 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43822 wxPyEndAllowThreads(__tstate
);
43823 if (PyErr_Occurred()) SWIG_fail
;
43826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43834 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
43835 PyObject
*resultobj
;
43836 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43837 wxSizer
*arg2
= (wxSizer
*) 0 ;
43838 wxGBSpan
*arg3
= 0 ;
43841 PyObject
* obj0
= 0 ;
43842 PyObject
* obj1
= 0 ;
43843 PyObject
* obj2
= 0 ;
43845 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43846 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43847 if (SWIG_arg_fail(1)) SWIG_fail
;
43848 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
43849 if (SWIG_arg_fail(2)) SWIG_fail
;
43852 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43856 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43858 wxPyEndAllowThreads(__tstate
);
43859 if (PyErr_Occurred()) SWIG_fail
;
43862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43870 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
43871 PyObject
*resultobj
;
43872 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
43874 wxGBSpan
*arg3
= 0 ;
43877 PyObject
* obj0
= 0 ;
43878 PyObject
* obj1
= 0 ;
43879 PyObject
* obj2
= 0 ;
43881 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
43882 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
43883 if (SWIG_arg_fail(1)) SWIG_fail
;
43885 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
43886 if (SWIG_arg_fail(2)) SWIG_fail
;
43890 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
43893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43894 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
43896 wxPyEndAllowThreads(__tstate
);
43897 if (PyErr_Occurred()) SWIG_fail
;
43900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43908 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
43913 argc
= PyObject_Length(args
);
43914 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
43915 argv
[ii
] = PyTuple_GetItem(args
,ii
);
43921 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43931 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
43940 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43943 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
43952 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43962 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
43971 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43974 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
43983 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
43991 _v
= SWIG_Check_unsigned_SS_long(argv
[1]);
43994 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
43997 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
44003 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
44008 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
44009 PyObject
*resultobj
;
44010 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44011 wxWindow
*arg2
= (wxWindow
*) 0 ;
44012 wxGBSizerItem
*result
;
44013 PyObject
* obj0
= 0 ;
44014 PyObject
* obj1
= 0 ;
44016 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44018 if (SWIG_arg_fail(1)) SWIG_fail
;
44019 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44020 if (SWIG_arg_fail(2)) SWIG_fail
;
44022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44023 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44025 wxPyEndAllowThreads(__tstate
);
44026 if (PyErr_Occurred()) SWIG_fail
;
44028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44035 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
44036 PyObject
*resultobj
;
44037 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44038 wxSizer
*arg2
= (wxSizer
*) 0 ;
44039 wxGBSizerItem
*result
;
44040 PyObject
* obj0
= 0 ;
44041 PyObject
* obj1
= 0 ;
44043 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
44044 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44045 if (SWIG_arg_fail(1)) SWIG_fail
;
44046 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSizer
, SWIG_POINTER_EXCEPTION
| 0);
44047 if (SWIG_arg_fail(2)) SWIG_fail
;
44049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44050 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
44052 wxPyEndAllowThreads(__tstate
);
44053 if (PyErr_Occurred()) SWIG_fail
;
44055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44062 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
44067 argc
= PyObject_Length(args
);
44068 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
44069 argv
[ii
] = PyTuple_GetItem(args
,ii
);
44075 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44085 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
44093 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
44101 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
44111 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
44119 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
44124 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
44129 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44130 PyObject
*resultobj
;
44131 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44132 wxGBPosition
*arg2
= 0 ;
44133 wxGBSizerItem
*result
;
44134 wxGBPosition temp2
;
44135 PyObject
* obj0
= 0 ;
44136 PyObject
* obj1
= 0 ;
44137 char *kwnames
[] = {
44138 (char *) "self",(char *) "pos", NULL
44141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
44142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44143 if (SWIG_arg_fail(1)) SWIG_fail
;
44146 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44150 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
44152 wxPyEndAllowThreads(__tstate
);
44153 if (PyErr_Occurred()) SWIG_fail
;
44155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44162 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44163 PyObject
*resultobj
;
44164 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44165 wxPoint
*arg2
= 0 ;
44166 wxGBSizerItem
*result
;
44168 PyObject
* obj0
= 0 ;
44169 PyObject
* obj1
= 0 ;
44170 char *kwnames
[] = {
44171 (char *) "self",(char *) "pt", NULL
44174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
44175 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44176 if (SWIG_arg_fail(1)) SWIG_fail
;
44179 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44183 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
44185 wxPyEndAllowThreads(__tstate
);
44186 if (PyErr_Occurred()) SWIG_fail
;
44188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
44195 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44196 PyObject
*resultobj
;
44197 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44198 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
44199 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
44201 PyObject
* obj0
= 0 ;
44202 PyObject
* obj1
= 0 ;
44203 PyObject
* obj2
= 0 ;
44204 char *kwnames
[] = {
44205 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
44208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44210 if (SWIG_arg_fail(1)) SWIG_fail
;
44211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44212 if (SWIG_arg_fail(2)) SWIG_fail
;
44214 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44215 if (SWIG_arg_fail(3)) SWIG_fail
;
44218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44219 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
44221 wxPyEndAllowThreads(__tstate
);
44222 if (PyErr_Occurred()) SWIG_fail
;
44225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44233 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44234 PyObject
*resultobj
;
44235 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
44236 wxGBPosition
*arg2
= 0 ;
44237 wxGBSpan
*arg3
= 0 ;
44238 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
44240 wxGBPosition temp2
;
44242 PyObject
* obj0
= 0 ;
44243 PyObject
* obj1
= 0 ;
44244 PyObject
* obj2
= 0 ;
44245 PyObject
* obj3
= 0 ;
44246 char *kwnames
[] = {
44247 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
44250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44251 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_EXCEPTION
| 0);
44252 if (SWIG_arg_fail(1)) SWIG_fail
;
44255 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
44259 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
44262 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_EXCEPTION
| 0);
44263 if (SWIG_arg_fail(4)) SWIG_fail
;
44266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44267 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
44269 wxPyEndAllowThreads(__tstate
);
44270 if (PyErr_Occurred()) SWIG_fail
;
44273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44281 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
44283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
44284 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
44286 return Py_BuildValue((char *)"");
44288 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44289 PyObject
*resultobj
;
44290 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44291 wxRelationship arg2
;
44292 wxWindow
*arg3
= (wxWindow
*) 0 ;
44294 int arg5
= (int) 0 ;
44295 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
44296 PyObject
* obj0
= 0 ;
44297 PyObject
* obj1
= 0 ;
44298 PyObject
* obj2
= 0 ;
44299 PyObject
* obj3
= 0 ;
44300 PyObject
* obj4
= 0 ;
44301 PyObject
* obj5
= 0 ;
44302 char *kwnames
[] = {
44303 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
44306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
44307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44308 if (SWIG_arg_fail(1)) SWIG_fail
;
44310 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
44311 if (SWIG_arg_fail(2)) SWIG_fail
;
44313 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44314 if (SWIG_arg_fail(3)) SWIG_fail
;
44316 arg4
= (wxEdge
)(SWIG_As_int(obj3
));
44317 if (SWIG_arg_fail(4)) SWIG_fail
;
44321 arg5
= (int)(SWIG_As_int(obj4
));
44322 if (SWIG_arg_fail(5)) SWIG_fail
;
44327 arg6
= (int)(SWIG_As_int(obj5
));
44328 if (SWIG_arg_fail(6)) SWIG_fail
;
44332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44333 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
44335 wxPyEndAllowThreads(__tstate
);
44336 if (PyErr_Occurred()) SWIG_fail
;
44338 Py_INCREF(Py_None
); resultobj
= Py_None
;
44345 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44346 PyObject
*resultobj
;
44347 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44348 wxWindow
*arg2
= (wxWindow
*) 0 ;
44349 int arg3
= (int) 0 ;
44350 PyObject
* obj0
= 0 ;
44351 PyObject
* obj1
= 0 ;
44352 PyObject
* obj2
= 0 ;
44353 char *kwnames
[] = {
44354 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44359 if (SWIG_arg_fail(1)) SWIG_fail
;
44360 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44361 if (SWIG_arg_fail(2)) SWIG_fail
;
44364 arg3
= (int)(SWIG_As_int(obj2
));
44365 if (SWIG_arg_fail(3)) SWIG_fail
;
44369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44370 (arg1
)->LeftOf(arg2
,arg3
);
44372 wxPyEndAllowThreads(__tstate
);
44373 if (PyErr_Occurred()) SWIG_fail
;
44375 Py_INCREF(Py_None
); resultobj
= Py_None
;
44382 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44383 PyObject
*resultobj
;
44384 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44385 wxWindow
*arg2
= (wxWindow
*) 0 ;
44386 int arg3
= (int) 0 ;
44387 PyObject
* obj0
= 0 ;
44388 PyObject
* obj1
= 0 ;
44389 PyObject
* obj2
= 0 ;
44390 char *kwnames
[] = {
44391 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44396 if (SWIG_arg_fail(1)) SWIG_fail
;
44397 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44398 if (SWIG_arg_fail(2)) SWIG_fail
;
44401 arg3
= (int)(SWIG_As_int(obj2
));
44402 if (SWIG_arg_fail(3)) SWIG_fail
;
44406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44407 (arg1
)->RightOf(arg2
,arg3
);
44409 wxPyEndAllowThreads(__tstate
);
44410 if (PyErr_Occurred()) SWIG_fail
;
44412 Py_INCREF(Py_None
); resultobj
= Py_None
;
44419 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44420 PyObject
*resultobj
;
44421 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44422 wxWindow
*arg2
= (wxWindow
*) 0 ;
44423 int arg3
= (int) 0 ;
44424 PyObject
* obj0
= 0 ;
44425 PyObject
* obj1
= 0 ;
44426 PyObject
* obj2
= 0 ;
44427 char *kwnames
[] = {
44428 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44433 if (SWIG_arg_fail(1)) SWIG_fail
;
44434 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44435 if (SWIG_arg_fail(2)) SWIG_fail
;
44438 arg3
= (int)(SWIG_As_int(obj2
));
44439 if (SWIG_arg_fail(3)) SWIG_fail
;
44443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44444 (arg1
)->Above(arg2
,arg3
);
44446 wxPyEndAllowThreads(__tstate
);
44447 if (PyErr_Occurred()) SWIG_fail
;
44449 Py_INCREF(Py_None
); resultobj
= Py_None
;
44456 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44457 PyObject
*resultobj
;
44458 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44459 wxWindow
*arg2
= (wxWindow
*) 0 ;
44460 int arg3
= (int) 0 ;
44461 PyObject
* obj0
= 0 ;
44462 PyObject
* obj1
= 0 ;
44463 PyObject
* obj2
= 0 ;
44464 char *kwnames
[] = {
44465 (char *) "self",(char *) "sibling",(char *) "marg", NULL
44468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
44469 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44470 if (SWIG_arg_fail(1)) SWIG_fail
;
44471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44472 if (SWIG_arg_fail(2)) SWIG_fail
;
44475 arg3
= (int)(SWIG_As_int(obj2
));
44476 if (SWIG_arg_fail(3)) SWIG_fail
;
44480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44481 (arg1
)->Below(arg2
,arg3
);
44483 wxPyEndAllowThreads(__tstate
);
44484 if (PyErr_Occurred()) SWIG_fail
;
44486 Py_INCREF(Py_None
); resultobj
= Py_None
;
44493 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44494 PyObject
*resultobj
;
44495 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44496 wxWindow
*arg2
= (wxWindow
*) 0 ;
44498 int arg4
= (int) 0 ;
44499 PyObject
* obj0
= 0 ;
44500 PyObject
* obj1
= 0 ;
44501 PyObject
* obj2
= 0 ;
44502 PyObject
* obj3
= 0 ;
44503 char *kwnames
[] = {
44504 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
44507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44509 if (SWIG_arg_fail(1)) SWIG_fail
;
44510 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44511 if (SWIG_arg_fail(2)) SWIG_fail
;
44513 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44514 if (SWIG_arg_fail(3)) SWIG_fail
;
44518 arg4
= (int)(SWIG_As_int(obj3
));
44519 if (SWIG_arg_fail(4)) SWIG_fail
;
44523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44524 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
44526 wxPyEndAllowThreads(__tstate
);
44527 if (PyErr_Occurred()) SWIG_fail
;
44529 Py_INCREF(Py_None
); resultobj
= Py_None
;
44536 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44537 PyObject
*resultobj
;
44538 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44539 wxWindow
*arg2
= (wxWindow
*) 0 ;
44542 PyObject
* obj0
= 0 ;
44543 PyObject
* obj1
= 0 ;
44544 PyObject
* obj2
= 0 ;
44545 PyObject
* obj3
= 0 ;
44546 char *kwnames
[] = {
44547 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
44550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
44551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44552 if (SWIG_arg_fail(1)) SWIG_fail
;
44553 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
44554 if (SWIG_arg_fail(2)) SWIG_fail
;
44556 arg3
= (wxEdge
)(SWIG_As_int(obj2
));
44557 if (SWIG_arg_fail(3)) SWIG_fail
;
44560 arg4
= (int)(SWIG_As_int(obj3
));
44561 if (SWIG_arg_fail(4)) SWIG_fail
;
44564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44565 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
44567 wxPyEndAllowThreads(__tstate
);
44568 if (PyErr_Occurred()) SWIG_fail
;
44570 Py_INCREF(Py_None
); resultobj
= Py_None
;
44577 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44578 PyObject
*resultobj
;
44579 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44581 PyObject
* obj0
= 0 ;
44582 PyObject
* obj1
= 0 ;
44583 char *kwnames
[] = {
44584 (char *) "self",(char *) "val", NULL
44587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
44588 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44589 if (SWIG_arg_fail(1)) SWIG_fail
;
44591 arg2
= (int)(SWIG_As_int(obj1
));
44592 if (SWIG_arg_fail(2)) SWIG_fail
;
44595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44596 (arg1
)->Absolute(arg2
);
44598 wxPyEndAllowThreads(__tstate
);
44599 if (PyErr_Occurred()) SWIG_fail
;
44601 Py_INCREF(Py_None
); resultobj
= Py_None
;
44608 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44609 PyObject
*resultobj
;
44610 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44611 PyObject
* obj0
= 0 ;
44612 char *kwnames
[] = {
44613 (char *) "self", NULL
44616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
44617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44618 if (SWIG_arg_fail(1)) SWIG_fail
;
44620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44621 (arg1
)->Unconstrained();
44623 wxPyEndAllowThreads(__tstate
);
44624 if (PyErr_Occurred()) SWIG_fail
;
44626 Py_INCREF(Py_None
); resultobj
= Py_None
;
44633 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44634 PyObject
*resultobj
;
44635 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44636 PyObject
* obj0
= 0 ;
44637 char *kwnames
[] = {
44638 (char *) "self", NULL
44641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
44642 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44643 if (SWIG_arg_fail(1)) SWIG_fail
;
44645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44648 wxPyEndAllowThreads(__tstate
);
44649 if (PyErr_Occurred()) SWIG_fail
;
44651 Py_INCREF(Py_None
); resultobj
= Py_None
;
44658 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44659 PyObject
*resultobj
;
44660 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44662 PyObject
* obj0
= 0 ;
44663 char *kwnames
[] = {
44664 (char *) "self", NULL
44667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
44668 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44669 if (SWIG_arg_fail(1)) SWIG_fail
;
44671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44672 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
44674 wxPyEndAllowThreads(__tstate
);
44675 if (PyErr_Occurred()) SWIG_fail
;
44678 resultobj
= wxPyMake_wxObject(result
, 0);
44686 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44687 PyObject
*resultobj
;
44688 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44690 PyObject
* obj0
= 0 ;
44691 char *kwnames
[] = {
44692 (char *) "self", NULL
44695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
44696 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44697 if (SWIG_arg_fail(1)) SWIG_fail
;
44699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44700 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
44702 wxPyEndAllowThreads(__tstate
);
44703 if (PyErr_Occurred()) SWIG_fail
;
44705 resultobj
= SWIG_From_int((result
));
44712 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44713 PyObject
*resultobj
;
44714 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44716 PyObject
* obj0
= 0 ;
44717 PyObject
* obj1
= 0 ;
44718 char *kwnames
[] = {
44719 (char *) "self",(char *) "which", NULL
44722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
44723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44724 if (SWIG_arg_fail(1)) SWIG_fail
;
44726 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
44727 if (SWIG_arg_fail(2)) SWIG_fail
;
44730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44731 (arg1
)->SetEdge((wxEdge
)arg2
);
44733 wxPyEndAllowThreads(__tstate
);
44734 if (PyErr_Occurred()) SWIG_fail
;
44736 Py_INCREF(Py_None
); resultobj
= Py_None
;
44743 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44744 PyObject
*resultobj
;
44745 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44747 PyObject
* obj0
= 0 ;
44748 PyObject
* obj1
= 0 ;
44749 char *kwnames
[] = {
44750 (char *) "self",(char *) "v", NULL
44753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
44754 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44755 if (SWIG_arg_fail(1)) SWIG_fail
;
44757 arg2
= (int)(SWIG_As_int(obj1
));
44758 if (SWIG_arg_fail(2)) SWIG_fail
;
44761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44762 (arg1
)->SetValue(arg2
);
44764 wxPyEndAllowThreads(__tstate
);
44765 if (PyErr_Occurred()) SWIG_fail
;
44767 Py_INCREF(Py_None
); resultobj
= Py_None
;
44774 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44775 PyObject
*resultobj
;
44776 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44778 PyObject
* obj0
= 0 ;
44779 char *kwnames
[] = {
44780 (char *) "self", NULL
44783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
44784 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44785 if (SWIG_arg_fail(1)) SWIG_fail
;
44787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44788 result
= (int)(arg1
)->GetMargin();
44790 wxPyEndAllowThreads(__tstate
);
44791 if (PyErr_Occurred()) SWIG_fail
;
44794 resultobj
= SWIG_From_int((int)(result
));
44802 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44803 PyObject
*resultobj
;
44804 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44806 PyObject
* obj0
= 0 ;
44807 PyObject
* obj1
= 0 ;
44808 char *kwnames
[] = {
44809 (char *) "self",(char *) "m", NULL
44812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
44813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44814 if (SWIG_arg_fail(1)) SWIG_fail
;
44816 arg2
= (int)(SWIG_As_int(obj1
));
44817 if (SWIG_arg_fail(2)) SWIG_fail
;
44820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44821 (arg1
)->SetMargin(arg2
);
44823 wxPyEndAllowThreads(__tstate
);
44824 if (PyErr_Occurred()) SWIG_fail
;
44826 Py_INCREF(Py_None
); resultobj
= Py_None
;
44833 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44834 PyObject
*resultobj
;
44835 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44837 PyObject
* obj0
= 0 ;
44838 char *kwnames
[] = {
44839 (char *) "self", NULL
44842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
44843 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44844 if (SWIG_arg_fail(1)) SWIG_fail
;
44846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44847 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
44849 wxPyEndAllowThreads(__tstate
);
44850 if (PyErr_Occurred()) SWIG_fail
;
44853 resultobj
= SWIG_From_int((int)(result
));
44861 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44862 PyObject
*resultobj
;
44863 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44865 PyObject
* obj0
= 0 ;
44866 char *kwnames
[] = {
44867 (char *) "self", NULL
44870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
44871 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44872 if (SWIG_arg_fail(1)) SWIG_fail
;
44874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44875 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
44877 wxPyEndAllowThreads(__tstate
);
44878 if (PyErr_Occurred()) SWIG_fail
;
44881 resultobj
= SWIG_From_int((int)(result
));
44889 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44890 PyObject
*resultobj
;
44891 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44893 PyObject
* obj0
= 0 ;
44894 char *kwnames
[] = {
44895 (char *) "self", NULL
44898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
44899 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44900 if (SWIG_arg_fail(1)) SWIG_fail
;
44902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44903 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
44905 wxPyEndAllowThreads(__tstate
);
44906 if (PyErr_Occurred()) SWIG_fail
;
44909 resultobj
= SWIG_From_int((int)(result
));
44917 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44918 PyObject
*resultobj
;
44919 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44921 PyObject
* obj0
= 0 ;
44922 char *kwnames
[] = {
44923 (char *) "self", NULL
44926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
44927 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44928 if (SWIG_arg_fail(1)) SWIG_fail
;
44930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44931 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
44933 wxPyEndAllowThreads(__tstate
);
44934 if (PyErr_Occurred()) SWIG_fail
;
44937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44945 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44946 PyObject
*resultobj
;
44947 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44949 PyObject
* obj0
= 0 ;
44950 PyObject
* obj1
= 0 ;
44951 char *kwnames
[] = {
44952 (char *) "self",(char *) "d", NULL
44955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
44956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44957 if (SWIG_arg_fail(1)) SWIG_fail
;
44959 arg2
= (bool)(SWIG_As_bool(obj1
));
44960 if (SWIG_arg_fail(2)) SWIG_fail
;
44963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44964 (arg1
)->SetDone(arg2
);
44966 wxPyEndAllowThreads(__tstate
);
44967 if (PyErr_Occurred()) SWIG_fail
;
44969 Py_INCREF(Py_None
); resultobj
= Py_None
;
44976 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
44977 PyObject
*resultobj
;
44978 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
44979 wxRelationship result
;
44980 PyObject
* obj0
= 0 ;
44981 char *kwnames
[] = {
44982 (char *) "self", NULL
44985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
44986 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
44987 if (SWIG_arg_fail(1)) SWIG_fail
;
44989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44990 result
= (wxRelationship
)(arg1
)->GetRelationship();
44992 wxPyEndAllowThreads(__tstate
);
44993 if (PyErr_Occurred()) SWIG_fail
;
44995 resultobj
= SWIG_From_int((result
));
45002 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45003 PyObject
*resultobj
;
45004 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45005 wxRelationship arg2
;
45006 PyObject
* obj0
= 0 ;
45007 PyObject
* obj1
= 0 ;
45008 char *kwnames
[] = {
45009 (char *) "self",(char *) "r", NULL
45012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
45013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45014 if (SWIG_arg_fail(1)) SWIG_fail
;
45016 arg2
= (wxRelationship
)(SWIG_As_int(obj1
));
45017 if (SWIG_arg_fail(2)) SWIG_fail
;
45020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45021 (arg1
)->SetRelationship((wxRelationship
)arg2
);
45023 wxPyEndAllowThreads(__tstate
);
45024 if (PyErr_Occurred()) SWIG_fail
;
45026 Py_INCREF(Py_None
); resultobj
= Py_None
;
45033 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45034 PyObject
*resultobj
;
45035 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45036 wxWindow
*arg2
= (wxWindow
*) 0 ;
45038 PyObject
* obj0
= 0 ;
45039 PyObject
* obj1
= 0 ;
45040 char *kwnames
[] = {
45041 (char *) "self",(char *) "otherW", NULL
45044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
45045 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45046 if (SWIG_arg_fail(1)) SWIG_fail
;
45047 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45048 if (SWIG_arg_fail(2)) SWIG_fail
;
45050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45051 result
= (bool)(arg1
)->ResetIfWin(arg2
);
45053 wxPyEndAllowThreads(__tstate
);
45054 if (PyErr_Occurred()) SWIG_fail
;
45057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45065 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45066 PyObject
*resultobj
;
45067 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45068 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
45069 wxWindow
*arg3
= (wxWindow
*) 0 ;
45071 PyObject
* obj0
= 0 ;
45072 PyObject
* obj1
= 0 ;
45073 PyObject
* obj2
= 0 ;
45074 char *kwnames
[] = {
45075 (char *) "self",(char *) "constraints",(char *) "win", NULL
45078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
45079 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45080 if (SWIG_arg_fail(1)) SWIG_fail
;
45081 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45082 if (SWIG_arg_fail(2)) SWIG_fail
;
45083 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45084 if (SWIG_arg_fail(3)) SWIG_fail
;
45086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45087 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
45089 wxPyEndAllowThreads(__tstate
);
45090 if (PyErr_Occurred()) SWIG_fail
;
45093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45101 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45102 PyObject
*resultobj
;
45103 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
45105 wxWindow
*arg3
= (wxWindow
*) 0 ;
45106 wxWindow
*arg4
= (wxWindow
*) 0 ;
45108 PyObject
* obj0
= 0 ;
45109 PyObject
* obj1
= 0 ;
45110 PyObject
* obj2
= 0 ;
45111 PyObject
* obj3
= 0 ;
45112 char *kwnames
[] = {
45113 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
45116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
45117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_POINTER_EXCEPTION
| 0);
45118 if (SWIG_arg_fail(1)) SWIG_fail
;
45120 arg2
= (wxEdge
)(SWIG_As_int(obj1
));
45121 if (SWIG_arg_fail(2)) SWIG_fail
;
45123 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45124 if (SWIG_arg_fail(3)) SWIG_fail
;
45125 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45126 if (SWIG_arg_fail(4)) SWIG_fail
;
45128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45129 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
45131 wxPyEndAllowThreads(__tstate
);
45132 if (PyErr_Occurred()) SWIG_fail
;
45135 resultobj
= SWIG_From_int((int)(result
));
45143 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
45145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45146 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
45148 return Py_BuildValue((char *)"");
45150 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45151 PyObject
*resultobj
;
45152 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45153 wxIndividualLayoutConstraint
*result
;
45154 PyObject
* obj0
= 0 ;
45155 char *kwnames
[] = {
45156 (char *) "self", NULL
45159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
45160 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45161 if (SWIG_arg_fail(1)) SWIG_fail
;
45162 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
45164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45171 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45172 PyObject
*resultobj
;
45173 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45174 wxIndividualLayoutConstraint
*result
;
45175 PyObject
* obj0
= 0 ;
45176 char *kwnames
[] = {
45177 (char *) "self", NULL
45180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
45181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45182 if (SWIG_arg_fail(1)) SWIG_fail
;
45183 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
45185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45192 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45193 PyObject
*resultobj
;
45194 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45195 wxIndividualLayoutConstraint
*result
;
45196 PyObject
* obj0
= 0 ;
45197 char *kwnames
[] = {
45198 (char *) "self", NULL
45201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
45202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45203 if (SWIG_arg_fail(1)) SWIG_fail
;
45204 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
45206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45213 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45214 PyObject
*resultobj
;
45215 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45216 wxIndividualLayoutConstraint
*result
;
45217 PyObject
* obj0
= 0 ;
45218 char *kwnames
[] = {
45219 (char *) "self", NULL
45222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
45223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45224 if (SWIG_arg_fail(1)) SWIG_fail
;
45225 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
45227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45234 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45235 PyObject
*resultobj
;
45236 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45237 wxIndividualLayoutConstraint
*result
;
45238 PyObject
* obj0
= 0 ;
45239 char *kwnames
[] = {
45240 (char *) "self", NULL
45243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
45244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45245 if (SWIG_arg_fail(1)) SWIG_fail
;
45246 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
45248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45255 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45256 PyObject
*resultobj
;
45257 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45258 wxIndividualLayoutConstraint
*result
;
45259 PyObject
* obj0
= 0 ;
45260 char *kwnames
[] = {
45261 (char *) "self", NULL
45264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
45265 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45266 if (SWIG_arg_fail(1)) SWIG_fail
;
45267 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
45269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45276 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45277 PyObject
*resultobj
;
45278 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45279 wxIndividualLayoutConstraint
*result
;
45280 PyObject
* obj0
= 0 ;
45281 char *kwnames
[] = {
45282 (char *) "self", NULL
45285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
45286 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45287 if (SWIG_arg_fail(1)) SWIG_fail
;
45288 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
45290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45297 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45298 PyObject
*resultobj
;
45299 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45300 wxIndividualLayoutConstraint
*result
;
45301 PyObject
* obj0
= 0 ;
45302 char *kwnames
[] = {
45303 (char *) "self", NULL
45306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
45307 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45308 if (SWIG_arg_fail(1)) SWIG_fail
;
45309 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
45311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
45318 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45319 PyObject
*resultobj
;
45320 wxLayoutConstraints
*result
;
45321 char *kwnames
[] = {
45325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
45327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45328 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
45330 wxPyEndAllowThreads(__tstate
);
45331 if (PyErr_Occurred()) SWIG_fail
;
45333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
45340 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45341 PyObject
*resultobj
;
45342 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45343 wxWindow
*arg2
= (wxWindow
*) 0 ;
45344 int *arg3
= (int *) 0 ;
45348 PyObject
* obj0
= 0 ;
45349 PyObject
* obj1
= 0 ;
45350 char *kwnames
[] = {
45351 (char *) "self",(char *) "win", NULL
45354 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
45355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
45356 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45357 if (SWIG_arg_fail(1)) SWIG_fail
;
45358 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
45359 if (SWIG_arg_fail(2)) SWIG_fail
;
45361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45362 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
45364 wxPyEndAllowThreads(__tstate
);
45365 if (PyErr_Occurred()) SWIG_fail
;
45368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45370 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
45371 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
45378 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
45379 PyObject
*resultobj
;
45380 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
45382 PyObject
* obj0
= 0 ;
45383 char *kwnames
[] = {
45384 (char *) "self", NULL
45387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
45388 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_EXCEPTION
| 0);
45389 if (SWIG_arg_fail(1)) SWIG_fail
;
45391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45392 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
45394 wxPyEndAllowThreads(__tstate
);
45395 if (PyErr_Occurred()) SWIG_fail
;
45398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45406 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
45408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
45409 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
45411 return Py_BuildValue((char *)"");
45413 static PyMethodDef SwigMethods
[] = {
45414 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
45415 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
45416 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45417 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45418 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
45419 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45420 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45421 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45422 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45423 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45424 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45425 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45426 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45427 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45428 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45429 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45430 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45431 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45432 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45433 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45434 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45435 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45436 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45437 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45438 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45439 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
45440 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45441 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45442 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45443 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45444 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45445 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45446 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45447 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45448 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45449 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45450 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45451 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45452 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
45453 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45454 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45455 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45456 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45457 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45458 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45459 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45460 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45461 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45462 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45463 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45464 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45465 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45466 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45467 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
45468 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45469 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45470 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45471 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45472 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45473 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45474 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45475 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45476 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45477 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45478 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45479 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45480 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45481 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45482 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45483 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45484 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45485 { (char *)"Rect_IsEmpty", (PyCFunction
) _wrap_Rect_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45486 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45487 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45488 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45489 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45490 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45491 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45492 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45493 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45494 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45495 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45496 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45497 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45498 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45499 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45500 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45501 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45502 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45503 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45504 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45505 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45506 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45507 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45508 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45509 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45510 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45511 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45512 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45513 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45514 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45515 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45516 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45517 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45518 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45519 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45520 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45521 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
45522 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45523 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45524 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45525 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45526 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45527 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45528 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45529 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45530 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45531 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45532 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45533 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45534 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45535 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45536 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45537 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45538 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45539 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45540 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45541 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45542 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45543 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45544 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45545 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45546 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45547 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45548 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45549 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
45550 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45551 { (char *)"delete_InputStream", (PyCFunction
) _wrap_delete_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45552 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45553 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45554 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45555 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45556 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45557 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45558 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45559 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45560 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45561 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45562 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45563 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45564 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45565 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45566 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45567 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45568 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
45569 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45570 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
45571 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45572 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45573 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45574 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45575 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45576 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45577 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45578 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
45579 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45580 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45581 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45582 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45583 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45584 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45585 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45586 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45587 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45588 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45589 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45590 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45591 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
45592 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45593 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45594 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45595 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45596 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45597 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45598 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45599 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45600 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45601 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45602 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45603 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
45604 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45605 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45606 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45607 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
45608 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45609 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45610 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45611 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45612 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45613 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
45614 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45615 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45616 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45617 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45618 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45619 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45620 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45621 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45622 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45623 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
45624 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45625 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45626 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45627 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45628 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45629 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45630 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45631 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45632 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45633 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
45634 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45635 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45636 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45637 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45638 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45639 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45640 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
45641 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45642 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45643 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45644 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45645 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45646 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45647 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45648 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45649 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45650 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45651 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45652 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45653 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45654 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45655 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45656 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45657 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45658 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45659 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45660 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45661 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45662 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45663 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45664 { (char *)"Image_InitAlpha", (PyCFunction
) _wrap_Image_InitAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45665 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45666 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45667 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45668 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45669 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45670 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45671 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45672 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45673 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45674 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45675 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45676 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45677 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45678 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45679 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45680 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45681 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45682 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45683 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45684 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45685 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45686 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45687 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45688 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45689 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45690 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45691 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45692 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45693 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45694 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45695 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45696 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
) _wrap_Image_GetOrFindMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45697 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45698 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45699 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45700 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45701 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45702 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45703 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45704 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45705 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45706 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45707 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45708 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45709 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45710 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45711 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45712 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45713 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45714 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45715 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45716 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45717 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45718 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45719 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45720 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
45721 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45722 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
45723 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45724 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
45725 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45726 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
45727 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45728 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
45729 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45730 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
45731 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45732 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
45733 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45734 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
45735 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45736 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
45737 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45738 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
45739 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45740 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
45741 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45742 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
45743 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45744 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
45745 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45746 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45747 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45748 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45749 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45750 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45751 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45752 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45753 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45754 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45755 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45756 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45757 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45758 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
45759 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45760 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45761 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45762 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45763 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45764 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45765 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45766 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45767 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45768 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45769 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45770 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45771 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45772 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45773 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45774 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45775 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45776 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
45777 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45778 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45779 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
45780 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45781 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45782 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
45783 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45784 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45785 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45786 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45787 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45788 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45789 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45790 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45791 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45792 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45793 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45794 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
45795 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45796 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45797 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45798 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45799 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
45800 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45801 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45802 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45803 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45804 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45805 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
45806 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45807 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45808 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45809 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45810 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45811 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
45812 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45813 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45814 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45815 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45816 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45817 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45818 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45819 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45820 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45821 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45822 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45823 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45824 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45825 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45826 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45827 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45828 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45829 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45830 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45831 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45832 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45833 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45834 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45835 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45836 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45837 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45838 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45839 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45840 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45841 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45842 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45843 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45844 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45845 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45846 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45847 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45848 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45849 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45850 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45851 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45852 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45853 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45854 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45855 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45856 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45857 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45858 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45859 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45860 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45861 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45862 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45863 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45864 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45865 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45866 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45867 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45868 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45869 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45870 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45871 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45872 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45873 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45874 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
45875 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45876 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45877 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45878 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45879 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45880 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45881 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
45882 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45883 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45884 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45885 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45886 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45887 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45888 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45889 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45890 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45891 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45892 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45893 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45894 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45895 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45896 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45897 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45898 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45899 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45900 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45901 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45902 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45903 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45904 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45905 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45906 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45907 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45908 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45909 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45910 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45911 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45912 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45913 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45914 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45915 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45916 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45917 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
45918 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45919 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45920 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45921 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45922 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45923 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45924 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45925 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45926 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45927 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
45928 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45929 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45930 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45931 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45932 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45933 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
45934 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45935 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
45936 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45937 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
45938 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45939 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45940 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
45941 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45942 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45943 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45944 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
45945 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45946 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45947 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
45948 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45949 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45950 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
45951 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45952 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
45953 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45954 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45955 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45956 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45957 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
45958 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45959 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45960 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45961 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45962 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45963 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45964 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45965 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
45966 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45967 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45968 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45969 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
45970 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45971 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45972 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
45973 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45974 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
45975 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45976 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45977 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45978 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
45979 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45980 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45981 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45982 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45983 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45984 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45985 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45986 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45987 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45988 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45989 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45990 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45991 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45992 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45993 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45994 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45995 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
45996 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45997 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
45998 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
45999 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46000 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46001 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46002 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46003 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46004 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46005 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46006 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
46007 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46008 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46009 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46010 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
46011 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46012 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46013 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46014 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46015 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46016 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_IsFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46017 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46018 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46019 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46020 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46021 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
46022 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46023 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46024 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
46025 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46026 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46027 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
46028 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46029 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46030 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46031 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
46032 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46033 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46034 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46035 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46036 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46037 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46038 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
46039 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46040 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46041 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46042 { (char *)"PyEvent__GetSelf", (PyCFunction
) _wrap_PyEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46043 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
46044 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46045 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46046 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46047 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
) _wrap_PyCommandEvent__GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46048 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
46049 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46050 { (char *)"DateEvent_GetDate", (PyCFunction
) _wrap_DateEvent_GetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46051 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46052 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
46053 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46054 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46055 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46056 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46057 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46058 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46059 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46060 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46061 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46062 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46063 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46064 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46065 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46066 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
) _wrap_PyApp_IsMainLoopRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46067 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46068 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46069 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46070 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46071 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46072 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46073 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46074 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46075 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46076 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46077 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46078 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46079 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46080 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46081 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46082 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46083 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46084 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46085 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46086 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46087 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46088 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46089 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46090 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46091 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46092 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46093 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46094 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46095 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46096 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46097 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
46098 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46099 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46100 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46101 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46102 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46103 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46104 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46105 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46106 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46107 { (char *)"GetDefaultPyEncoding", (PyCFunction
) _wrap_GetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46108 { (char *)"new_EventLoop", (PyCFunction
) _wrap_new_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46109 { (char *)"delete_EventLoop", (PyCFunction
) _wrap_delete_EventLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46110 { (char *)"EventLoop_Run", (PyCFunction
) _wrap_EventLoop_Run
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46111 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46112 { (char *)"EventLoop_Pending", (PyCFunction
) _wrap_EventLoop_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46113 { (char *)"EventLoop_Dispatch", (PyCFunction
) _wrap_EventLoop_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46114 { (char *)"EventLoop_IsRunning", (PyCFunction
) _wrap_EventLoop_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46115 { (char *)"EventLoop_GetActive", (PyCFunction
) _wrap_EventLoop_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46116 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46117 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
46118 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46119 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46120 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46121 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46122 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46123 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46124 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
46125 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46126 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46127 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46128 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
46129 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46130 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46131 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46132 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46133 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46134 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46135 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46136 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46137 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46138 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
46139 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46140 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46141 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46142 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46143 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46144 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46145 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46146 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46147 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46148 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46149 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46150 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46151 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46152 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46153 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46154 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46155 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46156 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46157 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46158 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46159 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46160 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46161 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46162 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46163 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46164 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46165 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46166 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46167 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46168 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46169 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46170 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46171 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46172 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46173 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46174 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46175 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46176 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46177 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46178 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46179 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46180 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46181 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46182 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46183 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46184 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46185 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46186 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46187 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46188 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46189 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46190 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46191 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46192 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46193 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46194 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46195 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46196 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46197 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46198 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46199 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46200 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46201 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46202 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46203 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46204 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46205 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46206 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46208 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46210 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46211 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46213 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46214 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46216 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46218 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46219 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46220 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46221 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46222 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46229 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46230 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46231 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46232 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46234 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46236 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46237 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46239 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46241 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46242 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46244 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46245 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46247 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46249 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46251 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46252 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46254 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46256 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46258 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46259 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46260 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46262 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46263 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46266 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46267 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46270 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46272 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46273 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46274 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46275 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46276 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46277 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46278 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46279 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46280 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46282 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46283 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46285 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46288 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
) _wrap_Window_InheritsBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46290 { (char *)"Window_UseBgCol", (PyCFunction
) _wrap_Window_UseBgCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46291 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46292 { (char *)"Window_GetBackgroundStyle", (PyCFunction
) _wrap_Window_GetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Window_HasTransparentBackground", (PyCFunction
) _wrap_Window_HasTransparentBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46294 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46296 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46298 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46299 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46301 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46304 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46305 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46307 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46309 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46310 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
46312 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46313 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46315 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"Window_DissociateHandle", (PyCFunction
) _wrap_Window_DissociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46319 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46320 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46322 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46324 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46328 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46329 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46331 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46342 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46347 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
46353 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46354 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46356 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"GetTopLevelWindows", (PyCFunction
) _wrap_GetTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46360 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46361 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46362 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46364 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46365 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
46368 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
46371 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46375 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46376 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46377 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46378 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46379 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46380 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46381 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46383 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46384 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46385 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46386 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46387 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46388 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46389 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46390 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46391 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46392 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46394 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46395 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46397 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46399 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46401 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46406 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46407 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46408 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46409 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46410 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46411 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46412 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46413 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46418 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46419 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
46426 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46428 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46434 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46435 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46436 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46437 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46438 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46439 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46440 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46441 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46442 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46443 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46445 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46446 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46447 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46449 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46452 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_GetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46454 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
46455 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46458 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46459 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46461 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46462 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46463 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46464 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46465 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46467 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46469 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46470 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46471 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46472 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46473 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46476 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46477 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46479 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46481 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46482 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46483 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46488 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46490 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46491 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46493 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46495 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
46499 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46500 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46503 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46504 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46506 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
46507 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46508 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46509 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46511 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46514 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46515 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46517 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46525 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
46526 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
46527 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46533 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46534 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46536 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46538 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46541 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46542 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"SizerItem_GetRect", (PyCFunction
) _wrap_SizerItem_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46544 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46546 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46549 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46550 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46555 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46556 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46558 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46560 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46561 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46563 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
46564 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46565 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46568 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46569 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46571 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46574 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46576 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46577 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46578 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46580 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46581 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46586 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46591 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46593 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
46594 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46595 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
46597 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46598 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
46601 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
46604 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46609 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46611 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46613 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
46614 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46615 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46616 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46618 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46620 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46623 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
46626 { (char *)"new_StdDialogButtonSizer", (PyCFunction
) _wrap_new_StdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46627 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46628 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
) _wrap_StdDialogButtonSizer_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46630 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46631 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46633 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetApplyButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46635 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46636 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
) _wrap_StdDialogButtonSizer_GetHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46637 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
46638 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46639 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46640 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46642 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46644 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46645 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46646 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
46648 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46649 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46651 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
46658 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46659 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46660 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46661 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46663 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46664 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46666 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46668 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46669 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46670 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46671 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
46672 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46673 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46674 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46675 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46676 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46677 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46678 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
46679 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
46680 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
46681 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
46682 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
46683 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46684 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46685 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46686 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46687 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
46688 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46689 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46690 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46691 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46693 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46700 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46701 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46702 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46704 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46712 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
46715 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46717 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46718 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
46727 { NULL
, NULL
, 0, NULL
}
46731 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
46733 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
46734 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
46736 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
46737 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
46739 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
46740 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46742 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
46743 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46745 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
46746 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46748 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
46749 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
46751 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
46752 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46754 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
46755 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
46757 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
46758 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46760 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
46761 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
46763 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
46764 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
46766 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
46767 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
46769 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
46770 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
46772 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
46773 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
46775 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
46776 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
46778 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
46779 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
46781 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
46782 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
46784 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
46785 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
46787 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
46788 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
46790 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
46791 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
46793 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
46794 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
46796 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
46797 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
46799 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
46800 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
46802 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
46803 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
46805 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
46806 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
46808 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
46809 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
46811 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
46812 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
46814 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
46815 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
46817 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
46818 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
46820 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
46821 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
46823 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
46824 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
46826 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
46827 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
46829 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
46830 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
46832 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
46833 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
46835 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
46836 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
46838 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
46839 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
46841 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
46842 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
46844 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
46845 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
46847 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
46848 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
46850 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
46851 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
46853 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
46854 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
46856 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
46857 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
46859 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
46860 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
46862 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
46863 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
46865 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
46866 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
46868 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
46869 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
46871 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
46872 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46874 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
46875 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
46877 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
46878 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
46880 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
46881 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
46883 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
46884 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
46886 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
46887 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
46889 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
46890 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
46892 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
46893 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
46895 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
46896 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
46898 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
46899 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
46901 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
46902 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
46904 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
46905 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
46907 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
46908 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
46910 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
46911 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
46913 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
46914 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
46916 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
46917 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
46919 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
46920 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
46922 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
46923 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
46925 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
46926 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46928 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
46929 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
46931 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
46932 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
46934 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
46935 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
46937 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
46938 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
46940 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
46941 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
46943 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
46944 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
46946 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
46947 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
46949 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
46950 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
46952 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
46953 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
46955 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
46956 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
46958 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
46959 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
46961 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
46962 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
46964 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46965 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
46967 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46968 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
46970 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
46971 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
46973 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
46974 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
46976 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
46977 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
46979 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
46980 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
46982 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
46983 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
46985 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
46986 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
46988 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
46989 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
46991 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
46992 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
46994 static void *_p_wxSizerTo_p_wxObject(void *x
) {
46995 return (void *)((wxObject
*) ((wxSizer
*) x
));
46997 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
46998 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47000 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47001 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47003 static void *_p_wxEventTo_p_wxObject(void *x
) {
47004 return (void *)((wxObject
*) ((wxEvent
*) x
));
47006 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47007 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47009 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47010 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47012 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47013 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47015 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47016 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47018 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47019 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47021 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47022 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47024 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47025 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47027 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47028 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47030 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47031 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47033 static void *_p_wxControlTo_p_wxObject(void *x
) {
47034 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47036 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47037 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47039 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47040 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47042 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47043 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47045 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47046 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47048 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47049 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47051 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47052 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47054 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47055 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47057 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47060 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47061 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47063 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47066 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47067 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47069 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
47070 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
47072 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
47073 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
47075 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
47076 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
47078 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
47079 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
47081 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
47082 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
47084 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
47085 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
47087 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
47088 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
47090 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
47091 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
47093 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
47094 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
47096 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
47097 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
47099 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
47100 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
47102 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
47103 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
47105 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
47106 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
47108 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
47109 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
47111 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
47112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
47114 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
47115 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
47117 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
47118 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
47120 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
47121 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
47123 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
47124 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
47126 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
47127 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
47129 static void *_p_wxImageTo_p_wxObject(void *x
) {
47130 return (void *)((wxObject
*) ((wxImage
*) x
));
47132 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
47133 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
47135 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
47136 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47138 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
47139 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47141 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
47142 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
47144 static void *_p_wxWindowTo_p_wxObject(void *x
) {
47145 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
47147 static void *_p_wxMenuTo_p_wxObject(void *x
) {
47148 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
47150 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
47151 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
47153 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
47154 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
47156 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
47157 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47159 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
47160 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
47162 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
47163 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
47165 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
47166 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
47168 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
47169 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
47171 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
47172 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
47174 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
47175 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47177 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
47178 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
47180 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
47181 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
47183 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
47184 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
47186 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
47187 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47189 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
47190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47192 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
47193 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
47195 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
47196 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
47198 static void *_p_wxControlTo_p_wxWindow(void *x
) {
47199 return (void *)((wxWindow
*) ((wxControl
*) x
));
47201 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
47202 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
47204 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
47205 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
47207 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
47208 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47210 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
47211 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
47213 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
47214 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47216 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
47217 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
47219 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
47220 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47222 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
47223 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47225 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
47226 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47228 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
47229 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47231 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
47232 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47234 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
47235 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
47237 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}};
47238 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}};
47239 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}};
47240 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}};
47241 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}};
47242 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}};
47243 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}};
47244 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}};
47245 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}};
47246 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}};
47247 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}};
47248 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}};
47249 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}};
47250 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}};
47251 static swig_type_info _swigt__p_buffer
[] = {{"_p_buffer", 0, "buffer *", 0, 0, 0, 0},{"_p_buffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47252 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}};
47253 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}};
47254 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}};
47255 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}};
47256 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}};
47257 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}};
47258 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}};
47259 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}};
47260 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}};
47261 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}};
47262 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}};
47263 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}};
47264 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}};
47265 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}};
47266 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}};
47267 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}};
47268 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}};
47269 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}};
47270 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}};
47271 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}};
47272 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}};
47273 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}};
47274 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}};
47275 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}};
47276 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}};
47277 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}};
47278 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}};
47279 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}};
47280 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}};
47281 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}};
47282 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}};
47283 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}};
47284 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}};
47285 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}};
47286 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}};
47287 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}};
47288 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}};
47289 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}};
47290 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}};
47291 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}};
47292 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}};
47293 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}};
47294 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}};
47295 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}};
47296 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}};
47297 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}};
47298 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}};
47299 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}};
47300 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}};
47301 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}};
47302 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}};
47303 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}};
47304 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}};
47305 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}};
47306 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}};
47307 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}};
47308 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}};
47309 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}};
47310 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}};
47311 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}};
47312 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}};
47313 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}};
47314 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}};
47315 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}};
47316 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}};
47317 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}};
47318 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}};
47319 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}};
47320 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}};
47321 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}};
47322 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}};
47323 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}};
47324 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}};
47325 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}};
47326 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}};
47327 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}};
47328 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}};
47329 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}};
47330 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}};
47331 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}};
47332 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}};
47333 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}};
47334 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}};
47335 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}};
47336 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}};
47337 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}};
47338 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}};
47339 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}};
47340 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}};
47341 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}};
47342 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}};
47343 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}};
47344 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}};
47345 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}};
47346 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}};
47347 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}};
47348 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}};
47349 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
47350 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}};
47351 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}};
47352 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}};
47353 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}};
47354 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}};
47355 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}};
47356 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}};
47357 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}};
47358 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}};
47359 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}};
47360 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}};
47361 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}};
47362 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}};
47363 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}};
47364 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}};
47366 static swig_type_info
*swig_types_initial
[] = {
47367 _swigt__p_wxLayoutConstraints
,
47368 _swigt__p_wxRealPoint
,
47369 _swigt__p_wxSizerItem
,
47370 _swigt__p_wxGBSizerItem
,
47371 _swigt__p_wxScrollEvent
,
47372 _swigt__p_wxEventLoop
,
47373 _swigt__p_wxIndividualLayoutConstraint
,
47375 _swigt__p_wxBoxSizer
,
47376 _swigt__p_wxStaticBoxSizer
,
47377 _swigt__p_wxGridBagSizer
,
47378 _swigt__p_wxAcceleratorEntry
,
47379 _swigt__p_wxUpdateUIEvent
,
47383 _swigt__p_wxGridSizer
,
47384 _swigt__p_wxFlexGridSizer
,
47385 _swigt__p_wxInitDialogEvent
,
47386 _swigt__p_wxItemContainer
,
47387 _swigt__p_wxNcPaintEvent
,
47388 _swigt__p_wxPaintEvent
,
47389 _swigt__p_wxSysColourChangedEvent
,
47390 _swigt__p_wxMouseCaptureChangedEvent
,
47391 _swigt__p_wxDisplayChangedEvent
,
47392 _swigt__p_wxPaletteChangedEvent
,
47393 _swigt__p_wxControl
,
47395 _swigt__p_wxMenuBarBase
,
47396 _swigt__p_wxSetCursorEvent
,
47397 _swigt__p_wxFSFile
,
47400 _swigt__std__ptrdiff_t
,
47401 _swigt__p_wxRegion
,
47402 _swigt__p_wxPoint2D
,
47406 _swigt__p_wxPySizer
,
47407 _swigt__p_wxVisualAttributes
,
47408 _swigt__p_wxNotifyEvent
,
47409 _swigt__p_wxPyEvent
,
47410 _swigt__p_wxPropagationDisabler
,
47411 _swigt__p_form_ops_t
,
47412 _swigt__p_wxAppTraits
,
47413 _swigt__p_wxArrayString
,
47414 _swigt__p_wxShowEvent
,
47415 _swigt__p_wxToolTip
,
47416 _swigt__p_wxMoveEvent
,
47417 _swigt__p_wxSizeEvent
,
47418 _swigt__p_wxActivateEvent
,
47419 _swigt__p_wxIconizeEvent
,
47420 _swigt__p_wxMaximizeEvent
,
47421 _swigt__p_wxQueryNewPaletteEvent
,
47422 _swigt__p_wxWindowCreateEvent
,
47423 _swigt__p_wxIdleEvent
,
47424 _swigt__p_wxDateEvent
,
47425 _swigt__p_wxMenuItem
,
47426 _swigt__p_wxStaticBox
,
47428 _swigt__p_wxDuplexMode
,
47429 _swigt__p_wxTIFFHandler
,
47430 _swigt__p_wxXPMHandler
,
47431 _swigt__p_wxPNMHandler
,
47432 _swigt__p_wxJPEGHandler
,
47433 _swigt__p_wxPCXHandler
,
47434 _swigt__p_wxGIFHandler
,
47435 _swigt__p_wxPNGHandler
,
47436 _swigt__p_wxANIHandler
,
47437 _swigt__p_wxMemoryFSHandler
,
47438 _swigt__p_wxZipFSHandler
,
47439 _swigt__p_wxInternetFSHandler
,
47440 _swigt__p_wxPyFileSystemHandler
,
47441 _swigt__p_wxEvtHandler
,
47442 _swigt__p_wxCURHandler
,
47443 _swigt__p_wxICOHandler
,
47444 _swigt__p_wxBMPHandler
,
47445 _swigt__p_wxImageHandler
,
47446 _swigt__p_wxFileSystemHandler
,
47448 _swigt__p_wxButton
,
47449 _swigt__p_wxGBSpan
,
47450 _swigt__p_wxPropagateOnce
,
47451 _swigt__p_wxAcceleratorTable
,
47452 _swigt__p_wxStdDialogButtonSizer
,
47454 _swigt__p_wxGBPosition
,
47457 _swigt__p_wxScrollWinEvent
,
47458 _swigt__p_wxPaperSize
,
47459 _swigt__p_wxImageHistogram
,
47461 _swigt__p_wxCursor
,
47462 _swigt__p_wxObject
,
47463 _swigt__p_wxInputStream
,
47464 _swigt__p_wxOutputStream
,
47465 _swigt__p_wxPyInputStream
,
47466 _swigt__p_wxDateTime
,
47467 _swigt__p_wxKeyEvent
,
47468 _swigt__p_wxNavigationKeyEvent
,
47469 _swigt__p_wxWindowDestroyEvent
,
47470 _swigt__p_unsigned_long
,
47471 _swigt__p_wxWindow
,
47472 _swigt__p_wxMenuBar
,
47473 _swigt__p_wxFileSystem
,
47474 _swigt__p_wxBitmap
,
47475 _swigt__unsigned_int
,
47476 _swigt__p_unsigned_int
,
47477 _swigt__p_wxMenuEvent
,
47478 _swigt__p_wxContextMenuEvent
,
47479 _swigt__p_unsigned_char
,
47480 _swigt__p_wxEraseEvent
,
47481 _swigt__p_wxMouseEvent
,
47482 _swigt__p_wxCloseEvent
,
47484 _swigt__p_wxCommandEvent
,
47485 _swigt__p_wxPyCommandEvent
,
47486 _swigt__p_wxPyDropTarget
,
47487 _swigt__p_wxQuantize
,
47488 _swigt__p_wxFocusEvent
,
47489 _swigt__p_wxChildFocusEvent
,
47490 _swigt__p_wxDropFilesEvent
,
47491 _swigt__p_wxControlWithItems
,
47492 _swigt__p_wxColour
,
47493 _swigt__p_wxValidator
,
47494 _swigt__p_wxPyValidator
,
47499 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
47501 static swig_const_info swig_const_table
[] = {
47502 {0, 0, 0, 0.0, 0, 0}};
47513 /* Python-specific SWIG API */
47514 #define SWIG_newvarlink() SWIG_Python_newvarlink()
47515 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
47516 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
47518 /* -----------------------------------------------------------------------------
47519 * global variable support code.
47520 * ----------------------------------------------------------------------------- */
47522 typedef struct swig_globalvar
{
47523 char *name
; /* Name of global variable */
47524 PyObject
*(*get_attr
)(); /* Return the current value */
47525 int (*set_attr
)(PyObject
*); /* Set the value */
47526 struct swig_globalvar
*next
;
47529 typedef struct swig_varlinkobject
{
47531 swig_globalvar
*vars
;
47532 } swig_varlinkobject
;
47535 swig_varlink_repr(swig_varlinkobject
*v
) {
47537 return PyString_FromString("<Swig global variables>");
47541 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
47542 swig_globalvar
*var
;
47544 fprintf(fp
,"Swig global variables { ");
47545 for (var
= v
->vars
; var
; var
=var
->next
) {
47546 fprintf(fp
,"%s", var
->name
);
47547 if (var
->next
) fprintf(fp
,", ");
47549 fprintf(fp
," }\n");
47554 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
47555 swig_globalvar
*var
= v
->vars
;
47557 if (strcmp(var
->name
,n
) == 0) {
47558 return (*var
->get_attr
)();
47562 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47567 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
47568 swig_globalvar
*var
= v
->vars
;
47570 if (strcmp(var
->name
,n
) == 0) {
47571 return (*var
->set_attr
)(p
);
47575 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
47579 static PyTypeObject varlinktype
= {
47580 PyObject_HEAD_INIT(0)
47581 0, /* Number of items in variable part (ob_size) */
47582 (char *)"swigvarlink", /* Type name (tp_name) */
47583 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
47584 0, /* Itemsize (tp_itemsize) */
47585 0, /* Deallocator (tp_dealloc) */
47586 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
47587 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
47588 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
47589 0, /* tp_compare */
47590 (reprfunc
) swig_varlink_repr
, /* tp_repr */
47591 0, /* tp_as_number */
47592 0, /* tp_as_sequence */
47593 0, /* tp_as_mapping */
47597 0, /* tp_getattro */
47598 0, /* tp_setattro */
47599 0, /* tp_as_buffer */
47602 #if PY_VERSION_HEX >= 0x02000000
47603 0, /* tp_traverse */
47606 #if PY_VERSION_HEX >= 0x02010000
47607 0, /* tp_richcompare */
47608 0, /* tp_weaklistoffset */
47610 #if PY_VERSION_HEX >= 0x02020000
47611 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
47613 #if PY_VERSION_HEX >= 0x02030000
47616 #ifdef COUNT_ALLOCS
47617 0,0,0,0 /* tp_alloc -> tp_next */
47621 /* Create a variable linking object for use later */
47623 SWIG_Python_newvarlink(void) {
47624 swig_varlinkobject
*result
= 0;
47625 result
= PyMem_NEW(swig_varlinkobject
,1);
47626 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
47627 result
->ob_type
= &varlinktype
;
47629 result
->ob_refcnt
= 0;
47630 Py_XINCREF((PyObject
*) result
);
47631 return ((PyObject
*) result
);
47635 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
47636 swig_varlinkobject
*v
;
47637 swig_globalvar
*gv
;
47638 v
= (swig_varlinkobject
*) p
;
47639 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
47640 gv
->name
= (char *) malloc(strlen(name
)+1);
47641 strcpy(gv
->name
,name
);
47642 gv
->get_attr
= get_attr
;
47643 gv
->set_attr
= set_attr
;
47644 gv
->next
= v
->vars
;
47648 /* -----------------------------------------------------------------------------
47649 * constants/methods manipulation
47650 * ----------------------------------------------------------------------------- */
47652 /* Install Constants */
47654 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
47657 for (i
= 0; constants
[i
].type
; i
++) {
47658 switch(constants
[i
].type
) {
47660 obj
= PyInt_FromLong(constants
[i
].lvalue
);
47662 case SWIG_PY_FLOAT
:
47663 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
47665 case SWIG_PY_STRING
:
47666 if (constants
[i
].pvalue
) {
47667 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
47669 Py_INCREF(Py_None
);
47673 case SWIG_PY_POINTER
:
47674 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
47676 case SWIG_PY_BINARY
:
47677 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
47684 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
47690 /* -----------------------------------------------------------------------------*/
47691 /* Fix SwigMethods to carry the callback ptrs when needed */
47692 /* -----------------------------------------------------------------------------*/
47695 SWIG_Python_FixMethods(PyMethodDef
*methods
,
47696 swig_const_info
*const_table
,
47697 swig_type_info
**types
,
47698 swig_type_info
**types_initial
) {
47700 for (i
= 0; methods
[i
].ml_name
; ++i
) {
47701 char *c
= methods
[i
].ml_doc
;
47702 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
47704 swig_const_info
*ci
= 0;
47705 char *name
= c
+ 10;
47706 for (j
= 0; const_table
[j
].type
; j
++) {
47707 if (strncmp(const_table
[j
].name
, name
,
47708 strlen(const_table
[j
].name
)) == 0) {
47709 ci
= &(const_table
[j
]);
47714 size_t shift
= (ci
->ptype
) - types
;
47715 swig_type_info
*ty
= types_initial
[shift
];
47716 size_t ldoc
= (c
- methods
[i
].ml_doc
);
47717 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
47718 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
47720 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
47721 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
47723 strncpy(buff
, "swig_ptr: ", 10);
47725 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
47726 methods
[i
].ml_doc
= ndoc
;
47732 /* -----------------------------------------------------------------------------*
47733 * Initialize type list
47734 * -----------------------------------------------------------------------------*/
47736 #if PY_MAJOR_VERSION < 2
47737 /* PyModule_AddObject function was introduced in Python 2.0. The following function
47738 is copied out of Python/modsupport.c in python version 2.3.4 */
47740 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
47743 if (!PyModule_Check(m
)) {
47744 PyErr_SetString(PyExc_TypeError
,
47745 "PyModule_AddObject() needs module as first arg");
47749 PyErr_SetString(PyExc_TypeError
,
47750 "PyModule_AddObject() needs non-NULL value");
47754 dict
= PyModule_GetDict(m
);
47755 if (dict
== NULL
) {
47756 /* Internal error -- modules must have a dict! */
47757 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
47758 PyModule_GetName(m
));
47761 if (PyDict_SetItemString(dict
, name
, o
))
47768 static swig_type_info
**
47769 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
47770 static PyMethodDef swig_empty_runtime_method_table
[] = {
47772 NULL
, NULL
, 0, NULL
47776 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
47777 swig_empty_runtime_method_table
);
47778 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
47779 if (pointer
&& module) {
47780 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
47782 return type_list_handle
;
47785 static swig_type_info
**
47786 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
47787 swig_type_info
**type_pointer
;
47789 /* first check if module already created */
47790 type_pointer
= SWIG_Python_GetTypeListHandle();
47791 if (type_pointer
) {
47792 return type_pointer
;
47794 /* create a new module and variable */
47795 return SWIG_Python_SetTypeListHandle(type_list_handle
);
47803 /* -----------------------------------------------------------------------------*
47804 * Partial Init method
47805 * -----------------------------------------------------------------------------*/
47807 #ifdef SWIG_LINK_RUNTIME
47811 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
47817 SWIGEXPORT(void) SWIG_init(void) {
47818 static PyObject
*SWIG_globals
= 0;
47819 static int typeinit
= 0;
47822 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
47824 /* Fix SwigMethods to carry the callback ptrs when needed */
47825 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
47827 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
47828 d
= PyModule_GetDict(m
);
47831 #ifdef SWIG_LINK_RUNTIME
47832 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
47834 # ifndef SWIG_STATIC_RUNTIME
47835 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
47838 for (i
= 0; swig_types_initial
[i
]; i
++) {
47839 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
47843 SWIG_InstallConstants(d
,swig_const_table
);
47846 #ifndef wxPyUSE_EXPORT
47847 // Make our API structure a CObject so other modules can import it
47848 // from this module.
47849 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
47850 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
47855 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_From_int((int)(wxNOT_FOUND
)));
47858 PyDict_SetItemString(d
,"VSCROLL", SWIG_From_int((int)(wxVSCROLL
)));
47861 PyDict_SetItemString(d
,"HSCROLL", SWIG_From_int((int)(wxHSCROLL
)));
47864 PyDict_SetItemString(d
,"CAPTION", SWIG_From_int((int)(wxCAPTION
)));
47867 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_From_int((int)(wxDOUBLE_BORDER
)));
47870 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_From_int((int)(wxSUNKEN_BORDER
)));
47873 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_From_int((int)(wxRAISED_BORDER
)));
47876 PyDict_SetItemString(d
,"BORDER", SWIG_From_int((int)(wxBORDER
)));
47879 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_From_int((int)(wxSIMPLE_BORDER
)));
47882 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_From_int((int)(wxSTATIC_BORDER
)));
47885 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_From_int((int)(wxTRANSPARENT_WINDOW
)));
47888 PyDict_SetItemString(d
,"NO_BORDER", SWIG_From_int((int)(wxNO_BORDER
)));
47891 PyDict_SetItemString(d
,"DEFAULT_CONTROL_BORDER", SWIG_From_int((int)(wxDEFAULT_CONTROL_BORDER
)));
47894 PyDict_SetItemString(d
,"DEFAULT_STATUSBAR_STYLE", SWIG_From_int((int)(wxDEFAULT_STATUSBAR_STYLE
)));
47897 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_From_int((int)(wxTAB_TRAVERSAL
)));
47900 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_From_int((int)(wxWANTS_CHARS
)));
47903 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_From_int((int)(wxPOPUP_WINDOW
)));
47906 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_From_int((int)(wxCENTER_FRAME
)));
47909 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_From_int((int)(wxCENTRE_ON_SCREEN
)));
47912 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_From_int((int)(wxCENTER_ON_SCREEN
)));
47915 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_From_int((int)(wxCLIP_CHILDREN
)));
47918 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_From_int((int)(wxCLIP_SIBLINGS
)));
47921 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_From_int((int)(wxALWAYS_SHOW_SB
)));
47924 PyDict_SetItemString(d
,"RETAINED", SWIG_From_int((int)(wxRETAINED
)));
47927 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_From_int((int)(wxBACKINGSTORE
)));
47930 PyDict_SetItemString(d
,"COLOURED", SWIG_From_int((int)(wxCOLOURED
)));
47933 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_From_int((int)(wxFIXED_LENGTH
)));
47936 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_From_int((int)(wxLB_NEEDED_SB
)));
47939 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_From_int((int)(wxLB_ALWAYS_SB
)));
47942 PyDict_SetItemString(d
,"LB_SORT", SWIG_From_int((int)(wxLB_SORT
)));
47945 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_From_int((int)(wxLB_SINGLE
)));
47948 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_From_int((int)(wxLB_MULTIPLE
)));
47951 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_From_int((int)(wxLB_EXTENDED
)));
47954 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_From_int((int)(wxLB_OWNERDRAW
)));
47957 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_From_int((int)(wxLB_HSCROLL
)));
47960 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_From_int((int)(wxPROCESS_ENTER
)));
47963 PyDict_SetItemString(d
,"PASSWORD", SWIG_From_int((int)(wxPASSWORD
)));
47966 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_From_int((int)(wxCB_SIMPLE
)));
47969 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_From_int((int)(wxCB_DROPDOWN
)));
47972 PyDict_SetItemString(d
,"CB_SORT", SWIG_From_int((int)(wxCB_SORT
)));
47975 PyDict_SetItemString(d
,"CB_READONLY", SWIG_From_int((int)(wxCB_READONLY
)));
47978 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_From_int((int)(wxRA_HORIZONTAL
)));
47981 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_From_int((int)(wxRA_VERTICAL
)));
47984 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_From_int((int)(wxRA_SPECIFY_ROWS
)));
47987 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_From_int((int)(wxRA_SPECIFY_COLS
)));
47990 PyDict_SetItemString(d
,"RA_USE_CHECKBOX", SWIG_From_int((int)(wxRA_USE_CHECKBOX
)));
47993 PyDict_SetItemString(d
,"RB_GROUP", SWIG_From_int((int)(wxRB_GROUP
)));
47996 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_From_int((int)(wxRB_SINGLE
)));
47999 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_From_int((int)(wxSB_HORIZONTAL
)));
48002 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_From_int((int)(wxSB_VERTICAL
)));
48005 PyDict_SetItemString(d
,"RB_USE_CHECKBOX", SWIG_From_int((int)(wxRB_USE_CHECKBOX
)));
48008 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_From_int((int)(wxST_SIZEGRIP
)));
48011 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_From_int((int)(wxST_NO_AUTORESIZE
)));
48014 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_From_int((int)(wxFLOOD_SURFACE
)));
48017 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_From_int((int)(wxFLOOD_BORDER
)));
48020 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_From_int((int)(wxODDEVEN_RULE
)));
48023 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_From_int((int)(wxWINDING_RULE
)));
48026 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_From_int((int)(wxTOOL_TOP
)));
48029 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_From_int((int)(wxTOOL_BOTTOM
)));
48032 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_From_int((int)(wxTOOL_LEFT
)));
48035 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_From_int((int)(wxTOOL_RIGHT
)));
48038 PyDict_SetItemString(d
,"OK", SWIG_From_int((int)(wxOK
)));
48041 PyDict_SetItemString(d
,"YES_NO", SWIG_From_int((int)(wxYES_NO
)));
48044 PyDict_SetItemString(d
,"CANCEL", SWIG_From_int((int)(wxCANCEL
)));
48047 PyDict_SetItemString(d
,"YES", SWIG_From_int((int)(wxYES
)));
48050 PyDict_SetItemString(d
,"NO", SWIG_From_int((int)(wxNO
)));
48053 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_From_int((int)(wxNO_DEFAULT
)));
48056 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_From_int((int)(wxYES_DEFAULT
)));
48059 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_From_int((int)(wxICON_EXCLAMATION
)));
48062 PyDict_SetItemString(d
,"ICON_HAND", SWIG_From_int((int)(wxICON_HAND
)));
48065 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_From_int((int)(wxICON_QUESTION
)));
48068 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_From_int((int)(wxICON_INFORMATION
)));
48071 PyDict_SetItemString(d
,"ICON_STOP", SWIG_From_int((int)(wxICON_STOP
)));
48074 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_From_int((int)(wxICON_ASTERISK
)));
48077 PyDict_SetItemString(d
,"ICON_MASK", SWIG_From_int((int)(wxICON_MASK
)));
48080 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_From_int((int)(wxICON_WARNING
)));
48083 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_From_int((int)(wxICON_ERROR
)));
48086 PyDict_SetItemString(d
,"FORWARD", SWIG_From_int((int)(wxFORWARD
)));
48089 PyDict_SetItemString(d
,"BACKWARD", SWIG_From_int((int)(wxBACKWARD
)));
48092 PyDict_SetItemString(d
,"RESET", SWIG_From_int((int)(wxRESET
)));
48095 PyDict_SetItemString(d
,"HELP", SWIG_From_int((int)(wxHELP
)));
48098 PyDict_SetItemString(d
,"MORE", SWIG_From_int((int)(wxMORE
)));
48101 PyDict_SetItemString(d
,"SETUP", SWIG_From_int((int)(wxSETUP
)));
48104 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_From_int((int)(wxSIZE_AUTO_WIDTH
)));
48107 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)(wxSIZE_AUTO_HEIGHT
)));
48110 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_From_int((int)(wxSIZE_AUTO
)));
48113 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_From_int((int)(wxSIZE_USE_EXISTING
)));
48116 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)(wxSIZE_ALLOW_MINUS_ONE
)));
48119 PyDict_SetItemString(d
,"PORTRAIT", SWIG_From_int((int)(wxPORTRAIT
)));
48122 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_From_int((int)(wxLANDSCAPE
)));
48125 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_From_int((int)(wxPRINT_QUALITY_HIGH
)));
48128 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)(wxPRINT_QUALITY_MEDIUM
)));
48131 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_From_int((int)(wxPRINT_QUALITY_LOW
)));
48134 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)(wxPRINT_QUALITY_DRAFT
)));
48137 PyDict_SetItemString(d
,"ID_ANY", SWIG_From_int((int)(wxID_ANY
)));
48140 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_From_int((int)(wxID_SEPARATOR
)));
48143 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_From_int((int)(wxID_LOWEST
)));
48146 PyDict_SetItemString(d
,"ID_OPEN", SWIG_From_int((int)(wxID_OPEN
)));
48149 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_From_int((int)(wxID_CLOSE
)));
48152 PyDict_SetItemString(d
,"ID_NEW", SWIG_From_int((int)(wxID_NEW
)));
48155 PyDict_SetItemString(d
,"ID_SAVE", SWIG_From_int((int)(wxID_SAVE
)));
48158 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_From_int((int)(wxID_SAVEAS
)));
48161 PyDict_SetItemString(d
,"ID_REVERT", SWIG_From_int((int)(wxID_REVERT
)));
48164 PyDict_SetItemString(d
,"ID_EXIT", SWIG_From_int((int)(wxID_EXIT
)));
48167 PyDict_SetItemString(d
,"ID_UNDO", SWIG_From_int((int)(wxID_UNDO
)));
48170 PyDict_SetItemString(d
,"ID_REDO", SWIG_From_int((int)(wxID_REDO
)));
48173 PyDict_SetItemString(d
,"ID_HELP", SWIG_From_int((int)(wxID_HELP
)));
48176 PyDict_SetItemString(d
,"ID_PRINT", SWIG_From_int((int)(wxID_PRINT
)));
48179 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_From_int((int)(wxID_PRINT_SETUP
)));
48182 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_From_int((int)(wxID_PREVIEW
)));
48185 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_From_int((int)(wxID_ABOUT
)));
48188 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_From_int((int)(wxID_HELP_CONTENTS
)));
48191 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_From_int((int)(wxID_HELP_COMMANDS
)));
48194 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_From_int((int)(wxID_HELP_PROCEDURES
)));
48197 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_From_int((int)(wxID_HELP_CONTEXT
)));
48200 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_From_int((int)(wxID_CLOSE_ALL
)));
48203 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_From_int((int)(wxID_PREFERENCES
)));
48206 PyDict_SetItemString(d
,"ID_CUT", SWIG_From_int((int)(wxID_CUT
)));
48209 PyDict_SetItemString(d
,"ID_COPY", SWIG_From_int((int)(wxID_COPY
)));
48212 PyDict_SetItemString(d
,"ID_PASTE", SWIG_From_int((int)(wxID_PASTE
)));
48215 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_From_int((int)(wxID_CLEAR
)));
48218 PyDict_SetItemString(d
,"ID_FIND", SWIG_From_int((int)(wxID_FIND
)));
48221 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_From_int((int)(wxID_DUPLICATE
)));
48224 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_From_int((int)(wxID_SELECTALL
)));
48227 PyDict_SetItemString(d
,"ID_DELETE", SWIG_From_int((int)(wxID_DELETE
)));
48230 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_From_int((int)(wxID_REPLACE
)));
48233 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_From_int((int)(wxID_REPLACE_ALL
)));
48236 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_From_int((int)(wxID_PROPERTIES
)));
48239 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_From_int((int)(wxID_VIEW_DETAILS
)));
48242 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_From_int((int)(wxID_VIEW_LARGEICONS
)));
48245 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_From_int((int)(wxID_VIEW_SMALLICONS
)));
48248 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_From_int((int)(wxID_VIEW_LIST
)));
48251 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_From_int((int)(wxID_VIEW_SORTDATE
)));
48254 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_From_int((int)(wxID_VIEW_SORTNAME
)));
48257 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_From_int((int)(wxID_VIEW_SORTSIZE
)));
48260 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_From_int((int)(wxID_VIEW_SORTTYPE
)));
48263 PyDict_SetItemString(d
,"ID_FILE1", SWIG_From_int((int)(wxID_FILE1
)));
48266 PyDict_SetItemString(d
,"ID_FILE2", SWIG_From_int((int)(wxID_FILE2
)));
48269 PyDict_SetItemString(d
,"ID_FILE3", SWIG_From_int((int)(wxID_FILE3
)));
48272 PyDict_SetItemString(d
,"ID_FILE4", SWIG_From_int((int)(wxID_FILE4
)));
48275 PyDict_SetItemString(d
,"ID_FILE5", SWIG_From_int((int)(wxID_FILE5
)));
48278 PyDict_SetItemString(d
,"ID_FILE6", SWIG_From_int((int)(wxID_FILE6
)));
48281 PyDict_SetItemString(d
,"ID_FILE7", SWIG_From_int((int)(wxID_FILE7
)));
48284 PyDict_SetItemString(d
,"ID_FILE8", SWIG_From_int((int)(wxID_FILE8
)));
48287 PyDict_SetItemString(d
,"ID_FILE9", SWIG_From_int((int)(wxID_FILE9
)));
48290 PyDict_SetItemString(d
,"ID_OK", SWIG_From_int((int)(wxID_OK
)));
48293 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_From_int((int)(wxID_CANCEL
)));
48296 PyDict_SetItemString(d
,"ID_APPLY", SWIG_From_int((int)(wxID_APPLY
)));
48299 PyDict_SetItemString(d
,"ID_YES", SWIG_From_int((int)(wxID_YES
)));
48302 PyDict_SetItemString(d
,"ID_NO", SWIG_From_int((int)(wxID_NO
)));
48305 PyDict_SetItemString(d
,"ID_STATIC", SWIG_From_int((int)(wxID_STATIC
)));
48308 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_From_int((int)(wxID_FORWARD
)));
48311 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_From_int((int)(wxID_BACKWARD
)));
48314 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_From_int((int)(wxID_DEFAULT
)));
48317 PyDict_SetItemString(d
,"ID_MORE", SWIG_From_int((int)(wxID_MORE
)));
48320 PyDict_SetItemString(d
,"ID_SETUP", SWIG_From_int((int)(wxID_SETUP
)));
48323 PyDict_SetItemString(d
,"ID_RESET", SWIG_From_int((int)(wxID_RESET
)));
48326 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_From_int((int)(wxID_CONTEXT_HELP
)));
48329 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_From_int((int)(wxID_YESTOALL
)));
48332 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_From_int((int)(wxID_NOTOALL
)));
48335 PyDict_SetItemString(d
,"ID_ABORT", SWIG_From_int((int)(wxID_ABORT
)));
48338 PyDict_SetItemString(d
,"ID_RETRY", SWIG_From_int((int)(wxID_RETRY
)));
48341 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_From_int((int)(wxID_IGNORE
)));
48344 PyDict_SetItemString(d
,"ID_ADD", SWIG_From_int((int)(wxID_ADD
)));
48347 PyDict_SetItemString(d
,"ID_REMOVE", SWIG_From_int((int)(wxID_REMOVE
)));
48350 PyDict_SetItemString(d
,"ID_UP", SWIG_From_int((int)(wxID_UP
)));
48353 PyDict_SetItemString(d
,"ID_DOWN", SWIG_From_int((int)(wxID_DOWN
)));
48356 PyDict_SetItemString(d
,"ID_HOME", SWIG_From_int((int)(wxID_HOME
)));
48359 PyDict_SetItemString(d
,"ID_REFRESH", SWIG_From_int((int)(wxID_REFRESH
)));
48362 PyDict_SetItemString(d
,"ID_STOP", SWIG_From_int((int)(wxID_STOP
)));
48365 PyDict_SetItemString(d
,"ID_INDEX", SWIG_From_int((int)(wxID_INDEX
)));
48368 PyDict_SetItemString(d
,"ID_BOLD", SWIG_From_int((int)(wxID_BOLD
)));
48371 PyDict_SetItemString(d
,"ID_ITALIC", SWIG_From_int((int)(wxID_ITALIC
)));
48374 PyDict_SetItemString(d
,"ID_JUSTIFY_CENTER", SWIG_From_int((int)(wxID_JUSTIFY_CENTER
)));
48377 PyDict_SetItemString(d
,"ID_JUSTIFY_FILL", SWIG_From_int((int)(wxID_JUSTIFY_FILL
)));
48380 PyDict_SetItemString(d
,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)(wxID_JUSTIFY_RIGHT
)));
48383 PyDict_SetItemString(d
,"ID_JUSTIFY_LEFT", SWIG_From_int((int)(wxID_JUSTIFY_LEFT
)));
48386 PyDict_SetItemString(d
,"ID_UNDERLINE", SWIG_From_int((int)(wxID_UNDERLINE
)));
48389 PyDict_SetItemString(d
,"ID_INDENT", SWIG_From_int((int)(wxID_INDENT
)));
48392 PyDict_SetItemString(d
,"ID_UNINDENT", SWIG_From_int((int)(wxID_UNINDENT
)));
48395 PyDict_SetItemString(d
,"ID_ZOOM_100", SWIG_From_int((int)(wxID_ZOOM_100
)));
48398 PyDict_SetItemString(d
,"ID_ZOOM_FIT", SWIG_From_int((int)(wxID_ZOOM_FIT
)));
48401 PyDict_SetItemString(d
,"ID_ZOOM_IN", SWIG_From_int((int)(wxID_ZOOM_IN
)));
48404 PyDict_SetItemString(d
,"ID_ZOOM_OUT", SWIG_From_int((int)(wxID_ZOOM_OUT
)));
48407 PyDict_SetItemString(d
,"ID_UNDELETE", SWIG_From_int((int)(wxID_UNDELETE
)));
48410 PyDict_SetItemString(d
,"ID_REVERT_TO_SAVED", SWIG_From_int((int)(wxID_REVERT_TO_SAVED
)));
48413 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_From_int((int)(wxID_HIGHEST
)));
48416 PyDict_SetItemString(d
,"OPEN", SWIG_From_int((int)(wxOPEN
)));
48419 PyDict_SetItemString(d
,"SAVE", SWIG_From_int((int)(wxSAVE
)));
48422 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_From_int((int)(wxHIDE_READONLY
)));
48425 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_From_int((int)(wxOVERWRITE_PROMPT
)));
48428 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_From_int((int)(wxFILE_MUST_EXIST
)));
48431 PyDict_SetItemString(d
,"MULTIPLE", SWIG_From_int((int)(wxMULTIPLE
)));
48434 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_From_int((int)(wxCHANGE_DIR
)));
48437 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_From_int((int)(wxACCEL_ALT
)));
48440 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_From_int((int)(wxACCEL_CTRL
)));
48443 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_From_int((int)(wxACCEL_SHIFT
)));
48446 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_From_int((int)(wxACCEL_NORMAL
)));
48449 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_From_int((int)(wxPD_AUTO_HIDE
)));
48452 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_From_int((int)(wxPD_APP_MODAL
)));
48455 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_From_int((int)(wxPD_CAN_ABORT
)));
48458 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_From_int((int)(wxPD_ELAPSED_TIME
)));
48461 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_From_int((int)(wxPD_ESTIMATED_TIME
)));
48464 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_From_int((int)(wxPD_REMAINING_TIME
)));
48467 PyDict_SetItemString(d
,"PD_SMOOTH", SWIG_From_int((int)(wxPD_SMOOTH
)));
48470 PyDict_SetItemString(d
,"PD_CAN_SKIP", SWIG_From_int((int)(wxPD_CAN_SKIP
)));
48473 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)(wxDD_NEW_DIR_BUTTON
)));
48476 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_From_int((int)(wxDD_DEFAULT_STYLE
)));
48479 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_From_int((int)(wxMENU_TEAROFF
)));
48482 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_From_int((int)(wxMB_DOCKABLE
)));
48485 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxNO_FULL_REPAINT_ON_RESIZE
)));
48488 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)(wxFULL_REPAINT_ON_RESIZE
)));
48491 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_From_int((int)(wxLI_HORIZONTAL
)));
48494 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_From_int((int)(wxLI_VERTICAL
)));
48497 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)(wxWS_EX_VALIDATE_RECURSIVELY
)));
48500 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)(wxWS_EX_BLOCK_EVENTS
)));
48503 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_From_int((int)(wxWS_EX_TRANSIENT
)));
48506 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)(wxWS_EX_THEMED_BACKGROUND
)));
48509 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)(wxWS_EX_PROCESS_IDLE
)));
48512 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)(wxWS_EX_PROCESS_UI_UPDATES
)));
48515 PyDict_SetItemString(d
,"MM_TEXT", SWIG_From_int((int)(wxMM_TEXT
)));
48518 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_From_int((int)(wxMM_LOMETRIC
)));
48521 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_From_int((int)(wxMM_HIMETRIC
)));
48524 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_From_int((int)(wxMM_LOENGLISH
)));
48527 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_From_int((int)(wxMM_HIENGLISH
)));
48530 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_From_int((int)(wxMM_TWIPS
)));
48533 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_From_int((int)(wxMM_ISOTROPIC
)));
48536 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_From_int((int)(wxMM_ANISOTROPIC
)));
48539 PyDict_SetItemString(d
,"MM_POINTS", SWIG_From_int((int)(wxMM_POINTS
)));
48542 PyDict_SetItemString(d
,"MM_METRIC", SWIG_From_int((int)(wxMM_METRIC
)));
48545 PyDict_SetItemString(d
,"CENTRE", SWIG_From_int((int)(wxCENTRE
)));
48548 PyDict_SetItemString(d
,"CENTER", SWIG_From_int((int)(wxCENTER
)));
48551 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_From_int((int)(wxHORIZONTAL
)));
48554 PyDict_SetItemString(d
,"VERTICAL", SWIG_From_int((int)(wxVERTICAL
)));
48557 PyDict_SetItemString(d
,"BOTH", SWIG_From_int((int)(wxBOTH
)));
48560 PyDict_SetItemString(d
,"LEFT", SWIG_From_int((int)(wxLEFT
)));
48563 PyDict_SetItemString(d
,"RIGHT", SWIG_From_int((int)(wxRIGHT
)));
48566 PyDict_SetItemString(d
,"UP", SWIG_From_int((int)(wxUP
)));
48569 PyDict_SetItemString(d
,"DOWN", SWIG_From_int((int)(wxDOWN
)));
48572 PyDict_SetItemString(d
,"TOP", SWIG_From_int((int)(wxTOP
)));
48575 PyDict_SetItemString(d
,"BOTTOM", SWIG_From_int((int)(wxBOTTOM
)));
48578 PyDict_SetItemString(d
,"NORTH", SWIG_From_int((int)(wxNORTH
)));
48581 PyDict_SetItemString(d
,"SOUTH", SWIG_From_int((int)(wxSOUTH
)));
48584 PyDict_SetItemString(d
,"WEST", SWIG_From_int((int)(wxWEST
)));
48587 PyDict_SetItemString(d
,"EAST", SWIG_From_int((int)(wxEAST
)));
48590 PyDict_SetItemString(d
,"ALL", SWIG_From_int((int)(wxALL
)));
48593 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_From_int((int)(wxALIGN_NOT
)));
48596 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTER_HORIZONTAL
)));
48599 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)(wxALIGN_CENTRE_HORIZONTAL
)));
48602 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_From_int((int)(wxALIGN_LEFT
)));
48605 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_From_int((int)(wxALIGN_TOP
)));
48608 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_From_int((int)(wxALIGN_RIGHT
)));
48611 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_From_int((int)(wxALIGN_BOTTOM
)));
48614 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTER_VERTICAL
)));
48617 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)(wxALIGN_CENTRE_VERTICAL
)));
48620 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_From_int((int)(wxALIGN_CENTER
)));
48623 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_From_int((int)(wxALIGN_CENTRE
)));
48626 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_From_int((int)(wxALIGN_MASK
)));
48629 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_From_int((int)(wxSTRETCH_NOT
)));
48632 PyDict_SetItemString(d
,"SHRINK", SWIG_From_int((int)(wxSHRINK
)));
48635 PyDict_SetItemString(d
,"GROW", SWIG_From_int((int)(wxGROW
)));
48638 PyDict_SetItemString(d
,"EXPAND", SWIG_From_int((int)(wxEXPAND
)));
48641 PyDict_SetItemString(d
,"SHAPED", SWIG_From_int((int)(wxSHAPED
)));
48644 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_From_int((int)(wxFIXED_MINSIZE
)));
48647 PyDict_SetItemString(d
,"TILE", SWIG_From_int((int)(wxTILE
)));
48650 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_From_int((int)(wxADJUST_MINSIZE
)));
48653 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_From_int((int)(wxBORDER_DEFAULT
)));
48656 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_From_int((int)(wxBORDER_NONE
)));
48659 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_From_int((int)(wxBORDER_STATIC
)));
48662 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_From_int((int)(wxBORDER_SIMPLE
)));
48665 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_From_int((int)(wxBORDER_RAISED
)));
48668 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_From_int((int)(wxBORDER_SUNKEN
)));
48671 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_From_int((int)(wxBORDER_DOUBLE
)));
48674 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_From_int((int)(wxBORDER_MASK
)));
48677 PyDict_SetItemString(d
,"BG_STYLE_SYSTEM", SWIG_From_int((int)(wxBG_STYLE_SYSTEM
)));
48680 PyDict_SetItemString(d
,"BG_STYLE_COLOUR", SWIG_From_int((int)(wxBG_STYLE_COLOUR
)));
48683 PyDict_SetItemString(d
,"BG_STYLE_CUSTOM", SWIG_From_int((int)(wxBG_STYLE_CUSTOM
)));
48686 PyDict_SetItemString(d
,"DEFAULT", SWIG_From_int((int)(wxDEFAULT
)));
48689 PyDict_SetItemString(d
,"DECORATIVE", SWIG_From_int((int)(wxDECORATIVE
)));
48692 PyDict_SetItemString(d
,"ROMAN", SWIG_From_int((int)(wxROMAN
)));
48695 PyDict_SetItemString(d
,"SCRIPT", SWIG_From_int((int)(wxSCRIPT
)));
48698 PyDict_SetItemString(d
,"SWISS", SWIG_From_int((int)(wxSWISS
)));
48701 PyDict_SetItemString(d
,"MODERN", SWIG_From_int((int)(wxMODERN
)));
48704 PyDict_SetItemString(d
,"TELETYPE", SWIG_From_int((int)(wxTELETYPE
)));
48707 PyDict_SetItemString(d
,"VARIABLE", SWIG_From_int((int)(wxVARIABLE
)));
48710 PyDict_SetItemString(d
,"FIXED", SWIG_From_int((int)(wxFIXED
)));
48713 PyDict_SetItemString(d
,"NORMAL", SWIG_From_int((int)(wxNORMAL
)));
48716 PyDict_SetItemString(d
,"LIGHT", SWIG_From_int((int)(wxLIGHT
)));
48719 PyDict_SetItemString(d
,"BOLD", SWIG_From_int((int)(wxBOLD
)));
48722 PyDict_SetItemString(d
,"ITALIC", SWIG_From_int((int)(wxITALIC
)));
48725 PyDict_SetItemString(d
,"SLANT", SWIG_From_int((int)(wxSLANT
)));
48728 PyDict_SetItemString(d
,"SOLID", SWIG_From_int((int)(wxSOLID
)));
48731 PyDict_SetItemString(d
,"DOT", SWIG_From_int((int)(wxDOT
)));
48734 PyDict_SetItemString(d
,"LONG_DASH", SWIG_From_int((int)(wxLONG_DASH
)));
48737 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_From_int((int)(wxSHORT_DASH
)));
48740 PyDict_SetItemString(d
,"DOT_DASH", SWIG_From_int((int)(wxDOT_DASH
)));
48743 PyDict_SetItemString(d
,"USER_DASH", SWIG_From_int((int)(wxUSER_DASH
)));
48746 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_From_int((int)(wxTRANSPARENT
)));
48749 PyDict_SetItemString(d
,"STIPPLE", SWIG_From_int((int)(wxSTIPPLE
)));
48752 PyDict_SetItemString(d
,"STIPPLE_MASK", SWIG_From_int((int)(wxSTIPPLE_MASK
)));
48755 PyDict_SetItemString(d
,"STIPPLE_MASK_OPAQUE", SWIG_From_int((int)(wxSTIPPLE_MASK_OPAQUE
)));
48758 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_From_int((int)(wxBDIAGONAL_HATCH
)));
48761 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_From_int((int)(wxCROSSDIAG_HATCH
)));
48764 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_From_int((int)(wxFDIAGONAL_HATCH
)));
48767 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_From_int((int)(wxCROSS_HATCH
)));
48770 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_From_int((int)(wxHORIZONTAL_HATCH
)));
48773 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_From_int((int)(wxVERTICAL_HATCH
)));
48776 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_From_int((int)(wxJOIN_BEVEL
)));
48779 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_From_int((int)(wxJOIN_MITER
)));
48782 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_From_int((int)(wxJOIN_ROUND
)));
48785 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_From_int((int)(wxCAP_ROUND
)));
48788 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_From_int((int)(wxCAP_PROJECTING
)));
48791 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_From_int((int)(wxCAP_BUTT
)));
48794 PyDict_SetItemString(d
,"CLEAR", SWIG_From_int((int)(wxCLEAR
)));
48797 PyDict_SetItemString(d
,"XOR", SWIG_From_int((int)(wxXOR
)));
48800 PyDict_SetItemString(d
,"INVERT", SWIG_From_int((int)(wxINVERT
)));
48803 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_From_int((int)(wxOR_REVERSE
)));
48806 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_From_int((int)(wxAND_REVERSE
)));
48809 PyDict_SetItemString(d
,"COPY", SWIG_From_int((int)(wxCOPY
)));
48812 PyDict_SetItemString(d
,"AND", SWIG_From_int((int)(wxAND
)));
48815 PyDict_SetItemString(d
,"AND_INVERT", SWIG_From_int((int)(wxAND_INVERT
)));
48818 PyDict_SetItemString(d
,"NO_OP", SWIG_From_int((int)(wxNO_OP
)));
48821 PyDict_SetItemString(d
,"NOR", SWIG_From_int((int)(wxNOR
)));
48824 PyDict_SetItemString(d
,"EQUIV", SWIG_From_int((int)(wxEQUIV
)));
48827 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_From_int((int)(wxSRC_INVERT
)));
48830 PyDict_SetItemString(d
,"OR_INVERT", SWIG_From_int((int)(wxOR_INVERT
)));
48833 PyDict_SetItemString(d
,"NAND", SWIG_From_int((int)(wxNAND
)));
48836 PyDict_SetItemString(d
,"OR", SWIG_From_int((int)(wxOR
)));
48839 PyDict_SetItemString(d
,"SET", SWIG_From_int((int)(wxSET
)));
48842 PyDict_SetItemString(d
,"WXK_BACK", SWIG_From_int((int)(WXK_BACK
)));
48845 PyDict_SetItemString(d
,"WXK_TAB", SWIG_From_int((int)(WXK_TAB
)));
48848 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_From_int((int)(WXK_RETURN
)));
48851 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_From_int((int)(WXK_ESCAPE
)));
48854 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_From_int((int)(WXK_SPACE
)));
48857 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_From_int((int)(WXK_DELETE
)));
48860 PyDict_SetItemString(d
,"WXK_START", SWIG_From_int((int)(WXK_START
)));
48863 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_From_int((int)(WXK_LBUTTON
)));
48866 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_From_int((int)(WXK_RBUTTON
)));
48869 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_From_int((int)(WXK_CANCEL
)));
48872 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_From_int((int)(WXK_MBUTTON
)));
48875 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_From_int((int)(WXK_CLEAR
)));
48878 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_From_int((int)(WXK_SHIFT
)));
48881 PyDict_SetItemString(d
,"WXK_ALT", SWIG_From_int((int)(WXK_ALT
)));
48884 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_From_int((int)(WXK_CONTROL
)));
48887 PyDict_SetItemString(d
,"WXK_MENU", SWIG_From_int((int)(WXK_MENU
)));
48890 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_From_int((int)(WXK_PAUSE
)));
48893 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_From_int((int)(WXK_CAPITAL
)));
48896 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_From_int((int)(WXK_PRIOR
)));
48899 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_From_int((int)(WXK_NEXT
)));
48902 PyDict_SetItemString(d
,"WXK_END", SWIG_From_int((int)(WXK_END
)));
48905 PyDict_SetItemString(d
,"WXK_HOME", SWIG_From_int((int)(WXK_HOME
)));
48908 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_From_int((int)(WXK_LEFT
)));
48911 PyDict_SetItemString(d
,"WXK_UP", SWIG_From_int((int)(WXK_UP
)));
48914 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_From_int((int)(WXK_RIGHT
)));
48917 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_From_int((int)(WXK_DOWN
)));
48920 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_From_int((int)(WXK_SELECT
)));
48923 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_From_int((int)(WXK_PRINT
)));
48926 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_From_int((int)(WXK_EXECUTE
)));
48929 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_From_int((int)(WXK_SNAPSHOT
)));
48932 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_From_int((int)(WXK_INSERT
)));
48935 PyDict_SetItemString(d
,"WXK_HELP", SWIG_From_int((int)(WXK_HELP
)));
48938 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_From_int((int)(WXK_NUMPAD0
)));
48941 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_From_int((int)(WXK_NUMPAD1
)));
48944 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_From_int((int)(WXK_NUMPAD2
)));
48947 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_From_int((int)(WXK_NUMPAD3
)));
48950 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_From_int((int)(WXK_NUMPAD4
)));
48953 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_From_int((int)(WXK_NUMPAD5
)));
48956 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_From_int((int)(WXK_NUMPAD6
)));
48959 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_From_int((int)(WXK_NUMPAD7
)));
48962 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_From_int((int)(WXK_NUMPAD8
)));
48965 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_From_int((int)(WXK_NUMPAD9
)));
48968 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_From_int((int)(WXK_MULTIPLY
)));
48971 PyDict_SetItemString(d
,"WXK_ADD", SWIG_From_int((int)(WXK_ADD
)));
48974 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_From_int((int)(WXK_SEPARATOR
)));
48977 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_From_int((int)(WXK_SUBTRACT
)));
48980 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_From_int((int)(WXK_DECIMAL
)));
48983 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_From_int((int)(WXK_DIVIDE
)));
48986 PyDict_SetItemString(d
,"WXK_F1", SWIG_From_int((int)(WXK_F1
)));
48989 PyDict_SetItemString(d
,"WXK_F2", SWIG_From_int((int)(WXK_F2
)));
48992 PyDict_SetItemString(d
,"WXK_F3", SWIG_From_int((int)(WXK_F3
)));
48995 PyDict_SetItemString(d
,"WXK_F4", SWIG_From_int((int)(WXK_F4
)));
48998 PyDict_SetItemString(d
,"WXK_F5", SWIG_From_int((int)(WXK_F5
)));
49001 PyDict_SetItemString(d
,"WXK_F6", SWIG_From_int((int)(WXK_F6
)));
49004 PyDict_SetItemString(d
,"WXK_F7", SWIG_From_int((int)(WXK_F7
)));
49007 PyDict_SetItemString(d
,"WXK_F8", SWIG_From_int((int)(WXK_F8
)));
49010 PyDict_SetItemString(d
,"WXK_F9", SWIG_From_int((int)(WXK_F9
)));
49013 PyDict_SetItemString(d
,"WXK_F10", SWIG_From_int((int)(WXK_F10
)));
49016 PyDict_SetItemString(d
,"WXK_F11", SWIG_From_int((int)(WXK_F11
)));
49019 PyDict_SetItemString(d
,"WXK_F12", SWIG_From_int((int)(WXK_F12
)));
49022 PyDict_SetItemString(d
,"WXK_F13", SWIG_From_int((int)(WXK_F13
)));
49025 PyDict_SetItemString(d
,"WXK_F14", SWIG_From_int((int)(WXK_F14
)));
49028 PyDict_SetItemString(d
,"WXK_F15", SWIG_From_int((int)(WXK_F15
)));
49031 PyDict_SetItemString(d
,"WXK_F16", SWIG_From_int((int)(WXK_F16
)));
49034 PyDict_SetItemString(d
,"WXK_F17", SWIG_From_int((int)(WXK_F17
)));
49037 PyDict_SetItemString(d
,"WXK_F18", SWIG_From_int((int)(WXK_F18
)));
49040 PyDict_SetItemString(d
,"WXK_F19", SWIG_From_int((int)(WXK_F19
)));
49043 PyDict_SetItemString(d
,"WXK_F20", SWIG_From_int((int)(WXK_F20
)));
49046 PyDict_SetItemString(d
,"WXK_F21", SWIG_From_int((int)(WXK_F21
)));
49049 PyDict_SetItemString(d
,"WXK_F22", SWIG_From_int((int)(WXK_F22
)));
49052 PyDict_SetItemString(d
,"WXK_F23", SWIG_From_int((int)(WXK_F23
)));
49055 PyDict_SetItemString(d
,"WXK_F24", SWIG_From_int((int)(WXK_F24
)));
49058 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_From_int((int)(WXK_NUMLOCK
)));
49061 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_From_int((int)(WXK_SCROLL
)));
49064 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_From_int((int)(WXK_PAGEUP
)));
49067 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_From_int((int)(WXK_PAGEDOWN
)));
49070 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_From_int((int)(WXK_NUMPAD_SPACE
)));
49073 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_From_int((int)(WXK_NUMPAD_TAB
)));
49076 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_From_int((int)(WXK_NUMPAD_ENTER
)));
49079 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_From_int((int)(WXK_NUMPAD_F1
)));
49082 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_From_int((int)(WXK_NUMPAD_F2
)));
49085 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_From_int((int)(WXK_NUMPAD_F3
)));
49088 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_From_int((int)(WXK_NUMPAD_F4
)));
49091 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_From_int((int)(WXK_NUMPAD_HOME
)));
49094 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_From_int((int)(WXK_NUMPAD_LEFT
)));
49097 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_From_int((int)(WXK_NUMPAD_UP
)));
49100 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)(WXK_NUMPAD_RIGHT
)));
49103 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_From_int((int)(WXK_NUMPAD_DOWN
)));
49106 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)(WXK_NUMPAD_PRIOR
)));
49109 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)(WXK_NUMPAD_PAGEUP
)));
49112 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_From_int((int)(WXK_NUMPAD_NEXT
)));
49115 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)(WXK_NUMPAD_PAGEDOWN
)));
49118 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_From_int((int)(WXK_NUMPAD_END
)));
49121 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)(WXK_NUMPAD_BEGIN
)));
49124 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_From_int((int)(WXK_NUMPAD_INSERT
)));
49127 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_From_int((int)(WXK_NUMPAD_DELETE
)));
49130 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)(WXK_NUMPAD_EQUAL
)));
49133 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)(WXK_NUMPAD_MULTIPLY
)));
49136 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_From_int((int)(WXK_NUMPAD_ADD
)));
49139 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)(WXK_NUMPAD_SEPARATOR
)));
49142 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)(WXK_NUMPAD_SUBTRACT
)));
49145 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)(WXK_NUMPAD_DECIMAL
)));
49148 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)(WXK_NUMPAD_DIVIDE
)));
49151 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_From_int((int)(WXK_WINDOWS_LEFT
)));
49154 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)(WXK_WINDOWS_RIGHT
)));
49157 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_From_int((int)(WXK_WINDOWS_MENU
)));
49160 PyDict_SetItemString(d
,"WXK_COMMAND", SWIG_From_int((int)(WXK_COMMAND
)));
49163 PyDict_SetItemString(d
,"WXK_SPECIAL1", SWIG_From_int((int)(WXK_SPECIAL1
)));
49166 PyDict_SetItemString(d
,"WXK_SPECIAL2", SWIG_From_int((int)(WXK_SPECIAL2
)));
49169 PyDict_SetItemString(d
,"WXK_SPECIAL3", SWIG_From_int((int)(WXK_SPECIAL3
)));
49172 PyDict_SetItemString(d
,"WXK_SPECIAL4", SWIG_From_int((int)(WXK_SPECIAL4
)));
49175 PyDict_SetItemString(d
,"WXK_SPECIAL5", SWIG_From_int((int)(WXK_SPECIAL5
)));
49178 PyDict_SetItemString(d
,"WXK_SPECIAL6", SWIG_From_int((int)(WXK_SPECIAL6
)));
49181 PyDict_SetItemString(d
,"WXK_SPECIAL7", SWIG_From_int((int)(WXK_SPECIAL7
)));
49184 PyDict_SetItemString(d
,"WXK_SPECIAL8", SWIG_From_int((int)(WXK_SPECIAL8
)));
49187 PyDict_SetItemString(d
,"WXK_SPECIAL9", SWIG_From_int((int)(WXK_SPECIAL9
)));
49190 PyDict_SetItemString(d
,"WXK_SPECIAL10", SWIG_From_int((int)(WXK_SPECIAL10
)));
49193 PyDict_SetItemString(d
,"WXK_SPECIAL11", SWIG_From_int((int)(WXK_SPECIAL11
)));
49196 PyDict_SetItemString(d
,"WXK_SPECIAL12", SWIG_From_int((int)(WXK_SPECIAL12
)));
49199 PyDict_SetItemString(d
,"WXK_SPECIAL13", SWIG_From_int((int)(WXK_SPECIAL13
)));
49202 PyDict_SetItemString(d
,"WXK_SPECIAL14", SWIG_From_int((int)(WXK_SPECIAL14
)));
49205 PyDict_SetItemString(d
,"WXK_SPECIAL15", SWIG_From_int((int)(WXK_SPECIAL15
)));
49208 PyDict_SetItemString(d
,"WXK_SPECIAL16", SWIG_From_int((int)(WXK_SPECIAL16
)));
49211 PyDict_SetItemString(d
,"WXK_SPECIAL17", SWIG_From_int((int)(WXK_SPECIAL17
)));
49214 PyDict_SetItemString(d
,"WXK_SPECIAL18", SWIG_From_int((int)(WXK_SPECIAL18
)));
49217 PyDict_SetItemString(d
,"WXK_SPECIAL19", SWIG_From_int((int)(WXK_SPECIAL19
)));
49220 PyDict_SetItemString(d
,"WXK_SPECIAL20", SWIG_From_int((int)(WXK_SPECIAL20
)));
49223 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_From_int((int)(wxPAPER_NONE
)));
49226 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_From_int((int)(wxPAPER_LETTER
)));
49229 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_From_int((int)(wxPAPER_LEGAL
)));
49232 PyDict_SetItemString(d
,"PAPER_A4", SWIG_From_int((int)(wxPAPER_A4
)));
49235 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_From_int((int)(wxPAPER_CSHEET
)));
49238 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_From_int((int)(wxPAPER_DSHEET
)));
49241 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_From_int((int)(wxPAPER_ESHEET
)));
49244 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_From_int((int)(wxPAPER_LETTERSMALL
)));
49247 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_From_int((int)(wxPAPER_TABLOID
)));
49250 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_From_int((int)(wxPAPER_LEDGER
)));
49253 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_From_int((int)(wxPAPER_STATEMENT
)));
49256 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_From_int((int)(wxPAPER_EXECUTIVE
)));
49259 PyDict_SetItemString(d
,"PAPER_A3", SWIG_From_int((int)(wxPAPER_A3
)));
49262 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_From_int((int)(wxPAPER_A4SMALL
)));
49265 PyDict_SetItemString(d
,"PAPER_A5", SWIG_From_int((int)(wxPAPER_A5
)));
49268 PyDict_SetItemString(d
,"PAPER_B4", SWIG_From_int((int)(wxPAPER_B4
)));
49271 PyDict_SetItemString(d
,"PAPER_B5", SWIG_From_int((int)(wxPAPER_B5
)));
49274 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_From_int((int)(wxPAPER_FOLIO
)));
49277 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_From_int((int)(wxPAPER_QUARTO
)));
49280 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_From_int((int)(wxPAPER_10X14
)));
49283 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_From_int((int)(wxPAPER_11X17
)));
49286 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_From_int((int)(wxPAPER_NOTE
)));
49289 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_From_int((int)(wxPAPER_ENV_9
)));
49292 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_From_int((int)(wxPAPER_ENV_10
)));
49295 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_From_int((int)(wxPAPER_ENV_11
)));
49298 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_From_int((int)(wxPAPER_ENV_12
)));
49301 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_From_int((int)(wxPAPER_ENV_14
)));
49304 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_From_int((int)(wxPAPER_ENV_DL
)));
49307 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_From_int((int)(wxPAPER_ENV_C5
)));
49310 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_From_int((int)(wxPAPER_ENV_C3
)));
49313 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_From_int((int)(wxPAPER_ENV_C4
)));
49316 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_From_int((int)(wxPAPER_ENV_C6
)));
49319 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_From_int((int)(wxPAPER_ENV_C65
)));
49322 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_From_int((int)(wxPAPER_ENV_B4
)));
49325 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_From_int((int)(wxPAPER_ENV_B5
)));
49328 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_From_int((int)(wxPAPER_ENV_B6
)));
49331 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_From_int((int)(wxPAPER_ENV_ITALY
)));
49334 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_From_int((int)(wxPAPER_ENV_MONARCH
)));
49337 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_From_int((int)(wxPAPER_ENV_PERSONAL
)));
49340 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_From_int((int)(wxPAPER_FANFOLD_US
)));
49343 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_STD_GERMAN
)));
49346 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)(wxPAPER_FANFOLD_LGL_GERMAN
)));
49349 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_From_int((int)(wxPAPER_ISO_B4
)));
49352 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD
)));
49355 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_From_int((int)(wxPAPER_9X11
)));
49358 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_From_int((int)(wxPAPER_10X11
)));
49361 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_From_int((int)(wxPAPER_15X11
)));
49364 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_From_int((int)(wxPAPER_ENV_INVITE
)));
49367 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA
)));
49370 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)(wxPAPER_LEGAL_EXTRA
)));
49373 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)(wxPAPER_TABLOID_EXTRA
)));
49376 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_From_int((int)(wxPAPER_A4_EXTRA
)));
49379 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_TRANSVERSE
)));
49382 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A4_TRANSVERSE
)));
49385 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
49388 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_From_int((int)(wxPAPER_A_PLUS
)));
49391 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_From_int((int)(wxPAPER_B_PLUS
)));
49394 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_From_int((int)(wxPAPER_LETTER_PLUS
)));
49397 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_From_int((int)(wxPAPER_A4_PLUS
)));
49400 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A5_TRANSVERSE
)));
49403 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)(wxPAPER_B5_TRANSVERSE
)));
49406 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_From_int((int)(wxPAPER_A3_EXTRA
)));
49409 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_From_int((int)(wxPAPER_A5_EXTRA
)));
49412 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_From_int((int)(wxPAPER_B5_EXTRA
)));
49415 PyDict_SetItemString(d
,"PAPER_A2", SWIG_From_int((int)(wxPAPER_A2
)));
49418 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_TRANSVERSE
)));
49421 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)(wxPAPER_A3_EXTRA_TRANSVERSE
)));
49424 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD
)));
49427 PyDict_SetItemString(d
,"PAPER_A6", SWIG_From_int((int)(wxPAPER_A6
)));
49430 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2", SWIG_From_int((int)(wxPAPER_JENV_KAKU2
)));
49433 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3", SWIG_From_int((int)(wxPAPER_JENV_KAKU3
)));
49436 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3", SWIG_From_int((int)(wxPAPER_JENV_CHOU3
)));
49439 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4", SWIG_From_int((int)(wxPAPER_JENV_CHOU4
)));
49442 PyDict_SetItemString(d
,"PAPER_LETTER_ROTATED", SWIG_From_int((int)(wxPAPER_LETTER_ROTATED
)));
49445 PyDict_SetItemString(d
,"PAPER_A3_ROTATED", SWIG_From_int((int)(wxPAPER_A3_ROTATED
)));
49448 PyDict_SetItemString(d
,"PAPER_A4_ROTATED", SWIG_From_int((int)(wxPAPER_A4_ROTATED
)));
49451 PyDict_SetItemString(d
,"PAPER_A5_ROTATED", SWIG_From_int((int)(wxPAPER_A5_ROTATED
)));
49454 PyDict_SetItemString(d
,"PAPER_B4_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B4_JIS_ROTATED
)));
49457 PyDict_SetItemString(d
,"PAPER_B5_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B5_JIS_ROTATED
)));
49460 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
49463 PyDict_SetItemString(d
,"PAPER_DBL_JAPANESE_POSTCARD_ROTATED", SWIG_From_int((int)(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
49466 PyDict_SetItemString(d
,"PAPER_A6_ROTATED", SWIG_From_int((int)(wxPAPER_A6_ROTATED
)));
49469 PyDict_SetItemString(d
,"PAPER_JENV_KAKU2_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU2_ROTATED
)));
49472 PyDict_SetItemString(d
,"PAPER_JENV_KAKU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_KAKU3_ROTATED
)));
49475 PyDict_SetItemString(d
,"PAPER_JENV_CHOU3_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU3_ROTATED
)));
49478 PyDict_SetItemString(d
,"PAPER_JENV_CHOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_CHOU4_ROTATED
)));
49481 PyDict_SetItemString(d
,"PAPER_B6_JIS", SWIG_From_int((int)(wxPAPER_B6_JIS
)));
49484 PyDict_SetItemString(d
,"PAPER_B6_JIS_ROTATED", SWIG_From_int((int)(wxPAPER_B6_JIS_ROTATED
)));
49487 PyDict_SetItemString(d
,"PAPER_12X11", SWIG_From_int((int)(wxPAPER_12X11
)));
49490 PyDict_SetItemString(d
,"PAPER_JENV_YOU4", SWIG_From_int((int)(wxPAPER_JENV_YOU4
)));
49493 PyDict_SetItemString(d
,"PAPER_JENV_YOU4_ROTATED", SWIG_From_int((int)(wxPAPER_JENV_YOU4_ROTATED
)));
49496 PyDict_SetItemString(d
,"PAPER_P16K", SWIG_From_int((int)(wxPAPER_P16K
)));
49499 PyDict_SetItemString(d
,"PAPER_P32K", SWIG_From_int((int)(wxPAPER_P32K
)));
49502 PyDict_SetItemString(d
,"PAPER_P32KBIG", SWIG_From_int((int)(wxPAPER_P32KBIG
)));
49505 PyDict_SetItemString(d
,"PAPER_PENV_1", SWIG_From_int((int)(wxPAPER_PENV_1
)));
49508 PyDict_SetItemString(d
,"PAPER_PENV_2", SWIG_From_int((int)(wxPAPER_PENV_2
)));
49511 PyDict_SetItemString(d
,"PAPER_PENV_3", SWIG_From_int((int)(wxPAPER_PENV_3
)));
49514 PyDict_SetItemString(d
,"PAPER_PENV_4", SWIG_From_int((int)(wxPAPER_PENV_4
)));
49517 PyDict_SetItemString(d
,"PAPER_PENV_5", SWIG_From_int((int)(wxPAPER_PENV_5
)));
49520 PyDict_SetItemString(d
,"PAPER_PENV_6", SWIG_From_int((int)(wxPAPER_PENV_6
)));
49523 PyDict_SetItemString(d
,"PAPER_PENV_7", SWIG_From_int((int)(wxPAPER_PENV_7
)));
49526 PyDict_SetItemString(d
,"PAPER_PENV_8", SWIG_From_int((int)(wxPAPER_PENV_8
)));
49529 PyDict_SetItemString(d
,"PAPER_PENV_9", SWIG_From_int((int)(wxPAPER_PENV_9
)));
49532 PyDict_SetItemString(d
,"PAPER_PENV_10", SWIG_From_int((int)(wxPAPER_PENV_10
)));
49535 PyDict_SetItemString(d
,"PAPER_P16K_ROTATED", SWIG_From_int((int)(wxPAPER_P16K_ROTATED
)));
49538 PyDict_SetItemString(d
,"PAPER_P32K_ROTATED", SWIG_From_int((int)(wxPAPER_P32K_ROTATED
)));
49541 PyDict_SetItemString(d
,"PAPER_P32KBIG_ROTATED", SWIG_From_int((int)(wxPAPER_P32KBIG_ROTATED
)));
49544 PyDict_SetItemString(d
,"PAPER_PENV_1_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_1_ROTATED
)));
49547 PyDict_SetItemString(d
,"PAPER_PENV_2_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_2_ROTATED
)));
49550 PyDict_SetItemString(d
,"PAPER_PENV_3_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_3_ROTATED
)));
49553 PyDict_SetItemString(d
,"PAPER_PENV_4_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_4_ROTATED
)));
49556 PyDict_SetItemString(d
,"PAPER_PENV_5_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_5_ROTATED
)));
49559 PyDict_SetItemString(d
,"PAPER_PENV_6_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_6_ROTATED
)));
49562 PyDict_SetItemString(d
,"PAPER_PENV_7_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_7_ROTATED
)));
49565 PyDict_SetItemString(d
,"PAPER_PENV_8_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_8_ROTATED
)));
49568 PyDict_SetItemString(d
,"PAPER_PENV_9_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_9_ROTATED
)));
49571 PyDict_SetItemString(d
,"PAPER_PENV_10_ROTATED", SWIG_From_int((int)(wxPAPER_PENV_10_ROTATED
)));
49574 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_From_int((int)(wxDUPLEX_SIMPLEX
)));
49577 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_From_int((int)(wxDUPLEX_HORIZONTAL
)));
49580 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_From_int((int)(wxDUPLEX_VERTICAL
)));
49583 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_From_int((int)(wxITEM_SEPARATOR
)));
49586 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_From_int((int)(wxITEM_NORMAL
)));
49589 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_From_int((int)(wxITEM_CHECK
)));
49592 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_From_int((int)(wxITEM_RADIO
)));
49595 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_From_int((int)(wxITEM_MAX
)));
49598 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_From_int((int)(wxHT_NOWHERE
)));
49601 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)(wxHT_SCROLLBAR_FIRST
)));
49604 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_1
)));
49607 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_LINE_2
)));
49610 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
49613 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
49616 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)(wxHT_SCROLLBAR_THUMB
)));
49619 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_1
)));
49622 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)(wxHT_SCROLLBAR_BAR_2
)));
49625 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_From_int((int)(wxHT_SCROLLBAR_LAST
)));
49628 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)(wxHT_WINDOW_OUTSIDE
)));
49631 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_From_int((int)(wxHT_WINDOW_INSIDE
)));
49634 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_VERT_SCROLLBAR
)));
49637 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)(wxHT_WINDOW_HORZ_SCROLLBAR
)));
49640 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_From_int((int)(wxHT_WINDOW_CORNER
)));
49643 PyDict_SetItemString(d
,"HT_MAX", SWIG_From_int((int)(wxHT_MAX
)));
49646 PyDict_SetItemString(d
,"MOD_NONE", SWIG_From_int((int)(wxMOD_NONE
)));
49649 PyDict_SetItemString(d
,"MOD_ALT", SWIG_From_int((int)(wxMOD_ALT
)));
49652 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_From_int((int)(wxMOD_CONTROL
)));
49655 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_From_int((int)(wxMOD_SHIFT
)));
49658 PyDict_SetItemString(d
,"MOD_WIN", SWIG_From_int((int)(wxMOD_WIN
)));
49661 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_From_int((int)(wxUPDATE_UI_NONE
)));
49664 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_From_int((int)(wxUPDATE_UI_RECURSE
)));
49667 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)(wxUPDATE_UI_FROMIDLE
)));
49669 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
49670 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
49672 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_From_int((int)(wxBITMAP_TYPE_INVALID
)));
49675 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_From_int((int)(wxBITMAP_TYPE_BMP
)));
49678 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_From_int((int)(wxBITMAP_TYPE_ICO
)));
49681 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_From_int((int)(wxBITMAP_TYPE_CUR
)));
49684 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_From_int((int)(wxBITMAP_TYPE_XBM
)));
49687 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XBM_DATA
)));
49690 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_From_int((int)(wxBITMAP_TYPE_XPM
)));
49693 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)(wxBITMAP_TYPE_XPM_DATA
)));
49696 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_From_int((int)(wxBITMAP_TYPE_TIF
)));
49699 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_From_int((int)(wxBITMAP_TYPE_GIF
)));
49702 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_From_int((int)(wxBITMAP_TYPE_PNG
)));
49705 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_From_int((int)(wxBITMAP_TYPE_JPEG
)));
49708 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_From_int((int)(wxBITMAP_TYPE_PNM
)));
49711 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_From_int((int)(wxBITMAP_TYPE_PCX
)));
49714 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_From_int((int)(wxBITMAP_TYPE_PICT
)));
49717 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_From_int((int)(wxBITMAP_TYPE_ICON
)));
49720 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_From_int((int)(wxBITMAP_TYPE_ANI
)));
49723 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_From_int((int)(wxBITMAP_TYPE_IFF
)));
49726 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)(wxBITMAP_TYPE_MACCURSOR
)));
49729 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_From_int((int)(wxBITMAP_TYPE_ANY
)));
49732 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_From_int((int)(wxCURSOR_NONE
)));
49735 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_From_int((int)(wxCURSOR_ARROW
)));
49738 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)(wxCURSOR_RIGHT_ARROW
)));
49741 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_From_int((int)(wxCURSOR_BULLSEYE
)));
49744 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_From_int((int)(wxCURSOR_CHAR
)));
49747 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_From_int((int)(wxCURSOR_CROSS
)));
49750 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_From_int((int)(wxCURSOR_HAND
)));
49753 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_From_int((int)(wxCURSOR_IBEAM
)));
49756 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)(wxCURSOR_LEFT_BUTTON
)));
49759 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_From_int((int)(wxCURSOR_MAGNIFIER
)));
49762 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)(wxCURSOR_MIDDLE_BUTTON
)));
49765 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_From_int((int)(wxCURSOR_NO_ENTRY
)));
49768 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)(wxCURSOR_PAINT_BRUSH
)));
49771 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_From_int((int)(wxCURSOR_PENCIL
)));
49774 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_From_int((int)(wxCURSOR_POINT_LEFT
)));
49777 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_From_int((int)(wxCURSOR_POINT_RIGHT
)));
49780 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)(wxCURSOR_QUESTION_ARROW
)));
49783 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)(wxCURSOR_RIGHT_BUTTON
)));
49786 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_From_int((int)(wxCURSOR_SIZENESW
)));
49789 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_From_int((int)(wxCURSOR_SIZENS
)));
49792 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_From_int((int)(wxCURSOR_SIZENWSE
)));
49795 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_From_int((int)(wxCURSOR_SIZEWE
)));
49798 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_From_int((int)(wxCURSOR_SIZING
)));
49801 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_From_int((int)(wxCURSOR_SPRAYCAN
)));
49804 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_From_int((int)(wxCURSOR_WAIT
)));
49807 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_From_int((int)(wxCURSOR_WATCH
)));
49810 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_From_int((int)(wxCURSOR_BLANK
)));
49813 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_From_int((int)(wxCURSOR_DEFAULT
)));
49816 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_From_int((int)(wxCURSOR_COPY_ARROW
)));
49819 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_From_int((int)(wxCURSOR_ARROWWAIT
)));
49822 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_From_int((int)(wxCURSOR_MAX
)));
49824 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
49825 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
49827 PyDict_SetItemString(d
,"FromStart", SWIG_From_int((int)(wxFromStart
)));
49830 PyDict_SetItemString(d
,"FromCurrent", SWIG_From_int((int)(wxFromCurrent
)));
49833 PyDict_SetItemString(d
,"FromEnd", SWIG_From_int((int)(wxFromEnd
)));
49836 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
49839 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
49842 PyDict_SetItemString(d
,"IMAGE_ALPHA_TRANSPARENT", SWIG_From_int((int)(wxIMAGE_ALPHA_TRANSPARENT
)));
49845 PyDict_SetItemString(d
,"IMAGE_ALPHA_THRESHOLD", SWIG_From_int((int)(wxIMAGE_ALPHA_THRESHOLD
)));
49848 PyDict_SetItemString(d
,"IMAGE_ALPHA_OPAQUE", SWIG_From_int((int)(wxIMAGE_ALPHA_OPAQUE
)));
49850 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
49851 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_FILENAME",_wrap_IMAGE_OPTION_FILENAME_get
, _wrap_IMAGE_OPTION_FILENAME_set
);
49852 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
49853 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
49854 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
49855 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
49856 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONX",_wrap_IMAGE_OPTION_RESOLUTIONX_get
, _wrap_IMAGE_OPTION_RESOLUTIONX_set
);
49857 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONY",_wrap_IMAGE_OPTION_RESOLUTIONY_get
, _wrap_IMAGE_OPTION_RESOLUTIONY_set
);
49858 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
49859 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_QUALITY",_wrap_IMAGE_OPTION_QUALITY_get
, _wrap_IMAGE_OPTION_QUALITY_set
);
49861 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)(wxIMAGE_RESOLUTION_INCHES
)));
49864 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)(wxIMAGE_RESOLUTION_CM
)));
49866 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BITSPERSAMPLE",_wrap_IMAGE_OPTION_BITSPERSAMPLE_get
, _wrap_IMAGE_OPTION_BITSPERSAMPLE_set
);
49867 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",_wrap_IMAGE_OPTION_SAMPLESPERPIXEL_get
, _wrap_IMAGE_OPTION_SAMPLESPERPIXEL_set
);
49868 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_COMPRESSION",_wrap_IMAGE_OPTION_COMPRESSION_get
, _wrap_IMAGE_OPTION_COMPRESSION_set
);
49869 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",_wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_get
, _wrap_IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
49870 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_FORMAT",_wrap_IMAGE_OPTION_PNG_FORMAT_get
, _wrap_IMAGE_OPTION_PNG_FORMAT_set
);
49871 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_PNG_BITDEPTH",_wrap_IMAGE_OPTION_PNG_BITDEPTH_get
, _wrap_IMAGE_OPTION_PNG_BITDEPTH_set
);
49873 PyDict_SetItemString(d
,"PNG_TYPE_COLOUR", SWIG_From_int((int)(wxPNG_TYPE_COLOUR
)));
49876 PyDict_SetItemString(d
,"PNG_TYPE_GREY", SWIG_From_int((int)(wxPNG_TYPE_GREY
)));
49879 PyDict_SetItemString(d
,"PNG_TYPE_GREY_RED", SWIG_From_int((int)(wxPNG_TYPE_GREY_RED
)));
49882 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_From_int((int)(wxBMP_24BPP
)));
49885 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_From_int((int)(wxBMP_8BPP
)));
49888 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_From_int((int)(wxBMP_8BPP_GREY
)));
49891 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_From_int((int)(wxBMP_8BPP_GRAY
)));
49894 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_From_int((int)(wxBMP_8BPP_RED
)));
49897 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_From_int((int)(wxBMP_8BPP_PALETTE
)));
49900 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_From_int((int)(wxBMP_4BPP
)));
49903 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_From_int((int)(wxBMP_1BPP
)));
49906 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_From_int((int)(wxBMP_1BPP_BW
)));
49909 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
49912 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
49915 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)(wxEVENT_PROPAGATE_NONE
)));
49918 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)(wxEVENT_PROPAGATE_MAX
)));
49920 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
49921 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
49922 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
49923 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
49924 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
49925 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
49926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
49927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
49928 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
49929 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
49930 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
49931 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
49932 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
49933 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
49934 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
49935 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
49936 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
49937 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
49938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
49939 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
49940 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
49941 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
49942 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
49943 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
49944 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
49945 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
49946 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
49947 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
49948 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
49949 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
49950 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
49951 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
49952 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
49953 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
49954 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
49955 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
49956 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
49957 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
49958 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
49959 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
49960 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
49961 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
49962 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
49963 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
49964 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
49965 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
49966 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
49967 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
49968 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
49969 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
49970 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
49971 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
49972 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
49973 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
49974 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
49975 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
49976 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
49977 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
49978 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
49979 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
49980 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
49981 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
49982 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
49983 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
49984 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
49985 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
49986 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
49987 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
49988 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
49989 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
49990 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
49991 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
49992 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
49993 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
49994 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
49995 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
49996 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
49997 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
49998 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
49999 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
50000 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
50001 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
50002 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
50003 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
50004 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
50005 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
50006 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
50007 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
50008 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
50009 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
50010 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
50011 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
50012 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
50013 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
50014 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
50015 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
50016 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
50017 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
50018 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
50019 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
50020 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
50021 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
50022 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
50023 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
50024 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
50025 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
50026 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
50027 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
50028 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
50029 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
50030 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
50031 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
50032 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
50033 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
50034 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
50036 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_From_int((int)(wxMOUSE_BTN_ANY
)));
50039 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_From_int((int)(wxMOUSE_BTN_NONE
)));
50042 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_From_int((int)(wxMOUSE_BTN_LEFT
)));
50045 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)(wxMOUSE_BTN_MIDDLE
)));
50048 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_From_int((int)(wxMOUSE_BTN_RIGHT
)));
50051 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_ALL
)));
50054 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)(wxUPDATE_UI_PROCESS_SPECIFIED
)));
50057 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)(wxNavigationKeyEvent::IsBackward
)));
50060 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_From_int((int)(wxNavigationKeyEvent::IsForward
)));
50063 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_From_int((int)(wxNavigationKeyEvent::WinChange
)));
50066 PyDict_SetItemString(d
,"NavigationKeyEvent_FromTab", SWIG_From_int((int)(wxNavigationKeyEvent::FromTab
)));
50069 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_From_int((int)(wxIDLE_PROCESS_ALL
)));
50072 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)(wxIDLE_PROCESS_SPECIFIED
)));
50074 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
50076 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)(wxPYAPP_ASSERT_SUPPRESS
)));
50079 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)(wxPYAPP_ASSERT_EXCEPTION
)));
50082 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)(wxPYAPP_ASSERT_DIALOG
)));
50085 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_From_int((int)(wxPYAPP_ASSERT_LOG
)));
50088 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_From_int((int)(wxPRINT_WINDOWS
)));
50091 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_From_int((int)(wxPRINT_POSTSCRIPT
)));
50093 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
50094 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
50096 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)(wxWINDOW_VARIANT_NORMAL
)));
50099 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)(wxWINDOW_VARIANT_SMALL
)));
50102 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_From_int((int)(wxWINDOW_VARIANT_MINI
)));
50105 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)(wxWINDOW_VARIANT_LARGE
)));
50108 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_From_int((int)(wxWINDOW_VARIANT_MAX
)));
50110 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
50111 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
50113 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_From_int((int)(wxFLEX_GROWMODE_NONE
)));
50116 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)(wxFLEX_GROWMODE_SPECIFIED
)));
50119 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_From_int((int)(wxFLEX_GROWMODE_ALL
)));
50121 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
50123 PyDict_SetItemString(d
,"Left", SWIG_From_int((int)(wxLeft
)));
50126 PyDict_SetItemString(d
,"Top", SWIG_From_int((int)(wxTop
)));
50129 PyDict_SetItemString(d
,"Right", SWIG_From_int((int)(wxRight
)));
50132 PyDict_SetItemString(d
,"Bottom", SWIG_From_int((int)(wxBottom
)));
50135 PyDict_SetItemString(d
,"Width", SWIG_From_int((int)(wxWidth
)));
50138 PyDict_SetItemString(d
,"Height", SWIG_From_int((int)(wxHeight
)));
50141 PyDict_SetItemString(d
,"Centre", SWIG_From_int((int)(wxCentre
)));
50144 PyDict_SetItemString(d
,"Center", SWIG_From_int((int)(wxCenter
)));
50147 PyDict_SetItemString(d
,"CentreX", SWIG_From_int((int)(wxCentreX
)));
50150 PyDict_SetItemString(d
,"CentreY", SWIG_From_int((int)(wxCentreY
)));
50153 PyDict_SetItemString(d
,"Unconstrained", SWIG_From_int((int)(wxUnconstrained
)));
50156 PyDict_SetItemString(d
,"AsIs", SWIG_From_int((int)(wxAsIs
)));
50159 PyDict_SetItemString(d
,"PercentOf", SWIG_From_int((int)(wxPercentOf
)));
50162 PyDict_SetItemString(d
,"Above", SWIG_From_int((int)(wxAbove
)));
50165 PyDict_SetItemString(d
,"Below", SWIG_From_int((int)(wxBelow
)));
50168 PyDict_SetItemString(d
,"LeftOf", SWIG_From_int((int)(wxLeftOf
)));
50171 PyDict_SetItemString(d
,"RightOf", SWIG_From_int((int)(wxRightOf
)));
50174 PyDict_SetItemString(d
,"SameAs", SWIG_From_int((int)(wxSameAs
)));
50177 PyDict_SetItemString(d
,"Absolute", SWIG_From_int((int)(wxAbsolute
)));
50180 // Initialize threading, some globals and such
50184 // Although these are defined in __version__ they need to be here too so
50185 // that an assert can be done to ensure that the wxPython and the wxWindows
50187 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
50188 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
50189 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));